:root {
  --bg: #ffffff;
  --ink: #111827;
  --ink-2: #374151;
  --muted: #4b5563;
  --border: #d1d5db;
  --border-strong: #9ca3af;
  --accent: #14452f;
  --accent-hover: #0d3020;
  --err: #991b1b;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  font-style: normal !important;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent-hover);
}

.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
  background: var(--bg);
}

.wrap-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  background: var(--bg);
}

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  display: block;
  height: 32px;
  width: auto;
}

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

.top-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.top-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
}

/* Main */
main {
  background: var(--bg);
  padding-bottom: 56px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(300px, 1.15fr);
  gap: 36px 40px;
  align-items: center;
  padding: 56px 0 40px;
  border-bottom: 0;
  background: var(--bg);
}

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

.hero-product {
  margin: 0;
  min-width: 0;
}

.hero-product img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
}

.product-row {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px 24px;
  margin: 0;
  padding: 8px 0 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.product-row li {
  margin: 0;
  padding: 0;
  color: var(--ink);
}

.product-row img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 373;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
}

.product-row span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

h1 {
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 16px;
}

.page-head {
  padding: 48px 0 28px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.page-head h1 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 10px;
}

.lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 640px;
  margin: 0;
}

.hero .lead {
  margin-bottom: 28px;
}

h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 40px 0 16px;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin: 24px 0 6px;
}

p, li {
  color: var(--ink-2);
  margin: 0 0 14px;
}

ul, ol {
  padding-left: 20px;
  margin: 0 0 18px;
}

li {
  margin-bottom: 8px;
}

/* Primary button & Dropdown */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  background: var(--accent);
  color: #ffffff;
  border: 1px solid var(--accent);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #ffffff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.action-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 300px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 6px 0;
  z-index: 20;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.dropdown-menu[hidden] {
  display: none;
}

.dropdown-menu a {
  display: block;
  padding: 11px 16px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
}

.dropdown-menu a:last-child {
  border-bottom: 0;
}

.dropdown-menu a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Spec list (Homepage below fold) */
.spec-section {
  padding: 40px 0 32px;
  background: var(--bg);
}

.spec-section h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
}

.spec-list li {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px 32px;
  padding: 16px 0;
  margin: 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.spec-term {
  font-weight: 600;
  color: var(--ink);
}

.spec-desc {
  color: var(--ink-2);
}

.contact-strip {
  padding: 28px 0 8px;
  font-size: 15px;
  color: var(--ink-2);
}

/* Catalog Table (Pricing) */
.catalog-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  background: var(--bg);
}

.catalog-table th,
.catalog-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.catalog-table th {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-bottom: 1px solid var(--border-strong);
}

.catalog-table td.item-name {
  font-weight: 600;
  color: var(--ink);
  width: 34%;
}

.catalog-table td.item-price {
  font-weight: 700;
  color: var(--ink);
  width: 24%;
  white-space: nowrap;
}

.catalog-table td.item-detail {
  color: var(--ink-2);
}

.cta-row {
  margin-top: 28px;
}

/* Order & Form Box */
.panel {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 24px;
  margin: 28px 0 20px;
}

.tier-options {
  display: grid;
  gap: 10px;
  margin: 12px 0 22px;
}

.tier-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  cursor: pointer;
  margin: 0;
  font-weight: 500;
  color: var(--ink);
}

.tier-option:has(input:checked) {
  border-color: var(--accent);
}

.tier-option-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tier-option input[type="radio"] {
  width: auto;
  margin: 0;
  accent-color: var(--accent);
}

.order-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.order-summary-title {
  font-weight: 600;
  color: var(--ink);
}

.order-summary-sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px;
}

.order-summary-amount {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.small-print {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 16px 0 0;
}

.small-print p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 8px;
}

/* Standard Forms */
form.plain-form {
  margin-top: 20px;
  background: var(--bg);
}

label.field-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 16px 0 6px;
}

input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--bg);
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.msg {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.msg.err {
  color: var(--err);
}

/* Quiz */
fieldset.quiz-q {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 18px;
  margin: 0 0 16px;
  background: var(--bg);
  min-inline-size: 0;
}

fieldset.quiz-q legend {
  float: left;
  width: 100%;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  padding: 0;
  margin: 0 0 8px;
}

fieldset.quiz-q legend + * {
  clear: both;
}

fieldset.quiz-q::after {
  content: "";
  display: table;
  clear: both;
}

label.opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
  font-size: 15px;
  color: var(--ink-2);
  cursor: pointer;
}

label.opt input {
  width: auto;
  margin-top: 4px;
  accent-color: var(--accent);
}

.result-box {
  display: none;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 24px;
  margin-top: 24px;
  background: var(--bg);
}

.result-box.show {
  display: block;
}

.score-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}

/* Legal */
.legal-meta {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 24px 0 48px;
  font-size: 14px;
  color: var(--muted);
}

.footer-brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  color: var(--muted);
}

.footer-brand img {
  display: block;
  height: 24px;
  width: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 0 32px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }
  .product-row {
    grid-template-columns: 1fr;
  }
  .spec-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .catalog-table td.item-price {
    white-space: normal;
  }
}

body.home .wrap {
  max-width: 1080px;
}

/* ===== Alive layer (brand palette, photos, accent cards) ===== */
:root {
  --green: #1e4a37;
  --green-hover: #153728;
  --orange: #d6785a;
  --orange-cta: #b5532f;
  --orange-cta-hover: #9c4526;
  --cream: #f5efe3;
  --sage: #e4ece5;
  --peach: #f9e7de;
  --ink: #1b2a23;
  --ink-2: #3a4740;
  --muted: #5a665f;
  --border: #dfe3df;
  --accent: #1e4a37;
  --accent-hover: #153728;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --shadow: 0 18px 40px rgba(30, 74, 55, 0.14), 0 2px 6px rgba(30, 74, 55, 0.08);
}

h1, h2, .tile-label, .score-num {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--green);
}
h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.08; }
h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
h3 { color: var(--green); }

/* Header */
.site-header { border-bottom: 1px solid var(--border); }
.header-inner { min-height: 76px; }
.top-nav { gap: 28px; }
.top-nav a { color: var(--ink); }
.top-nav a[href="/order"] {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--green);
  color: var(--green);
  font-weight: 600;
}
.top-nav a[href="/order"]:hover,
.top-nav a[href="/order"][aria-current="page"] {
  background: var(--green);
  color: #fff;
  text-decoration: none;
}

/* Buttons */
.btn-primary {
  background: var(--orange-cta);
  border-color: var(--orange-cta);
  border-radius: 999px;
  min-height: 52px;
  padding: 0 28px;
  font-size: 16px;
  box-shadow: 0 6px 16px rgba(181, 83, 47, 0.25);
}
.btn-primary:hover { background: var(--orange-cta-hover); border-color: var(--orange-cta-hover); }
.btn-secondary { border-radius: 999px; }
.dropdown-menu { border-radius: 14px; border-color: var(--border); padding: 8px; box-shadow: var(--shadow); }
.dropdown-menu a { border-radius: 8px; border-bottom: 0; }
.dropdown-menu a:hover { background: var(--sage); color: var(--green); text-decoration: none; }

/* Home layout */
body.home .wrap { max-width: 1200px; }
.home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0 88px;
}
.home-hero .lead { font-size: 19px; margin-bottom: 32px; max-width: 520px; }
.photo-label {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--green);
  background: transparent;
  margin: 0 0 8px;
  padding: 0;
}
.hero-visual { position: relative; margin: 0; }
.hero-visual::before { content: none; }
.hero-photo {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top left;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
}
.hero-card {
  position: static;
  left: auto;
  bottom: auto;
  width: 100%;
  max-width: 100%;
  margin: 20px 0 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.hero-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top left;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  background: var(--peach);
  border-radius: 999px;
  padding: 4px 12px;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero-card .chip { position: absolute; top: -14px; right: 16px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); }

/* Product tiles */
.tiles {
  list-style: none;
  padding: 0;
  margin: 0 0 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tile {
  margin: 0;
  border-radius: 22px;
  padding: 26px 26px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tile-sage,
.tile-peach,
.tile-cream {
  background: #fff;
  border: 1px solid var(--border);
}
.tile-label { font-size: 24px; margin: 0 0 20px; line-height: 1.2; display: flex; align-items: center; gap: 12px; }
.tile-icon {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: #fff;
  color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
}
.tile img {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top left;
  margin-top: auto;
  border-radius: 12px 12px 0 0;
  box-shadow: none;
  border: 1px solid var(--border);
  border-bottom: 0;
  background: #fff;
}

/* Covers */
.covers {
  display: block;
  max-width: 720px;
  margin-bottom: 96px;
}
.covers-visual { position: relative; margin: 0 40px 40px 0; }
.covers-visual::before {
  content: "";
  position: absolute;
  inset: -24px 40px 40px -24px;
  background: var(--peach);
  border-radius: 28px;
}
.covers-main {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
}
.covers-inset {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 52%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
}
.covers h2 { margin: 0 0 28px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--sage);
  color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
}
.feature-list li:nth-child(2n) .feature-icon { background: var(--peach); color: var(--orange-cta); }
.feature-term { display: block; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.feature-desc { display: block; color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* Contact band */
.band {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 24px;
}
.band-copy { padding: 56px; }
.band h2 { color: var(--green); margin: 0 0 12px; }
.band p { color: var(--ink-2); font-size: 17px; margin: 0 0 28px; }
.band .btn-primary { box-shadow: none; }

/* Footer */
.site-footer { border-top: 0; background: #fff; }
.site-footer .footer-inner { border-top: 1px solid var(--border); padding-top: 24px; }

/* Pricing */
.pricing-head {
  display: block;
  padding: 56px 0 40px;
}
.pricing-head .lead { font-size: 19px; }
.pricing-photo-wrap { position: relative; margin: 0 24px 24px 0; }
.pricing-photo-wrap::before { content: none; }
.pricing-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 60%;
  border-radius: 20px;
}
.plan-cards {
  list-style: none; padding: 0; margin: 8px 0 32px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.plan-cards li { margin: 0; padding: 26px; border-radius: 20px; }
.plan-cards .plan-size { display: block; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.plan-cards .plan-price { display: block; font-family: var(--serif); font-size: 40px; line-height: 1.1; color: var(--green); }
.plan-cards .plan-price small { font-family: var(--sans); font-size: 15px; color: var(--muted); font-weight: 500; }
.catalog-wrap { border: 1px solid var(--border); border-radius: 20px; overflow: hidden; margin: 0 0 32px; }
.catalog-wrap .catalog-table { margin: 0; }
.catalog-table th { background: var(--cream); color: var(--green); border-bottom: 0; padding: 16px 20px; }
.catalog-table td { padding: 16px 20px; border-bottom: 1px solid var(--border); }
.catalog-table tr:last-child td { border-bottom: 0; }
.catalog-table td.item-price { color: var(--green); }
.cta-card {
  display: flex; align-items: center; justify-content: flex-start; gap: 24px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 28px 32px; margin-bottom: 24px;
}
.cta-card .tile-label { margin: 0; }
.page-head { border-bottom: 0; }

@media (max-width: 960px) {
  .home-hero, .covers, .band, .pricing-head { grid-template-columns: 1fr; }
  .home-hero { padding: 40px 0 72px; gap: 40px; }
  .hero-visual { margin: 0; }
  .hero-card { position: static; left: auto; bottom: auto; width: 100%; max-width: 100%; margin-top: 20px; padding: 0; box-shadow: none; }
  .tiles, .plan-cards { grid-template-columns: 1fr; }
  .covers { gap: 56px; }
  .covers-visual { margin: 24px 24px 32px 16px; }
  .covers-visual::before { inset: -16px 24px 24px -16px; }
  .covers-main { aspect-ratio: 4 / 3; }
  .covers-inset { right: -16px; bottom: -32px; width: 48%; }
  .band-copy { padding: 36px 28px; }
  .band-photo { min-height: 240px; max-height: 300px; }
  .pricing-head { padding: 36px 0 24px; gap: 32px; }
}
@media (max-width: 640px) {
  .header-inner { flex-direction: row; flex-wrap: wrap; gap: 12px 16px; }
  .top-nav { gap: 10px 18px; font-size: 14px; }
  .top-nav a { font-size: 14px; }
  .top-nav a[href="/order"] { padding: 6px 14px; }
  h1 { font-size: 38px; }
  .tile { padding: 22px 22px 0; }
  .catalog-table thead { display: none; }
  .catalog-table, .catalog-table tbody, .catalog-table tr, .catalog-table td { display: block; width: 100% !important; }
  .catalog-table tr { padding: 14px 18px; border-bottom: 1px solid var(--border); }
  .catalog-table tr:last-child { border-bottom: 0; }
  .catalog-table td { padding: 2px 0; border: 0; }
  .cta-card { padding: 24px; }
}
.hero-photo, .covers-main, .covers-inset, .pricing-photo { height: auto; }
.home-hero h1 { font-size: clamp(38px, 4.4vw, 54px); }
.hero-photo { aspect-ratio: auto; object-fit: contain; object-position: top left; }
.hero-card { position: static; width: 100%; max-width: 100%; left: auto; bottom: auto; margin-top: 20px; padding: 0; box-shadow: none; }
@media (max-width: 960px) {
  .hero-card { position: static; left: auto; bottom: auto; width: 100%; max-width: 100%; margin-top: 20px; padding: 0; box-shadow: none; }
}
@media (max-width: 640px) {
  .header-inner { padding: 14px 20px; }
  .home-hero h1 { font-size: 36px; }
  .band .btn-primary { white-space: nowrap; font-size: 15px; padding: 0 22px; }
  .band-copy { padding: 32px 24px; }
}
@media (max-width: 640px) {
  .hero-photo { aspect-ratio: auto; object-fit: contain; object-position: top left; height: auto; }
  .hero-card { position: static; width: 100%; max-width: 100%; bottom: auto; left: auto; padding: 0; margin-top: 20px; box-shadow: none; }
  .home-hero { padding-bottom: 72px; }
}
.panel { border-radius: 20px; border-color: var(--border); }
fieldset.quiz-q, .result-box { border-radius: 16px; }
.tier-option { border-radius: 12px; }

/* iOS layout-viewport fix (Nov 26, 2026): product screenshots
   (payments.webp and dues-ledger.webp at 1280px, plus 800px ledger
   images) used width: 112% / max-width: none, so their intrinsic size
   widened the page past the 960px breakpoint on iPhone. Phones then
   got the desktop two-column hero (headline in a narrow left column,
   blank right strip, zoomed-out view). Keep the tile screenshot hang;
   prevent those images from expanding the page. */
html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}
body {
  overflow-x: clip;
  max-width: 100%;
}
img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}
.home-hero,
.hero-visual,
.hero-card,
.hero-card img,
.hero-photo,
.tiles,
.tile,
.tile img,
.covers,
.covers-visual,
.covers-main,
.covers-inset,
.band,
.pricing-head,
.pricing-photo-wrap,
.pricing-photo,
.catalog-wrap,
.plan-cards,
.cta-card,
.header-inner,
.top-nav,
.wrap,
.wrap-narrow {
  min-width: 0;
}
.tile img {
  min-width: 0;
  max-width: 100%;
  width: 100%;
}
.catalog-wrap {
  max-width: 100%;
  overflow-x: auto;
}
.catalog-table {
  width: 100%;
  max-width: 100%;
}
@media (max-width: 640px) {
  .header-inner {
    padding: 14px 24px;
  }
  .dropdown-menu {
    min-width: 0;
    max-width: calc(100vw - 48px);
  }
  .band .btn-primary {
    white-space: normal;
    text-align: center;
  }
}

/* Mobile nav + hero column alignment (Nov 26, 2026, iPhone follow-up):
   1) Nav row was flush to or clipped at the left edge on iPhone.
      Put the 24px inset on the header itself and let the nav wrap
      in a full-width row under the logo, same inset as the text.
   2) Hero visual used a leftover left/right margin (40px desktop,
      20px at 960px) plus a decorative ::before that hangs past the
      right edge, so the photo started inset and overflowed. On
      small screens, the photo is 100% of the text column. */
@media (max-width: 640px) {
  .site-header {
    padding-left: 24px;
    padding-right: 24px;
  }
  .wrap.header-inner,
  .header-inner {
    padding: 14px 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .top-nav {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    gap: 10px 18px;
  }
  .top-nav a {
    flex: 0 1 auto;
    min-width: 0;
  }
}
@media (max-width: 960px) {
  .hero-visual {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }
  .hero-visual::before {
    inset: 36px 0 -28px 36px;
  }
  .hero-photo {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: block;
  }
  .hero-card {
    position: static;
    left: auto;
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
    padding: 0;
    box-shadow: none;
  }
  .pricing-photo-wrap {
    margin: 0 auto 24px;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }
  .pricing-photo-wrap::before {
    inset: 24px 0 -24px 24px;
  }
  .pricing-photo {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: block;
  }
}

/* iPhone Chrome robustness (Nov 27, 2026):
   iOS Chrome was still serving a 7-day-cached stylesheet (green
   button, unpadded nav, offset hero). HTML cache-busts styles.css
   with ?v=hash. These rules also force, at small widths: nav wraps
   inside the same 24px inset as the text, header is full width, and
   the hero photo is 100% of the column with no offset. */
@media (max-width: 960px) {
  .site-header {
    width: 100%;
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }
  .wrap.header-inner,
  .header-inner {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }
  .top-nav {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  .home-hero .hero-visual,
  .hero-visual {
    margin: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
    left: auto;
    right: auto;
    transform: none;
    overflow-x: clip;
  }
  .hero-photo {
    width: 100%;
    max-width: 100%;
    margin: 0;
    left: auto;
    right: auto;
    transform: none;
    display: block;
  }
  .hero-card {
    position: static;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
    padding: 0;
    box-shadow: none;
  }
}
@media (max-width: 640px) {
  .site-header {
    padding-left: 24px;
    padding-right: 24px;
  }
  .wrap.header-inner,
  .header-inner {
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 0;
    padding-right: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 12px;
  }
  .top-nav {
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .hero-photo {
    aspect-ratio: auto;
    object-position: top left;
    object-fit: contain;
    height: auto;
  }
  .hero-card {
    position: static;
    width: 100%;
    max-width: 100%;
    left: auto;
    bottom: auto;
    margin-top: 20px;
    padding: 0;
    box-shadow: none;
  }
}


/* LegalZoom-style homepage choice boxes (Nov 27, 2026). White surface, no italics. */
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
  max-width: 420px;
}
.choice-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 124px;
  padding: 14px 14px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  font-style: normal !important;
  box-sizing: border-box;
  min-width: 0;
}
.choice-card:hover,
.choice-card:focus {
  border-color: var(--green);
  color: var(--green);
  text-decoration: none;
  outline: none;
}
.choice-label {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  font-style: normal !important;
}
.choice-icon {
  align-self: flex-end;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
@media (max-width: 640px) {
  .choice-grid {
    max-width: 100%;
    gap: 10px;
  }
  .choice-card { min-height: 120px; }
  .choice-label { font-size: 15px; }
}

/* Resource articles */
.note,
.article-cta {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 18px;
  margin: 24px 0;
  background: var(--bg);
}

.note p:first-child,
.article-cta p:first-child {
  margin-top: 0;
}

.note p:last-child,
.article-cta p:last-child {
  margin-bottom: 0;
}

.article-cta h2 {
  margin-top: 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  background: var(--bg);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--bg);
}

.table-wrap th,
.table-wrap td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
  background: var(--bg);
}

.related ul {
  padding-left: 1.2em;
}

.resource-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.resource-list li {
  margin: 0 0 20px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--border);
}

.resource-list li:last-child {
  border-bottom: 0;
}

.resource-list a {
  font-weight: 600;
  text-decoration: none;
}

.resource-list a:hover {
  text-decoration: underline;
}

.resource-list p {
  margin: 6px 0 0;
  color: var(--ink-2);
}

.kit-tools li.cb {
  list-style: none;
  margin-left: 0;
}

.kit-fill {
  border-bottom: 1px solid var(--border);
  min-height: 22px;
  margin: 0 0 6px;
}

.kit-download {
  margin: 0 0 24px;
}
