:root {
  --paper: #F6F5F1;
  --ink: #121417;
  --soft: #5E6468;
  --faint: #8C9195;
  --line: #E2E0D9;
  --green: #1E7A52;
  --green-bright: #2FBF7F;
  --amber: #D9772B;
  --night: #0E1114;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
em { font-style: italic; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.narrow > * { max-width: 820px; }
section { padding: 120px 32px; }
section.wrap { padding: 120px 32px; }

h1, h2, .big, .figure, .counts span { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }
h1 { font-size: clamp(46px, 7.4vw, 92px); line-height: 1.02; }
h1 em { color: var(--soft); }
h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; }
.big { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.25; color: var(--soft); }
.big + .big { margin-top: 28px; }
.big.ink { color: var(--ink); }
.lede { font-size: clamp(19px, 1.9vw, 22px); color: var(--soft); max-width: 560px; }
.kicker { font-size: 15px; font-weight: 500; color: var(--faint); margin-bottom: 28px; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0.01em; }
.small, .note { font-size: 15px; color: var(--faint); }

.button { display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; font: 500 16px var(--sans); padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer; transition: background .2s, transform .2s; }
.button:hover { background: var(--green); transform: translateY(-1px); }
.arrow { display: inline-block; margin-left: 4px; transition: transform .35s var(--ease); }
.button:hover .arrow { transform: translateX(4px); }

/* Motion: start states apply only when JS is on and motion is allowed */
html.js .r { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); transition-delay: var(--d, 0ms); }
html.js .r.in { opacity: 1; transform: none; filter: none; }
html.js .split .w { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(8px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i) * 55ms); }
html.js .split.in .w { opacity: 1; transform: none; filter: none; }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); margin-right: 10px; vertical-align: 1px; animation: pulse 2.2s ease-out infinite; transition: background .5s; }
.dot.warn { background: var(--amber); animation-name: pulse-warn; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 191, 127, .5); } 70%, 100% { box-shadow: 0 0 0 8px rgba(47, 191, 127, 0); } }
@keyframes pulse-warn { 0% { box-shadow: 0 0 0 0 rgba(217, 119, 43, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(217, 119, 43, 0); } }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(246, 245, 241, .86); backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow .4s; }
.nav.scrolled { box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.wordmark { font: 600 18px var(--sans); letter-spacing: -0.02em; text-decoration: none; }
.nav-cta { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--soft); }
.nav-cta:hover { color: var(--ink); }

/* Hero */
section.hero { padding-top: 104px; padding-bottom: 104px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 4.9vw, 64px); margin-bottom: 28px; }
.hero .lede { margin-bottom: 40px; }

.slack { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 40px 80px -50px rgba(18, 20, 23, .45), 0 2px 6px rgba(18, 20, 23, .04); overflow: hidden; font-size: 15px; line-height: 1.45; }
.slack-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.slack-head b { color: var(--faint); font-weight: 500; margin-right: 2px; }
.presence { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--soft); }
.presence i { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); animation: live 2.8s ease-in-out infinite; }
@keyframes live { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 191, 127, .45); } 50% { box-shadow: 0 0 0 5px rgba(47, 191, 127, 0); } }
.slack-body { padding: 20px 20px 24px; display: grid; gap: 18px; align-content: start; }
.msg { display: grid; grid-template-columns: 36px 1fr; gap: 12px; }
.body { position: relative; min-width: 0; }
.av { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; font-weight: 600; font-size: 15px; color: #fff; }
.you-av { background: #7B5EA7; }
.bot-av { background: var(--ink); color: var(--green-bright); font-family: var(--mono); }
.who { font-weight: 700; font-size: 15px; }
.who time { font-weight: 400; font-size: 12px; color: var(--faint); margin-left: 6px; }
.app { font-size: 10px; font-weight: 600; background: #EDECE8; color: var(--soft); padding: 1px 4px; border-radius: 3px; vertical-align: 2px; }
.at { background: #E8F0FB; color: #1D5BA8; border-radius: 3px; padding: 0 2px; }
.btns { display: flex; gap: 8px; margin-top: 10px; }
.sbtn { font-size: 13px; font-weight: 600; padding: 5px 14px; border: 1px solid var(--line); border-radius: 7px; color: var(--soft); background: #fff; transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease); }
.sbtn.pick.on, html:not(.js) .sbtn.pick { background: var(--green); border-color: var(--green); color: #fff; }
.sbtn.pick.on { animation: press .55s var(--ease); }
@keyframes press { 0% { transform: scale(1); } 35% { transform: scale(.93); } 100% { transform: scale(1); } }
.day-div { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; color: var(--soft); }
.day-div::before, .day-div::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.day-div span { border: 1px solid var(--line); border-radius: 99px; padding: 2px 10px; }
.checks { list-style: none; display: grid; gap: 5px; margin: 2px 0 8px; }
.checks li::before { content: "✓"; display: inline-block; color: var(--green); font-weight: 700; margin-right: 9px; }
.slack code { font-family: var(--mono); font-size: 13px; background: #F3F2EE; border: 1px solid var(--line); border-radius: 5px; padding: 2px 7px; }
.dots { position: absolute; top: 28px; left: 0; display: flex; gap: 4px; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: dot 1.1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .16s; } .dots i:nth-child(3) { animation-delay: .32s; }
@keyframes dot { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }

html.js .slack .m { opacity: 0; transform: translateY(12px); filter: blur(6px); transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease); }
html.js .slack .m.in { opacity: 1; transform: none; filter: none; }
html.js .slack .bot .text { opacity: 0; filter: blur(5px); transform: translateY(4px); transition: opacity .7s var(--ease), filter .7s var(--ease), transform .8s var(--ease); }
html.js .slack .bot.in:not(.done) .dots { opacity: 1; }
html.js .slack .bot.done .text { opacity: 1; filter: none; transform: none; }
html.js .slack .checks li::before { transform: scale(0); transition: transform .6s cubic-bezier(.34, 1.56, .64, 1) .2s; }
html.js .slack .checks li.in::before { transform: scale(1); }

/* The 2 a.m. strip */
.story h2 { font-size: clamp(42px, 5.8vw, 76px); line-height: 1.04; margin-bottom: 72px; }
.story h2 em { color: var(--soft); }
.story .strip { margin-top: 0; }
.beats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 64px; }
.beats .kicker { margin-bottom: 10px; }
.beat { font-family: var(--serif); font-size: clamp(24px, 2.3vw, 30px); line-height: 1.25; color: var(--soft); }
.beat.ink { color: var(--ink); }
.cells-wrap { position: relative; }
.cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.node { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.node span { height: 44px; border-radius: 3px; background: var(--ink); opacity: .9; transform-origin: bottom; animation: hum var(--dur, 3s) ease-in-out var(--delay, 0s) infinite; transition: background .8s ease, opacity .6s ease, transform .55s var(--ease); }
@keyframes hum { 0%, 100% { opacity: .94; } 50% { opacity: .8; } }
.node span.slow { background: var(--amber); opacity: 1; animation: none; }
.node span.flag { animation: ring 1.3s ease-out infinite; }
.node span.out { opacity: 0; transform: scaleY(.15); }
.node span.fresh { animation: arrive 1.6s var(--ease) both; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(217, 119, 43, .6); } 100% { box-shadow: 0 0 0 12px rgba(217, 119, 43, 0); } }
@keyframes arrive { 0% { transform: scaleY(.15); background: var(--green-bright); opacity: 1; } 45% { transform: none; background: var(--green-bright); } 100% { background: var(--ink); opacity: .92; } }
.scan { position: absolute; inset: -8px 0; overflow: hidden; pointer-events: none; }
.scan i { position: absolute; top: 0; bottom: 0; left: -120px; width: 120px; background: linear-gradient(90deg, rgba(47, 191, 127, 0), rgba(47, 191, 127, .18)); border-right: 1.5px solid rgba(47, 191, 127, .85); animation: scan 5s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes scan { from { left: -120px; } to { left: 100%; } }
.strip figcaption { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; color: var(--faint); }
.status { color: var(--soft); min-height: 1.6em; }
.status .dot { background: var(--green); }
.status .dot.warn { background: var(--amber); }


/* Story */
.story { border-top: 1px solid var(--line); }

/* Facts */
.facts { border-top: 1px solid var(--line); }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.figure { font-size: clamp(56px, 6vw, 80px); line-height: 1; color: var(--ink); margin-bottom: 16px; }
.figures p:not(.figure) { color: var(--soft); font-size: 17px; }
.cite { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--faint); text-decoration: none; border-bottom: 1px solid var(--line); }
.cite:hover { color: var(--ink); border-color: var(--ink); }
.aside { margin-top: 72px; font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.25; }

/* Contract */
.contract { border-top: 1px solid var(--line); }
.counts { list-style: none; margin: 48px 0 32px; }
.counts li { position: relative; display: grid; grid-template-columns: 96px 1fr; align-items: baseline; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 20px; color: var(--soft); }
.counts li:last-child { border-bottom: 1px solid var(--line); }
html.js .counts li { border-top-color: transparent; }
html.js .counts li::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: var(--line); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); transition-delay: var(--d, 0ms); }
html.js .counts li.in::before { transform: none; }
.counts span { font-size: 56px; line-height: 1; color: var(--ink); }

/* Reveal */
.reveal { background: var(--night); color: #F2F1EC; padding: 160px 32px; }
.reveal h2 { font-size: clamp(42px, 6.4vw, 80px); margin-bottom: 72px; }
.week { max-width: 980px; }
.week-head, .day { display: grid; grid-template-columns: 72px 1fr 1.35fr; gap: 32px; }
.week-head { padding-bottom: 16px; font-size: 13px; color: #8D9499; letter-spacing: .04em; text-transform: uppercase; }
.day { padding: 22px 0; border-top: 1px solid #262B30; align-items: baseline; }
.d { font-size: 14px; color: #8D9499; }
.you { font-size: 19px; color: #E6E5E0; }
.you.asleep { font-family: var(--serif); font-style: italic; font-size: 22px; color: #8D9499; }
.us { list-style: none; display: grid; gap: 10px; }
.us li { font-family: var(--mono); font-size: 15px; line-height: 1.55; color: #CDD1D4; }
.us time { color: var(--green-bright); margin-right: 14px; }
.us li.quiet { color: #858C91; }
.week-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; border-top: 1px solid #262B30; font-size: 14px; color: #9BA1A5; }
.week-foot b { color: #F2F1EC; font-weight: 500; margin-left: 6px; }
.week-foot i { display: inline-block; width: 28px; }
html.js .week .s { opacity: 0; transform: translateY(6px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .week .s.in { opacity: 1; transform: none; }

/* Work: the email and the weekly page */
.work { border-bottom: 1px solid var(--line); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.pair + .pair { margin-top: 140px; }
.pair.flip .pair-copy { order: 2; }
.pair-copy .big + .big { margin-top: 16px; }
.mail, .report { background: #FCFBF8; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 60px -40px rgba(18, 20, 23, .35); overflow: hidden; }
.mail-head { padding: 18px 24px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink); display: grid; gap: 6px; }
.mail-head span { display: inline-block; width: 64px; color: var(--faint); }
.mail-body { padding: 22px 24px; font-size: 15.5px; line-height: 1.6; color: #2A2E32; display: grid; gap: 12px; }
.mail-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--soft); }
.chip { border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; background: var(--paper); }
.sent { margin-left: auto; color: var(--green); }
.report-head { display: flex; justify-content: space-between; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--faint); }
.report dl { padding: 8px 24px; }
.report dl div { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.report dl div:last-child { border-bottom: 0; }
.report dl div.credit { margin: 6px -12px 0; padding: 14px 12px; border-radius: 8px; background: #E8F3EC; }
.report .credit dt { color: var(--green); font-weight: 500; }
.report .credit dd { color: var(--green); }
.report dt { font-size: 15px; color: var(--soft); }
.report dd { font-family: var(--serif); font-size: 26px; line-height: 1; }
.report-note { margin: 0 24px 22px; padding: 14px 16px; background: #F3EFE6; border-radius: 8px; font-size: 14.5px; color: #5A4A33; }
.report-note + .report-note { margin-top: -10px; }
.price { margin: 0 24px 24px; padding: 14px 16px 16px; background: #E7F1FB; border-radius: 10px; color: #24435F; }
.price-label { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .8; margin-bottom: 10px; }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price-row > div { background: rgba(255,255,255,.6); border-radius: 8px; padding: 10px 12px; }
.price-row .better { background: #fff; box-shadow: inset 0 0 0 1px #9CC3E6; }
.price-k { display: block; font-size: 13px; opacity: .85; }
.price-row b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; margin-right: 4px; }
.price-row small { font-size: 13px; opacity: .85; }
.price-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.save { font-weight: 600; font-size: 14px; color: var(--green); background: #E8F3EC; padding: 4px 10px; border-radius: 99px; }
.price-btns { display: flex; gap: 8px; }
.pbtn { font-size: 14px; padding: 7px 12px; border-radius: 99px; background: #24435F; color: #fff; }
.pbtn.ghost { background: transparent; color: #24435F; box-shadow: inset 0 0 0 1px #9CC3E6; }
.work > .note { margin-top: 72px; }

.reveal-foot { margin-top: 64px; color: #9BA1A5; font-size: 18px; max-width: 720px; }

/* Team: capabilities */
.team { border-top: 1px solid var(--line); }
.team h2 { margin-bottom: 64px; }
.team h2 em { color: var(--soft); }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 64px; }
.pillar-head { font-family: var(--serif); font-size: 28px; line-height: 1.2; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--ink); }
.pillar ul { list-style: none; }
.pillar li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--soft); }
.pillar li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 9px; height: 5px; border-left: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); transform: rotate(-45deg); }
.team-foot { margin-top: 56px; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); }

/* Promise */
section.promise { text-align: center; padding-top: 160px; }
.promise > * { margin-left: auto; margin-right: auto; }
.promise h2 { margin-bottom: 28px; }
.promise .lede { margin: 0 auto 20px; }

/* Next */
.next { border-top: 1px solid var(--line); }

/* Form */
.check { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; border-top: 1px solid var(--line); }
.check h2 { margin-bottom: 20px; }
.check-copy p { color: var(--soft); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.form label { display: grid; gap: 8px; }
.form label span { font-size: 14px; font-weight: 500; color: var(--soft); }
.form label em { font-style: normal; color: var(--faint); font-weight: 400; }
.form input, .form select, .form textarea { width: 100%; font: 17px var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #CFCCC3; border-radius: 0; padding: 8px 0 10px; appearance: none; resize: vertical; }
.form select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235E6468' stroke-width='1.5'/%3E%3C/svg%3E") right 2px center no-repeat; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--ink); }
.full { grid-column: 1 / -1; }
.submit { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.submit p { font-size: 14px; color: var(--faint); }
.hp { position: absolute; left: -9999px; }

/* FAQ */
section.faq { padding-top: 40px; }
details { border-top: 1px solid var(--line); padding: 24px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; font-size: 19px; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--faint); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; color: var(--soft); max-width: 640px; }

/* Footer */
.footer { display: flex; justify-content: space-between; align-items: center; padding: 48px 32px 64px; color: var(--faint); font-size: 14px; }

/* Thanks page */
.thanks { min-height: 80vh; display: grid; place-items: center; text-align: center; }
.thanks h1 { font-size: clamp(42px, 6vw, 72px); margin-bottom: 20px; }
.thanks p { color: var(--soft); margin-bottom: 36px; }

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

@media (max-width: 860px) {
  section, .reveal { padding: 88px 24px; }
  section.wrap { padding: 88px 24px; }
  .wrap { padding: 0 24px; }
  .beats { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
  .story h2 { margin-bottom: 48px; }
  .cells { grid-template-columns: repeat(2, 1fr); gap: 10px 14px; }
  .node { gap: 5px; }
  .node span { height: 30px; }
  section.hero { padding-top: 72px; padding-bottom: 72px; grid-template-columns: 1fr; gap: 48px; }
  .figures { grid-template-columns: 1fr; gap: 40px; }
  .pair { grid-template-columns: 1fr; gap: 40px; }
  .pillars { grid-template-columns: 1fr; gap: 40px; }
  .pair.flip .pair-copy { order: 0; }
  .pair + .pair { margin-top: 96px; }
  .week-head, .day { grid-template-columns: 52px 1fr; gap: 10px 16px; }
  .week-head { display: flex; gap: 20px; }
  .week-head span:last-child { color: var(--green-bright); }
  .day .us { grid-column: 2; }
  .check { grid-template-columns: 1fr; gap: 40px; }
  section.promise { padding-top: 104px; }
  .counts li { grid-template-columns: 64px 1fr; gap: 16px; font-size: 18px; }
  .counts span { font-size: 44px; }
}
@media (max-width: 560px) {
  section, .reveal { padding: 72px 16px; }
  section.wrap { padding: 72px 16px; }
  .footer { padding-left: 16px; padding-right: 16px; }
  .wrap { padding: 0 16px; }
  .form { grid-template-columns: 1fr; }
  .cells { grid-template-columns: 1fr; gap: 8px; }
  .mail-head, .mail-body, .mail-foot, .report-head { padding-left: 18px; padding-right: 18px; }
  .report dl { padding: 8px 18px; }
  .report-note { margin: 0 18px 18px; }
  .price { margin: 0 18px 18px; }
}
.you .handle { font-family: var(--mono); font-size: .85em; color: var(--green-bright); }
.promise .handle { font-family: var(--mono); font-size: .8em; color: var(--green); }
