:root {
  color-scheme: light;
  --paper: #f7f6f3;
  --ink: #1e1d1c;
  --muted: #6d6b68;
  --line: #a7a39d;
  --accent: #f5321b;
  --card: #ffffff;
  font-family: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.6; }
a { color: inherit; text-underline-offset: 0.18em; }
img { display: block; max-width: 100%; height: auto; }

.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.nav, .footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav { min-height: 76px; border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); font-size: 20px; font-weight: 900; letter-spacing: 0.12em; text-decoration: none; }
.brand small { color: var(--muted); font-size: 13px; font-weight: 650; letter-spacing: 0; }
.nav-links, .footer-links { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 14px; }
.nav-links a, .footer-links a { text-decoration: none; }
.nav-links a:hover, .footer-links a:hover { color: var(--accent); }

.hero { padding: 78px 0 54px; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 13px; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 880px; margin-bottom: 22px; font-size: clamp(48px, 8vw, 96px); line-height: 0.9; letter-spacing: -0.08em; }
.lead { max-width: 690px; margin-bottom: 30px; color: var(--muted); font-size: clamp(18px, 2.4vw, 24px); }
.badge { display: inline-flex; padding: 8px 12px; border: 1px solid var(--ink); font-size: 14px; font-weight: 750; }
.badge::before { width: 8px; height: 8px; margin: 8px 8px 0 0; border-radius: 50%; background: var(--accent); content: ""; }

.screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding: 30px 0 84px; }
.screen { overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: 15px 15px 0 var(--ink); }
.screen img { width: 100%; }
.screen figcaption { padding: 13px 16px; border-top: 1px solid var(--line); font-weight: 750; }

.section { padding: 64px 0; border-top: 2px solid var(--ink); }
.section-header { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 30px; }
.section h2 { margin-bottom: 16px; font-size: clamp(31px, 5vw, 56px); line-height: 0.98; letter-spacing: -0.055em; }
.section p { color: var(--muted); font-size: 18px; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.feature { min-height: 176px; padding: 20px; border: 1px solid var(--line); background: var(--card); }
.feature span { color: var(--accent); font-weight: 850; }
.feature h3 { margin: 26px 0 8px; font-size: 22px; letter-spacing: -0.035em; }
.feature p { margin-bottom: 0; font-size: 15px; }

.legal { max-width: 760px; padding: 60px 0 76px; }
.legal h1 { font-size: clamp(42px, 7vw, 72px); }
.legal h2 { margin: 42px 0 12px; font-size: 25px; letter-spacing: -0.035em; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--ink); }
.legal .updated { margin-bottom: 38px; font-size: 14px; }
.support-card { margin-top: 30px; padding: 28px; border: 1px solid var(--ink); background: var(--card); }
.support-card a { color: var(--accent); font-weight: 800; }

.footer { min-height: 112px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

@media (max-width: 700px) {
  .shell { width: min(100% - 28px, 1120px); }
  .nav, .footer { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  .hero { padding-top: 54px; }
  .screens, .section-header, .feature-list { grid-template-columns: 1fr; }
  .screens { gap: 28px; }
  .screen { box-shadow: 9px 9px 0 var(--ink); }
}

/* Call to action ---------------------------------------------------------- */

/* Renders as "coming soon" until testflight.js is given a link. Without
   JavaScript it stays that way, which is the honest state. */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid var(--line);
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  cursor: default;
}
.cta.is-ready {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--paper);
  cursor: pointer;
}
.cta.is-ready:hover { background: var(--ink); border-color: var(--ink); }
.cta-note { margin: 14px 0 0; color: var(--muted); font-size: 15px; }

/* Language switch --------------------------------------------------------- */

.lang { display: inline-flex; border: 1px solid var(--line); }
.lang a {
  padding: 5px 11px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}
.lang a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.nav-links .lang a:hover { color: var(--accent); }
.lang a[aria-current="true"]:hover { color: var(--paper); }

/* Section with a screen beside it ----------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  align-items: center;
  gap: 46px;
  padding: 66px 0;
  border-top: 2px solid var(--ink);
}
.split.reverse .split-copy { order: 2; }
.split h2 { margin-bottom: 16px; font-size: clamp(31px, 4.6vw, 52px); line-height: 0.98; letter-spacing: -0.055em; }
.split p { color: var(--muted); font-size: 18px; }
.split .points { margin: 26px 0 0; padding: 0; list-style: none; }
.split .points li { padding: 13px 0; border-top: 1px solid var(--line); font-size: 16px; }
.split .points li strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 17px; }
.split .points li span { color: var(--muted); }

.phone { margin: 0; border: 1px solid var(--line); background: var(--card); box-shadow: 15px 15px 0 var(--ink); }
.phone img { width: 100%; }
.phone figcaption { padding: 12px 15px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 750; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 30px; padding: 46px 0; }
  .split.reverse .split-copy { order: 0; }
  .phone { box-shadow: 9px 9px 0 var(--ink); }
}
