:root {
  color-scheme: light dark;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-alt: #f3f0ea;
  --ink: #1b1a18;
  --muted: #615c53;
  --line: #e0dbd1;
  --accent: #2c5d50;
  --accent-strong: #1f473d;
  --accent-ink: #ffffff;
  --focus: #9a6b1f;
  --shadow: 0 1px 2px rgba(27, 26, 24, 0.06), 0 8px 24px rgba(27, 26, 24, 0.06);
  --radius: 10px;
  --measure: 44rem;
  --wrap: 76rem;
  --mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131518;
    --surface: #1b1e22;
    --surface-alt: #20242a;
    --ink: #ece9e3;
    --muted: #a5a096;
    --line: #30353c;
    --accent: #7fb6a4;
    --accent-strong: #9ccbba;
    --accent-ink: #10130f;
    --focus: #d9b063;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-style: solid;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}

pre,
code {
  font-family: var(--mono);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.wrap-narrow {
  max-width: var(--measure);
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.9rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 1.7rem;
  height: auto;
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.98rem;
}

.site-nav a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: underline;
}

.hero {
  padding: clamp(2.5rem, 7vw, 5rem) 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy h1 {
  margin-bottom: 0.5em;
}

.hero-copy .lead {
  max-width: 34rem;
}

.hero-panel {
  min-width: 0;
}

.screenshot {
  margin: 0;
}

.screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.section.alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-lead {
  max-width: var(--measure);
  color: var(--muted);
  margin-bottom: 2rem;
}

.section .center .section-lead {
  margin-inline: auto;
}

.section-more {
  margin-top: 1.5rem;
}

.pillars,
.card-grid,
.price-grid,
.feature-grid,
.platform-grid {
  display: grid;
  gap: 1.25rem;
}

.pillars {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.price-grid {
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  align-items: stretch;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.platform-grid {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.pillar,
.card,
.feature,
.platform,
.price-card,
.order-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.pillar h3,
.card h3,
.feature h3,
.platform h3 {
  margin-bottom: 0.4rem;
}

.card,
.feature,
.platform,
.pillar {
  margin: 0;
}

.tick-list {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
}

.tick-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

.tick-list.large li {
  font-size: 1.05rem;
}

.price-card {
  display: flex;
  flex-direction: column;
}

.price-card.commercial {
  border-color: var(--accent);
}

.price-card .tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0.2rem 0 0.8rem;
}

.price-amount .amount {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price-unit {
  color: var(--muted);
  font-size: 0.95rem;
}

.price-card .tick-list {
  flex: 1;
}

.price-card .button {
  margin-top: 1rem;
}

.price-card .evaluate {
  margin: 0.6rem 0 0;
  text-align: center;
  font-size: 0.92rem;
}

.pricing-tiers {
  margin-top: 1.5rem;
}

.tier-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.tier-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.75rem;
  background: var(--surface);
}

.tier-option {
  padding: 0.55rem 1.35rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--muted);
  user-select: none;
}

.tier-option:hover {
  color: var(--ink);
}

#tier-personal:checked ~ .tier-switch label[for="tier-personal"],
#tier-commercial:checked ~ .tier-switch label[for="tier-commercial"] {
  background: var(--accent);
  color: var(--accent-ink);
}

#tier-personal:focus-visible ~ .tier-switch label[for="tier-personal"],
#tier-commercial:focus-visible ~ .tier-switch label[for="tier-commercial"] {
  outline: 3px solid var(--focus);
  outline-offset: -3px;
}

.tier-panel {
  display: none;
}

#tier-personal:checked ~ .tier-personal,
#tier-commercial:checked ~ .tier-commercial {
  display: grid;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button-row.center {
  justify-content: center;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}

.button:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.button.primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.button.full {
  display: block;
  text-align: center;
}

.pull-quote {
  margin: 0 0 1rem;
}

.pull-quote p {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  line-height: 1.3;
  margin: 0;
}

.center p,
.pull-quote p {
  text-wrap: balance;
}

.page-head {
  padding: clamp(2.5rem, 6vw, 4rem) 0 0;
}

.page-head h1 {
  margin-bottom: 0.4em;
}

.prose-section {
  margin-bottom: 2.2rem;
}

.faq {
  margin: 0;
}

.faq dt {
  font-weight: 700;
  margin-top: 1.4rem;
}

.faq dt:first-child {
  margin-top: 0;
}

.faq dd {
  margin: 0.35rem 0 0;
}

.feature-group {
  margin-bottom: 3rem;
}

.feature-group:last-child {
  margin-bottom: 0;
}

.notice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
}

.notice p:last-child {
  margin-bottom: 0;
}

.preview-banner {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
  font-size: 0.95rem;
}

.preview-banner p {
  margin: 0;
}

.verify-list {
  margin: 1.25rem 0;
}

.verify-list > div {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.verify-list dt {
  color: var(--muted);
  font-weight: 600;
}

.verify-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.verify-commands {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  overflow-x: auto;
  margin: 0 0 1.25rem;
}

.verify-commands code {
  white-space: pre;
}

@media (max-width: 34rem) {
  .verify-list > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.checkout-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 1.4rem;
}

.fieldset legend {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  padding: 0;
}

.field {
  margin-bottom: 1.1rem;
}

.field label,
.payment-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.field input,
.payment-row input {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}

.field input[aria-invalid="true"] {
  border-color: #b4453a;
}

.field-error {
  color: #b4453a;
  font-size: 0.9rem;
  margin: 0.35rem 0 0;
}

@media (prefers-color-scheme: dark) {
  .field input[aria-invalid="true"] {
    border-color: #e08b82;
  }

  .field-error {
    color: #e08b82;
  }
}

.license-options {
  display: grid;
  gap: 0.7rem;
}

.license-option {
  display: flex;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  cursor: pointer;
  background: var(--bg);
}

.license-option:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.license-option input {
  margin-top: 0.25rem;
}

.license-option-body {
  display: block;
}

.license-option-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: baseline;
}

.license-option-name {
  font-weight: 700;
}

.license-option-price {
  font-weight: 700;
}

.license-option-summary {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.payment-mock {
  background: var(--surface-alt);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.payment-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.75rem;
}

.payment-row input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.order-total {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 1rem 0;
}

.checkout-aside {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.order-list {
  margin: 1rem 0;
}

.order-list > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}

.order-list dt {
  color: var(--muted);
}

.order-list dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-alt);
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-heading {
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

.footer-legal {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  text-align: center;
}

@media (max-width: 56rem) {
  .hero-inner,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 34rem) {
  .payment-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.compare-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
  white-space: nowrap;
}

.compare-table thead th {
  background: var(--surface-alt);
  font-weight: 700;
}

.compare-table tbody th {
  font-weight: 600;
  white-space: normal;
  min-width: 13rem;
}

.compare-table th:nth-child(2),
.compare-table td:nth-child(2) {
  background: var(--surface-alt);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  font-weight: 600;
}

.compare-table td:nth-child(2).negative {
  background: #f7e4e1;
  background: color-mix(in srgb, #b4453a 12%, transparent);
}

@media (prefers-color-scheme: dark) {
  .compare-table td:nth-child(2).negative {
    background: #3a2524;
    background: color-mix(in srgb, #e08b82 16%, transparent);
  }
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.compare-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.compare-model {
  color: var(--muted);
  font-size: 0.95rem;
}

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.1rem;
  margin-bottom: 2rem;
}

.jump-label {
  font-weight: 700;
  color: var(--muted);
  font-size: 0.9rem;
}

.client-group {
  margin-bottom: 2.5rem;
}

.client-group:last-child {
  margin-bottom: 0;
}

.client-group-heading {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 1rem;
}

.login-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1.5rem;
}

.login-card {
  width: 100%;
  max-width: 24rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin-top: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.login-card > p {
  margin-top: 0;
  color: var(--muted);
}

.login-card form {
  margin-top: 1.25rem;
}

.login-card .button {
  width: 100%;
}
