:root {
  --navy: #1b1f33;
  --orange: #f26b1d;
  --bg: #f2f3f5;
  --card: #ffffff;
  --text: #111318;
  --sub: #4a4f5e;
  --line: #e3e3e8;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d14;
    --card: #171a26;
    --text: #f5f5f7;
    --sub: #b9bfcc;
    --line: #262a3a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
a { color: var(--orange); }
.num { font-family: "Barlow Condensed", Inter, sans-serif; font-weight: 800; line-height: 0.95; letter-spacing: 0.5px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.top { background: var(--navy); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 26px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top nav { display: flex; gap: 20px; font-size: 15px; font-weight: 600; }
.top nav a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.top nav a:hover { color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 56px 0 64px; border-radius: 0 0 36px 36px; }
.hero::before { content: ""; position: absolute; top: -40%; bottom: -40%; left: -14%; width: 62%; background: rgba(255, 255, 255, 0.04); transform: skewX(-12deg); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: center; }
.title-row { display: flex; align-items: center; gap: 4px; margin: 0 0 18px -18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 9px 16px 9px 12px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 16px; font-weight: 800; letter-spacing: 0.6px; box-shadow: 0 8px 24px rgba(242, 107, 29, 0.35); }
.eyebrow svg { flex: 0 0 auto; }
.hero h1 { font-size: clamp(44px, 5.6vw, 70px); margin: 0; }
.hero p.lead { font-size: 21px; line-height: 1.6; color: rgba(255, 255, 255, 0.78); max-width: 38ch; margin: 0 0 28px; }
/* Key words carry the meaning: skim just the highlighted words and still get it. */
.hero p.lead b { color: #fff; font-weight: 800; }
.row .copy b, .end p b { color: var(--text); font-weight: 800; }
.end p b { color: #fff; }
.steps em { font-style: normal; font-weight: 800; color: var(--orange); }

/* The flying ball */
.mark { flex: 0 0 auto; width: clamp(110px, 13vw, 170px); height: auto; overflow: visible; }
.mark .ball { transform-box: view-box; transform-origin: 598px 512px; animation: drift 2.4s ease-in-out infinite; }
.mark .seams { transform-box: view-box; transform-origin: 598px 512px; animation: spin 1.6s linear infinite; }
.mark .lines rect { transform-box: fill-box; transform-origin: right center; animation: streak 0.9s ease-in-out infinite; }
.mark .l2 { animation-delay: 0.15s; }
.mark .l3 { animation-delay: 0.3s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(18px, -14px); } }
@keyframes streak {
  0%, 100% { transform: translateX(0) scaleX(1); opacity: 1; }
  50% { transform: translateX(-34px) scaleX(0.72); opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .mark .ball, .mark .seams, .mark .lines rect { animation: none; }
}
.store { display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--navy); border-radius: 999px; padding: 14px 22px; font-weight: 800; text-decoration: none; text-align: left; }
.store small { display: block; font-weight: 600; font-size: 12px; color: var(--sub); }

/* A real app screen in a simple phone frame */
.phone { justify-self: center; width: min(300px, 100%); border: 10px solid #0b0d14; border-radius: 44px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); background: #0b0d14; }
.phone img { display: block; width: 100%; }
.phone.small { width: min(270px, 100%); }
/* Show the useful top of a screen, fading out at the bottom. */
.phone.crop { position: relative; aspect-ratio: 9 / 13; border-bottom: 0; border-radius: 44px 44px 0 0; box-shadow: none; }
.phone.crop img { height: 100%; object-fit: cover; object-position: top; }
.phone.crop::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: linear-gradient(transparent, var(--panel)); }

h2 { font-size: clamp(36px, 5vw, 52px); margin: 0 0 14px; }

/* How it works */
.steps { padding: 72px 0 16px; text-align: center; }
.steps ol { list-style: none; padding: 0; margin: 28px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--card); border-radius: 24px; padding: 26px 22px; }
.steps li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0 auto 12px; border-radius: 20px; background: var(--orange); color: #fff; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 22px; }
.steps b { display: block; font-size: 21px; margin-bottom: 6px; }
.steps span { color: var(--sub); font-size: 17px; line-height: 1.5; }

/* One idea per row: a screen and one sentence */
.row { padding: 20px 0; --panel: var(--card); }
.row .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: end; max-width: 940px; padding-top: 48px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--tint) 16%, var(--card)), var(--card) 60%); border-radius: 32px; overflow: hidden; }
.row .phone { margin-left: 28px; }
.row.flip .phone { margin: 0 28px 0 0; }
.row .copy { padding: 0 32px 48px 0; align-self: center; }
.row.flip .copy { padding: 0 0 48px 40px; }
.tag { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: 1.4px; color: var(--tint); filter: brightness(1.5); }
.row.flip .phone { order: 2; }
.row .copy p { font-size: 20px; line-height: 1.65; color: var(--sub); margin: 0; max-width: 30ch; }

/* Article pages (privacy, support) */
.page-head { background: var(--navy); color: #fff; padding: 40px 0 34px; border-radius: 0 0 30px 30px; }
.page-head h1 { font-size: clamp(44px, 7vw, 68px); margin: 6px 0 0; }
.page-head p { color: rgba(255, 255, 255, 0.75); margin: 8px 0 0; }
article { max-width: 720px; margin: 0 auto; padding: 36px 20px 20px; }
article h2 { font-size: 30px; margin: 34px 0 10px; }
article ul { padding-left: 22px; }
article li { margin: 4px 0; }
.qa { background: var(--card); border-radius: 20px; padding: 18px 20px; margin: 12px 0; }
.qa h3 { margin: 0 0 4px; font-size: 17px; }
.qa p { margin: 0; color: var(--sub); }
.contact { display: inline-block; margin-top: 6px; background: var(--orange); color: #fff; text-decoration: none; font-weight: 800; padding: 12px 22px; border-radius: 999px; }

/* Footer */
.foot { margin-top: 56px; background: var(--navy); color: rgba(255, 255, 255, 0.75); border-radius: 36px 36px 0 0; padding: 48px 0 32px; font-size: 15px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px; }
.foot-brand p { margin: 12px 0 18px; line-height: 1.6; }
.foot-brand p a { color: #fff; font-weight: 700; }
.social { display: flex; gap: 10px; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.08);
  color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; transition: background 0.15s; }
.social a:hover { background: var(--orange); }
.foot-links { display: flex; gap: 56px; }
.foot-links h3 { margin: 4px 0 12px; font-size: 12px; letter-spacing: 1.5px; color: var(--orange); }
.foot-links a { display: block; margin: 0 0 10px; color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-legal { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; color: rgba(255, 255, 255, 0.5); }

/* Closing call to action */
.end { margin: 40px 0 0; padding: 0; }
.end .wrap { background: var(--navy); color: #fff; border-radius: 32px; padding: 44px 24px; text-align: center; }
.end h2 { margin-bottom: 8px; }
.end p { margin: 0 0 22px; color: rgba(255, 255, 255, 0.8); font-size: 18px; }

@media (max-width: 820px) {
  /* Phones: one centre line, top to bottom. */
  .hero { padding: 28px 0 48px; text-align: center; }
  .hero .wrap { grid-template-columns: 1fr; justify-items: center; gap: 36px; }
  .title-row { flex-direction: column; margin: 0 0 14px; gap: 4px; }
  .mark { width: 120px; margin-left: -24px; }
  .hero h1 { font-size: clamp(40px, 11vw, 56px); }
  .hero p.lead { font-size: 18px; margin: 0 auto 24px; }
  .phone { width: min(260px, 78%); }
  .steps { padding-top: 56px; }
  .steps ol { grid-template-columns: 1fr; max-width: 420px; }
  .row { padding: 12px 0; text-align: center; }
  .row .wrap { grid-template-columns: 1fr; gap: 24px; justify-items: center; padding-top: 36px; margin: 0 16px; }
  .row.flip .phone { order: 2; }
  .row .copy, .row.flip .copy { padding: 0 22px; order: 1; }
  .row .phone, .row.flip .phone { order: 2; margin: 0; width: min(240px, 70%); }
  .row .copy p { font-size: 18px; margin: 0 auto; }
  .top nav { gap: 14px; font-size: 14px; }
  .eyebrow { font-size: 15px; }
  .foot { text-align: center; }
  .foot-top { flex-direction: column; align-items: center; }
  .foot-brand .brand { justify-content: center; }
  .social { justify-content: center; }
  .foot-links { gap: 48px; justify-content: center; }
}
