@font-face {
  font-family: Archivo;
  src: url(fonts/archivo.woff2) format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --orange: #e8590c;
  --ink: #1c1f24;
  --paper: #f4f2ed;
  --white: #fff;
  --muted: #565b64;
  --line: #d8d4ca;
  --late: #b42318;
  --late-soft: #fde8e6;
  --arrow: var(--ink);
  --board: var(--orange);
  --stripe: var(--white);
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.5 Archivo, "Helvetica Neue", Arial, sans-serif; overflow-x: clip; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: max(5vw, 20px); }
@media (min-width: 1380px) { .wrap { padding-inline: 0; } }
h1, h2, h3, h4, p, dl, dd, ol, table { margin: 0; padding: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(46px, 6.4vw, 88px); }
h2 { font-size: clamp(32px, 4vw, 50px); max-width: 18em; }
h3 { font-size: 23px; }
p { text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.defs { position: absolute; width: 0; height: 0; }
.lead { font-size: 20px; line-height: 1.45; max-width: 33em; }
section { padding-block: clamp(64px, 8vw, 112px); }
.ink { background: var(--ink); color: var(--white); --arrow: var(--white); }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 12px 16px; z-index: 9; }
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site, .hero, .end { background: var(--orange); --board: var(--white); --stripe: var(--ink); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 27px; letter-spacing: -.03em; min-height: 48px; }
.logo svg { width: 44px; height: 42px; }
.logo i { font-style: normal; color: var(--white); }
.ink .logo i { color: var(--orange); }
nav { display: flex; gap: 6px; }
nav a { padding: 12px 14px; text-decoration: none; font-weight: 600; white-space: nowrap; }
nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Hero */
.hero { padding-block: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); }
.pitch { align-self: center; padding-block: 24px 72px; }
.pitch .lead { margin: 24px 0 32px; font-weight: 500; }
.btn { display: inline-flex; align-items: center; min-height: 56px; padding: 0 28px; background: var(--ink); color: var(--white); border-radius: 12px; font-weight: 700; font-size: 18px; text-decoration: none; }
.btn:hover { background: #000; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline-color: var(--ink); }
.note { margin-top: 18px; font-weight: 500; }

.sign { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; min-height: 64px; padding-top: 8px; }
.sign strong { font-size: 20px; font-weight: 800; }
.sign span { font-weight: 500; }
.sign button { margin-left: auto; min-height: 48px; padding: 0 16px; background: none; border: 2px solid var(--ink); border-radius: 10px; font-weight: 700; cursor: pointer; }
.sign button[hidden] { display: none; }
.sign button:hover { background: var(--ink); color: var(--white); }

.road { --shaft: 30px; --head: 84px; position: relative; display: grid; gap: 58px; padding: 44px 36px 78px; overflow: clip; }
.arrow { position: absolute; left: 50%; bottom: -2px; width: 176px; margin-left: -88px; height: 210px; background: var(--ink); transition: height .5s cubic-bezier(.3, .9, .3, 1);
  clip-path: polygon(50% 0, 100% var(--head), calc(50% + var(--shaft)) var(--head), calc(50% + var(--shaft)) 100%, calc(50% - var(--shaft)) 100%, calc(50% - var(--shaft)) var(--head), 0 var(--head)); }
.board { position: relative; display: grid; grid-template-columns: 1fr 1fr; height: 80px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.board:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; border-radius: 12px; }
.half { display: flex; align-items: center; background: var(--white); overflow: hidden; transition: transform .35s cubic-bezier(.2, 1.2, .4, 1), border-radius .2s; }
.half.l { border-radius: 14px 0 0 14px; }
.half.r { border-radius: 0 14px 14px 0; justify-content: flex-end; }
.half.l::before, .half.r::after { content: ""; flex: none; align-self: stretch; width: 72px; }
.half.l::before, .half.r::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 80' preserveAspectRatio='none'%3E%3Cpath fill='%231c1f24' d='M0 0H12L0 48ZM28 0H42L22 80H8ZM58 0H72L52 80H38Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.half.r::after { transform: scaleX(-1); }
.half > span { padding: 0 14px; line-height: 1.25; font-size: 16px; }
.half b { display: block; font-size: 18px; font-weight: 700; }
.due { font-weight: 700; text-align: right; }
.due.late { color: var(--late); }
.board:not(.open):hover .half.l { transform: translateX(-3px) rotate(-1deg); }
.board:not(.open):hover .half.r { transform: translateX(3px) rotate(1deg); }
.board.open .half { border-radius: 14px; }
.board.open .half.l { transform: translateX(-34px) rotate(-9deg) scale(.88); transform-origin: left center; }
.board.open .half.r { transform: translateX(34px) rotate(9deg) scale(.88); transform-origin: right center; }

/* Morning: the Today screen, in the app's own colors */
.morning { padding-bottom: 0; overflow: clip; }
.morning-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(32px, 7vw, 110px); align-items: center; }
.phone { align-self: end; height: 730px; padding: 12px 12px 0; border: 2px solid #4a4f58; border-bottom: 0; border-radius: 44px 44px 0 0; background: #08090b; }
.screen { height: 100%; overflow: hidden; border-radius: 32px 32px 0 0; background: #f5f6f8; color: #14171c; padding: 0 14px; display: flex; flex-direction: column; gap: 9px; }
.screen > * { flex: none; }
.bar { margin: 0 -14px; padding: 24px 18px 12px; background: #fff; border-bottom: 1px solid #d9dce1; font-size: 20px; }
.sum { font-weight: 700; font-size: 16px; padding-top: 4px; }
.hint { font-size: 14px; color: #59616d; }
.screen h4 { font-size: 15px; }
.screen h4.red { color: #b42318; }
.row { display: flex; align-items: center; gap: 11px; padding: 10px 11px; background: #fff; border: 1px solid #d9dce1; border-radius: 12px; font-size: 13px; line-height: 1.3; color: #59616d; }
.row svg { flex: none; width: 22px; height: 22px; fill: none; stroke: #b45309; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.row p { flex: 1; }
.row b { display: block; color: #14171c; font-size: 15px; }
.chip { flex: none; padding: 4px 8px; border-radius: 8px; font-weight: 600; white-space: nowrap; }
.chip.late { color: #b42318; background: #fde8e6; }
.chip.soon { color: #8a4b08; background: #fdf0d9; }
.say { display: grid; gap: 26px; padding-bottom: clamp(64px, 8vw, 112px); }
.notice { display: flex; gap: 16px; align-items: center; max-width: 520px; padding: 18px 20px; background: #2c3038; border-radius: 20px; }
.notice svg { flex: none; width: 44px; height: 42px; }
.notice b { display: block; }
.notice small { font-size: 14px; font-weight: 400; color: #b9bec7; margin-left: 6px; }
.say > p { max-width: 33em; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: 44px; }
.steps h3 { margin: 24px 0 10px; }
.demo { height: 220px; padding: 22px; border-radius: 18px; background: var(--orange); display: flex; align-content: center; }
.picks { flex-wrap: wrap; gap: 8px; }
.picks span { display: flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 10px; background: var(--white); font-size: 15px; font-weight: 600; white-space: nowrap; }
.picks .on { background: var(--ink); color: var(--white); }
.picks .save { width: 100%; justify-content: center; background: none; border: 2px solid var(--ink); }
.alert { background: var(--ink); color: var(--white); flex-direction: column; justify-content: center; gap: 6px; }
.alert > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.alert span { padding: 8px 12px; border-radius: 10px; background: #3a3f48; font-size: 15px; font-weight: 600; white-space: nowrap; }
.chat { background: #e3dfd5; flex-direction: column; justify-content: center; gap: 10px; align-items: flex-end; }
.chat p { padding: 14px 18px; border-radius: 20px 20px 4px 20px; background: var(--ink); color: var(--white); max-width: 300px; line-height: 1.4; }
.chat small { font-size: 14px; color: var(--muted); }

/* Holdup types */
.tracks { background: var(--white); }
.tracks .lead { margin-top: 18px; }
.tracks-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); margin-top: 40px; }
.types-head, .types button { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 6fr); gap: 12px; align-items: center; width: 100%; padding: 0 14px; text-align: left; }
.types-head { padding-bottom: 8px; font-size: 15px; color: var(--muted); }
.types button { min-height: 52px; border: 0; border-top: 1px solid var(--line); background: none; cursor: pointer; }
.types button b { font-weight: 700; }
.types button:hover { background: var(--paper); }
.types button[aria-pressed=true] { background: var(--orange); border-color: var(--orange); border-radius: 10px; }
.types button[aria-pressed=true] + button { border-color: transparent; }
.types button:focus-visible { outline-offset: -3px; }
.days { display: flex; align-items: center; gap: 4px; }
.days i { flex: none; width: 12px; height: 22px; background: var(--orange); transform: skewX(-14deg); }
[aria-pressed=true] .days i { background: var(--ink); }
.days span { margin-left: 8px; white-space: nowrap; }
.preview { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(24px, 3vw, 40px); background: var(--paper); border-radius: 18px; }
.to { font-weight: 700; }
.bubble { align-self: flex-end; padding: 20px 24px; border-radius: 26px 26px 6px 26px; background: var(--ink); color: var(--white); font-size: 21px; line-height: 1.4; }
.how-sent { color: var(--muted); }

/* Views */
.views-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 60px); margin-top: 44px; }
.views-grid p { margin: 8px 0 20px; color: var(--muted); min-height: 3em; }
table { width: 100%; border-collapse: collapse; border-top: 4px solid var(--ink); }
th, td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 600; }
thead th { font-size: 15px; font-weight: 400; color: var(--muted); }
td, thead th:not(:first-child) { text-align: right; padding-left: 12px; font-variant-numeric: tabular-nums; }
td.words { font-weight: 400; }
th small { display: block; font-size: 15px; font-weight: 400; color: var(--muted); }
em { font-style: normal; font-weight: 700; color: var(--late); background: var(--late-soft); padding: 2px 9px; border-radius: 8px; white-space: nowrap; }
.sample { margin-top: 32px; font-size: 15px; color: var(--muted); }

/* Questions */
.qa { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px clamp(28px, 4vw, 60px); margin-top: 44px; }
.qa dt { font-weight: 700; font-size: 20px; line-height: 1.25; margin-bottom: 10px; text-wrap: balance; }
.qa dd { color: #d3d6db; }

/* Closing */
.end-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
.end svg { width: 100%; max-height: 360px; aspect-ratio: 864 / 813; }
.end .lead { margin: 20px 0 30px; font-weight: 500; }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; padding-block: 34px; }
.foot > a:not(.logo) { padding-block: 12px; }
.foot small { margin-left: auto; font-size: 15px; color: #b9bec7; }

/* Privacy policy */
.policy-top { padding-block: clamp(20px, 4vw, 48px) clamp(40px, 5vw, 64px); }
.policy-top h1 { font-size: clamp(40px, 5vw, 64px); }
.policy-top .lead { margin-top: 18px; font-weight: 500; }
.policy { display: grid; gap: 16px; }
.policy > * { max-width: 42em; }
.policy h2 { font-size: 27px; margin-top: 28px; }
.policy ul { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; }
.policy a { display: inline-block; padding-block: 4px; }

/* Page not found */
.lost { display: flex; flex-direction: column; min-height: 100vh; }
.lost main { flex: 1; background: var(--orange); }
.lost .lead { margin: 18px 0 30px; font-weight: 500; }

@media (max-width: 1080px) {
  .half.l::before, .half.r::after { width: 48px; }
  .half > span { padding: 0 10px; font-size: 15px; }
  .half b { font-size: 16px; }
  .road { padding-inline: 24px; --shaft: 22px; --head: 66px; }
  .arrow { width: 136px; margin-left: -68px; }
  .board.open .half.l { transform: translateX(-22px) rotate(-9deg) scale(.86); }
  .board.open .half.r { transform: translateX(22px) rotate(9deg) scale(.86); }
  .steps, .views-grid { grid-template-columns: minmax(0, 1fr); }
  .steps li { display: grid; grid-template-columns: minmax(0, 350px) minmax(0, 1fr); column-gap: 32px; }
  .steps .demo { grid-row: 1 / 3; }
  .steps h3 { align-self: end; margin-top: 0; }
  .views-grid { gap: 52px; }
  .views-grid p { min-height: 0; }
  .qa { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tracks-grid { grid-template-columns: minmax(0, 1fr); }
  .preview { order: -1; position: sticky; top: 12px; z-index: 1; min-height: 236px; gap: 12px; padding: 20px 24px; }
  .bubble { font-size: 18px; padding: 14px 18px; }
  .how-sent { font-size: 15px; line-height: 1.4; }
}

@media (max-width: 800px) {
  .hero-grid, .morning-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pitch { padding-block: 8px 12px; }
  .pitch .lead { margin: 14px 0 20px; }
  .note { margin-top: 12px; }
  .road { gap: 40px; padding: 26px 22px 60px; --head: 52px; --shaft: 18px; }
  .arrow { width: 108px; margin-left: -54px; height: 160px; }
  .board { height: 64px; }
  .sign { position: relative; padding-top: 14px; min-height: 84px; }
  .sign button { position: absolute; right: 0; top: 12px; }
  .sign strong { width: 100%; }
  .say { order: -1; gap: 20px; padding-bottom: 40px; }
  .phone { width: 100%; max-width: 420px; height: 560px; margin-inline: auto; }
}

@media (max-width: 600px) {
  .top { flex-wrap: wrap; gap: 0; padding-block: 10px; }
  nav { width: 100%; justify-content: space-between; gap: 0; }
  nav a { padding: 12px 0; font-size: 15px; }
  .logo { font-size: 24px; }
  .lead { font-size: 18px; }
  .road { gap: 30px; padding-top: 14px; }
  .sign { min-height: 74px; padding-top: 6px; }
  .half.l::before, .half.r::after { width: 32px; }
  .half.l > span { padding: 0 0 0 4px; }
  .half > span { padding: 0 8px; font-size: 14px; }
  .half b { font-size: 15px; line-height: 1.15; }
  .steps li { display: block; }
  .steps h3 { margin: 20px 0 8px; }
  .demo { height: auto; min-height: 200px; }
  .types-head { display: none; }
  .types button { grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding: 8px 12px; min-height: 64px; }
  .types button > span:nth-child(2) { grid-column: 1; grid-row: 2; font-size: 15px; }
  .types .days { grid-column: 2; grid-row: 1 / 3; }
  .days { gap: 3px; }
  .days i { width: 8px; height: 18px; }
  .preview { min-height: 276px; padding: 16px 18px; }
  .bubble { font-size: 16px; }
  .row { flex-wrap: wrap; }
  .row p { flex-basis: 70%; }
  .row .chip { margin-left: 33px; }
  .qa { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .end-grid { grid-template-columns: minmax(0, 1fr); }
  .end svg { max-height: 200px; }
  .foot small { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
