:root {
  --sun: #ffa81a;
  --coral: #ff6b54;
  --berry: #ed4587;
  --lavender: #8c5cf5;
  --sky: #2e85f5;
  --teal: #0d9e8f;
  --sage: #33a85c;
  --ink: #211f33;
  --ink-soft: #5c596e;
  --card: #ffffff;
  --page: #fff8ef;
  --radius: 24px;
  --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: #c42a68; font-weight: 700; }

.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 248, 239, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(33, 31, 51, 0.06);
}
.nav .wrap { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 900; font-size: 23px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav-links { margin-left: auto; display: flex; gap: 20px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 800; opacity: 0.8; }
.nav-links a:hover { opacity: 1; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 20px;
  font-family: var(--font); font-weight: 900; font-size: 18px;
  color: #fff; text-decoration: none;
  background: linear-gradient(135deg, var(--berry), var(--coral));
  box-shadow: 0 5px 0 #b72a62;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 #b72a62; }
.btn.dark { background: var(--ink); box-shadow: 0 5px 0 #000; }
.btn small { display: block; font-size: 11px; font-weight: 700; opacity: 0.8; line-height: 1; }
.btn .big { display: block; font-size: 19px; line-height: 1.1; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, #8cc8ff 0%, #ffd9b3 55%, #fff1df 100%);
  padding: 72px 0 0;
}
.hero .sun {
  position: absolute; width: 240px; height: 240px; right: 6%; top: 40px; border-radius: 50%;
  background: radial-gradient(circle, #fff0a0, var(--sun) 70%);
  box-shadow: 0 0 80px rgba(255, 168, 26, 0.6);
}
.hero .hill { position: absolute; border-radius: 50%; }
.hero .hill.a { width: 120%; height: 260px; left: -30%; bottom: -170px; background: #8fd16a; }
.hero .hill.b { width: 110%; height: 240px; right: -40%; bottom: -170px; background: #6bbd55; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.hero h1 { font-size: clamp(46px, 7vw, 84px); letter-spacing: -0.02em; line-height: 1.02; margin: 18px 0 14px; font-weight: 900; }
.hero p.lead { font-size: 21px; max-width: 520px; margin: 0 0 26px; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .note { font-size: 15px; color: var(--ink-soft); margin-top: 14px; }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 4%; padding-bottom: 40px; }
.phones .phone { width: 31%; max-width: 230px; border-radius: 24px; padding: 5px; }
.phones .phone img { border-radius: 20px; }
.phone {
  width: 230px; border-radius: 34px; padding: 7px; background: var(--ink);
  box-shadow: 0 30px 60px rgba(33, 31, 51, 0.3);
}
.phone img { border-radius: 28px; }
.phone.tilt-l { transform: rotate(-6deg) translateY(20px); }
.phone.tilt-r { transform: rotate(6deg) translateY(20px); }

/* Sections */
section { padding: 88px 0; }
section.white { background: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-weight: 900; font-size: 13px; color: var(--berry); }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin: 8px 0 14px; font-weight: 900; }
.sub { color: var(--ink-soft); font-size: 19px; max-width: 660px; }
.center { text-align: center; }
.center .sub { margin: 0 auto; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 24px;
  box-shadow: 0 10px 30px rgba(140, 90, 50, 0.10);
}
.card h3 { margin: 12px 0 6px; font-size: 21px; font-weight: 900; }
.card p { margin: 0; color: var(--ink-soft); }
.chip {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center; font-size: 27px;
}

.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.skill { border-radius: 22px; padding: 22px; color: #fff; box-shadow: 0 8px 20px rgba(33, 31, 51, 0.12); }
.skill h3 { margin: 0 0 8px; font-size: 22px; font-weight: 900; }
.skill ul { margin: 0; padding-left: 20px; font-weight: 700; font-size: 16.5px; }

.together {
  background: linear-gradient(135deg, var(--berry), var(--coral) 60%, var(--sun));
  color: #fff; border-radius: 32px; padding: 44px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center;
}
.together h2 { color: #fff; }
.together p { font-size: 19px; }
.together ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.together li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; font-size: 17.5px; }
.together li::before { content: "♥"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.25); display: grid; place-items: center; }

.promise {
  background: #fff; border-radius: 32px; padding: 44px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
  box-shadow: 0 10px 30px rgba(140, 90, 50, 0.10);
}
.promise ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.promise li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; font-size: 17.5px; }
.promise li::before { content: "✓"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sage); color: #fff; display: grid; place-items: center; font-weight: 900; }
.promise p { color: var(--ink-soft); }

.shots { display: flex; gap: 18px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; }
.shots .phone { flex: none; width: 220px; scroll-snap-align: start; }

footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 40px 0; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
footer a { color: #fff; text-decoration: none; margin-right: 18px; }

/* Legal / document pages */
.doc-hero { background: linear-gradient(160deg, #8cc8ff, #ffd9b3); padding: 56px 0 44px; }
.doc-hero h1 { font-size: clamp(34px, 5vw, 52px); margin: 0 0 6px; font-weight: 900; }
.doc-hero p { margin: 0; color: var(--ink-soft); }
.doc { background: var(--card); border-radius: 28px; padding: 40px clamp(20px, 5vw, 56px); margin: -24px auto 64px; box-shadow: 0 10px 30px rgba(140, 90, 50, 0.10); max-width: 860px; position: relative; }
.doc h2 { font-size: 25px; margin: 32px 0 8px; }
.doc h3 { font-size: 19px; margin: 20px 0 6px; }
.doc p, .doc li { color: #38354a; font-size: 17.5px; }
.doc .summary { background: #fff1df; border-radius: 18px; padding: 18px 22px; margin: 8px 0; }
.doc .summary li { margin: 4px 0; }
.todo { background: #fff2b3; border-radius: 6px; padding: 0 6px; font-weight: 800; }
details { background: #fff6ea; border-radius: 16px; padding: 14px 18px; margin: 10px 0; }
summary { font-weight: 900; cursor: pointer; font-size: 18px; }

@media (max-width: 860px) {
  .store-badge .big { font-size: 22px; }
  .nav-links { gap: 14px; }
  .hero .wrap, .promise, .together { grid-template-columns: 1fr; }
  .grid, .skills { grid-template-columns: 1fr; }
  .phones .phone { width: 42%; }
  .phones .phone.tilt-r { display: none; }
  .hero .sun { width: 150px; height: 150px; }
  .nav-links a.hide-sm { display: none; }
  .promise, .together { padding: 28px; }
}

/* Hero motion */
.hero { padding-bottom: 8px; }
.glow { background: linear-gradient(90deg, #e2386f, #ff7a3d 55%, #f5a300); -webkit-background-clip: text; background-clip: text; color: transparent; }
.drift span { position: absolute; font-size: 34px; opacity: 0.55; animation: bob 7s ease-in-out infinite; }
.drift span:nth-child(1) { left: 4%; top: 18%; }
.drift span:nth-child(2) { left: 44%; top: 8%; animation-delay: -1s; }
.drift span:nth-child(3) { left: 12%; top: 70%; animation-delay: -2s; }
.drift span:nth-child(4) { left: 52%; top: 58%; animation-delay: -3s; font-size: 28px; }
.drift span:nth-child(5) { left: 92%; top: 52%; animation-delay: -4s; }
.drift span:nth-child(6) { left: 70%; top: 6%; animation-delay: -5s; font-size: 28px; }
.drift span:nth-child(7) { left: 30%; top: 40%; animation-delay: -2.5s; font-size: 26px; }
.drift span:nth-child(8) { left: 84%; top: 82%; animation-delay: -3.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14px) rotate(6deg); } }
.float-a { animation: floatTilt 8s ease-in-out infinite; --r: -6deg; }
.float-b { animation: floatTilt 8s ease-in-out -2.5s infinite; --r: 0deg; position: relative; z-index: 2; }
.float-c { animation: floatTilt 8s ease-in-out -5s infinite; --r: 6deg; }
@keyframes floatTilt { 0%, 100% { transform: rotate(var(--r)) translateY(16px); } 50% { transform: rotate(var(--r)) translateY(2px); } }
.phones .phone.float-b { width: 36%; max-width: 260px; }

/* Highlights ribbon */
.ribbon { padding: 0; background: var(--ink); color: #fff; }
.ribbon-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 22px 0; text-align: center; font-weight: 800; font-size: 18px; }
.ribbon b { display: block; font-size: 36px; font-weight: 900; line-height: 1.1; color: #ffd166; }

/* Journey regions */
.journey-sec { background: linear-gradient(180deg, #eaf5ff, #fdf0ff 50%, #fff6ea); }
.regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.region {
  position: relative; overflow: hidden; border-radius: 26px; padding: 26px 24px 24px; color: #fff;
  background: linear-gradient(135deg, var(--a), var(--b));
  box-shadow: 0 14px 30px color-mix(in srgb, var(--a) 35%, transparent);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.region::after { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.region:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: 0 22px 40px color-mix(in srgb, var(--a) 45%, transparent); }
.region .icons { font-size: 36px; letter-spacing: 6px; text-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.region h3 { margin: 12px 0 2px; font-size: 24px; font-weight: 900; text-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.region p { margin: 0; font-weight: 700; font-size: 17px; text-shadow: 0 1px 2px rgba(0,0,0,0.2); }

/* Feature split */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.split > .phone { width: min(300px, 100%); margin: 0 auto; transform: rotate(-3deg); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 18px; }
.ticks li { display: flex; gap: 16px; align-items: flex-start; font-size: 18.5px; }
.tick { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; }
.small { font-size: 15.5px; color: var(--ink-soft); margin-top: 18px; }

/* Hover life */
.card, .skill { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover, .skill:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(140, 90, 50, 0.16); }
.shots .phone { transition: transform 0.2s ease; }
.shots .phone:hover { transform: translateY(-6px); }
a:focus-visible, .btn:focus-visible { outline: 4px solid #2e85f5; outline-offset: 3px; }

/* App Store badge and "get the app" bits */
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 26px 12px 20px; border-radius: 18px;
  background: #000; color: #fff; text-decoration: none;
  box-shadow: 0 5px 0 #3a3850, 0 14px 30px rgba(0,0,0,0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.store-badge:hover { transform: translateY(2px); box-shadow: 0 3px 0 #3a3850, 0 10px 22px rgba(0,0,0,0.18); }
.store-badge .apple { width: 30px; height: 30px; flex: none; }
.store-badge small { display: block; font-size: 13px; font-weight: 700; opacity: 0.85; line-height: 1.1; }
.store-badge .big { display: block; font-size: 25px; font-weight: 900; line-height: 1.05; letter-spacing: -0.01em; }
.store-badge.big-badge { padding: 16px 34px 16px 26px; }
.store-badge.big-badge .apple { width: 38px; height: 38px; }
.store-badge.big-badge .big { font-size: 30px; }
.store-badge:focus-visible, .nav-get:focus-visible, .launch-pill:focus-visible { outline: 4px solid #2e85f5; outline-offset: 3px; }

.nav-links { align-items: center; }
.nav-links a.nav-get {
  white-space: nowrap; opacity: 1; color: #fff; background: var(--ink); padding: 9px 18px; border-radius: 999px; font-size: 16px;
}
.nav-links a.nav-get:hover { background: #000; }

.launch-pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0;
  padding: 8px 18px; border-radius: 999px; background: rgba(255,255,255,0.85);
  color: var(--ink); text-decoration: none; font-weight: 900; font-size: 16px;
  box-shadow: 0 6px 18px rgba(33,31,51,0.1);
}
.launch-pill .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 0 rgba(51,168,92,0.6); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(51,168,92,0.55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(51,168,92,0); } }

.get-it { padding-top: 0; }
.get-card {
  position: relative; overflow: hidden; text-align: center;
  padding: 64px 28px 56px; border-radius: 36px;
  background: linear-gradient(160deg, #ffd56b 0%, #ffab70 50%, #ff7a95 100%);
  box-shadow: 0 24px 60px rgba(240, 120, 90, 0.3);
}
.get-sun { position: absolute; width: 420px; height: 420px; left: 50%; top: -260px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.7), rgba(255,255,255,0) 70%); }
.get-icon { position: relative; width: 110px; height: 110px; border-radius: 28px; margin: 0 auto 10px; box-shadow: 0 14px 30px rgba(0,0,0,0.2); }
.get-card h2 { position: relative; font-size: clamp(34px, 5vw, 54px); }
.get-card p { position: relative; font-size: 21px; max-width: 560px; margin: 0 auto 26px; color: #3b2a2a; font-weight: 600; }
.get-card .store-badge { position: relative; }
.get-card p.get-small { font-size: 16.5px; margin: 26px auto 0; font-weight: 500; }
.get-line { background: #fff3d6; border-radius: 18px; padding: 16px 20px; font-weight: 700; }

@media (max-width: 520px) { .nav-links a:not(.nav-get) { display: none; } }

/* Scroll reveals (only when JS adds the class and motion is allowed) */
.js-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.8,.2,1); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.js-reveal .split > .phone.reveal.in { transform: rotate(-3deg); }

@media (max-width: 860px) {
  .regions { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .ribbon-row { grid-template-columns: repeat(2, 1fr); }
  .phones .phone.float-b { width: 46%; }
  .drift span { font-size: 24px; }
}
@media (min-width: 861px) and (max-width: 1060px) { .regions { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .float-a, .float-b, .float-c { transform: rotate(var(--r)); }
}
