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

:root {
  --ink: #17212b;
  --muted: #5a6672;
  --paper: #ffffff;
  --sheet: #f1f3f5;
  --line: #cdd3d9;
  --markup: #d12a1d;
  --focus: #1d5fd1;
  --max: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
}

/* Page switch: <body class="mode-beta"> or <body class="mode-pricing">. */
body:not(.mode-beta) .only-beta { display: none !important; }
body:not(.mode-pricing) .only-pricing { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Archivo", ui-sans-serif, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-kerning: normal;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; font-stretch: 115%; font-size: 1.2rem; letter-spacing: -0.01em; }
.logo svg { width: 26px; height: 26px; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 0.95rem; }
.site-nav a { text-decoration: none; color: var(--muted); }
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-signin { color: var(--ink); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border: 2px solid var(--ink); border-radius: 4px;
  font-weight: 650; font-size: 1rem; text-decoration: none; white-space: nowrap;
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: #2a3744; border-color: #2a3744; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--sheet); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.status { display: inline-block; font-size: 0.9rem; font-weight: 600; color: var(--muted); margin-bottom: 20px; }
.status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2f8f5b; margin-right: 8px; vertical-align: 1px; }
h1 {
  margin: 0 0 24px;
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  line-height: 1.02;
  font-weight: 780;
  font-stretch: 118%;
  letter-spacing: -0.025em;
  max-width: 13ch;
}
.lede { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 33em; margin-bottom: 32px; }
.fine { font-size: 0.9rem; color: var(--muted); margin: 16px 0 0; }

/* The change sheet */
.sheet { border: 1.5px solid var(--ink); background: var(--paper); font-size: 0.92rem; }
.sheet-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 18px; border-bottom: 1.5px solid var(--ink); }
.sheet-title h2 { margin: 0; font-size: 1rem; font-weight: 700; font-stretch: 105%; letter-spacing: 0; }
.sheet-title span { font-size: 0.8rem; color: var(--muted); }
.sheet-body { padding: 8px 24px 18px; isolation: isolate; background: var(--paper); }
.sheet-row {
  display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 8px;
  padding: 12px 8px; align-items: center; font-variant-numeric: tabular-nums; font-stretch: 92%;
}
.sheet-row + .sheet-row { border-top: 1px solid #e3e7eb; }
.sheet-row > span:not(:first-child) { text-align: right; }
.sheet-head { color: var(--muted); font-size: 0.8rem; font-weight: 600; font-stretch: 100%; border-top: 0; padding-bottom: 26px; }
.sheet-head span { line-height: 1.25; }
.room { font-weight: 600; font-stretch: 100%; }
.was { display: block; font-size: 0.75rem; color: var(--muted); text-decoration: line-through; }
.sheet-notes { margin: 0; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--sheet); list-style: none; font-size: 0.85rem; color: var(--muted); }
.sheet-notes li { display: flex; gap: 10px; align-items: baseline; }
.sheet-notes li + li { margin-top: 6px; }
.sheet-caption { font-size: 0.8rem; color: var(--muted); margin: 10px 2px 0; }

/* Revision cloud: rings of radius --r on a grid, half covered by the element's own background. */
.cloud { --r: 10px; position: relative; background: var(--paper); }
.cloud::before {
  content: ""; position: absolute; inset: calc(-1 * var(--r)); z-index: -1;
  background:
    radial-gradient(circle closest-side, transparent calc(100% - 1.75px), var(--markup) calc(100% - 1.5px), var(--markup) 100%, transparent 100%)
    0 0 / calc(2 * var(--r)) calc(2 * var(--r)) round;
}
.cloud.cell { --r: 7px; display: inline-block; padding: 4px 6px; }
.sheet-row.cloud { border-top-color: transparent; }
.sheet-row.cloud + .sheet-row { border-top-color: transparent; }
.delta {
  position: absolute; width: 30px; height: 26px; display: grid; place-items: end center;
  font-size: 0.8rem; font-weight: 750; color: var(--markup); line-height: 1; padding-bottom: 3px;
}
.delta::before { content: ""; position: absolute; inset: 0; background: var(--markup); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.delta::after { content: ""; position: absolute; inset: 2.6px 3.2px 2px; background: var(--paper); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.delta b { position: relative; z-index: 1; }
.sheet-row .delta { right: -16px; top: -24px; }
.cell .delta { right: -26px; top: -26px; }
.sheet-notes .delta { position: relative; flex: none; width: 22px; height: 19px; font-size: 0.68rem; top: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .cloud::before, .delta { animation: markup 0.5s ease-out 0.6s both; }
  .cell::before, .cell .delta { animation-delay: 0.9s; }
  @keyframes markup { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
}

/* Sections */
.band { padding: clamp(64px, 9vw, 112px) 0; }
.band-sheet { background: var(--sheet); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 {
  margin: 0 0 16px; font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.1;
  font-weight: 760; font-stretch: 112%; letter-spacing: -0.02em; max-width: 22ch;
}
h3 { margin: 0 0 8px; font-size: 1.12rem; line-height: 1.3; font-weight: 700; }
.intro { color: var(--muted); font-size: 1.08rem; max-width: 38em; margin-bottom: 48px; }

/* Steps, marked like detail callouts */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 48px); counter-reset: step; }
.steps li { counter-increment: step; }
.callout { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.callout::before {
  content: counter(step); flex: none; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center; font-weight: 750; font-size: 1.1rem; font-variant-numeric: tabular-nums;
}
.callout::after { content: ""; flex: 1; height: 2px; background: var(--ink); }
.steps p { color: var(--muted); margin: 0; }

/* Calculations schedule */
.schedule { width: 100%; border-collapse: collapse; border: 1.5px solid var(--ink); background: var(--paper); }
.schedule caption { text-align: left; }
.schedule th, .schedule td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.schedule thead th { font-size: 0.85rem; color: var(--muted); font-weight: 600; border-bottom: 1.5px solid var(--ink); padding-top: 12px; padding-bottom: 12px; }
.schedule tbody th { font-weight: 700; width: 30%; }
.schedule tbody tr:last-child th, .schedule tbody tr:last-child td { border-bottom: 0; }
.schedule td { color: var(--muted); }

/* Who it's for */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.split p { color: var(--muted); }
.fit { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.fit li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fit strong { display: block; }
.fit span { color: var(--muted); font-size: 0.95rem; }

/* General notes */
.notes { margin: 0; padding: 0 0 0 1.4em; columns: 2; column-gap: clamp(32px, 6vw, 72px); }
.notes li { break-inside: avoid; margin-bottom: 22px; padding-left: 6px; }
.notes li::marker { font-weight: 750; }
.notes strong { display: block; }
.notes span { color: var(--muted); }

/* Beta and pricing */
.offer { border: 1.5px solid var(--ink); background: var(--paper); display: grid; grid-template-columns: 1.2fr 1fr; }
.offer > div { padding: clamp(24px, 4vw, 40px); }
.offer > div + div { border-left: 1px solid var(--line); background: var(--sheet); }
.offer ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.offer li { margin-bottom: 8px; }
.offer .actions { flex-direction: column; align-items: stretch; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--ink); background: var(--paper); }
.plan { padding: 28px; display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan-main { background: var(--sheet); }
.plan h3 { font-size: 1.25rem; font-stretch: 110%; margin-bottom: 4px; }
.plan-for { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }
.price { font-size: 2.1rem; font-weight: 760; font-stretch: 105%; line-height: 1; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.price small { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.price-alt { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; }
.plan ul { margin: 0 0 28px; padding-left: 1.2em; flex: 1; }
.plan li { margin-bottom: 8px; }
.plans-note { color: var(--muted); font-size: 0.9rem; margin-top: 16px; }

/* FAQ */
.faq { max-width: 780px; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 48px 20px 0; font-weight: 650; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; font-weight: 400; line-height: 1.2; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-right: 48px; margin: -4px 0 22px; }

/* Closing */
.closing .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.closing h2 { margin-bottom: 8px; }
.closing p { color: var(--muted); margin: 0; }

/* Footer, laid out like a title block */
.site-footer { border-top: 1.5px solid var(--ink); font-size: 0.9rem; }
.titleblock { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; }
.titleblock > div { padding: 20px 20px 24px 0; }
.titleblock > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.titleblock dt { font-size: 0.78rem; color: var(--muted); margin-bottom: 4px; }
.titleblock dd { margin: 0; }
.titleblock dl { margin: 0; }
.titleblock .logo { margin-bottom: 6px; }
.titleblock p { color: var(--muted); margin: 0; }

@media (max-width: 900px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .notes { columns: 1; }
  .offer, .plans { grid-template-columns: 1fr; }
  .offer > div + div, .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .titleblock { grid-template-columns: 1fr 1fr; }
  .titleblock > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .titleblock > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .site-nav .nav-hide { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .sheet-title, .sheet-notes { padding-left: 14px; padding-right: 14px; }
  .sheet-body { padding-left: 18px; padding-right: 18px; }
  .sheet-row { grid-template-columns: 1.1fr repeat(3, 1fr); gap: 6px; padding: 10px 6px; font-size: 0.82rem; }
  .sheet-row.sheet-head { font-size: 0.72rem; padding-bottom: 28px; }
  .cloud { --r: 8px; }
  .cloud.cell { --r: 6px; padding: 3px 4px; }
  .sheet-row .delta { right: -10px; top: -22px; }
  .schedule thead { display: none; }
  .schedule, .schedule tbody, .schedule tr, .schedule th, .schedule td { display: block; width: auto; }
  .schedule tbody th { padding-bottom: 2px; border-bottom: 0; width: auto; }
  .schedule td { padding-top: 0; }
  .site-nav { gap: 18px; }
  .titleblock { grid-template-columns: 1fr; }
  .titleblock > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .actions .btn { flex: 1 1 100%; }
}
.hero-figure { margin: 0; }
