/* Meet landing page. Tokens match the app (web/src/index.css); contrast measured there. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url(/assets/dm-sans-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url(/assets/dm-sans-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --base: #0b0e13;
  --surface: #12161d;
  --raised: #1a2029;
  --overlay: #222a35;
  --line: #2b3441;
  --fg: #e8ecf2;
  --muted: #a3aebc;
  --subtle: #7d8898;
  --accent: #2dd4bf;
  --accent-hover: #5eead4;
  --on-accent: #042f2a;
  --radius: 14px;
  --space: clamp(64px, 9vw, 112px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--base);
  color: var(--fg);
  font: 400 17px/1.6 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
/* Text links only: buttons set their own hover colors (accent-on-accent would be unreadable). */
a:not(.btn):hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.sprite { position: absolute; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 16px; height: 16px; }

.wrap { width: min(1160px, 100% - 2 * max(20px, env(safe-area-inset-left))); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }

.skip { position: absolute; left: 12px; top: -48px; z-index: 20; padding: 10px 14px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-weight: 600; }
.skip:focus { top: 12px; }

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { border-color: var(--line); color: var(--fg); background: transparent; }
.btn-ghost:hover { background: var(--raised); color: var(--fg); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 15px; }

/* --- nav --- */
.nav { position: sticky; top: 0; z-index: 10; background: rgb(11 14 19 / .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: -0.01em; }
.brand:hover { color: var(--fg); }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--accent); color: var(--on-accent); }
.brand-sm { font-size: 16px; }
.brand-sm .brand-mark { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--fg); background: var(--raised); }
@media (max-width: 640px) { .nav-links { display: none; } .nav-inner > .btn { margin-left: auto; } }

/* --- hero --- */
.hero { padding: clamp(48px, 7vw, 96px) 0 var(--space); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .02em; margin-bottom: 16px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); font-weight: 700; }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); margin-top: 20px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.note { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--subtle); font-size: 14px; }

.hero-shots { position: relative; margin: 0; padding-bottom: 8%; }
.window { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: 0 40px 80px -30px rgb(0 0 0 / .7), 0 0 0 1px rgb(255 255 255 / .02); }
.window-bar { display: flex; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--overlay); }
.phone {
  position: absolute; right: -2%; bottom: 0; width: 26%;
  border: 6px solid #1f2630; border-radius: 26px; overflow: hidden; background: var(--base);
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / .8);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone { width: 30%; right: 2%; }
}

/* --- sections --- */
.section { padding: var(--space) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 700; }
.section-lead { color: var(--muted); margin-top: 12px; }

.features { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
/* Icon sits beside the heading, unboxed; the description spans the card below. */
.features li {
  display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.f-ic { display: flex; color: var(--accent); }
.f-ic .ic { width: 22px; height: 22px; }
.features h3 { font-size: 19px; font-weight: 650; }
.features p { grid-column: 1 / -1; color: var(--muted); margin-top: 10px; font-size: 16px; }

.platforms { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.platform { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--base); }
/* The visitor's own platform comes first, so phones don't have to scroll past the others. */
.platform.is-mine { order: -1; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.platform.is-mine::before {
  content: 'Cihazın için önerilen'; align-self: flex-start; margin-bottom: -4px;
  padding: 3px 10px; border-radius: 999px; background: rgb(45 212 191 / .12);
  color: var(--accent); font-size: 12px; font-weight: 600; white-space: nowrap;
}
.p-head { display: flex; align-items: center; gap: 10px; color: var(--accent); }
.p-head h3 { color: var(--fg); font-size: 20px; font-weight: 650; }
.platform > p { color: var(--muted); font-size: 16px; }
.platform .btn { align-self: flex-start; }
.steps { margin: 0; padding-left: 20px; color: var(--muted); font-size: 16px; display: grid; gap: 6px; }
.steps b { color: var(--fg); font-weight: 600; }
.meta { color: var(--subtle); font-size: 14px; }
details.meta summary { cursor: pointer; }
.hash { display: block; margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: var(--raised); color: var(--muted); font-size: 12px; word-break: break-all; }

/* --- faq --- */
.faq { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; color: var(--accent); font-size: 24px; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; max-width: 62ch; }
.faq b { color: var(--fg); }

/* --- footer --- */
.footer { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); color: var(--subtle); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.footer-inner > :last-child { margin-left: auto; }

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