/* Dawnia — appdawnia.com · "Günün yolu": the page is a day on the caravan road. */
@font-face {
  font-family: "Cinzel";
  src: url("/assets/fonts/Cinzel.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --bg: #FBF3E6;
  --card: #FFFAF2;
  --card2: #F3E4CB;
  --ink: #3A2214;
  --ink2: #7A6450;
  --ink3: #CDB394;
  --brand: #7A3E22;
  --on-brand: #FFF1D6;
  --done: #2F8F86;
  --late: #C2412A;
  --sun: #D9A441;
  --night: #120E22;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --serif: "Cinzel", Georgia, serif;
  --flourish: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --shadow: 0 1px 2px rgba(90, 50, 20, .06), 0 22px 44px -22px rgba(122, 62, 34, .38);
  --rail: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: var(--on-brand); padding: 8px 14px; border-radius: 10px; z-index: 20; }
.skip:focus { left: 16px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.rel { position: relative; }
a.light { color: #FFF6E6; }
.lost-camel { width: 120px; height: 80px; margin: 0 auto; fill: var(--ink3); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 10; background: rgba(251, 243, 230, .82); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid rgba(58, 34, 20, .07); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 10px -4px rgba(122, 62, 34, .6); }
.brand span { font-family: var(--serif); font-weight: 700; font-size: 21px; letter-spacing: .05em; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--ink2); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .lang { border: 1.5px solid var(--ink3); border-radius: 99px; padding: 3px 11px; font-size: 12.5px; letter-spacing: .08em; }

/* ---------- shared bits ---------- */
.kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.12; letter-spacing: .005em; }
.sub { color: var(--ink2); font-size: 18.5px; max-width: 560px; margin-top: 14px; }
.badge { display: inline-flex; align-items: center; gap: 10px; background: #1B120C; color: #FFF; border-radius: 15px; padding: 10px 20px 10px 15px; text-decoration: none; box-shadow: 0 14px 30px -14px rgba(27, 18, 12, .8); }
.badge svg { width: 27px; height: 27px; fill: currentColor; }
.badge small { display: block; font-size: 11px; opacity: .72; line-height: 1.15; }
.badge b { display: block; font-size: 19px; line-height: 1.2; letter-spacing: .01em; }
.ghost { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid currentColor; border-radius: 15px; padding: 12px 18px; font-weight: 650; text-decoration: none; }
.ghost svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }

.phone { position: relative; width: 300px; border-radius: 50px; padding: 9px; background: linear-gradient(145deg, #3A2A20, #120B07); box-shadow: 0 0 0 1px #5A463A inset, 0 0 0 1.5px #1B120C, 0 50px 90px -34px rgba(50, 22, 8, .7); }
.phone img { border-radius: 41px; width: 100%; }

/* ---------- hero (dawn) ---------- */
.hero { position: relative; overflow: hidden; color: #FFF6E6; min-height: min(900px, 100vh); display: flex; flex-direction: column; }
.hero .scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .front { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 30%; z-index: 3; pointer-events: none; }
.hero .grid { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: start; padding-top: 92px; }
.hero .copy { padding-top: 30px; }
.hero .kicker { color: #FFE3BC; }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(42px, 5.3vw, 68px); line-height: 1.03; margin: 18px 0 22px; text-shadow: 0 2px 24px rgba(50, 16, 40, .35); }
.hero h1 em { font-style: normal; color: #FFD9A0; }
.hero .lead { font-size: 20px; line-height: 1.55; max-width: 500px; color: #FFF0DD; }
.hero .ghost { color: #FFF6E6; border-color: rgba(255, 246, 230, .65); }
.hero .ghost:hover { background: rgba(255, 246, 230, .12); }
.hero .stage { position: relative; justify-self: center; margin-bottom: -60px; }
.hero .stage .phone { transform: rotate(3deg); }
.hero .clock { position: absolute; left: -86px; top: 22px; z-index: 4; display: flex; align-items: center; gap: 8px; background: rgba(27, 18, 12, .62); color: #FFE3BC; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 7px 14px 7px 10px; border-radius: 99px; font-size: 13px; font-weight: 650; letter-spacing: .02em; }
.hero .clock svg { width: 22px; height: 15px; fill: #FFE3BC; }

/* iOS-like notification, drawn in HTML */
.notif { position: absolute; z-index: 4; width: 300px; right: -235px; top: 300px; display: grid; gap: 8px; filter: drop-shadow(0 22px 34px rgba(40, 14, 20, .35)); }
.notif .banner { display: grid; grid-template-columns: 38px 1fr auto; gap: 11px; align-items: center; background: rgba(255, 250, 242, .94); color: #2A1A10; border-radius: 22px; padding: 12px 14px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.notif .banner img { width: 38px; height: 38px; border-radius: 9px; }
.notif .banner b { display: block; font-size: 14.5px; line-height: 1.25; }
.notif .banner span { display: block; font-size: 13px; color: #6A5444; line-height: 1.3; }
.notif .banner time { align-self: start; font-size: 12px; color: #8A7464; }
.notif .actions { background: rgba(255, 250, 242, .94); border-radius: 18px; overflow: hidden; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #2A1A10; font-size: 14.5px; margin-right: 50px; }
.notif .actions span { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; border-top: 1px solid rgba(58, 34, 20, .08); }
.notif .actions span:first-child { border-top: 0; }
.notif .actions svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notif .actions .danger { color: var(--late); }

/* ---------- the road ---------- */
.road { position: relative; padding: 20px 0 40px; background: linear-gradient(180deg, var(--bg) 0%, #F9EEDC 30%, #F6E4CC 58%, #F2D9C4 82%, #EBC9BD 100%); }
.road::before { content: ""; position: absolute; top: 0; bottom: 0; left: max(24px, calc((100% - 1160px) / 2 + 30px)); border-left: 2px dashed rgba(122, 62, 34, .26); }
.road-intro { padding: 72px 0 10px var(--rail); }
.road-intro h2 { max-width: 780px; }
.road-intro .sub { max-width: 640px; }
.stop { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 64px 0 64px var(--rail); }
.stop.flip .media { order: -1; }
.stop .node { position: absolute; left: 21px; top: 70px; width: 18px; height: 21px; border-radius: 9px 9px 3px 3px; background: var(--done); box-shadow: 0 0 0 7px var(--bg); }
.stop .node.open { background: var(--bg); border: 2px solid var(--ink3); }
.stop .node.diamond { width: 14px; height: 14px; border-radius: 2px; transform: rotate(45deg); left: 23px; top: 74px; background: var(--bg); border: 2px solid var(--brand); }
.stop .time { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.stop .time b { font-family: var(--serif); font-size: 15px; letter-spacing: .08em; color: var(--brand); }
.stop .time span { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink2); }
.points { list-style: none; margin-top: 28px; display: grid; gap: 16px; }
.points li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.points .pi { width: 36px; height: 40px; border-radius: 18px 18px 8px 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--c, #7A3E22) 14%, transparent); color: var(--c, #7A3E22); }
.points .pi svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.points b { display: block; font-size: 16.5px; }
.points span { color: var(--ink2); font-size: 15.5px; line-height: 1.5; }
.c-apricot { --c: #C9683A; }
.c-lavender { --c: #7C5DAE; }
.c-tile { --c: #3A6EA8; }
.c-rose { --c: #B8566A; }
.media { position: relative; display: flex; justify-content: center; align-items: center; min-height: 600px; }

/* floating UI cards */
.float { position: absolute; z-index: 2; background: var(--card); border-radius: 20px; box-shadow: 0 1px 2px rgba(90, 50, 20, .08), 0 26px 46px -20px rgba(90, 40, 15, .48); padding: 14px 16px; font-size: 14px; }
.float.stock { right: 2%; bottom: 14%; display: flex; align-items: center; gap: 12px; }
.float.stock .box { width: 40px; height: 44px; border-radius: 20px 20px 9px 9px; background: rgba(194, 65, 42, .14); color: var(--late); display: grid; place-items: center; }
.float.stock .box svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.float.stock b { font-family: var(--serif); font-size: 22px; line-height: 1.1; }
.float.stock small { display: block; color: var(--late); font-size: 12.5px; font-weight: 600; }
.float.stock .btn { background: var(--late); color: #fff; font-weight: 700; font-size: 13px; padding: 7px 12px; border-radius: 99px; margin-left: 4px; }
.float.pill { left: 0; top: 13%; padding: 9px 15px; border-radius: 99px; display: flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink2); }
.float.pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.float.streak { left: 0; top: 16%; display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.float.streak svg { width: 30px; height: 30px; fill: var(--sun); }
.float.streak b { font-family: var(--serif); font-size: 30px; line-height: 1; }
.float.streak span { color: var(--ink2); font-size: 13px; line-height: 1.25; }
.float.water { right: 0; bottom: 14%; }
.float.water .t { display: flex; justify-content: space-between; gap: 16px; font-weight: 650; margin-bottom: 8px; }
.float.water .t span { color: var(--ink2); font-weight: 500; }
.float.water .jugs { display: flex; gap: 6px; }
.float.water svg { width: 22px; height: 26px; }
.float.quick { left: -4%; bottom: 18%; width: 340px; padding: 9px 9px 9px 18px; border-radius: 99px; display: flex; align-items: center; gap: 4px; font-size: 15px; white-space: nowrap; }
.float.quick mark { background: rgba(122, 62, 34, .14); color: var(--brand); border-radius: 6px; padding: 0 4px; margin-left: 4px; }
.float.quick .caret { width: 2px; height: 20px; background: var(--brand); animation: blink 1s steps(1) infinite; }
.float.quick .go { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; color: var(--on-brand); flex: none; }
.float.quick .go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.float.parsed { left: 0; bottom: calc(18% + 64px); padding: 7px 13px; border-radius: 99px; background: var(--brand); color: var(--on-brand); font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.float.parsed svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.float.sealed { right: -2%; top: 14%; display: flex; align-items: center; gap: 10px; background: #2A1A10; color: #FBF3E6; border-radius: 99px; padding: 9px 16px 9px 10px; font-weight: 650; }
.float.sealed .seal { width: 26px; height: 26px; }
.float.sealed em { font-style: normal; color: #E8B04A; margin-left: 8px; }
@keyframes blink { 50% { opacity: 0; } }

/* home screen mock */
.home { width: 300px; border-radius: 50px; padding: 9px; background: linear-gradient(145deg, #3A2A20, #120B07); box-shadow: 0 0 0 1px #5A463A inset, 0 0 0 1.5px #1B120C, 0 50px 90px -34px rgba(50, 22, 8, .7); }
.home .screen { position: relative; border-radius: 41px; overflow: hidden; aspect-ratio: 1206 / 2622; background: linear-gradient(180deg, #241B3A 0%, #5E3A66 34%, #B45E78 62%, #E69068 86%, #F2BC86 100%); padding: 62px 14px 0; display: grid; align-content: start; gap: 14px; }
.home .island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); height: 31px; width: 124px; background: #000; border-radius: 16px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 9px; }
.home .island i { width: 15px; height: 15px; border-radius: 50%; background: #6A9FD8; }
.home .island b { font-size: 11.5px; color: #FF8A6B; font-variant-numeric: tabular-nums; }
.home .status { position: absolute; top: 16px; left: 28px; right: 26px; display: flex; justify-content: space-between; color: #fff; font-size: 13px; font-weight: 650; }
.home .w { border-radius: 20px; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.home .apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 12px; padding: 4px 6px 0; }
.home .apps i { aspect-ratio: 1; border-radius: 14px; background: rgba(255, 255, 255, .2); }
.home .apps i.dawnia { background: url("/assets/img/icon-64.png") center / cover; }
.siri { position: absolute; z-index: 2; right: -4%; bottom: 9%; display: grid; gap: 8px; width: 290px; }
.siri p { background: rgba(255, 250, 242, .97); border-radius: 18px 18px 18px 6px; padding: 10px 14px; font-size: 14px; box-shadow: var(--shadow); }
.siri p.me { justify-self: end; background: var(--brand); color: var(--on-brand); border-radius: 18px 18px 6px 18px; }
.siri p small { display: block; color: var(--ink2); font-size: 12px; margin-bottom: 2px; }

/* report */
.papers { position: relative; width: min(400px, 92%); }
.papers .back { position: absolute; inset: 0; transform: rotate(5deg) translate(20px, 10px); background: #fff; border-radius: 4px; box-shadow: 0 20px 40px -24px rgba(60, 30, 10, .4); }
.papers img { position: relative; background: #fff; border-radius: 4px; transform: rotate(-2deg); box-shadow: 0 30px 60px -26px rgba(60, 30, 10, .5), 0 0 0 1px rgba(58, 34, 20, .07); }
.float.share { right: -4%; bottom: 12%; display: flex; align-items: center; gap: 10px; font-weight: 650; }
.float.share svg { width: 18px; height: 18px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- night ---------- */
.night { position: relative; overflow: hidden; color: #F6E8D2; background: linear-gradient(180deg, #EBC9BD 0%, #7A4E6E 8%, #2E2042 20%, var(--night) 46%); padding: 170px 0 0; }
.night .sky { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.night .grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.night .time b { font-family: var(--serif); color: #E8B04A; letter-spacing: .08em; font-size: 15px; }
.night .time span { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #B9A6C2; margin-left: 12px; }
.night h2 { margin-top: 14px; }
.night .sub { color: #CDBCD2; }
.zero { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 38px; }
.zero div { border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .045); border-radius: 20px; padding: 18px 16px; }
.zero b { display: block; font-family: var(--serif); font-size: 40px; line-height: 1; color: #FFE3A3; }
.zero span { display: block; margin-top: 8px; font-size: 14px; color: #CDBCD2; line-height: 1.35; }
.night .note { margin-top: 26px; font-size: 14px; color: #A898AE; max-width: 580px; }
.night .note a { color: #E8B04A; }
.night .phone { transform: rotate(-3deg); margin-inline: auto; }
.night .caption { text-align: center; margin-top: 20px; color: #B9A6C2; font-size: 15px; font-family: var(--flourish); font-style: italic; }
.camp { position: relative; height: 280px; margin-top: 20px; }
.camp svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- faq & closing ---------- */
.faq-sec { padding: 100px 0 30px; }
.faq-sec h2 { text-align: center; }
.faq { max-width: 780px; margin: 36px auto 0; }
details { background: var(--card); border-radius: 20px; padding: 18px 22px; margin-bottom: 12px; box-shadow: 0 1px 2px rgba(90, 50, 20, .05); }
summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--brand); }
details[open] summary::after { content: "–"; }
details p, details ul { margin-top: 10px; color: var(--ink2); font-size: 16px; }
details ul { padding-left: 20px; }
.more { text-align: center; margin-top: 18px; font-weight: 650; }

.closing { position: relative; overflow: hidden; text-align: center; padding: 110px 0 0; }
.closing .kicker { color: var(--ink2); }
.closing h2 { max-width: 760px; margin: 14px auto 0; }
.closing .sub { margin-inline: auto; }
.closing .cta { justify-content: center; }
.closing .ghost { color: var(--brand); border-color: var(--ink3); }
.closing svg.dawn { display: block; width: 100%; height: 240px; margin-top: 70px; }

/* ---------- document pages ---------- */
.doc-hero { position: relative; overflow: hidden; background: linear-gradient(#3A2A55, #8E4F72 45%, #C9687A 72%, #EE9A6E); color: #FFF6E6; padding: 84px 0 120px; }
.doc-hero .wrap { position: relative; z-index: 1; }
.doc-hero .kicker { color: #FFE3BC; }
.doc-hero h1 { font-family: var(--serif); font-size: clamp(36px, 4.8vw, 56px); line-height: 1.08; margin-top: 10px; }
.doc-hero p { opacity: .92; margin-top: 12px; max-width: 640px; font-size: 18px; }
.doc-hero svg.dunes { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 100px; }
.doc { max-width: 760px; margin: 0 auto; padding: 48px 0 96px; }
.doc h2 { font-size: 26px; margin: 44px 0 12px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: #4E3524; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin-top: 10px; }
.doc li { margin: 6px 0; }
.doc .summary { background: var(--card); border-radius: 22px; padding: 22px 26px; box-shadow: var(--shadow); margin-bottom: 40px; }
.doc .summary ul { list-style: none; padding: 0; }
.doc .summary li { padding-left: 26px; position: relative; }
.doc .summary li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 9px; height: 9px; background: var(--done); transform: rotate(45deg); border-radius: 1px; }
.contact-card { display: flex; align-items: center; gap: 18px; background: var(--card); border-radius: 22px; padding: 22px 26px; box-shadow: var(--shadow); margin: 8px 0 36px; }
.contact-card svg { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-card a { font-weight: 700; font-size: 18px; overflow-wrap: anywhere; }
.muted { color: var(--ink2); font-size: 15px; }
.center { text-align: center; }

/* ---------- footer ---------- */
footer { background: #1E140D; color: #D9C2A4; padding: 56px 0 40px; font-size: 15px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
footer .brand { color: #FBF3E6; }
footer h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #9A8068; margin-bottom: 10px; }
footer a { color: #F3E2C4; text-decoration: none; display: block; padding: 3px 0; overflow-wrap: anywhere; }
footer a:hover { text-decoration: underline; }
footer p { margin-top: 12px; max-width: 360px; color: #BFA788; }
footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 20px; margin-top: 10px; font-size: 13px; color: #9A8068; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- motion ---------- */
.camel { animation: walk 1.4s ease-in-out infinite; transform-origin: 50% 100%; transform-box: fill-box; }
.camel.b { animation-delay: -.45s; }
.camel.c { animation-delay: -.9s; }
@keyframes walk { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-1.4px) rotate(1.4deg); } }
.twinkle { animation: twinkle 3.4s ease-in-out infinite; }
.twinkle:nth-child(2n) { animation-delay: -1.2s; }
.twinkle:nth-child(3n) { animation-delay: -2.3s; }
@keyframes twinkle { 0%, 100% { opacity: .95; } 50% { opacity: .2; } }
.flicker { animation: flicker 2.6s ease-in-out infinite; transform-origin: 50% 100%; transform-box: fill-box; }
@keyframes flicker { 0%, 100% { opacity: .9; transform: scale(1); } 40% { opacity: .65; transform: scale(.94); } 70% { opacity: 1; transform: scale(1.05); } }
.rise { animation: rise 2.6s cubic-bezier(.2, .7, .2, 1) both; transform-box: fill-box; }
@keyframes rise { from { transform: translateY(70px); opacity: .5; } }
.float-in { animation: floatin .9s .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes floatin { from { opacity: 0; transform: translateY(14px) scale(.97); } }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 26%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(46px); } }
    .drift { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes drift { from { transform: translateY(30px); } to { transform: translateY(-30px); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  .camel, .twinkle, .flicker, .rise, .float-in, .float.quick .caret { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .notif { right: -120px; top: 340px; width: 280px; }
}
@media (max-width: 1100px) {
  .notif { right: -60px; }
  .float.quick { left: 0; width: 310px; }
}
@media (max-width: 960px) {
  :root { --rail: 46px; }
  .hero { min-height: 0; }
  .hero .grid { grid-template-columns: 1fr; padding-top: 60px; text-align: center; }
  .hero .copy { padding-top: 0; }
  .hero .lead { margin-inline: auto; }
  .hero .cta { justify-content: center; }
  .hero .stage { margin: 36px auto -190px; }
  .hero .front { height: 22%; }
  .notif { right: -90px; top: 300px; width: 280px; text-align: left; }
  .hero .clock { left: -60px; }
  .road::before { left: 24px; }
  .road-intro { padding-top: 60px; }
  .stop { grid-template-columns: 1fr; gap: 30px; padding-top: 56px; padding-bottom: 40px; }
  .stop.flip .media { order: 0; }
  .stop .node { left: 15px; top: 62px; }
  .stop .node.diamond { left: 17px; top: 66px; }
  .media { min-height: 0; padding: 24px 0; }
  .night { padding-top: 130px; }
  .night .grid { grid-template-columns: 1fr; }
  .zero { grid-template-columns: repeat(2, 1fr); }
  footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .nav { gap: 16px; }
  .nav .hide-sm { display: none; }
  .hero h1 { font-size: 40px; }
  .hero .lead { font-size: 17.5px; }
  .hero .clock { left: -10px; top: -14px; }
  .phone, .home { width: 250px; border-radius: 42px; }
  .phone img, .home .screen { border-radius: 34px; }
  .home .screen { padding-top: 52px; gap: 10px; }
  .notif { right: -20px; top: 250px; width: 240px; }
  .notif .actions { display: none; }
  .float { font-size: 13px; }
  .float.quick { width: 268px; left: -6px; font-size: 13.5px; }
  .float.stock { right: -6px; }
  .float.streak, .float.pill { left: -6px; }
  .float.water { right: -6px; }
  .float.sealed { right: -6px; }
  .siri { right: -6px; width: 230px; }
  .float.share { right: 0; }
  .zero b { font-size: 32px; }
  footer .wrap { grid-template-columns: 1fr; }
}
