/* The Steady Sheet */
:root {
  --paper: #FBF8F1;
  --paper-2: #F4EFE4;
  --white: #FFFFFF;
  --ink: #23313A;
  --ink-soft: #56646C;
  --line: #E4DDCF;
  --teal: #1F4E5A;
  --teal-deep: #173E48;
  --teal-tint: #DCE9EC;
  --sage: #A9C5A0;
  --sage-tint: #E8F0E4;
  --cell: #FFF6D5;
  --cell-line: #E5D9A8;
  --coral: #E07A5F;
  --coral-ink: #A9472F;
  --serif: "Newsreader", "Lora", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1160px;
  --gutter: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans); font-feature-settings: "tnum" 0;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: var(--paper); padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0; font-optical-sizing: auto; }
h1 { font-size: clamp(2.35rem, 4.6vw, 3.6rem); line-height: 1.06; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); line-height: 1.12; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; line-height: 1.2; }
p { margin: 0 0 1em; }
.lede { font-size: 1.16rem; line-height: 1.55; color: var(--ink-soft); max-width: 36em; }
.fine { font-size: .875rem; color: var(--ink-soft); margin: 0; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.28rem; font-weight: 600; letter-spacing: -0.005em; }
.brand:hover { color: var(--ink); }
.logo { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: 4px 22px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--sage); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  background: var(--teal); color: var(--paper); border: 1px solid var(--teal); border-radius: 8px;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--teal-deep); color: var(--paper); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: var(--teal-tint); color: var(--teal-deep); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn-soon, .btn-soon:hover { background: transparent; color: var(--ink-soft); border: 1px dashed #B9B09D; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* The "yellow cell": prices are shown the way the workbooks show inputs */
.cell { display: inline-flex; align-items: baseline; gap: 10px; background: var(--cell); border: 1px solid var(--cell-line);
  padding: 6px 14px; border-radius: 3px; font-variant-numeric: tabular-nums; }
.cell b { font: 600 1.5rem/1.1 var(--sans); color: var(--ink); }
.cell s { color: var(--ink-soft); font-size: 1rem; text-decoration-color: var(--coral); text-decoration-thickness: 2px; }

/* Workbook window */
.sheet { margin: 0; background: var(--white); border: 1px solid #D9D2C3; border-radius: 10px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(35,49,58,.04), 0 24px 48px -30px rgba(31,78,90,.45); }
.sheet-bar { display: flex; align-items: center; gap: 14px; height: 34px; padding: 0 14px; background: #F1ECE2; border-bottom: 1px solid #E2DBCC; }
.dots { display: inline-flex; gap: 6px; flex: none; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #D6CEBD; }
.sheet-file { font-size: .78rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sheet-body { display: block; background: var(--paper); cursor: zoom-in; }
.sheet-tall { max-width: 520px; margin-inline: auto; }
.sheet-tabs { display: flex; gap: 2px; padding: 0 8px; background: #EEE9DE; border-top: 1px solid #E2DBCC; overflow: hidden; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.sheet-tabs span { flex: none; font-size: .72rem; color: var(--ink-soft); padding: 7px 10px 8px; border-top: 2px solid transparent; }
.sheet-tabs span.on { background: var(--white); color: var(--teal); font-weight: 600; border-top-color: var(--teal); }

/* Hero */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { margin-bottom: 30px; }
.hero-note { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink-soft); }
.hero-note .swatch { width: 26px; height: 18px; background: var(--cell); border: 1px solid var(--cell-line); border-radius: 2px; flex: none; }

/* Assurance strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.strip ul { list-style: none; margin: 0 auto; padding: 22px var(--gutter); max-width: var(--wrap); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 28px; }
.strip li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; line-height: 1.4; }
.strip strong { display: block; font-weight: 600; }
.strip span { color: var(--ink-soft); }
.strip svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--teal); }

/* Sections */
.section { padding: 88px 0; }
.section-head { max-width: 40em; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin: 0; }

/* Product rows */
.products { display: grid; gap: 0; }
.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.product:first-child { border-top: 0; padding-top: 0; }
.product:nth-child(even) .product-media { order: 2; }
.product-kicker { font-size: .95rem; color: var(--teal); font-weight: 600; margin: 0 0 10px; }
.product h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: 14px; }
.product h3 a { color: inherit; text-decoration: none; }
.product h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.product-pain { color: var(--ink-soft); margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 28px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .25em; width: 16px; height: 16px; border-radius: 3px; background: var(--sage-tint); border: 1px solid var(--sage); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: calc(.25em + 3px); width: 5px; height: 8px; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.buy-row { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; }
.more { font-weight: 600; font-size: .95rem; }
.buy-row .launch { font-size: .85rem; color: var(--ink-soft); width: 100%; margin-top: -4px; }

/* Bundle band */
.bundle { background: var(--teal); color: var(--paper); }
.bundle-inner { max-width: var(--wrap); margin: 0 auto; padding: 64px var(--gutter); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: center; }
.bundle h2 { color: var(--paper); margin-bottom: 14px; }
.bundle p { color: #D5E3E6; max-width: 34em; }
.bundle a { color: var(--paper); }
.bundle-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bundle-list a { display: inline-block; padding: 6px 12px; border: 1px solid rgba(251,248,241,.35); border-radius: 999px; text-decoration: none; font-size: .92rem; }
.bundle-list a:hover { background: rgba(251,248,241,.12); }
.bundle-buy { background: var(--paper); color: var(--ink); border-radius: 10px; padding: 26px; display: grid; gap: 14px; justify-items: start; }
.bundle-buy .fine { color: var(--ink-soft); }
.bundle .btn { background: var(--teal); border-color: var(--teal); color: var(--paper); }
.bundle .btn:hover { background: var(--teal-deep); }
.bundle .btn-soon, .bundle .btn-soon:hover { background: transparent; color: var(--ink-soft); border-color: #B9B09D; }

/* Steps (a real sequence) */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.steps li { counter-increment: step; border-top: 2px solid var(--teal); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; font: 500 2.4rem/1 var(--serif); color: var(--teal); margin-bottom: 12px; }
.steps h3 { font-size: 1.3rem; margin-bottom: 8px; }
.steps p { color: var(--ink-soft); margin: 0; }

/* FAQ */
.faq { max-width: 50em; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.faq .answer { padding: 0 0 22px; color: var(--ink-soft); max-width: 42em; }
.faq .answer p:last-child { margin: 0; }

/* Contact */
.contact { padding: 72px 0 96px; }
.contact-box { border: 1px solid var(--line); background: var(--white); border-radius: 10px; padding: 36px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.contact-box h2 { margin-bottom: 8px; font-size: 1.8rem; }
.contact-box p { margin: 0; color: var(--ink-soft); }

/* Product pages */
.crumbs { font-size: .9rem; color: var(--ink-soft); padding-top: 28px; }
.crumbs a { color: var(--ink-soft); }
.p-hero { padding: 28px 0 72px; }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.p-hero h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 18px; }
.p-hero .lede { margin-bottom: 26px; }
.p-buy { display: grid; gap: 14px; justify-items: start; padding: 22px 0 0; border-top: 1px solid var(--line); }
.p-buy ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 4px; font-size: .9rem; color: var(--ink-soft); }
.p-buy li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); margin-right: 9px; vertical-align: 2px; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 56px; }
.feature h3 { font-size: 1.28rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.split.flip .split-media { order: 2; }
.split h2 { margin-bottom: 14px; }
.split p { color: var(--ink-soft); }
.for-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.for-list li { padding-left: 18px; border-left: 3px solid var(--sage); }
.for-list strong { display: block; color: var(--ink); }
.for-list span { color: var(--ink-soft); }
.tabs-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); font-size: .97rem; }
.tabs-table th, .tabs-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tabs-table thead th { background: var(--teal); color: var(--paper); font-weight: 600; font-size: .9rem; }
.tabs-table tbody th { font-weight: 600; white-space: nowrap; width: 1%; }
.tabs-table tbody tr:nth-child(even) { background: #FCFBF7; }
.tab-chip { display: inline-block; white-space: nowrap; padding: 2px 9px; border-radius: 3px 3px 0 0; border-top: 2px solid var(--teal); background: var(--paper-2); font-size: .9rem; }
.note { border-left: 3px solid var(--coral); background: #FDF0EB; padding: 14px 18px; color: var(--ink); font-size: .95rem; max-width: 50em; border-radius: 0 6px 6px 0; }
.band-soft { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Prose pages */
.prose { max-width: 42em; padding: 48px 0 88px; }
.prose h1 { font-size: clamp(2.1rem, 4vw, 3rem); margin-bottom: 12px; }
.prose h2 { font-size: 1.55rem; margin: 2em 0 .5em; }
.prose .updated { color: var(--ink-soft); font-size: .92rem; margin-bottom: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* Footer */
.site-foot { background: var(--ink); color: #C9D1D4; padding: 56px 0 40px; font-size: .93rem; }
.site-foot a { color: #E9EEEF; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; color: #fff; }
.site-foot .brand { color: #F4F1EA; margin-bottom: 12px; }
.site-foot .logo rect { fill: #2D6574; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; }
.site-foot nav { display: grid; gap: 8px; align-content: start; }
.site-foot nav h2 { font: 600 .95rem/1.4 var(--sans); color: #fff; margin-bottom: 4px; }
.foot-fine { grid-column: 1 / -1; border-top: 1px solid #3A4A54; padding-top: 22px; margin: 8px 0 0; font-size: .84rem; color: #A9B5BA; max-width: 60em; }

/* 404 */
.lost { padding: 96px 0 120px; max-width: 36em; }
.lost h1 { margin-bottom: 16px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .p-hero-grid, .product, .split, .bundle-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .product:nth-child(even) .product-media, .split.flip .split-media { order: 0; }
  .strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero { padding: 40px 0 52px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .product { padding: 44px 0; }
  .strip ul { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .features { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .contact-box { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; }
  .head-row { padding-top: 10px; padding-bottom: 10px; gap: 6px 16px; }
  .nav { gap: 2px 18px; }
  .nav a { font-size: .92rem; }
  .tabs-table th, .tabs-table td { padding: 10px 12px; }
  .tabs-table tbody th { width: 1%; }
  .tab-chip { font-size: .82rem; padding: 2px 7px; }
  .bundle-inner { padding: 52px var(--gutter); }
  .sheet-bar { height: 30px; }
  .btn { padding: 0 18px; }
}
