:root {
  --accent: #f5761a;
  --accent-strong: #e8650a;
  --accent-soft: rgba(245, 118, 26, 0.1);
  --bg: #fbfaf8;
  --bg-alt: #f3f1ed;
  --surface: #ffffff;
  --text: #1c1b1a;
  --text-2: #5f5b56;
  --text-3: #8d8780;
  --line: rgba(28, 27, 26, 0.08);
  --radius: 22px;
  --max: 1080px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #ff8a33;
    --accent-strong: #ff9a4d;
    --accent-soft: rgba(255, 138, 51, 0.12);
    --bg: #0f0e0d;
    --bg-alt: #171513;
    --surface: #1d1b19;
    --text: #f4f1ec;
    --text-2: #b4ada4;
    --text-3: #847d75;
    --line: rgba(255, 255, 255, 0.08);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container { width: min(var(--max), 100% - 48px); margin-inline: auto; }

h1, h2, h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -0.022em;
  line-height: 1.1;
  margin: 0;
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.lead { font-size: 1.1875rem; color: var(--text-2); max-width: 34em; }

.muted { color: var(--text-2); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 0.9375rem; }
.nav-links a { text-decoration: none; color: var(--text-2); transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--accent-strong); }
.btn:active { transform: scale(0.98); }

.appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px 11px 18px;
  border-radius: 14px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}
.appstore:hover { opacity: 0.88; }
.appstore:active { transform: scale(0.98); }
.appstore svg { width: 26px; height: 26px; fill: currentColor; }
.appstore span { display: flex; flex-direction: column; line-height: 1.1; }
.appstore small { font-size: 0.6875rem; opacity: 0.8; }
.appstore strong { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-app { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.hero-app img { width: 56px; height: 56px; border-radius: 13px; box-shadow: 0 6px 18px rgba(232, 101, 10, 0.25); }
.hero-app div { line-height: 1.25; }
.hero-app strong { display: block; font-size: 1rem; }
.hero-app span { font-size: 0.875rem; color: var(--text-3); }
.hero h1 .accent { color: var(--accent); }
.hero .lead { margin-top: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 34px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.pills li {
  font-size: 0.875rem;
  color: var(--text-2);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 8% 6%;
  background: radial-gradient(closest-side, rgba(245, 118, 26, 0.22), transparent);
  filter: blur(30px);
  z-index: 0;
}
.hero-visual img { position: relative; z-index: 1; width: min(340px, 80%); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.12)); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head .lead { margin-top: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media { display: flex; justify-content: center; }
.split-media img.portrait { width: min(320px, 78%); filter: drop-shadow(0 26px 36px rgba(0, 0, 0, 0.12)); }
.split-text .lead { margin-top: 16px; }

.wide-shot { margin-top: 8px; }
.wide-shot img { width: 100%; max-width: 920px; margin-inline: auto; filter: drop-shadow(0 26px 36px rgba(0, 0, 0, 0.12)); }

.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; color: var(--text-2); }
.checks li::before {
  content: "";
  flex: 0 0 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23f5761a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.checks strong { color: var(--text); font-weight: 600; }

/* ---------- Feature grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card p { color: var(--text-2); margin-top: 8px; font-size: 0.9688rem; }
.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
}
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Privacy ---------- */
.privacy-band {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.privacy-band .lead { margin-top: 16px; }
.privacy-list { display: grid; gap: 2px; }
.privacy-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.9688rem; }
.privacy-row:last-child { border-bottom: 0; }
.privacy-row span:last-child { color: var(--accent); font-weight: 600; font-size: 0.875rem; }
.text-link { color: var(--accent); text-decoration: none; font-weight: 600; display: inline-block; margin-top: 24px; }
.text-link:hover { text-decoration: underline; }

/* ---------- Languages ---------- */
.lang-free {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 16px;
}
.lang-free h3 { font-size: 1.375rem; }
.lang-free p { opacity: 0.9; margin-top: 4px; }
.flags { display: flex; gap: 8px; flex-wrap: wrap; }
.flags span {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
}
.pack .tag { font-size: 0.8125rem; color: var(--text-3); font-weight: 500; }
.pack h3 { margin-top: 4px; }
.pack .langs { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.pack .langs span { font-size: 0.875rem; padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--text-2); }
.note { margin-top: 22px; font-size: 0.9063rem; color: var(--text-3); text-align: center; }

/* ---------- Requirements ---------- */
.req { font-size: 0.9375rem; color: var(--text-2); }
.req h3 { margin-bottom: 8px; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta img { width: 88px; height: 88px; border-radius: 20px; margin: 0 auto 24px; box-shadow: 0 10px 30px rgba(232, 101, 10, 0.25); }
.cta .lead { margin: 16px auto 32px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 0.875rem; color: var(--text-3); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { text-decoration: none; color: var(--text-2); }
.footer-links a:hover { color: var(--text); }

/* ---------- Legal page ---------- */
.legal { padding: 64px 0 96px; }
.legal .container { max-width: 720px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.legal .date { color: var(--text-3); margin-top: 12px; }
.legal .summary {
  margin: 32px 0 8px;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--text);
}
.legal h2 { font-size: 1.375rem; margin: 44px 0 12px; letter-spacing: -0.015em; }
.legal p, .legal li { color: var(--text-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 12px 0; }
.legal li { margin: 6px 0; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--accent); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid, .grid.four { grid-template-columns: repeat(2, 1fr); }
  .privacy-band { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  section { padding: 72px 0; }
  .hero { padding: 40px 0 16px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .hero-visual img { width: min(280px, 72%); }
  .nav-links a:not(.btn) { display: none; }
  .grid, .grid.two, .grid.four { grid-template-columns: 1fr; }
  .lang-free { padding: 24px; }
}

/* ---------- New in 1.1 ---------- */
.new-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}
.new-badge:hover { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.new-badge span {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 3px 9px;
  border-radius: 999px;
}
.tag-new {
  float: right;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 9px;
  border-radius: 999px;
}

.checks.two-col { grid-template-columns: repeat(2, 1fr); gap: 18px 40px; margin-top: 0; }

/* ---------- iPhone Duo ---------- */
.duo { background: linear-gradient(180deg, var(--bg) 0%, var(--accent-soft) 100%); }
.duo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 32px; }
.duo-shot { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
/* One height for every shot, so folded and unfolded screens line up. */
.duo-shot img { height: clamp(240px, 32vw, 400px); width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.14)); }
.duo-shot figcaption { margin-top: 10px; max-width: 26em; color: var(--text-2); font-size: 0.9688rem; }
.duo-shot figcaption strong { color: var(--text); font-weight: 600; }

.setup { display: grid; grid-template-columns: 0.8fr 1fr; gap: 24px; align-items: center; }
.setup img { width: 100%; max-width: 240px; margin-inline: auto; }
.setup ol { margin: 14px 0 0; padding-left: 20px; color: var(--text-2); font-size: 0.9688rem; }
.setup li { margin: 8px 0; }
.setup li strong { color: var(--text); font-weight: 600; }
.setup .setup-note { margin-top: 14px; font-size: 0.875rem; color: var(--text-3); }

@media (max-width: 900px) {
  .checks.two-col { grid-template-columns: 1fr; }
  .setup { grid-template-columns: 1fr; }
  .setup img { max-width: 200px; }
}

@media (max-width: 760px) {
  .duo-grid { grid-template-columns: 1fr; gap: 40px; }
  .duo-shot img { height: auto; width: 100%; }
  .duo-shot:not(.wide) img { width: min(360px, 90%); }
}

/* ---------- Mac ---------- */
.mac-video {
  max-width: 920px;
  margin: 0 auto 56px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.12);
}
.mac-video video { display: block; width: 100%; height: auto; }
.mac-grid { margin-bottom: 48px; }
.mac-grid .duo-shot img { height: auto; width: 100%; max-width: 520px; }
.mac-features { margin-top: 8px; }
@media (max-width: 760px) {
  .mac-video { margin-bottom: 40px; border-radius: 14px; }
}
