:root {
  --ink: #1a1a1e;
  --muted: #6c6c72;
  --faint: #9a9aa0;
  --canvas: #faf9f8;
  --surface: #ffffff;
  --line: #ececef;
  --today: #1976d2;
  --tomorrow: #d99a00;
  --later: #04a87c;
  --purple: #7c5cfc;
  --history: #e63946;
  --ai: linear-gradient(135deg, #7c5cfc 0%, #1e88e5 100%);
  --shadow: 0 30px 60px -24px rgba(24, 24, 40, 0.28);
  --radius: 22px;
  --wrap: 1120px;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--canvas);
  background-image: url("img/pattern.svg");
  background-size: 340px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(250, 249, 248, 0.72);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--round); font-weight: 800; font-size: 18px; }
.brand .mark {
  width: 32px; height: 32px; border-radius: 9px;
  background-color: #fff; border: 1px solid var(--line);
  background-image: url("img/logo.svg"); background-size: 23px 23px;
  background-repeat: no-repeat; background-position: center;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.nav .btn { padding: 9px 18px; color: #fff; }
.nav .btn:hover { color: #fff; }
@media (max-width: 720px) { .nav a.navlink { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--round);
  font-weight: 700; font-size: 15px; padding: 13px 22px; border-radius: 999px;
  background: var(--ai); color: #fff; transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 12px 26px -10px rgba(30, 100, 220, 0.55);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(24, 24, 40, 0.55); }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.disabled { opacity: 0.5; pointer-events: none; box-shadow: none; }
.btn .sub { font-weight: 500; opacity: 0.7; font-size: 12px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: -20% 0 auto 0; height: 620px; z-index: 0;
  background: radial-gradient(60% 70% at 50% 0%, rgba(124, 92, 252, 0.16), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-lockup { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
.hero-lockup .eyebrow { margin-bottom: 0; }
.app-badge {
  flex-shrink: 0; width: 96px; height: 96px; border-radius: 22px; overflow: hidden;
  box-shadow: 0 18px 40px -16px rgba(24, 24, 40, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.app-badge img { width: 100%; height: 100%; display: block; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13px;
  letter-spacing: .3px; color: var(--purple); background: rgba(124, 92, 252, 0.1);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 20px;
}
h1 { font-family: var(--round); font-weight: 800; font-size: clamp(38px, 6vw, 62px); line-height: 1.03; letter-spacing: -0.02em; }
h1 .grad { background: var(--ai); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); margin: 22px 0 30px; max-width: 32ch; }
.cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cta-note { font-size: 14px; color: var(--faint); margin-top: 16px; }
.hero-art { display: flex; justify-content: center; align-items: center; }
.hero-art .phone.back { transform: rotate(6deg) translateY(20px) scale(.84); opacity: .9; margin-left: -80px; }
.hero-art .phone.front { transform: rotate(-3deg); z-index: 2; }

/* Phone frame */
.phone {
  width: 100%; max-width: 290px; border-radius: 46px; padding: 10px;
  background: linear-gradient(160deg, #2a2a2e, #0c0c10 60%);
  box-shadow: var(--shadow); position: relative;
}
/* No fake notch: the screenshots already include the real Dynamic Island. */
.phone img { border-radius: 38px; width: 100%; display: block; }

/* Feature sections */
.section { padding: 66px 0; position: relative; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
h2 { font-family: var(--round); font-weight: 800; font-size: clamp(28px, 4.4vw, 42px); letter-spacing: -0.015em; line-height: 1.08; margin: 10px 0; }
.section p.sub { color: var(--muted); font-size: 18px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 30px 0; }
.feature.reverse .copy { order: 2; }
.feature.reverse .art { order: 1; }
.feature .art { display: flex; justify-content: center; }
.feature h3 { font-family: var(--round); font-weight: 800; font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -0.01em; line-height: 1.1; }
.feature p { color: var(--muted); font-size: 17.5px; margin-top: 16px; max-width: 46ch; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px;
  padding: 6px 13px; border-radius: 999px; margin-bottom: 18px;
}
mark, .hl-purple { background: linear-gradient(transparent 55%, rgba(124, 92, 252, 0.28) 55%); color: inherit; padding: 0 2px; border-radius: 3px; }
.hl-blue { background: linear-gradient(transparent 55%, rgba(25, 118, 210, 0.22) 55%); padding: 0 2px; border-radius: 3px; }
.hl-gold { background: linear-gradient(transparent 55%, rgba(255, 190, 11, 0.34) 55%); padding: 0 2px; border-radius: 3px; }
.hl-green { background: linear-gradient(transparent 55%, rgba(4, 168, 124, 0.22) 55%); padding: 0 2px; border-radius: 3px; }

.tint-today { color: var(--today); background: rgba(25, 118, 210, 0.1); }
.tint-purple { color: var(--purple); background: rgba(124, 92, 252, 0.1); }
.tint-gold { color: var(--tomorrow); background: rgba(217, 154, 0, 0.12); }
.tint-green { color: var(--later); background: rgba(4, 168, 124, 0.1); }
.tint-history { color: var(--history); background: rgba(230, 57, 70, 0.1); }

/* On-device band */
.band { background: var(--ink); color: #fff; border-radius: 32px; padding: 60px 40px; text-align: center; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0, rgba(124, 92, 252, 0.35), transparent 60%); }
.band > * { position: relative; z-index: 1; }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,0.72); font-size: 18px; max-width: 54ch; margin: 14px auto 0; }
.chips { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.chip { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.14); padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; }

/* Widgets */
.widgets { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.widget-card { border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; width: 320px; }
.widget-note { text-align: center; color: var(--faint); font-size: 14px; margin-top: 18px; }

/* Apple Watch mock, built from the app's own watch layout (ring, stat cards, dictate button) */
.watch {
  width: 100%; max-width: 236px; margin: 0 auto; aspect-ratio: 41 / 50;
  border-radius: 58px; padding: 11px;
  background: linear-gradient(155deg, #4c4c51, #17171b 62%);
  box-shadow: var(--shadow);
}
.watch-screen {
  width: 100%; height: 100%; border-radius: 48px; background: #000; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 22px 15px 14px;
}
.watch-ring { position: relative; width: 90px; height: 90px; }
.watch-ring-num {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--round); font-weight: 800; font-size: 32px;
}
.watch-label { font-size: 10px; font-weight: 700; letter-spacing: .7px; color: rgba(255,255,255,.55); }
.watch-stats { display: flex; gap: 7px; width: 100%; margin-top: 1px; }
.watch-stat { flex: 1; background: rgba(255,255,255,.09); border-radius: 13px; padding: 7px 4px; text-align: center; }
.watch-stat b { font-family: var(--round); font-weight: 800; font-size: 19px; }
.watch-stat.gold b { color: #ffca3a; }
.watch-stat.flame b { color: #ff7a45; }
.watch-stat small { display: block; font-size: 9.5px; color: rgba(255,255,255,.55); font-weight: 600; }
.watch-cap {
  margin-top: auto; width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px; border-radius: 999px; background: linear-gradient(135deg, #2b90ea, #1976d2);
  font-family: var(--round); font-weight: 700; font-size: 13px; color: #fff;
}
.watch-cap svg { width: 13px; height: 13px; fill: #fff; }

/* Pricing */
.price-card {
  max-width: 460px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: 26px; padding: 42px; text-align: center; box-shadow: var(--shadow);
}
.price { font-family: var(--round); font-weight: 800; font-size: 58px; letter-spacing: -0.02em; line-height: 1; }
.price small { font-size: 17px; color: var(--muted); font-weight: 600; display: block; margin-top: 8px; }
.price-card ul { list-style: none; text-align: left; margin: 26px auto; max-width: 300px; display: grid; gap: 12px; }
.price-card li { display: flex; gap: 10px; color: var(--ink); font-size: 16px; }
.price-card li::before { content: "✓"; color: var(--later); font-weight: 800; }

/* About */
.about {
  display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: center;
  max-width: 900px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: 30px; padding: 46px; box-shadow: var(--shadow);
}
.avatar {
  position: relative; width: 168px; height: 168px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: var(--ai);
  box-shadow: 0 18px 40px -16px rgba(30, 100, 220, 0.5);
}
.avatar::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.9); }
.avatar-initials { font-family: var(--round); font-weight: 800; font-size: 60px; color: #fff; letter-spacing: 1px; }
.avatar img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); border-radius: 50%; object-fit: cover; z-index: 1; }
.about-copy h2 { margin-top: 6px; }
.about-copy p { color: var(--muted); font-size: 17.5px; margin-top: 14px; max-width: 52ch; }

/* Footer */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 44px 0; background: rgba(255,255,255,0.5); }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer .links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer a { color: var(--muted); font-size: 15px; }
.footer a:hover { color: var(--ink); }
.footer .copy { color: var(--faint); font-size: 14px; }

/* Article (privacy / terms) */
.article { max-width: 760px; margin: 0 auto; padding: 56px 0 20px; }
.article h1 { font-family: var(--round); font-size: clamp(32px, 5vw, 46px); margin-bottom: 8px; letter-spacing: -0.02em; }
.article .updated { color: var(--faint); font-size: 15px; margin-bottom: 28px; }
.article h2 { font-family: var(--round); font-size: 22px; margin: 34px 0 8px; }
.article p, .article li { color: #3a3a40; font-size: 17px; margin-top: 12px; line-height: 1.6; }
.article ul { padding-left: 22px; }
.article a { color: var(--today); }
.back-link { color: var(--muted); font-weight: 600; font-size: 15px; display: inline-block; margin-bottom: 22px; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero .cta-row { justify-content: center; }
  .hero-lockup { align-items: center; }
  .hero-art { margin-top: 34px; }
  .hero-art .phone.back { display: none; }
  .feature { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .feature.reverse .copy, .feature.reverse .art { order: initial; }
  .feature .copy { order: 1; } .feature .art { order: 2; }
  .feature p { margin-left: auto; margin-right: auto; }
  .feature .pill { margin-left: auto; margin-right: auto; }
  .about { grid-template-columns: 1fr; text-align: center; padding: 36px 26px; }
  .avatar { margin: 0 auto; }
  .about-copy p { margin-left: auto; margin-right: auto; }
}
