:root {
  --paper: #FBFBF9;
  --ink: #2C3E50;
  --ink-soft: #55626F;
  --green: #43A33B;
  --green-dark: #2F7D2A;
  --red: #D32F2F;
  --red-deep: #9E1B1B;
  --gold: #F2B705;
  --line: rgba(44, 62, 80, 0.12);
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Outfit, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 251, 249, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; mix-blend-mode: multiply; }
.wordmark { font-weight: 800; font-size: 24px; letter-spacing: -0.5px; }
.w-eng { color: var(--ink); }
.w-apps { color: var(--green); }
.site-header nav { display: flex; gap: 6px; }
.site-header nav a {
  text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 8px 14px; border-radius: 999px; color: var(--ink-soft);
}
.site-header nav a:hover { background: rgba(44, 62, 80, 0.07); color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  margin: 0 0 14px; font-weight: 700; font-size: 14px; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--green-dark);
}
.hero h1 { margin: 0; font-size: clamp(36px, 5.2vw, 60px); line-height: 1.06; letter-spacing: -1.5px; font-weight: 800; }
.lede { margin: 22px 0 0; font-size: 19px; color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-art img { width: 100%; height: auto; max-width: 380px; margin-left: auto; mix-blend-mode: multiply; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-dark:hover { background: #1E2B38; }
.btn-ghost { border: 2px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: rgba(44, 62, 80, 0.06); }

/* Apps */
.apps { padding: 24px 0 72px; }
.section-title { margin: 0; font-size: 38px; letter-spacing: -1px; font-weight: 800; }
.section-sub { margin: 6px 0 28px; color: var(--ink-soft); }

.app-card {
  position: relative; overflow: hidden;
  max-width: 1180px; margin: 0 auto 28px;
  border-radius: var(--radius);
  padding: 48px 0;
}
@media (min-width: 1228px) { .app-card { width: calc(100% - 48px); } }
@media (max-width: 1227px) { .app-card { margin-left: 16px; margin-right: 16px; } }

.app-grid { display: grid; grid-template-columns: minmax(300px, 0.8fr) 1.65fr; gap: 36px; align-items: center; }

.android { background: #FFFFFF; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(44, 62, 80, 0.07); }
.ios-card {
  color: #FFFFFF;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.08) 34%, rgba(255,255,255,0) 34%),
    linear-gradient(180deg, #D63131 0%, #A61E1E 100%);
}
.app-card.ios-card { font-family: Outfit, system-ui, sans-serif; }
.bg-flake { position: absolute; color: #FFFFFF; stroke-width: 1.3; pointer-events: none; }
.bg-flake.f1 { width: 260px; height: 260px; right: -60px; top: -60px; opacity: 0.08; }
.bg-flake.f2 { width: 90px; height: 90px; left: 38%; bottom: 30px; opacity: 0.1; }
.bg-flake.f3 { width: 50px; height: 50px; left: 24px; bottom: 24px; opacity: 0.12; }

.app-head { display: flex; align-items: center; gap: 18px; }
.app-icon { width: 88px; height: 88px; border-radius: 22px; flex-shrink: 0; }
.android .app-icon { box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.ios-card .app-icon { box-shadow: 0 10px 26px rgba(70,0,0,0.35); border-radius: 20px; }
.platform { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; letter-spacing: 0.3px; }
.android .platform { color: var(--green-dark); }
.ios-card .platform { color: rgba(255,255,255,0.9); }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-green { background: var(--green); box-shadow: 0 0 0 4px rgba(67,163,59,0.18); }
.dot-gold { background: var(--gold); box-shadow: 0 0 0 4px rgba(242,183,5,0.25); }
.app-head h3 { margin: 2px 0 0; font-size: 30px; line-height: 1.12; letter-spacing: -0.6px; font-weight: 800; }

.app-desc { margin: 22px 0 0; }
.android .app-desc { color: var(--ink-soft); }
.ios-card .app-desc { color: rgba(255,255,255,0.88); }

.features { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; font-weight: 500; font-size: 16px; }
.features li { position: relative; padding-left: 28px; }
.features li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ios-card .features li::before { background-color: rgba(255,255,255,0.22); }

.store-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  min-height: 56px; padding: 8px 20px 8px 16px; border-radius: 14px;
  background: #111111; color: #FFFFFF; text-decoration: none;
  transition: transform 0.15s ease;
}
a.store-badge:hover { transform: translateY(-2px); }
.store-badge > span { display: flex; flex-direction: column; font-size: 20px; font-weight: 600; line-height: 1.1; }
.store-badge small { font-size: 10.5px; font-weight: 600; letter-spacing: 0.6px; opacity: 0.85; }
.store-badge.soon { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.4); }
.mock-note { margin: 14px 0 0; font-size: 13px; color: rgba(255,255,255,0.72); }

/* Screenshot strips */
.shots {
  display: flex; gap: 18px; overflow-x: auto; padding: 8px 4px 18px;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.shots:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; border-radius: 12px; }
.shots figure { margin: 0; flex: 0 0 auto; scroll-snap-align: start; }
.shots figcaption { margin-top: 12px; text-align: center; font-size: 14px; font-weight: 600; }
.android figcaption { color: var(--ink-soft); }
.ios-card figcaption { color: rgba(255,255,255,0.88); }

/* Android shots are emulator captures pre-rendered into a device frame (screenshots/android/framed) */
.android-phone img {
  width: 216px; max-width: none; height: auto;
  filter: drop-shadow(0 18px 26px rgba(44, 62, 80, 0.22));
}

/* iPhone frame around a 390 × 844 design, scaled with zoom */
.iphone { --s: 0.54; }
.iphone-screen {
  width: calc(390px * var(--s) + 20px); height: calc(844px * var(--s) + 20px);
  padding: 10px; border-radius: 44px; background: #0E0E10;
  box-shadow: 0 0 0 2px #3A3A3E inset, 0 24px 50px rgba(60, 0, 0, 0.35);
}
.iphone-screen .ios { zoom: var(--s); border-radius: 56px; }

/* iOS mockup internals, ported from the Gift List iOS design canvas */
.iphone .ios {
  position: relative; width: 390px; height: 844px; overflow: hidden;
  background: #F7F1EE; color: #1C1C1E; font-family: ui-rounded, "SF Pro Rounded", Nunito, system-ui, sans-serif;
  line-height: normal; font-size: 15px;
}
.iphone .ios svg { width: 22px; height: 22px; flex-shrink: 0; }
.ios .canopy {
  position: absolute; left: 0; top: 0; width: 390px;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.10) 36%, rgba(255,255,255,0) 36%),
    linear-gradient(180deg, #DA3434 0%, #C62828 100%);
}
.ios .flake { position: absolute; color: #FFFFFF; stroke-width: 1.4; }
.ios-status {
  position: absolute; left: 0; right: 0; top: 0; height: 50px; padding: 0 30px 0 44px;
  display: flex; align-items: center; justify-content: space-between; color: #FFFFFF; font-weight: 800; font-size: 16px;
}
.ios-status .island { width: 122px; height: 34px; border-radius: 20px; background: #000000; margin-top: 4px; }
.ios-status .bat { width: 27px; height: 13px; border-radius: 4px; border: 1.5px solid rgba(255,255,255,0.6); background: linear-gradient(90deg, #FFFFFF 75%, transparent 75%); background-clip: content-box; padding: 1.5px; }
.ios .topbar { position: absolute; left: 16px; right: 16px; top: 56px; display: flex; justify-content: space-between; align-items: center; }
.ios .topbar .row { display: flex; gap: 10px; }
.ios .glass, .ios .solid {
  height: 44px; min-width: 44px; border-radius: 22px; display: flex; align-items: center; justify-content: center; gap: 18px;
}
.ios .glass {
  color: #FFFFFF; background: rgba(255,255,255,0.2); border: 0.5px solid rgba(255,255,255,0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 4px 12px rgba(90,0,0,0.18);
}
.ios .glass.wide { padding: 0 12px; }
.ios .solid { width: 44px; background: #FFFFFF; color: #D32F2F; box-shadow: 0 6px 16px rgba(90,0,0,0.28); }
.ios .list-title { position: absolute; left: 20px; display: flex; align-items: center; gap: 8px; color: #FFFFFF; font-size: 34px; font-weight: 800; }
.ios .list-title svg { width: 20px; height: 20px; opacity: 0.85; margin-top: 4px; }
.ios .pill {
  position: absolute; left: 20px; display: flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.18); border: 0.5px solid rgba(255,255,255,0.35); color: #FFFFFF; font-size: 15px; font-weight: 700;
}
.ios .pill svg { width: 16px; height: 16px; stroke-width: 2.2; }
.ios .spend { position: absolute; left: 20px; color: rgba(255,255,255,0.88); font-weight: 600; }
.ios .card { background: #FFFFFF; border-radius: 26px; box-shadow: 0 10px 30px rgba(90,20,20,0.10); }
.ios .people, .ios .gifts { position: absolute; left: 16px; right: 16px; overflow: hidden; }
.ios .person { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 14px; }
.ios .person + .person::before { content: ""; position: absolute; left: 92px; right: 0; top: 0; height: 0.5px; background: rgba(60,60,67,0.16); }
.ios .person img { width: 64px; height: 64px; flex-shrink: 0; }
.ios .p-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ios .p-top { display: flex; justify-content: space-between; align-items: baseline; }
.ios .p-top > b { font-size: 19px; font-weight: 800; }
.ios .p-top span { color: rgba(60,60,67,0.68); font-variant-numeric: tabular-nums; }
.ios .p-top span b { color: #1C1C1E; font-weight: 800; }
.ios .track { height: 10px; border-radius: 5px; background: rgba(120,120,128,0.16); overflow: hidden; }
.ios .fill { height: 10px; border-radius: 5px; }
.ios .fill.stripe { background: repeating-linear-gradient(135deg, rgba(255,255,255,0.34) 0 5px, rgba(255,255,255,0) 5px 10px), linear-gradient(180deg, #E53935, #C62828); }
.ios .fill.done { width: 100%; background: linear-gradient(180deg, #5CBF60, #2E8B32); }
.ios .cap { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: rgba(60,60,67,0.68); }
.ios .cap.ok { color: #2E7D32; }
.ios .cap svg { width: 14px; height: 14px; }
.ios .chev { width: 14px !important; height: 14px !important; color: rgba(60,60,67,0.3); }
.ios .tabbar {
  position: absolute; left: 20px; right: 20px; bottom: 24px; height: 62px; border-radius: 31px; padding: 4px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(255,255,255,0.8); border: 0.5px solid rgba(0,0,0,0.06); box-shadow: 0 10px 30px rgba(0,0,0,0.14);
}
.ios .tab { border-radius: 27px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 700; color: #1C1C1E; }
.ios .tab svg { width: 24px; height: 24px; }
.ios .tab.sel { background: rgba(211,47,47,0.11); color: #D32F2F; font-weight: 800; }

.ios .hero-person { position: absolute; left: 0; right: 0; top: 98px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: #FFFFFF; }
.ios .hero-person img { width: 96px; height: 96px; border-radius: 48px; border: 4px solid rgba(255,255,255,0.9); box-shadow: 0 10px 24px rgba(0,0,0,0.22); }
.ios .hero-person b { font-size: 30px; font-weight: 900; margin-top: 4px; }
.ios .hero-person span { font-weight: 700; opacity: 0.9; }
.ios .hero-track { width: 220px; height: 10px; border-radius: 5px; background: rgba(255,255,255,0.25); overflow: hidden; margin-top: 6px; }
.ios .hero-track div { height: 10px; border-radius: 5px; background: repeating-linear-gradient(135deg, rgba(255,255,255,0.45) 0 5px, rgba(255,255,255,0) 5px 10px), linear-gradient(180deg, #FFD54F, #F2B705); }
.ios .g-head { display: flex; justify-content: flex-end; gap: 4px; padding: 12px 12px 0; font-size: 11px; font-weight: 800; color: rgba(60,60,67,0.68); }
.ios .g-head span { width: 48px; text-align: center; }
.ios .gift { position: relative; display: flex; align-items: center; gap: 4px; padding: 10px 12px 12px 18px; }
.ios .gift::before { content: ""; position: absolute; left: 18px; right: 0; top: 0; height: 0.5px; background: rgba(60,60,67,0.16); }
.ios .gift img { width: 44px; height: 44px; margin: 0 2px; }
.ios .g-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ios .g-body b { font-size: 17px; font-weight: 800; }
.ios .g-body span { font-size: 14px; color: rgba(60,60,67,0.68); }
.ios .g-body em { display: flex; align-items: center; gap: 4px; font-style: normal; font-size: 13px; font-weight: 800; color: #2E7D32; }
.ios .g-body em svg { width: 13px; height: 13px; }

.ios .big-days { position: absolute; left: 20px; top: 160px; display: flex; align-items: flex-end; gap: 12px; color: #FFFFFF; }
.ios .big-days > span { font-size: 112px; line-height: 100px; font-weight: 900; letter-spacing: -3px; font-variant-numeric: tabular-nums; }
.ios .big-days small { font-size: 20px; line-height: 24px; font-weight: 800; padding-bottom: 6px; }
.ios .stats { position: absolute; left: 16px; right: 16px; top: 300px; display: flex; flex-direction: column; gap: 12px; }
.ios .ring-card { padding: 18px 20px; display: flex; align-items: center; gap: 20px; }
.ios .ring-card svg { width: 96px; height: 96px; }
.ios .ring-card text { font-family: ui-rounded, "SF Pro Rounded", Nunito, sans-serif; }
.ios .ring-card div { display: flex; flex-direction: column; }
.ios .ring-card small { font-size: 13px; font-weight: 700; color: rgba(60,60,67,0.68); }
.ios .ring-card b { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.ios .ring-card b.green { font-size: 30px; font-weight: 900; color: #2E7D32; }
.ios .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ios .tile { border-radius: 22px; padding: 14px 12px; display: flex; flex-direction: column; gap: 6px; }
.ios .tile img { width: 44px; height: 44px; }
.ios .tile b { font-size: 34px; line-height: 38px; font-weight: 900; color: #2E7D32; }
.ios .tile small { font-size: 12px; line-height: 15px; font-weight: 700; color: rgba(60,60,67,0.68); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer .brand img { width: 32px; height: 32px; }
.site-footer .wordmark { font-size: 20px; }
.site-footer p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* Responsive */
@media (max-width: 920px) {
  .hero { padding: 40px 0 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 240px; margin: 0 auto 0 0; }
  .app-grid { grid-template-columns: 1fr; gap: 28px; }
  .app-card { padding: 32px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .site-header nav a { padding: 8px 10px; font-size: 14px; }
  .site-header nav a:first-child { display: none; }
  .wordmark { font-size: 21px; }
  .app-card { margin-left: 8px; margin-right: 8px; border-radius: 22px; }
  .app-head h3 { font-size: 25px; }
  .app-icon { width: 72px; height: 72px; }
  .android-phone img { width: 196px; }
  .iphone { --s: 0.52; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .store-badge { transition: none; }
}
