/* Geleceğe Mesaj — site styles.

   One file for every page. The landing page and /destek are dark only
   (data-theme-fixed); the legal pages and /indir follow the OS and offer a
   toggle, so every colour is a token below and light mode redefines them.

   The palette is the app's own: its cream letter paper and its deep green,
   set on an anthracite that leans green. No gradients for decoration; depth
   comes from layered surfaces, hairlines and the paper itself. */

/* ── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --bg: #0b0f0d;
  --bg-2: #0f1512;
  --surface: #131a17;
  --surface-2: #19221e;
  --line: rgba(236, 231, 218, .08);
  --line-2: rgba(236, 231, 218, .15);
  --ink: #ece7da;
  --muted: #a2aaa4;
  --faint: #6f7a74;
  --green: #4fb595;
  --green-deep: #0f6b57;
  --green-wash: rgba(79, 181, 149, .1);
  --paper: #f7f1e3;
  --paper-2: #efe6d1;
  --paper-ink: #29261f;
  --paper-muted: #6b6455;
  --brass: #cfab62;
  --seal: #cfab62;              /* /indir uses it for the campaign code */
  --glow: rgba(207, 171, 98, .22);
  --danger: #e58a76;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --stamp: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

/* Light, for the pages that allow it: the OS asks, or the toggle does. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme-fixed]):not([data-theme="dark"]) {
    --bg: #f6f2e9; --bg-2: #efe9dc; --surface: #fffdf7; --surface-2: #f4eee1;
    --line: rgba(41, 38, 31, .09); --line-2: rgba(41, 38, 31, .17);
    --ink: #1f1d18; --muted: #5d594f; --faint: #8b8577;
    --green: #0f6b57; --green-wash: rgba(15, 107, 87, .08);
    --brass: #8a6a12; --seal: #8a6a12; --glow: rgba(138, 106, 18, .18);
    --danger: #a8402b;
    color-scheme: light;
  }
}
:root[data-theme="light"]:not([data-theme-fixed]) {
  --bg: #f6f2e9; --bg-2: #efe9dc; --surface: #fffdf7; --surface-2: #f4eee1;
  --line: rgba(41, 38, 31, .09); --line-2: rgba(41, 38, 31, .17);
  --ink: #1f1d18; --muted: #5d594f; --faint: #8b8577;
  --green: #0f6b57; --green-wash: rgba(15, 107, 87, .08);
  --brass: #8a6a12; --seal: #8a6a12; --glow: rgba(138, 106, 18, .18);
  --danger: #a8402b;
  color-scheme: light;
}

/* ── Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.12; letter-spacing: -.01em; }
h1, h2 { font-family: var(--serif); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--green-deep); color: #fff; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
a.visually-hidden:focus {
  position: fixed !important; left: 16px; top: 16px; width: auto; height: auto; clip: auto;
  z-index: 100; padding: .6rem 1rem; background: var(--paper); color: var(--paper-ink); border-radius: var(--r-sm);
}

/* Scroll-in reveal: only once scripts run, so nothing hides without them. */
.js .rise { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rise { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ── Type helpers ───────────────────────────────────────────────────── */
.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass);
}
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section-head { max-width: 680px; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); display: grid; gap: 1rem; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.section-head .sub { color: var(--muted); font-size: 1.06rem; max-width: 60ch; }
em.serif, .serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; }
.muted { color: var(--muted); }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn, .btn-primary, .btn-quiet {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 46px; padding: .7rem 1.25rem; border-radius: 999px;
  font: 600 .95rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn-primary { background: var(--paper); color: var(--paper-ink); border: 1px solid var(--paper); }
.btn-primary:hover { background: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-quiet, .btn { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-quiet:hover, .btn:hover { border-color: var(--ink); text-decoration: none; }
.btn svg, .btn-primary svg, .btn-quiet svg { width: 18px; height: 18px; flex: none; }
.btn-lg { min-height: 54px; padding-inline: 1.5rem; font-size: 1rem; }
.btn.ghost { border-style: dashed; }

/* Store badges. Apple's artwork is Apple's own file; Google Play is shown as
   a plain "coming soon" chip until the listing is live, never as Google's
   badge pointing nowhere. */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.appstore-badge { display: inline-block; border-radius: 12px; line-height: 0; transition: transform .2s var(--ease); }
.appstore-badge:hover { transform: translateY(-1px); }
.appstore-badge img { height: 54px; width: auto; }
.badge {
  display: inline-flex; align-items: center; gap: .65rem; min-height: 54px; padding: .45rem 1.1rem .45rem .95rem;
  border: 1px solid var(--line-2); border-radius: 12px; color: var(--ink); text-decoration: none; background: var(--surface);
}
.badge svg { width: 22px; height: 22px; }
.badge > span { display: grid; line-height: 1.1; }
.badge .small { font-size: .68rem; color: var(--muted); letter-spacing: .04em; }
.badge .big { font-weight: 600; font-size: 1.05rem; }
.badge[aria-disabled="true"] { cursor: default; opacity: .72; }
.badge[aria-disabled="true"] .small { color: var(--brass); }

/* ── Header ─────────────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: .25rem; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 500; padding: .5rem .75rem; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav a:hover, .nav a.active { color: var(--ink); background: var(--surface-2); }
.top-actions { display: flex; align-items: center; gap: .6rem; }
.nav + .top-actions { margin-left: .5rem; }
.top-actions .btn-primary { min-height: 40px; padding-inline: 1rem; font-size: .88rem; }
.burger { display: none; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; place-items: center; }
.burger svg { width: 20px; height: 20px; }
.burger .x { display: none; }
.burger[aria-expanded="true"] .bars { display: none; }
.burger[aria-expanded="true"] .x { display: block; }
.mobile-menu { display: none; }
@media (max-width: 920px) {
  .nav { display: none; }
  .top-actions { margin-left: auto; }
  .burger { display: grid; }
  .mobile-menu {
    position: fixed; inset: 68px 0 auto; z-index: 49; display: grid; gap: .1rem;
    padding: .75rem var(--gutter) 1.25rem; background: var(--bg); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .mobile-menu.open { transform: none; opacity: 1; visibility: visible; }
  .mobile-menu a { padding: .8rem 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .mobile-menu a:last-child { border-bottom: 0; }
}
@media (max-width: 420px) { .top-actions .btn-primary { display: none; } }

/* The wax seal: the brand's one ornament. */
.wax {
  position: absolute; aspect-ratio: 1; z-index: 3; display: grid; place-items: center; text-align: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #1b8a70, var(--green-deep) 60%, #09483a);
  color: #e9f4ef; box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .6), inset 0 -3px 8px rgba(0, 0, 0, .25), inset 0 2px 4px rgba(255, 255, 255, .15);
}
.wax::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(233, 244, 239, .35); }
.wax b { display: block; font: italic 500 1.8rem/1 var(--serif); }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero { position: relative; padding-top: clamp(2.5rem, 6vw, 4.5rem); text-align: center; overflow: hidden; isolation: isolate; }
/* Two pools of light behind the product: green from below, brass above. */
.hero::before {
  content: ""; position: absolute; inset: auto -20% -10% -20%; height: 70%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 100%, rgba(15, 107, 87, .45), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; left: 50%; top: -260px; width: 900px; height: 520px; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(207, 171, 98, .1), transparent);
}
.hero-copy { display: grid; justify-items: center; gap: 1.5rem; max-width: 920px; margin-inline: auto; }
.countdown {
  display: inline-flex; align-items: center; gap: .7rem; padding: .45rem .5rem .45rem .9rem; border-radius: 999px;
  background: rgba(236, 231, 218, .05); border: 1px solid var(--line-2); font-size: .84rem; color: var(--muted);
}
.countdown .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(79, 181, 149, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(79, 181, 149, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 181, 149, 0); } }
.countdown b { font: 500 .8rem/1 var(--stamp); color: var(--paper); background: rgba(236, 231, 218, .08); padding: .4rem .65rem; border-radius: 999px; font-variant-numeric: tabular-nums; }
.hero h1 { font-size: clamp(2.9rem, 8.4vw, 7rem); line-height: .98; letter-spacing: -.035em; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .ln > span { display: inline-block; }
.hero h1 em { font-style: italic; color: var(--brass); }
.js .hero h1 .ln > span { animation: lineUp 1s var(--ease) both; }
.js .hero h1 .ln:nth-child(2) > span { animation-delay: .12s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
.hero .lede { font-size: clamp(1.08rem, 1.7vw, 1.28rem); color: var(--muted); max-width: 36rem; }
.hero .lede strong { color: var(--ink); font-weight: 600; }
.js .hero .fade { animation: fadeUp .9s var(--ease) both; animation-delay: calc(.25s + var(--d, 0) * .1s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero .stores { justify-content: center; }
.hero-note { font-size: .84rem; color: var(--faint); }
.hero-note a { color: var(--muted); }

/* Product fan: three real screens rising out of the light. */
.fan { position: relative; height: clamp(420px, 56vw, 640px); margin-top: clamp(2.5rem, 6vw, 4rem); -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.phone {
  position: absolute; left: 50%; top: 0; width: clamp(200px, 23vw, 290px); margin: 0;
  padding: 8px; border-radius: 42px; background: #050706; border: 1px solid rgba(236, 231, 218, .16);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .6);
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 30%; height: 20px; transform: translateX(-50%); background: #050706; border-radius: 999px; z-index: 2; }
.phone img, .phone .screen { display: block; width: 100%; aspect-ratio: 780 / 1688; object-fit: cover; object-position: top; border-radius: 34px; }
.fan .phone.c { transform: translateX(-50%); z-index: 3; }
.fan .phone.l { transform: translateX(-138%) translateY(14%) rotate(-9deg); z-index: 2; }
.fan .phone.r { transform: translateX(38%) translateY(14%) rotate(9deg); z-index: 2; }
.fan .phone.l img, .fan .phone.r img { filter: brightness(.82); }
.js .fan .phone { animation: rise 1.3s var(--ease) both; }
.js .fan .phone.l, .js .fan .phone.r { animation-delay: .25s; }
@keyframes rise { from { opacity: 0; translate: 0 90px; } to { opacity: 1; translate: 0 0; } }

.chip {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: .7rem; text-align: left;
  padding: .7rem .95rem; border-radius: 16px; font-size: .82rem; line-height: 1.3; color: var(--ink);
  background: rgba(19, 26, 23, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line-2); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8);
}
.chip b { display: block; font-weight: 600; }
.chip span span { color: var(--muted); font-size: .76rem; }
.chip .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--green-wash); color: var(--green); }
.chip .ic svg { width: 18px; height: 18px; }
.chip.brass .ic { background: rgba(207, 171, 98, .12); color: var(--brass); }
.chip.k1 { left: calc(50% - clamp(360px, 40vw, 520px)); top: 12%; }
.chip.k2 { right: calc(50% - clamp(360px, 40vw, 520px)); top: 30%; }
.chip.k3 { left: calc(50% - clamp(310px, 33vw, 440px)); top: 52%; }
.js .chip { animation: chipIn .9s var(--ease) both, float 6s ease-in-out infinite; animation-delay: .9s, 1.8s; }
.js .chip.k2 { animation-delay: 1.05s, 2.6s; }
.js .chip.k3 { animation-delay: 1.2s, 3.2s; }
@keyframes chipIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (max-width: 760px) {
  .fan { height: 470px; }
  .phone { width: 220px; }
  .fan .phone.l { transform: translateX(-118%) translateY(16%) rotate(-9deg); }
  .fan .phone.r { transform: translateX(18%) translateY(16%) rotate(9deg); }
  .chip.k1 { left: 4px; top: 6%; }
  .chip.k2 { right: 4px; top: 40%; }
  .chip.k3 { display: none; }
  .chip { font-size: .76rem; padding: .55rem .75rem; }
  .chip .ic { width: 28px; height: 28px; }
}

/* ── Marquee: who will you write to? ───────────────────────────────── */
.marquee-sec { padding-block: clamp(3rem, 7vw, 5rem); border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.marquee-sec h2 { text-align: center; font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 2rem; }
.marquee { display: flex; gap: 1rem; width: max-content; animation: slide 60s linear infinite; }
.marquee + .marquee { margin-top: 1rem; animation-direction: reverse; animation-duration: 70s; }
.marquee-sec:hover .marquee { animation-play-state: paused; }
.marquee li {
  list-style: none; flex: none; display: inline-flex; align-items: center; gap: .8rem; padding: .9rem 1.4rem;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface);
  font: italic 400 clamp(1.05rem, 1.8vw, 1.3rem)/1.2 var(--serif); color: var(--paper-2); white-space: nowrap;
}
.marquee li small { font: 600 .66rem/1 var(--sans); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .marquee[aria-hidden] { display: none; } }

/* ── Scrollytelling showcase ───────────────────────────────────────── */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); }
.story-device { position: sticky; top: 12vh; height: 76vh; display: grid; place-items: center; }
.story-device .phone { position: relative; left: auto; top: auto; width: min(320px, 34vh); }
.story-device .phone::after {
  content: ""; position: absolute; inset: -30%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(15, 107, 87, .35), transparent);
}
.screens { position: relative; aspect-ratio: 780 / 1688; border-radius: 34px; overflow: hidden; background: #f1f2ef; }
.screens > * { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.screens > .on { opacity: 1; transform: none; }
.chapters { display: grid; }
.chapter { min-height: 82vh; display: grid; align-content: center; gap: 1.1rem; padding-block: 3rem; opacity: .28; transition: opacity .5s var(--ease); }
.chapter.on { opacity: 1; }
.chapter .num { font: 500 .8rem/1 var(--stamp); color: var(--faint); }
.chapter .num b { color: var(--brass); font-weight: 500; }
.chapter h3 { font: 500 clamp(2rem, 4vw, 3.3rem)/1.04 var(--serif); letter-spacing: -.02em; }
.chapter h3 em { font-style: italic; color: var(--brass); }
.chapter > p { color: var(--muted); font-size: 1.08rem; max-width: 34rem; }
.chapter .points { list-style: none; display: grid; gap: .55rem; color: var(--muted); }
.chapter .points li { display: grid; grid-template-columns: 22px 1fr; gap: .5rem; }
.chapter .points li::before { content: ""; width: 14px; height: 14px; margin-top: .3rem; border-radius: 50%; border: 1.5px solid var(--green); background: radial-gradient(circle, var(--green) 3px, transparent 3.5px); }
.chapter .points strong { color: var(--ink); font-weight: 600; }
.chapter .inline-shot { display: none; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story-device { display: none; }
  .chapter { min-height: 0; opacity: 1; padding-block: 2.5rem; border-top: 1px solid var(--line); }
  .chapter .inline-shot { display: block; width: min(260px, 72vw); justify-self: center; margin-top: 1rem; }
  .chapter .inline-shot.phone { position: relative; left: auto; }
}

/* A live call, drawn rather than photographed: no call screenshot exists. */
.call { background: linear-gradient(180deg, #0f2a22, #08130f); color: #e9f4ef; display: grid; grid-template-rows: auto 1fr auto; padding: 18% 9% 12%; text-align: center; font-family: var(--sans); }
.call .who { display: grid; justify-items: center; gap: .5rem; }
.call .av { width: 30%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #1b8a70, var(--green-deep) 60%, #09483a); font: italic 500 2rem/1 var(--serif); box-shadow: 0 0 0 10px rgba(79, 181, 149, .08), 0 0 0 22px rgba(79, 181, 149, .04); }
.call .who b { font-size: 1.05rem; font-weight: 600; margin-top: .7rem; }
.call .who small { font-size: .74rem; color: rgba(233, 244, 239, .6); }
.call .t { font: 500 .8rem/1 var(--stamp); color: var(--green); }
.call blockquote { margin: 0; align-self: center; font: italic 400 .98rem/1.5 var(--serif); color: rgba(233, 244, 239, .92); }
.wave { display: flex; justify-content: center; align-items: center; gap: 3px; height: 34px; }
.wave i { width: 3px; border-radius: 3px; background: var(--green); height: 30%; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: -.3s; } .wave i:nth-child(3n) { animation-delay: -.6s; } .wave i:nth-child(5n) { animation-delay: -.8s; }
@keyframes wave { 50% { height: 100%; } }
.call .end { justify-self: center; width: 52px; height: 52px; border-radius: 50%; background: #c8513d; display: grid; place-items: center; margin-top: 1rem; }
.call .end svg { width: 22px; height: 22px; }

/* ── The journey: a letter is folded, sealed and sent ─────────────── */
.journey { text-align: center; }
.envelope-wrap { display: grid; place-items: center; height: clamp(230px, 30vw, 300px); margin-bottom: clamp(2rem, 5vw, 3.5rem); perspective: 900px; }
.envelope { position: relative; width: clamp(240px, 32vw, 340px); aspect-ratio: 1.6; }
.envelope .back, .envelope .front, .envelope .flap { position: absolute; inset: 0; }
.envelope .back { background: #e9dfc8; border-radius: 6px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8); }
.envelope .letter {
  position: absolute; left: 7%; right: 7%; top: 8%; height: 92%; background: var(--paper); border-radius: 4px; padding: 9% 8%;
  text-align: left; font: italic 400 clamp(.78rem, 1.2vw, .95rem)/1.6 var(--serif); color: var(--paper-ink);
  transform: translateY(-62%); transition: transform 1s var(--ease) .2s, opacity .3s 1.5s;
}
.envelope .letter small { display: block; font: 600 .56rem/1 var(--sans); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: #8a6a12; margin-bottom: .6rem; }
.envelope .front { background: #f1e8d3; clip-path: polygon(0 28%, 50% 62%, 100% 28%, 100% 100%, 0 100%); border-radius: 6px; z-index: 2; }
.envelope .flap {
  height: 62%; background: #e3d7bb; clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: top; z-index: 1;
  transform: rotateX(180deg); transition: transform .8s var(--ease) 1.1s, z-index 0s 1.5s;
}
.envelope .wax { left: 50%; top: 62%; width: clamp(56px, 7vw, 74px); transform: translate(-50%, -50%) rotate(-8deg) scale(1.6); opacity: 0; z-index: 4; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1) 1.9s, opacity .2s 1.9s; animation: none; }
.envelope .wax b { font-size: 1.5rem; }
.journey.in .envelope .letter { transform: translateY(0); opacity: 0; }
.journey.in .envelope .flap { transform: rotateX(0); z-index: 3; }
.journey.in .envelope .wax { transform: translate(-50%, -50%) rotate(-8deg) scale(1); opacity: 1; }
.js .journey.rise { opacity: 1; transform: none; }

.track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; list-style: none; text-align: left; --p: 0; }
.track::before, .track::after { content: ""; position: absolute; left: 0; top: 21px; height: 2px; border-radius: 2px; }
.track::before { right: 0; background: var(--line-2); }
.track::after { width: calc(var(--p) * 100%); background: linear-gradient(90deg, var(--green), var(--brass)); transition: width .15s linear; }
.track li { position: relative; display: grid; gap: .55rem; padding-top: 3.4rem; }
.track li::before {
  content: attr(data-n); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line-2); font: italic 500 1.05rem/1 var(--serif); color: var(--faint); z-index: 1; transition: all .4s var(--ease);
}
.track li.lit::before { background: var(--green-deep); border-color: var(--green-deep); color: #fff; box-shadow: 0 0 0 6px rgba(79, 181, 149, .12); }
.track li:last-child.lit::before { background: var(--brass); border-color: var(--brass); color: var(--paper-ink); box-shadow: 0 0 0 6px var(--glow); }
.track h3 { font: 500 1.35rem/1.2 var(--serif); }
.track p { color: var(--muted); font-size: .95rem; }
.track .meta { font: 500 .74rem/1.4 var(--stamp); color: var(--faint); }
@media (max-width: 860px) {
  .track { grid-template-columns: 1fr; gap: 0; }
  .track::before, .track::after { left: 21px; top: 0; width: 2px; height: auto; bottom: 0; right: auto; }
  .track::after { height: calc(var(--p) * 100%); width: 2px; bottom: auto; background: linear-gradient(180deg, var(--green), var(--brass)); }
  .track li { padding: 0 0 2rem 4.2rem; }
}

/* ── Moments: photo + dated examples ───────────────────────────────── */
.moments { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.photo { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 572 / 684; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9); }
.photo img { width: 100%; height: 115%; object-fit: cover; transform: translateY(calc(var(--py, 0) * 1px)); }
.photo figcaption { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; padding: .8rem 1rem; border-radius: 14px; background: rgba(11, 15, 13, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .84rem; color: var(--muted); border: 1px solid var(--line-2); }
.photo figcaption b { color: var(--ink); }
.moments h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.02; margin-bottom: 1.4rem; }
.moments h2 em { font-style: italic; color: var(--brass); }
.dates { list-style: none; border-top: 1px solid var(--line); margin-bottom: 2rem; }
.dates li { display: grid; grid-template-columns: 74px 1fr auto; gap: 1rem; align-items: center; padding: 1.05rem 0; border-bottom: 1px solid var(--line); transition: padding-left .3s var(--ease), background-color .3s; }
.dates li:hover { padding-left: .6rem; }
.dates .y { font: 400 1.7rem/1 var(--serif); color: var(--paper-2); }
.dates strong { display: block; font-weight: 600; }
.dates span { color: var(--muted); font-size: .9rem; }
.dates .ch { font: 600 .66rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--brass); padding: .4rem .6rem; border-radius: 999px; border: 1px solid rgba(207, 171, 98, .35); }
@media (max-width: 900px) { .moments { grid-template-columns: 1fr; } .photo { max-width: 460px; } }
@media (max-width: 480px) { .dates li { grid-template-columns: 56px 1fr; } .dates .ch { grid-column: 2; justify-self: start; } }

/* ── Security ───────────────────────────────────────────────────────── */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.sec-card { padding: 1.6rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: .7rem; align-content: start; transition: border-color .3s, transform .4s var(--ease); }
.sec-card:hover { border-color: rgba(79, 181, 149, .35); transform: translateY(-3px); }
.sec-card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-wash); color: var(--green); }
.sec-card .ic svg { width: 22px; height: 22px; }
.sec-card h3 { font: 600 1.05rem/1.3 var(--sans); }
.sec-card p { color: var(--muted); font-size: .93rem; }
.honest { margin-top: 1rem; padding: 1.3rem 1.4rem; border-radius: var(--r-lg); border: 1px dashed rgba(207, 171, 98, .45); font-size: .95rem; color: var(--muted); display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.honest .wax { position: relative; left: auto; top: auto; width: 54px; animation: none; transform: rotate(-8deg); }
.honest .wax b { font-size: 1.3rem; }
.honest strong { color: var(--ink); display: block; margin-bottom: .2rem; }
@media (max-width: 900px) { .sec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sec-grid { grid-template-columns: 1fr; } .honest { grid-template-columns: 1fr; } }

/* ── Corporate ──────────────────────────────────────────────────────── */
.corporate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.uses { list-style: none; display: grid; gap: .9rem; margin-top: .4rem; }
.uses li { padding: 1.1rem 1.2rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.uses strong { display: block; font-weight: 600; margin-bottom: .2rem; }
.uses span { color: var(--muted); font-size: .93rem; }
@media (max-width: 900px) { .corporate { grid-template-columns: 1fr; } }

/* ── Forms ──────────────────────────────────────────────────────────── */
.lead { display: grid; gap: 1.1rem; padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); }
.lead h3 { font: 500 1.5rem/1.2 var(--serif); }
.field { display: grid; gap: .4rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: .86rem; font-weight: 600; padding: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.req { color: var(--brass); }
.opt { color: var(--faint); font-weight: 400; }
.control {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border-radius: 12px; background: var(--bg-2);
  border: 1px solid var(--line-2); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
textarea.control { resize: vertical; min-height: 120px; line-height: 1.5; }
.control::placeholder { color: var(--faint); }
.control:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-wash); }
.field.invalid .control { border-color: var(--danger); }
.err { font-size: .82rem; color: var(--danger); min-height: 0; }
.err:empty, .hint:empty { display: none; }
.hint { font-size: .82rem; color: var(--brass); }
.counter { font: 500 .74rem/1 var(--stamp); color: var(--faint); justify-self: end; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; }
.select-wrap svg { position: absolute; right: .9rem; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.segmented { display: flex; flex-wrap: wrap; gap: .5rem; }
.segmented label { position: relative; cursor: pointer; font-weight: 500; }
.segmented input { position: absolute; opacity: 0; inset: 0; }
.segmented span { display: inline-block; padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: .9rem; transition: background-color .2s, border-color .2s, color .2s; }
.segmented input:checked + span { background: var(--paper); color: var(--paper-ink); border-color: var(--paper); }
.segmented input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.form-foot { display: grid; gap: 1rem; }
.form-foot .btn-primary { justify-self: start; }
.form-done { display: grid; gap: .6rem; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--green-wash); border: 1px solid color-mix(in srgb, var(--green) 40%, transparent); }
.form-done[hidden] { display: none; }
.form-done p { color: var(--muted); font-size: .92rem; }
.form-done .row { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ── Support & FAQ ──────────────────────────────────────────────────── */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.guide { padding: 1.5rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: .9rem; align-content: start; }
.guide h3 { font: 500 1.3rem/1.2 var(--serif); }
.guide ol { list-style: none; counter-reset: g; display: grid; gap: .65rem; font-size: .92rem; color: var(--muted); }
.guide ol li { counter-increment: g; display: grid; grid-template-columns: 22px 1fr; gap: .55rem; }
.guide ol li::before { content: counter(g); font: 500 .74rem/22px var(--stamp); text-align: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--brass); }
.guide b, .guide strong { color: var(--ink); font-weight: 600; }
.guide p { font-size: .92rem; color: var(--muted); }
@media (max-width: 900px) { .guides { grid-template-columns: 1fr; } }

.support-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 960px) { .support-grid { grid-template-columns: 1fr; } }
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 24px; gap: 1rem; align-items: center;
  padding: 1.15rem 0; font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--paper-2); }
.pm { position: relative; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq .a { padding: 0 2.5rem 1.3rem 0; color: var(--muted); display: grid; gap: .7rem; }
.contact-card { display: grid; gap: .3rem; padding: 1.2rem 1.3rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); margin-bottom: 1rem; }
.contact-card small { color: var(--faint); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.contact-card strong { font-weight: 600; font-size: 1.05rem; }
.contact-card span { color: var(--muted); font-size: .9rem; }
a.contact-card:hover { border-color: var(--line-2); text-decoration: none; }

/* ── Closing ────────────────────────────────────────────────────────── */
.closing {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1.5rem, 6vw, 5rem);
  background: var(--paper); color: var(--paper-ink); display: grid; gap: 1.4rem; justify-items: center; text-align: center;
  background-image: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(41, 38, 31, .06) 39px 40px);
}
.closing h2 { font-size: clamp(2.3rem, 6vw, 4.6rem); line-height: 1; max-width: 16ch; letter-spacing: -.03em; }
.closing h2 em { font-style: italic; color: var(--green-deep); }
.closing p { color: var(--paper-muted); max-width: 44ch; font-size: 1.08rem; }
.closing .kicker { color: #8a6a12; }
.closing .stores { justify-content: center; }
.closing .badge { background: transparent; color: var(--paper-ink); border-color: rgba(41, 38, 31, .2); }
.closing .badge .small { color: #8a6a12; }
.closing .wax { position: absolute; width: clamp(80px, 10vw, 120px); animation: none; }
.closing .wax.w1 { left: 6%; top: 14%; transform: rotate(-14deg); }
.closing .wax.w2 { right: 7%; bottom: 12%; transform: rotate(10deg); }
.closing .wax b { font-size: 2.2rem; }
@media (max-width: 760px) { .closing .wax { display: none; } }

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-foot { border-top: 1px solid var(--line); padding-block: clamp(3rem, 7vw, 4.5rem) 2rem; margin-top: clamp(4rem, 9vw, 7rem); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.foot-brand { display: grid; gap: 1rem; justify-items: start; align-content: start; }
.foot-brand p { color: var(--muted); font-size: .92rem; max-width: 32ch; }
.foot-brand .appstore-badge img { height: 44px; }
.foot-col h4 { font: 600 .74rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 1rem; }
.foot-col ul { list-style: none; display: grid; gap: .55rem; }
.foot-col a { color: var(--muted); text-decoration: none; font-size: .92rem; overflow-wrap: anywhere; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: .84rem; color: var(--faint); }
.foot-bottom b { color: var(--muted); font-weight: 600; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ── /destek page head ──────────────────────────────────────────────── */
.page-head { padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2rem, 5vw, 3rem); }
.page-head h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
.page-head .section-head { margin-bottom: 0; }

/* ── Legal pages and /indir (their own markup, kept as is) ──────────── */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 85%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.head-nav { display: flex; align-items: center; gap: .4rem; }
.head-nav a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 500; padding: .45rem .7rem; border-radius: 999px; }
.head-nav a:hover { color: var(--ink); background: var(--surface-2); }
.theme-toggle { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; color: var(--ink); }
.eyebrow { font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.updated { color: var(--faint); font-size: .86rem; }
.legal-page { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.legal-page .section-head { margin-bottom: 1.5rem; gap: .6rem; }
.legal-panel { max-width: 780px; padding: clamp(1.4rem, 4vw, 2.8rem); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.legal-body { display: grid; gap: 1rem; }
.legal-body h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: .4rem; }
.legal-body h3 { font: 600 1.12rem/1.3 var(--sans); margin-top: 1.4rem; }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body strong { color: var(--ink); }
.legal-body ul, .legal-body ol { padding-left: 1.2rem; display: grid; gap: .5rem; }
.callout { padding: 1.1rem 1.2rem; border-radius: var(--r); background: var(--green-wash); border: 1px solid color-mix(in srgb, var(--green) 35%, transparent); display: grid; gap: .35rem; }
.callout.seal { background: transparent; border-color: var(--brass); border-style: dashed; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; }
.table-scroll th, .table-scroll td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.table-scroll th { color: var(--ink); font-weight: 600; background: var(--surface-2); }
.table-scroll tr:last-child td { border-bottom: 0; }
.mailto-card { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding: 1.1rem 1.2rem; border-radius: var(--r); border: 1px solid var(--line-2); }
.stack { display: grid; }
.legal-more { max-width: 780px; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
body > footer:not(.site-foot) { border-top: 1px solid var(--line); padding-block: 2.5rem; }
body > footer:not(.site-foot) .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: flex-start; }
.foot-meta { color: var(--faint); font-size: .86rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.foot-links a:hover { color: var(--ink); }
.hero-logo { width: 72px; height: 72px; border-radius: 18px; }
.gold { color: var(--brass); }
.lede { font-size: 1.1rem; }
.badges { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* Narrow screens: the legal pages' header keeps to one line. */
.brand, .head-nav a { white-space: nowrap; }
@media (max-width: 420px) {
  .site-head .brand { font-size: .95rem; }
  .head-nav a { padding-inline: .5rem; font-size: .88rem; }
}
/* The open mobile menu sits on a dimmed page, not on top of the hero. */
@media (max-width: 920px) {
  .mobile-menu { bottom: 0; align-content: start; background: color-mix(in srgb, var(--bg) 97%, transparent); }
}
@media (max-width: 420px) {
  .head-nav a[href="/"] { display: none; }   /* the brand already links home */
}

/* A screenshot taken without the status bar: leave room for the notch. */
.phone.nobar img { padding-top: 13%; background: #f2f3f0; }
.countdown b { white-space: nowrap; }
@media (max-width: 480px) {
  .countdown { font-size: .74rem; gap: .5rem; }
  .countdown b { font-size: .72rem; }
}
