:root {
  --ground: #D9D9D4;
  --panel: #F2F2EE;
  --ink: #111111;
  --body: #1E1E1C;
  --muted: #3A3A36;
  --quiet: #55554F;
  --line: #BDBDB6;
  --key: #C9C9C3;
  --lcd: #D7FF3E;
  --white: #FFFFFF;
  --gutter: 72px;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
p { margin: 0; }
b { font-weight: 700; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.logo { font-weight: 800; font-stretch: 125%; font-size: 22px; letter-spacing: -0.01em; text-decoration: none; }
.logo.small { font-size: 15px; }
.toplink { font-weight: 600; font-size: 16px; min-height: 44px; display: inline-flex; align-items: center; }

/* Type */
.display {
  margin: 0; font-weight: 900; font-stretch: 62%; text-transform: uppercase;
  font-size: clamp(80px, 9.2vw, 132px); line-height: 0.88; letter-spacing: -0.02em;
}
.h2 {
  margin: 0 0 24px; font-weight: 900; font-stretch: 62%; text-transform: uppercase;
  font-size: clamp(52px, 5.6vw, 84px); line-height: 0.9;
}
.h2.big { font-size: clamp(56px, 7.8vw, 114px); }
.h2.small { font-size: clamp(44px, 3.4vw, 48px); }
.h3 { margin: 0 0 16px; font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(40px, 3.3vw, 48px); line-height: 0.92; }
.h4 { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
.lede { font-size: 22px; line-height: 1.45; max-width: 580px; }
.note { font-size: 15px; color: var(--muted); }
.note.small { font-size: 14px; }
.muted { color: var(--quiet); font-size: 16px; }
.small { font-size: 14px; }
.strong { font-weight: 700; }
p + p { margin-top: 16px; }

/* Buttons */
.buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 60px; padding: 0 28px; border-radius: 6px;
  font: inherit; font-size: 18px; text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--lcd); font-weight: 700; border: 0; }
.btn-primary:hover { background: #000; }
.btn-secondary { border: 2px solid var(--ink); color: var(--ink); font-weight: 600; }
.btn-secondary:hover { background: var(--panel); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Hero */
.hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center; padding-top: 24px; padding-bottom: 96px; }
.hero-copy { grid-column: span 7; display: flex; flex-direction: column; gap: 28px; }
.hero-phone { grid-column: 9 / span 4; display: flex; justify-content: center; }

/* Animated phone */
.phone { width: 360px; height: 740px; border-radius: 44px; background: var(--ink); padding: 12px; transform-origin: 50% 85%; }
.phone.ringing { animation: dz-ring 1.6s ease-in-out infinite; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 34px; background: var(--panel); overflow: hidden; display: flex; flex-direction: column; }
.chat-head { padding: 44px 20px 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; border-bottom: 1px solid #DADAD4; }
.avatar { width: 48px; height: 48px; border-radius: 10px; background: var(--ink); color: var(--lcd); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 900; }
.chat-name { font-size: 14px; font-weight: 700; }
.chat-sub { font-size: 12px; color: var(--quiet); }
.thread { flex-grow: 1; padding: 18px 14px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.35; }
.compose { margin: 0 14px 18px; height: 40px; border-radius: 8px; border: 1px solid var(--key); background: var(--white); display: flex; align-items: center; padding: 0 16px; font-size: 14px; color: #6B6B66; }

.bubble { max-width: 80%; padding: 10px 14px; }
.bubble.me { align-self: flex-end; background: var(--ink); color: var(--white); border-radius: 20px 20px 5px 20px; }
.bubble.them { align-self: flex-start; background: var(--white); color: var(--ink); border-radius: 20px 20px 20px 5px; }
.thread .bubble { display: none; }
.thread .bubble.on { display: block; animation: dz-in .35s ease-out both; }
.thread .typing.on { display: flex; gap: 5px; padding: 12px 16px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #6B6B6B; animation: dz-dots 1s ease-in-out infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }

.call { position: absolute; inset: 0; background: var(--ink); color: var(--panel); padding: 72px 32px 52px; display: none; flex-direction: column; align-items: center; justify-content: space-between; }
.call.on { display: flex; animation: dz-up .45s cubic-bezier(.2,.8,.2,1) both; }
.call-top { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.call-label { font-size: 15px; color: #9A9A95; }
.call-avatar { position: relative; width: 104px; height: 104px; }
.call-zero { position: relative; width: 104px; height: 104px; border-radius: 50%; background: var(--lcd); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 50px; font-weight: 900; }
.wave { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--lcd); animation: dz-pulse 1.6s ease-out infinite; }
.wave.w2 { animation-delay: .53s; }
.wave.w3 { animation-delay: 1.06s; }
.call-name { font-size: 34px; font-weight: 700; }
.call-actions { width: 100%; display: flex; justify-content: space-between; }
.call-btn { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; color: #9A9A95; }
.call-btn > span { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.decline { background: #3A3A36; }
.decline svg { width: 30px; height: 30px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; }
.answer { background: var(--lcd); animation: dz-answer 1.6s ease-in-out infinite; }
.answer svg, .cc-answer svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@keyframes dz-in { 0% { opacity: 0; transform: translateY(10px) scale(.97); } 100% { opacity: 1; transform: none; } }
@keyframes dz-up { 0% { transform: translateY(100%); } 100% { transform: translateY(0); } }
@keyframes dz-ring { 0%, 60%, 100% { transform: rotate(0deg); } 5% { transform: rotate(-2.5deg); } 10% { transform: rotate(2.5deg); } 15% { transform: rotate(-2.5deg); } 20% { transform: rotate(2.5deg); } 25% { transform: rotate(-1.5deg); } 30% { transform: rotate(0deg); } }
@keyframes dz-pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes dz-answer { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(215,255,62,.6); } 50% { transform: scale(1.07); box-shadow: 0 0 0 16px rgba(215,255,62,0); } }
@keyframes dz-dots { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

/* Keypad nav */
.keypad { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; padding-bottom: 120px; }
.key { height: 104px; border-radius: 10px; background: var(--panel); text-decoration: none; padding: 12px 14px; display: flex; flex-direction: column; justify-content: space-between; }
.key b { font-size: 36px; font-weight: 800; line-height: 1; }
.key span { font-size: 14px; }
.key:hover { background: var(--white); }
.key.go { background: var(--lcd); }
.key.go b { font-weight: 900; }
.key.go span { font-weight: 700; }
.key.blank { display: none; }

/* Blocks */
.block { padding-bottom: 150px; }
.block p { color: var(--muted); }
.block p.strong { color: var(--ink); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
.split.flip { grid-template-columns: 5fr 7fr; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.three > div { display: flex; flex-direction: column; gap: 18px; }
.three p + p { margin-top: 0; }
.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--line); padding-top: 32px; }
.four p { font-size: 16px; }

/* Video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--ink); overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--key); font-size: 16px; }
.play { width: 96px; height: 96px; border-radius: 10px; background: var(--lcd); display: flex; align-items: center; justify-content: center; }
.play svg { width: 34px; height: 34px; fill: var(--ink); }

/* Day timeline */
.row { display: grid; grid-template-columns: 3fr 5fr 4fr; column-gap: 32px; row-gap: 12px; align-items: start; padding: 40px 0; border-top: 1px solid var(--line); }
.row.last { grid-template-columns: 3fr 9fr; }
.time { font-weight: 900; font-stretch: 62%; font-size: 88px; line-height: 0.9; }
.time.word { font-size: 64px; text-transform: uppercase; }
.row-title { margin: 0 0 10px; font-size: 24px; font-weight: 700; line-height: 1.25; }
.row-copy p { font-size: 19px; }
.row-copy.wide p { max-width: 720px; }
.bubbles { display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.4; }
.bubbles .bubble { max-width: 92%; }
.big-bubbles { font-size: 18px; }
.bubbles.small { font-size: 15px; }
.who { font-size: 12px; color: var(--quiet); padding-left: 4px; }
.callcard { border-radius: var(--radius); background: var(--ink); color: var(--panel); padding: 20px 22px; display: flex; align-items: center; gap: 16px; }
.sq { width: 52px; height: 52px; border-radius: 10px; background: var(--lcd); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 900; flex-shrink: 0; }
.cc-text { flex-grow: 1; display: flex; flex-direction: column; }
.cc-text b { font-size: 18px; }
.cc-text small { font-size: 14px; color: var(--key); }
.cc-answer { width: 48px; height: 48px; border-radius: 50%; background: var(--lcd); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cc-answer svg { width: 22px; height: 22px; }

/* Calls */
.livecall { border-radius: var(--radius); background: var(--ink); color: var(--panel); padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.lc-head { display: flex; align-items: center; gap: 14px; font-size: 16px; color: var(--key); }
.lc-head .cc-answer { width: 44px; height: 44px; }
.lc-quote { font-size: 30px; line-height: 1.3; font-weight: 500; }
.lc-note { font-size: 15px; color: var(--key); }
.lines { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--line); }
.lines li { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--body); }
.plain { margin: 0; padding-left: 20px; color: var(--muted); font-size: 16px; }
.plain li + li { margin-top: 6px; }

/* Setup terminal */
.terminal { border-radius: var(--radius); background: var(--ink); color: #E4E4DE; padding: 32px 36px; font-size: 17px; line-height: 1.5; }
.prompt { font-size: 20px; font-weight: 700; margin-bottom: 18px; }
.terminal ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 18px; }
.terminal li { counter-increment: s; display: flex; gap: 16px; }
.terminal li::before { content: counter(s); color: var(--lcd); font-weight: 800; }

/* Honest + list */
.listpanel { border-radius: var(--radius); background: var(--ink); color: var(--panel); padding: 48px; display: flex; flex-direction: column; gap: 20px; }
.listpanel .h2 { margin: 0; }
.lcd { color: var(--lcd); }
.listpanel p.dim { color: var(--key); }
.listpanel p.strong { color: var(--panel); }
.listpanel ol { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 12px; font-size: 21px; line-height: 1.4; font-weight: 500; }

/* About + signup */
.byline { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; font-size: 20px; }
.photo { width: 64px; height: 64px; border-radius: 50%; background: var(--key); }
.textlink { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.signup { border-radius: var(--radius); background: var(--panel); padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.signup .h2 { margin: 0; }
.signup label { font-size: 15px; font-weight: 700; }
.signup input[type=email] { height: 54px; padding: 0 16px; border-radius: 6px; border: 2px solid var(--ink); background: var(--white); font: inherit; font-size: 16px; }
.signup fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 4px; }
.signup legend { font-size: 15px; font-weight: 700; padding-bottom: 8px; }
.signup .radio { min-height: 44px; display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 400; color: var(--body); }
.signup input[type=radio] { width: 20px; height: 20px; accent-color: var(--ink); }

/* Footer */
.foot { display: flex; justify-content: space-between; gap: 16px; padding-top: 40px; padding-bottom: 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--quiet); }

/* Phone and small tablets */
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  body { font-size: 17px; }
  .top { height: 64px; }
  .logo { font-size: 18px; }
  .hero { grid-template-columns: 1fr; row-gap: 40px; padding-top: 16px; padding-bottom: 48px; }
  .hero-copy, .hero-phone { grid-column: auto; }
  .hero-copy { gap: 20px; }
  .lede { font-size: 18px; }
  .buttons { flex-direction: column; }
  .btn { width: 100%; height: 56px; font-size: 17px; }
  .phone { width: 310px; height: 620px; border-radius: 40px; }
  .chat-head { padding: 30px 16px 12px; }
  .thread { font-size: 15px; }
  .call { padding: 56px 26px 40px; }
  .keypad { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-bottom: 64px; }
  .key { height: 84px; padding: 10px 12px; }
  .key b { font-size: 30px; }
  .key span { font-size: 12px; }
  .key.blank { display: block; background: var(--key); }
  .block { padding-bottom: 72px; }
  .split, .split.flip, .three, .four { grid-template-columns: 1fr; gap: 24px; }
  .split.flip .livecall { order: 0; }
  .four { gap: 0; }
  .four > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .row, .row.last { grid-template-columns: 1fr; padding: 24px 0; }
  .time { font-size: 64px; }
  .time.word { font-size: 48px; }
  .row-copy p { font-size: 17px; }
  .livecall { padding: 22px; }
  .lc-quote { font-size: 22px; }
  .terminal { padding: 22px; font-size: 15px; }
  .listpanel { padding: 28px 24px; }
  .listpanel ol { font-size: 18px; }
  .signup { padding: 24px; }
  .foot { flex-direction: column; }
}

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