@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-wdth.woff2") format("woff2-variations"), url("/fonts/archivo-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  /* six roles + one dark ground for the peak */
  --canvas: #F5F6F8;
  --surface: #FFFFFF;
  --ink: #0E1B2C;
  --ink-soft: #4A5767;
  --accent: #F26A21;
  --accent-ink: #A9440E;
  --night: #0E1B2C;
  --night-ink: #E9EEF4;
  --night-soft: #A9B6C6;
  --line: #E1E6ED;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 18px 40px -18px rgba(14, 27, 44, 0.35), 0 4px 10px -4px rgba(14, 27, 44, 0.12);
  --radius: 14px;
  --gutter: clamp(16px, 5vw, 56px);
  --section: clamp(64px, 11vw, 144px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink-soft);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-ink); }
h1, h2 {
  color: var(--ink);
  font-stretch: 104%;
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.9vw, 2.9rem); }
p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(700px + 2 * var(--gutter)); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* button */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--accent); color: #1B0D04;
  font: inherit; font-weight: 700; font-stretch: 105%; white-space: nowrap;
  border: 0; border-radius: 12px; cursor: pointer; text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 6px 16px -8px rgba(169, 68, 14, 0.7);
  transition: transform 140ms ease-out, background-color 160ms ease-out;
}
@media (hover: hover) and (pointer: fine) { .btn:hover { background: #F57D3B; } }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.55; cursor: progress; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(245, 246, 248, 0.94); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 780; font-stretch: 112%; font-size: 21px; letter-spacing: -0.02em; }
.mark { width: 32px; height: 32px; }
.top-nav { display: flex; align-items: center; gap: 18px; }
.signin { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .signin:hover { color: var(--accent-ink); } }

/* phone screenshot frame */
.phone {
  margin: 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: 30px; padding: 7px;
  box-shadow: var(--shadow);
}
.phone img { border-radius: 24px; }

/* hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 var(--section); }
.hero-in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 0.55fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.eyebrow { color: var(--accent-ink); font-weight: 700; font-size: 15px; letter-spacing: 0.01em; }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.3rem); max-width: 34ch; color: var(--ink-soft); }
.phone-hero { max-width: 330px; justify-self: end; width: 100%; transform: rotate(1.5deg); }

/* pain */
.pain { padding: 0 0 var(--section); }
.pain h2 { margin-bottom: 30px; }
.pain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.pain-list li {
  color: var(--ink); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.4;
  padding: 18px 0 18px 30px; border-top: 1px solid var(--line); position: relative;
}
.pain-list li:last-child { border-bottom: 1px solid var(--line); }
.pain-list li::before { content: ""; position: absolute; left: 4px; top: 1.45em; width: 12px; height: 2px; background: var(--accent); }

/* peak */
.peak { background: var(--night); color: var(--night-soft); padding: calc(var(--section) * 1.15) 0; overflow: hidden; }
.peak h2 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1; }
.peak-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.peak-copy { display: grid; gap: 22px; }
.peak-copy p { color: var(--night-ink); font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.65; max-width: 46ch; }
.peak-copy p + p { color: var(--night-soft); }
.peak .phone { max-width: 380px; margin: 0 auto; border-color: rgba(255, 255, 255, 0.12); background: #1A2A3E; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); }

/* zigzag */
.zig { padding: var(--section) 0 0; display: grid; gap: clamp(64px, 9vw, 120px); }
.zig-row { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 100px); align-items: center; }
.zig-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr); }
.zig-copy { display: grid; gap: 18px; max-width: 30rem; }
.zig-copy p { font-size: 1.1rem; }
.phone-sm { max-width: 300px; width: 100%; justify-self: center; }

/* reminders */
.remind { padding: var(--section) 0 0; }
.remind h2 { margin-bottom: 18px; }
.remind > .wrap > p:first-of-type { font-size: 1.1rem; }
.tracks { display: grid; gap: 22px; margin: 34px 0 18px; }
.track-name { color: var(--ink); font-weight: 650; font-size: 15px; margin-bottom: 10px; }
.track ol { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0; }
.track li {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums;
}
.track li + li { margin-left: clamp(18px, 6vw, 56px); position: relative; }
.track li + li::before { content: ""; position: absolute; right: 100%; top: 50%; width: clamp(18px, 6vw, 56px); height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 11px); }
.fine { font-size: 14px; color: var(--ink-soft); }

/* own brand + features */
.own { padding: var(--section) 0; }
.own-in > h2 { max-width: 16ch; }
.own-lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 46ch; margin: 18px 0 clamp(40px, 6vw, 64px); }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 80px); margin: 0; }
.features > div { padding: 22px 0; border-top: 1px solid var(--line); }
.features dt { color: var(--ink); font-weight: 700; font-stretch: 106%; font-size: 1.08rem; margin-bottom: 6px; }
.features dd { margin: 0; max-width: 44ch; }

/* close */
.close { background: var(--surface); border-top: 1px solid var(--line); padding: var(--section) 0; }
.close-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.close-copy { display: grid; gap: 16px; }
.close-copy p { font-size: 1.15rem; max-width: 30ch; }
.form { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; color: var(--ink); font-weight: 600; font-size: 15px; }
.opt { color: var(--ink-soft); font-weight: 400; }
.form input, .form textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--canvas);
  border: 1px solid #CDD5DF; border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%;
  transition: border-color 140ms ease-out, box-shadow 140ms ease-out;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242, 106, 33, 0.22); }
.form .btn { justify-self: start; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.msg:empty { display: none; }
.msg { border-radius: 10px; padding: 12px 14px; font-weight: 600; }
.msg.ok { background: #E3F6EC; color: #0B6B44; }
.msg.err { background: #FDECEC; color: #A8232B; }

/* footer */
.foot { padding: 28px 0 40px; font-size: 14px; }
.foot-in { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.foot a { color: var(--ink-soft); }

/* privacy page */
.doc { padding: clamp(40px, 7vw, 88px) 0 var(--section); }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 24px; }
.doc h2 { font-size: 1.35rem; margin: 36px 0 10px; line-height: 1.2; }
.doc p, .doc li { max-width: 68ch; }
.doc p + p { margin-top: 12px; }

/* phones */
@media (max-width: 860px) {
  .hero-in, .peak-in, .zig-row, .zig-flip, .close-in { grid-template-columns: minmax(0, 1fr); }
  .phone-hero { justify-self: center; max-width: 280px; transform: none; }
  .zig-flip .phone { order: -1; }
  .zig-row .phone { order: -1; }
  .peak .phone { max-width: 320px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(2.1rem, 9.5vw, 2.6rem); }
  .features { grid-template-columns: minmax(0, 1fr); }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .signin { display: none; }
  .form .btn { justify-self: stretch; }
}
