@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --navy: #0a2239;
  --ocean: #0c7c72;
  --brass: #b68632;
  --deck: #eef2f6;
  --seafoam: #83edd9;
  --night-muted: #c9dde6;
  --night-line: #446777;
  --canvas: var(--deck);
  --paper: #ffffff;
  --ivory: #fffcf4;
  --well: #e1eaef;
  --ink: var(--navy);
  --muted: #526479;
  --link: #075950;
  --gold-ink: #795512;
  --rule: #c6d2de;
  --focus: #075950;
  --shadow: 0 4px 12px rgb(10 34 57 / 7%), 0 1px 2px rgb(10 34 57 / 4%);
  --shell: 72rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --section: clamp(3.5rem, 7vw, 6rem);
  --radius: 1rem;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font: 1rem/1.55 "Instrument Sans", system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}

img { display: block; max-width: 100%; }
a {
  color: var(--link);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.07em;
}
a:hover { text-decoration-thickness: 0.12em; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
::selection { color: var(--navy); background: var(--seafoam); }

h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.032em; }
h1 { font-size: clamp(2.75rem, 6vw, 5.25rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.06; }
h3 { font-size: clamp(1.375rem, 2.6vw, 2rem); line-height: 1.18; }
p, h1, h2, h3, dd, th, td { overflow-wrap: anywhere; }

.shell { width: min(calc(100% - var(--gutter) * 2), var(--shell)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-intro { max-width: 44rem; margin-block-end: clamp(1.75rem, 4vw, 3rem); }
.section-intro > * + * { margin-block-start: 0.75rem; }
.section-intro p { color: var(--muted); max-width: 47ch; font-size: 1.0625rem; }

.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 5;
  inset: 0.5rem auto auto 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--navy);
  background: var(--seafoam);
}

.site-head, .site-foot, .hero, .cost-section, .switch-hero {
  --focus: var(--seafoam);
  color: #f4f8fa;
  background-color: var(--navy);
}
.site-head { border-block-end: 1px solid var(--night-line); }
.site-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding-block: 0.75rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 44px;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand img { border-radius: 0.625rem; }
.site-bar nav, .site-foot nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.25rem; }
.site-bar nav a, .site-foot nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: 0.625rem;
  border-radius: 0.5rem;
  color: var(--night-muted);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}
.site-bar nav a:hover, .site-foot nav a:hover, nav a[aria-current="page"] {
  background: rgb(131 237 217 / 12%);
  color: #ffffff;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: radial-gradient(ellipse at 78% 47%, #14535e, var(--navy) 69%);
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: -24% -32% -12% 30%;
  content: "";
  background: repeating-radial-gradient(ellipse at 65% 45%, transparent 0 33px, rgb(131 237 217 / 13%) 34px 35px, transparent 36px 56px);
  transform: rotate(-19deg);
  opacity: 0.45;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 2.5rem;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
.hero-copy { max-width: 42rem; }
.hero h1 span { display: block; }
.hero h1 span + span { color: var(--seafoam); }
.hero-intro {
  max-width: 37ch;
  margin-block-start: 1.25rem;
  color: var(--night-muted);
  font-size: clamp(1.0625rem, 1.9vw, 1.375rem);
}
.actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block-start: 1.75rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  min-height: 48px;
  max-width: 100%;
  padding: 0.625rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.button-seafoam { color: #06212b; background: var(--seafoam); }
.button-seafoam:hover { background: #b4f5e8; }
.button-placeholder { color: var(--night-muted); border-color: #62858e; background: rgb(4 23 39 / 34%); }
.button-primary { color: #ffffff; background: var(--ocean); }
.button-primary:hover { background: #075950; }
.hero-note { margin-block-start: 0.75rem; color: var(--night-muted); font-size: 0.9375rem; }
.arrow { position: relative; display: inline-block; flex: 0 0 1rem; width: 1rem; height: 1rem; }
.arrow::before, .arrow::after { position: absolute; content: ""; }
.arrow::before { inset: 0.4375rem 0.1875rem auto 0.0625rem; border-block-start: 2px solid currentColor; }
.arrow::after { inset: 0.25rem 0.1875rem auto auto; width: 0.375rem; height: 0.375rem; border-block-start: 2px solid; border-inline-end: 2px solid; transform: rotate(45deg); }

.hero-visual, .pricing-visual { justify-self: center; width: min(100%, 16.5rem); }
.device {
  padding: 0.375rem;
  overflow: hidden;
  border: 1px solid #6a8a98;
  border-radius: 2rem;
  background: #142c3c;
  box-shadow: 0 20px 32px rgb(0 13 29 / 25%), inset 0 1px 0 #96b4bc;
}
.device img { width: 100%; height: auto; border-radius: 1.625rem; }

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.workflow-step {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
  padding-block-start: 1.25rem;
  border-block-start: 1px solid var(--rule);
}
.step-number {
  display: inline-block;
  margin-block-end: 0.625rem;
  color: var(--gold-ink);
  font-size: 0.875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.step-copy p { max-width: 53ch; margin-block-start: 0.5rem; color: var(--muted); }
.shot-window {
  display: grid;
  place-items: center;
  min-height: 13.75rem;
  height: clamp(13.75rem, 25vw, 20rem);
  padding: 1rem 1rem 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 50% 95%, #cedfe3, transparent 74%), var(--well);
}
.shot-window img {
  width: min(90%, 16.5rem);
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 50% 0%;
  border: 1px solid #9baeb9;
  border-radius: 0.875rem 0.875rem 0 0;
  box-shadow: 0 8px 18px rgb(10 34 57 / 16%);
}
.signature-shot img { object-position: 50% 68%; }
.invoice-shot img { object-position: 50% 70%; }
.field-record {
  margin: 0;
  padding: 0.25rem 1rem;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.field-record > div { padding-block: 0.875rem; }
.field-record > div + div { border-block-start: 1px solid var(--rule); }
.field-record dt { font-weight: 700; }
.field-record dd { margin-inline-start: 0; color: var(--muted); }

.cost-section { background-image: radial-gradient(ellipse at 86% 4%, #164a58, transparent 64%); }
.cost-section .section-intro p, .cost-assumptions, .range-endpoints { color: var(--night-muted); }
.cost-section a { color: var(--seafoam); }
.cost-grid { display: grid; gap: 1rem; }
.cost-controls, .cost-results {
  min-width: 0;
  margin: 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--night-line);
  border-radius: var(--radius);
  background: rgb(4 23 39 / 42%);
}
.rate-label, .cost-row, .cost-savings {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
}
.rate-label label { font-weight: 700; }
.rate-label strong { color: var(--seafoam); font-size: 1.375rem; white-space: nowrap; }
.rate-label small, .cost-option small { padding-inline-start: 0.25rem; color: var(--night-muted); font-size: 0.875rem; }
.cost-controls input { margin: 0; accent-color: var(--seafoam); }
.cost-controls input[type="range"] { display: block; width: 100%; min-height: 44px; cursor: pointer; }
.cost-controls input[type="checkbox"] { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.range-endpoints { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.875rem; }
.cost-option {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 44px;
  margin-block-start: 0.75rem;
  padding-block: 0.5rem;
  cursor: pointer;
}
.cost-row strong, .rate-label strong, .cost-savings output, .plan strong { font-variant-numeric: tabular-nums; }
.cost-row strong { font-size: 1.25rem; }
.cost-track { margin-block: 0.375rem 0.875rem; border-radius: 8px; background: #355969; }
.cost-track span { display: block; min-width: 2px; width: 100%; height: 0.375rem; border-radius: inherit; background: #a6c2cf; }
.cost-track-dock span { width: var(--dock-share, 2.57%); background: var(--seafoam); }
.cost-savings {
  padding-block-start: 0.75rem;
  border-block-start: 1px solid var(--night-line);
  font-weight: 600;
}
.cost-savings output { color: var(--seafoam); font-size: 1.75rem; font-weight: 700; }
.cost-assumptions { max-width: 76ch; margin-block-start: 1rem; font-size: 0.9375rem; }
.cost-switch { margin-block-start: 1rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-weight: 700;
}
.pricing-grid { display: grid; align-items: center; gap: 2rem; }
.pricing-visual { width: min(100%, 15.25rem); }
.plan-ledger {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
}
.plan { padding: 1rem; }
.plan + .plan { border-block-start: 1px solid var(--rule); }
.plan dt { font-weight: 700; font-size: 1.125rem; }
.plan dd { margin: 0; }
.plan strong { display: block; margin-block-start: 0.25rem; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; }
.plan strong small { font-size: 0.875rem; font-weight: 600; }
.plan p { margin-block-start: 0.5rem; color: var(--muted); }
.plan-solo { color: #f4f8fa; background: linear-gradient(114deg, var(--navy), #124c57); }
.plan-solo p { color: var(--night-muted); }
.plan-solo strong { color: var(--seafoam); }
.plan-studio { background: var(--ivory); }
.plan + .plan-studio { border-block-start-color: color-mix(in srgb, var(--brass) 48%, var(--rule)); }
.plan-studio strong { color: var(--gold-ink); }
.pricing-note { margin-block: 1rem; color: var(--muted); font-size: 0.9375rem; }

.faq-section { background: var(--paper); border-block-start: 1px solid var(--rule); }
.faq-grid { display: grid; gap: 1.5rem; }
.faq-grid .section-intro { margin: 0; }
.topics { border-block-start: 1px solid var(--rule); }
.topics details { border-block-end: 1px solid var(--rule); }
.topics summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1rem;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.75rem 0.75rem 0.75rem 0.875rem;
  border-radius: 0.375rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.topics summary::-webkit-details-marker { display: none; }
.topics summary::after {
  justify-self: center;
  width: 0.5rem;
  height: 0.5rem;
  border-inline-end: 2px solid var(--link);
  border-block-end: 2px solid var(--link);
  transform: rotate(45deg) translate(-2px, -2px);
  content: "";
}
.topics summary:hover { background: var(--well); }
.topics details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.topics details p { padding: 0.25rem 0.875rem 1rem; color: var(--muted); }

.site-foot { padding-block: 1.5rem; border-block-start: 1px solid var(--night-line); }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem 1rem; }
.foot-brand { font-size: 1.125rem; font-weight: 700; }
.foot-grid p { margin-block-start: 0.25rem; color: var(--night-muted); font-size: 0.875rem; }
.site-foot nav a:first-child { padding-inline-start: 0; }

.document { max-width: 47rem; padding-block: var(--section); }
.document h1 { font-size: clamp(2.375rem, 6vw, 4rem); }
.document .intro { margin-block-start: 1rem; color: var(--muted); font-size: 1.125rem; }
.document h2 { margin-block: 2rem 0.75rem; font-size: clamp(1.375rem, 2.8vw, 2rem); }
.document > p + p { margin-block-start: 0.875rem; }
.document ol { margin: 1rem 0 0; padding-inline-start: 1.5rem; }
.document li + li { margin-block-start: 0.5rem; }
.document .support { margin-block-start: 1.5rem; }
.document code { overflow-wrap: anywhere; }

.switch-hero { background-image: radial-gradient(ellipse at 82% 65%, #164a58, transparent 70%); }
.switch-hero h1 { max-width: 14ch; }
.switch-hero p { max-width: 50ch; margin-block-start: 1rem; color: var(--night-muted); font-size: 1.125rem; }
.switch-hero .button { margin-block-start: 1.25rem; }
.comparison {
  width: 100%;
  border-spacing: 0;
  table-layout: fixed;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: start;
}
.comparison th, .comparison td {
  padding: clamp(0.625rem, 2vw, 1rem);
  vertical-align: top;
  text-align: start;
}
.comparison thead { color: #ffffff; background: var(--navy); }
.comparison thead th:first-child { width: 24%; }
.comparison tbody th, .comparison tbody td { border-block-start: 1px solid var(--rule); }
.comparison tbody td:last-child { color: var(--muted); }
.comparison-note { margin-block-start: 0.75rem; color: var(--muted); }
.move-section { background: var(--paper); border-block-start: 1px solid var(--rule); }
.move-list { display: grid; gap: 1rem; margin: 0 0 1.5rem; padding-inline-start: 1.5rem; }
.move-list li { padding-inline-start: 0.25rem; }
.move-list li::marker { color: var(--gold-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.move-list h3 { font-size: 1.25rem; }
.move-list p { max-width: 65ch; margin-block-start: 0.375rem; color: var(--muted); }

@media (min-width: 40rem) {
  .workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .workflow-step .shot-window, .workflow-step .field-record { margin-block-start: auto; }
  .cost-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); }
  .plan { padding-inline: 1.25rem; }
}
@media (min-width: 52rem) {
  .site-bar { padding-block: 0.875rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr); }
  .hero-visual { width: min(100%, 18rem); }
  .pricing-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
  .faq-grid { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr); gap: 3rem; }
  .move-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
}
@media (max-width: 27rem) {
  .site-bar nav { width: 100%; }
  .site-bar nav a { padding-inline: 0.5rem; }
  .actions > * { width: 100%; }
  .comparison { font-size: 0.875rem; }
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #07111c;
    --paper: #0f1d2c;
    --ivory: #101e2b;
    --well: #16283b;
    --ink: #f2f6fa;
    --muted: #adbfd0;
    --link: #70f0d7;
    --gold-ink: #e2b866;
    --rule: #42566d;
    --focus: #83edd9;
    --shadow: none;
  }
  .shot-window { background: var(--well); }
}
@media (prefers-contrast: more) {
  :root { --shadow: none; }
  .shot-window, .field-record, .plan-ledger, .cost-controls, .cost-results { border: 2px solid currentColor; }
  .hero::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
