:root {
  --bottle: #123d33;
  --bottle-deep: #0c2e26;
  --ink: #10261f;
  --milk: #f8f9f4;
  --dew: #e1ece4;
  --glow: #f4d35e;
  --muted: #53665e;
  --line: #cfdcd3;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--milk); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 4px; }
main :focus-visible { outline-color: var(--bottle); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--glow); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.08; }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.01em; }

.btn { display: inline-block; background: var(--glow); color: var(--ink); font-weight: 600; text-decoration: none; padding: 15px 26px; border-radius: 999px; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 0 -2px rgba(12, 46, 38, .25); }
.btn.small { padding: 10px 18px; font-size: .95rem; }

/* dark bands */
.dark { background: var(--bottle); color: var(--milk); }

.top .wrap { display: flex; align-items: center; gap: 32px; padding-top: 22px; padding-bottom: 22px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.mark { width: 14px; height: 14px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 5px rgba(244, 211, 94, .22); }
.top nav { display: flex; gap: 26px; margin-left: auto; font-size: .95rem; }
.top nav a { text-decoration: none; opacity: .82; }
.top nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }

.hero { padding: 56px 0 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); line-height: 1; letter-spacing: -0.03em; }
.lead { margin-top: 26px; font-size: 1.17rem; line-height: 1.55; max-width: 34em; color: #d6e4dc; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.note { font-size: .95rem; color: #b5cabf; }

/* inbox: the signature element */
.inbox { background: var(--milk); color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.inbox-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; }
.inbox-title { font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; }
.toggle { display: flex; background: var(--dew); border-radius: 999px; padding: 4px; }
.toggle button { font: inherit; font-size: .9rem; font-weight: 500; color: var(--muted); background: none; border: 0; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--bottle); color: var(--milk); }
.toggle button:focus-visible { outline-color: var(--bottle); }

.moments li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.when { font-size: .92rem; line-height: 1.35; color: var(--muted); }
.mail { font-size: .95rem; line-height: 1.3; border-radius: 12px; padding: 10px 14px; min-height: 58px; display: flex; flex-direction: column; justify-content: center; }
.mail.sent { background: var(--dew); }
.mail.sent b { font-weight: 600; }
.mail.sent span { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.mail.gap { border: 1.5px dashed #b9c9bf; color: #7d8f86; }

.inbox[data-state="today"] li:not(.always) .sent,
.inbox[data-state="flows"] .gap { display: none; }
.inbox[data-state="flows"] li:not(.always) .sent { animation: arrive .35s ease both; }
.inbox[data-state="flows"] li:nth-child(3) .sent { animation-delay: .07s; }
.inbox[data-state="flows"] li:nth-child(4) .sent { animation-delay: .14s; }
.inbox[data-state="flows"] li:nth-child(5) .sent { animation-delay: .21s; }
.inbox[data-state="flows"] li:nth-child(6) .sent { animation-delay: .28s; }
@keyframes arrive { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.inbox-foot { border-top: 1px solid var(--line); padding-top: 14px; font-size: .88rem; line-height: 1.4; color: var(--muted); }
.inbox-foot b { color: var(--ink); font-weight: 600; }

/* sections */
main > section { padding: 104px 0; }
.section-head { max-width: 40em; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.1rem; }

/* flows schedule */
.flows .section-head { margin-bottom: 40px; }
.flow { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; padding: 30px 0; border-top: 1px solid var(--line); }
.flow-name p { margin-top: 8px; font-size: .95rem; line-height: 1.45; color: var(--muted); }
.beats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); max-width: 760px; }
.beats li { position: relative; padding: 22px 20px 0 0; font-size: .95rem; line-height: 1.4; color: var(--muted); }
.beats li::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 2px; background: var(--line); }
.beats li:last-child::before { right: auto; width: 0; }
.beats li::after { content: ""; position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--bottle); }
.beats b { display: block; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 1rem; margin-bottom: 3px; }
.flows-note { border-top: 1px solid var(--line); padding-top: 26px; color: var(--muted); max-width: 44em; }

/* how it works */
.how { background: var(--dew); }
.how-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.how .section-head { position: sticky; top: 40px; }
.steps { counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); padding: 26px 0; border-top: 1px solid #c3d4c9; }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 600; font-size: 1.9rem; line-height: 1; color: var(--bottle); grid-row: span 2; }
.steps p { grid-column: 2; margin-top: 8px; color: #3f534a; }

/* pricing */
.pricing .section-head { margin-bottom: 40px; }
.price { font-family: var(--display); font-weight: 600; font-size: 2.4rem; letter-spacing: -0.03em; line-height: 1; }
.price small { font-family: var(--body); font-size: .95rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.audit-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 40px; align-items: center; background: var(--dew); border-radius: 22px; padding: 30px 34px; }
.audit-row div p { margin-top: 6px; color: #3f534a; max-width: 36em; }
.plans { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; margin-top: 20px; }
.plan { border: 1px solid var(--line); border-radius: 22px; padding: 32px 30px; }
.plan .price { margin: 18px 0 24px; }
.plan li { position: relative; padding: 10px 0 10px 24px; border-top: 1px solid var(--line); font-size: .98rem; line-height: 1.45; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--bottle); }
.plan.main { background: var(--bottle); color: var(--milk); border-color: var(--bottle); }
.plan.main .price small { color: #b5cabf; }
.plan.main li { border-color: rgba(248, 249, 244, .18); }
.plan.main li::before { background: var(--glow); }

/* faq */
.faq { padding-top: 0 !important; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 500; font-size: 1.5rem; line-height: 1; color: var(--bottle); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 40px 24px 0; color: #3f534a; max-width: 38em; }

/* closing + footer */
.closing { padding: 104px 0 96px; }
.closing h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 15em; }
.closing p { margin: 20px 0 34px; font-size: 1.15rem; color: #d6e4dc; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; padding-bottom: 34px; border-top: 1px solid rgba(248, 249, 244, .16); font-size: .92rem; color: #b5cabf; }

@media (max-width: 960px) {
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
  .hero { padding: 32px 0 72px; }
  .hero-grid, .how-grid, .faq-grid { grid-template-columns: 1fr; gap: 44px; }
  .how .section-head { position: static; }
  main > section { padding: 76px 0; }
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .plans { grid-template-columns: 1fr; }
  .audit-row { grid-template-columns: 1fr; gap: 20px; justify-items: start; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .inbox { padding: 16px; border-radius: 18px; }
  .moments li { grid-template-columns: 1fr; gap: 6px; padding: 12px 0; }
  .mail { min-height: 0; }
  .beats { grid-auto-flow: row; }
  .beats li { padding: 0 0 20px 26px; }
  .beats li::before { top: 6px; bottom: -6px; left: 5px; right: auto; width: 2px; height: auto; }
  .beats li:last-child { padding-bottom: 0; }
  .beats li:last-child::before { display: none; }
  .beats li::after { top: 5px; }
  .steps li { grid-template-columns: 42px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
