/* ============================================================
   RELIVE — tanıtım sitesi
   Palet doğrudan logodan türetildi: yaprak yeşili + su mavisi,
   yeşile çalan kâğıt zemin, koyu orman mürekkebi.
   ============================================================ */

:root {
  --paper:      #F5F7F2;
  --paper-2:    #ECF0E9;
  --ink:        #13291F;
  --ink-soft:   #3F5749;
  --muted:      #7A8C80;
  --line:       rgba(19, 41, 31, .13);
  --line-soft:  rgba(19, 41, 31, .07);

  --leaf:       #3E9C4A;
  --leaf-deep:  #2A7A38;
  --water:      #1E93D2;
  --water-deep: #1476AC;
  --forest:     #11251B;

  --grad: linear-gradient(100deg, #3E9C4A 0%, #2A9A8F 45%, #1E93D2 100%);

  --wrap: 1120px;
  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

h1, h2, h3, blockquote {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 400;
  text-wrap: balance;
  margin: 0;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.eyebrow {
  font-family: var(--body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--leaf-deep);
  margin: 0 0 1.1rem;
}

.sec-title {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  max-width: 15ch;
  margin-bottom: 3rem;
}

.lede { font-size: 1.06rem; color: var(--ink-soft); max-width: 54ch; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--body);
  font-weight: 700;
  font-size: .95rem;
  border: 0;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-position .4s ease;
}

.btn-solid {
  padding: .95rem 1.7rem;
  border-radius: 999px;
  color: #fff;
  background: var(--grad);
  background-size: 160% 100%;
  box-shadow: 0 8px 22px -10px rgba(30, 147, 210, .8);
}
.btn-solid:hover { transform: translateY(-2px); background-position: 100% 0; }
.btn-sm { padding: .62rem 1.15rem; font-size: .87rem; }

.btn-link {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding: .3rem 0;
  border-radius: 0;
}
.btn-link .arr { transition: transform .18s ease; }
.btn-link:hover { border-bottom-color: var(--leaf); }
.btn-link:hover .arr { transform: translateX(4px); }

.btn:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--water);
  outline-offset: 3px;
}

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(245, 247, 242, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: .8rem; padding-bottom: .8rem; }

.brand { display: flex; align-items: center; gap: .55rem; }
.brand-mark { width: 34px; height: 34px; object-fit: contain; }
.brand-mark.sm { width: 26px; height: 26px; }
.brand-name { font-family: var(--display); font-size: 1.3rem; color: var(--ink); letter-spacing: -.01em; }
.brand-name.sm { font-size: 1.05rem; }

.nav-links { display: flex; gap: 2.2rem; font-size: .92rem; font-weight: 500; color: var(--ink-soft); }
.nav-links a { padding-bottom: 2px; border-bottom: 1px solid transparent; }
.nav-links a:hover { border-bottom-color: var(--leaf); color: var(--ink); }

@media (max-width: 820px) { .nav-links { display: none; } }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5.5rem); }

.hero-blob {
  position: absolute;
  top: -22%; right: -14%;
  width: min(78vw, 780px);
  pointer-events: none;
  filter: blur(6px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.3rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 1.5rem;
}

.hero .lede { margin: 0 0 2.2rem; }
.hero-cta { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.hero-note { font-size: .84rem; color: var(--muted); margin: 1.6rem 0 0; }

/* phones */
.hero-art { position: relative; height: 520px; }

.phone {
  position: absolute;
  width: 232px; height: 462px;
  border-radius: 36px;
  background: #0E2118;
  border: 7px solid #0A1911;
  box-shadow: 0 40px 70px -30px rgba(19, 41, 31, .55);
  overflow: hidden;
}
.phone-a { left: 22%; top: 26px; transform: rotate(4deg); z-index: 2; }
.phone-b { left: -8%; top: 0; transform: rotate(-8deg); z-index: 1; opacity: .92; }

.scr {
  height: 100%;
  padding: 20px 16px;
  display: flex; flex-direction: column; gap: 10px;
  background: radial-gradient(120% 80% at 20% 0%, #1B4433 0%, #0E2118 62%);
}
.scr-hi { font-family: var(--display); color: #EAF3EC; font-size: .98rem; }
.scr-q { color: #93AFA0; font-size: .74rem; margin-bottom: 6px; }
.scr-moods { display: flex; gap: 6px; margin-bottom: 10px; }
.scr-moods i { flex: 1; height: 40px; border-radius: 11px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); }
.scr-moods i.on { background: var(--grad); border-color: transparent; }
.scr-card { margin-top: auto; padding: 13px; border-radius: 13px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08); }
.scr-card-t { display: block; color: #CFE3D6; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 9px; }
.scr-line { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,.14); margin-bottom: 6px; }
.scr-line.sm { width: 58%; }
.scr-chip { align-self: flex-start; font-size: .68rem; font-weight: 700; color: #BFE7CE; background: rgba(62,156,74,.22); padding: 5px 11px; border-radius: 999px; }
.scr-row { height: 62px; border-radius: 13px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08); }
.scr-row.sm { height: 44px; opacity: .6; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { height: 420px; margin-top: 1rem; }
  .phone { width: 196px; height: 392px; }
  .phone-a { left: 34%; }
  .phone-b { left: 4%; }
}
@media (max-width: 560px) {
  .hero-art { height: 380px; }
  .phone { width: 172px; height: 344px; }
  .phone-a { left: 38%; }
  .phone-b { left: -2%; }
}

/* ---------- steps ---------- */

.steps { padding: clamp(3.5rem, 7vw, 6rem) 0; border-top: 1px solid var(--line-soft); }

.step-list { list-style: none; margin: 0; padding: 0; }

.step {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: clamp(1rem, 4vw, 3rem);
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }

.step-n {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: .85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(62, 156, 74, .5);
}

.step-body h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .5rem; letter-spacing: -.01em; }
.step-body p { margin: 0; max-width: 58ch; }

@media (max-width: 700px) {
  .step { grid-template-columns: 1fr; gap: .6rem; }
  .step-n { font-size: 2.2rem; }
}

/* ---------- manifesto band ---------- */

.band {
  background: var(--forest);
  color: #DDEAE0;
  padding: clamp(4rem, 9vw, 7rem) 0;
  position: relative;
  overflow: hidden;
}
.band::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 120% at 85% 10%, rgba(30,147,210,.20), transparent 60%),
              radial-gradient(60% 100% at 5% 90%, rgba(62,156,74,.20), transparent 60%);
  pointer-events: none;
}
.band-inner { position: relative; z-index: 1; }

.band blockquote {
  font-size: clamp(1.7rem, 3.9vw, 3rem);
  line-height: 1.24;
  color: #F2F8F3;
  letter-spacing: -.015em;
  max-width: 22ch;
}
.band blockquote em { font-style: italic; color: #9FE0B4; }
.band-sub { margin: 1.6rem 0 0; color: #8FA89A; font-size: .95rem; }

/* ---------- features ---------- */

.feats { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--paper-2); }

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feat {
  background: var(--paper-2);
  padding: 2.2rem 1.9rem 2.4rem;
}
.feat h3 { font-size: 1.22rem; margin: 1.1rem 0 .5rem; letter-spacing: -.01em; }
.feat p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

.ico {
  width: 30px; height: 30px;
  fill: none;
  stroke: var(--leaf-deep);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feat:nth-child(3n-1) .ico { stroke: var(--water-deep); }

@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }

/* ---------- get ---------- */

.get { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.get-inner { max-width: 640px; }
.get .sec-title { max-width: 18ch; margin-bottom: 1.3rem; }
.get .lede { margin: 0 0 2.4rem; }

.stores { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.store {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .7rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255,255,255,.5);
}
.store-ico { fill: currentColor; }
.store span { display: flex; flex-direction: column; line-height: 1.25; color: var(--ink); font-weight: 700; font-size: .98rem; }
.store small { font-size: .64rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.wait { display: flex; gap: .6rem; flex-wrap: wrap; max-width: 470px; }
.wait input[type=email] {
  flex: 1; min-width: 220px;
  padding: .95rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--body); font-size: .95rem; color: var(--ink);
}
.wait input::placeholder { color: var(--muted); }
.wait-note { margin-top: .9rem; font-size: .88rem; color: var(--leaf-deep); min-height: 1.2em; }

/* .wait display:flex tanımlıyor; eşit özgüllükte tarayıcının [hidden] kuralını
   ezdiği için form gizlenmiyordu. */
.wait[hidden], .tester-steps[hidden] { display: none; }

/* Seçiciler bilerek doğrudan çocukla sınırlı: geniş "li" / "span" yardım
   listesindeki maddelere numara basıyor, Play düğmesinin iki satırlık yazısını
   da tek satıra eziyordu. */
.tester-steps { margin-top: 1.8rem; }
.tester-steps > ol { list-style: none; counter-reset: adim; padding: 0; margin: 0; }
.tester-steps > ol > li {
  counter-increment: adim;
  position: relative;
  padding: 1.1rem 0 1.2rem 3rem;
  border-top: 1px solid var(--line);
}
.tester-steps > ol > li:last-child { border-bottom: 1px solid var(--line); }
.tester-steps > ol > li::before {
  content: counter(adim);
  position: absolute; left: 0; top: 1.05rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 1rem; color: #fff;
  background: var(--leaf-deep);
}
.tester-steps > ol > li > strong { display: block; color: var(--ink); font-size: 1rem; }
.tester-steps > ol > li > span { display: block; color: var(--ink-soft); font-size: .9rem; margin: .2rem 0 .8rem; }
.tester-steps .store { color: var(--ink); background: #fff; }

.tester-help { margin-top: 1.4rem; font-size: .9rem; color: var(--ink-soft); }
.tester-help summary { cursor: pointer; color: var(--ink); font-weight: 600; }
.tester-help ul { margin: .8rem 0 0; padding-left: 1.2rem; }
.tester-help li { margin-bottom: .5rem; line-height: 1.6; }
.tester-help a { color: var(--water-deep); text-decoration: underline; }

.hp-field {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- footer ---------- */

.foot { border-top: 1px solid var(--line); padding: 2.6rem 0 3.2rem; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.foot-tag { margin: 0; font-size: .88rem; color: var(--muted); font-family: var(--display); font-style: italic; }
.foot-c { margin: 0; font-size: .82rem; color: var(--muted); }
