/* Sections below the hero. Same tokens as landing.css. */

[hidden] { display: none !important; }

.rd-sr {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- header nav ---------- */
.header-nav { display: flex; gap: 4px; margin-left: auto; margin-right: 12px; }
.header-nav a {
  padding: 10px 12px; border-radius: 10px;
  color: var(--ink); text-decoration: none; font-size: 15px;
}
.header-nav a:hover { background: #f1e8dc; }
@media (max-width: 900px) { .header-nav { display: none; } }

/* ---------- shared ---------- */
.section {
  max-width: 1320px; margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) var(--gutter);
  scroll-margin-top: 16px;
}
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.eyebrow {
  margin: 0 0 10px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--primary);
}
.section h2 {
  margin: 0; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.08; letter-spacing: -.02em;
}
.section-lede { margin: 14px 0 0; font-size: 1.15rem; color: var(--muted); }
.section h3 { margin: 0; font-size: 1.2rem; line-height: 1.25; }
.text-link {
  display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0;
  border: 0; background: none; font: inherit; font-weight: 700; color: var(--primary);
  text-decoration: none; cursor: pointer;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.section-start, .section-compare, .section-faq { border-top: 1px solid var(--line); }

/* ---------- line illustrations ---------- */
.vis { width: 100%; height: auto; max-width: 260px; display: block; margin: 0 auto; overflow: visible; }
.vis * { vector-effect: non-scaling-stroke; }
.vis-wall { fill: none; stroke: #4a2f1c; stroke-width: 3; stroke-linejoin: round; }
.vis-wall-soft { fill: none; stroke: #b79b7c; stroke-width: 2; stroke-linejoin: round; }
.vis-backwall { fill: #fbf6ef; stroke: none; }
.vis-floor { fill: #e9d9c2; stroke: #4a2f1c; stroke-width: 3; stroke-linejoin: round; }
.vis-handles circle, .vis-pin { fill: #fff; stroke: var(--primary); stroke-width: 2; }
.vis-dim path { stroke: #9c7b5c; stroke-width: 1.5; fill: none; }
.vis-dim rect, .vis-tag rect { fill: #fff; stroke: #e2d3c0; }
.vis-dim text, .vis-tag text { font: 700 11px Alef, sans-serif; fill: #5b4330; text-anchor: middle; }
.vis-tag rect { fill: var(--accent); stroke: none; }
.vis-tag text { fill: var(--primary); }
.vis-paper { fill: #fff; stroke: #cdb898; stroke-width: 1.5; }
.vis-planline { fill: none; stroke: #4a2f1c; stroke-width: 2; }
.vis-arrow { fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vis-sofa path { fill: #8c5a3c; }
.vis-sofa .vis-sofa-side { fill: #6f452d; }
.vis-sofa .vis-sofa-front { fill: #7b4e33; }
.vis-table { fill: #6b4730; }
.vis-chair { width: 100%; height: auto; }
.vis-chair path { fill: #d9c7aa; stroke: #8a6a4a; stroke-width: 2; stroke-linejoin: round; }

/* One-time draw-in when a card scrolls into view. */
.vis .vis-trace { vector-effect: none; stroke-dasharray: 100; stroke-dashoffset: 0; }
.start-card:not(.is-visible) .vis-trace { stroke-dashoffset: 100; }
.start-card.is-visible .vis-trace { animation: trace 1.4s ease-out both; }
.start-card .vis-handles, .start-card .vis-dim, .start-card .vis-draft, .start-card .vis-tag, .start-card .vis-sofa, .start-card .vis-table { transition: opacity .5s ease .9s, transform .5s ease .9s; }
.start-card:not(.is-visible) :is(.vis-handles, .vis-dim, .vis-draft, .vis-tag, .vis-sofa, .vis-table) { opacity: 0; }
.start-card:not(.is-visible) .vis-sofa { transform: translateY(-10px); }
@keyframes trace { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

/* ---------- A. three ways to start ---------- */
.start-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.start-card { display: flex; flex-direction: column; gap: 10px; }
.start-card p { margin: 0; color: var(--muted); }
.start-card .text-link { margin-top: auto; align-self: flex-start; }
.start-visual {
  display: grid; place-items: center; aspect-ratio: 16 / 10; margin-bottom: 8px;
  border-radius: 18px; background: #f3ebdf; padding: 18px;
}

/* ---------- B. furniture ---------- */
.furniture-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.step {
  display: flex; gap: 14px; width: 100%; padding: 14px 16px; text-align: left;
  border: 1.5px solid transparent; border-radius: 16px; background: transparent;
  font: inherit; color: var(--ink); cursor: pointer;
}
.step:hover { background: #f6eee3; }
.step[aria-pressed="true"] { background: var(--surface); border-color: var(--line); box-shadow: 0 2px 10px rgba(60, 30, 0, .06); }
.step:focus-visible, .step[aria-pressed="true"]:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--primary); }
.step-num {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: #efe4d6; color: var(--primary); font-weight: 700;
}
.step[aria-pressed="true"] .step-num { background: var(--primary); color: #fff; }
.step-body { display: flex; flex-direction: column; gap: 2px; }
.step-body span { color: var(--muted); font-size: 15px; }
.mock {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  min-height: 330px; padding: 20px 22px 16px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(60, 30, 0, .07);
}
.mock-window { display: flex; gap: 6px; }
.mock-window span { width: 9px; height: 9px; border-radius: 50%; background: #e8dccd; }
.mock-panel { display: flex; flex-direction: column; gap: 14px; flex: 1; animation: panel-in .3s ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } }
.mock-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: #f1e8dc; align-self: flex-start; }
.mock-tabs span { padding: 7px 12px; border-radius: 9px; font-size: 14px; color: var(--muted); }
.mock-tabs .is-on { background: #fff; color: var(--primary); font-weight: 700; box-shadow: 0 1px 3px rgba(60, 30, 0, .12); }
.mock-field {
  display: flex; align-items: center; gap: 2px; min-height: 50px; padding: 0 14px;
  border: 1.5px solid #d9c9b4; border-radius: 12px; color: #9a8673;
}
.mock-caret { width: 1.5px; height: 20px; background: var(--primary); }
.mock-hint { margin: 0; font-size: 14px; color: var(--muted); }
.mock-title { margin: 0; font-weight: 700; }
.mock-row { display: flex; gap: 14px; align-items: center; }
.mock-row strong { display: block; }
.mock-row small { color: var(--muted); font-size: 14px; }
.mock-thumb { flex: none; width: 76px; height: 58px; padding: 6px; border-radius: 12px; background: #f3ebdf; }
.mock-dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-dims label { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border: 1.5px solid #d9c9b4; border-radius: 12px; }
.mock-dims span { font-size: 13px; color: var(--muted); }
.mock-plan { width: 100%; max-width: 380px; height: auto; align-self: center; }
.mock-sofa { fill: #8c5a3c; }
.mock-table { fill: #6b4730; }
.mock-new rect:first-child { fill: #d9c7aa; }
.mock-select { fill: none; stroke: var(--primary); stroke-width: 2; stroke-dasharray: 5 4; }
.mock-tag, .mock-photo-label {
  margin: 0; align-self: flex-start; padding: 5px 11px; border-radius: 999px;
  background: var(--accent); color: var(--primary); font-size: 13px; font-weight: 700;
}
.mock-photo { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; background: #f3ebdf; }
.mock-photo .mock-photo-label { align-self: flex-start; }
.mock-photo .vis-chair { max-width: 220px; }
.mock-photo figcaption { font-size: 14px; color: var(--muted); }
.mock-foot { margin: 0; font-size: 12px; color: #9a8673; }
.furniture-notes { display: grid; gap: 6px; max-width: 760px; margin-top: 28px; padding: 18px 20px; border-left: 3px solid var(--accent); background: #fbf4ea; border-radius: 0 12px 12px 0; }
.furniture-notes p { margin: 0; }
.note-strong { font-weight: 700; }
.note { color: var(--muted); font-size: 15px; }

/* ---------- C. compare ---------- */
.compare-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.compare-visual { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 22px; background: #f3ebdf; }
.compare-control { display: flex; gap: 4px; margin: 0; padding: 4px; border: 0; border-radius: 14px; background: #e9dece; align-self: flex-start; }
.compare-control label { position: relative; display: flex; cursor: pointer; }
.compare-control input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.compare-control span { min-height: 42px; display: grid; place-items: center; padding: 0 16px; border-radius: 10px; font-weight: 700; color: var(--muted); }
.compare-control input:checked + span { background: var(--surface); color: var(--primary); box-shadow: 0 1px 3px rgba(60, 30, 0, .14); }
.compare-control input:focus-visible + span { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--primary); }
.compare-plans { aspect-ratio: 650 / 495; border-radius: 14px; background: var(--surface); padding: 10px; }
.compare-plan { width: 100%; height: 100%; animation: panel-in .3s ease both; }
.compare-plan svg { width: 100%; height: 100%; display: block; }
.compare-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.compare-summary { margin: 0; flex: 1 1 280px; }
.compare-gap { display: inline-block; color: var(--muted); }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.benefits li { display: flex; gap: 14px; }
.benefits p { margin: 4px 0 0; color: var(--muted); }
.benefit-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #f3ebdf; color: var(--primary); }
.benefit-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- D. pricing ---------- */
.section-pricing { background: var(--surface); max-width: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-pricing > * { max-width: calc(1320px - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.section-pricing > .section-head { max-width: calc(1320px - 2 * var(--gutter)); }
.section-pricing > .section-head > * { max-width: 680px; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 20px; }
.plan-card { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg); }
.plan-card.is-featured { border: 2px solid var(--primary); }
.plan-badge { margin: 0; align-self: flex-start; padding: 5px 11px; border-radius: 999px; background: var(--accent); color: var(--primary); font-size: 13px; font-weight: 700; }
.plan-price { margin: 0; font-size: 2rem; font-weight: 700; line-height: 1.1; }
.plan-price.is-unset { font-size: 1.05rem; font-weight: 400; color: var(--muted); }
.plan-card ul, .credits ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.plan-card li, .credits li { display: flex; gap: 10px; align-items: flex-start; }
.plan-card li svg, .credits li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.credits li svg circle { fill: var(--primary); stroke: none; }
.plan-card .btn { margin-top: auto; align-self: stretch; }
.credits { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.credits-intro p { margin: 10px 0 0; color: var(--muted); }
.credits-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.credits h4 { margin: 0 0 12px; font-size: 1rem; }

/* ---------- E. FAQ ---------- */
.faq-list { max-width: 860px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 14px 4px; cursor: pointer; list-style: none;
  font-size: 1.1rem; font-weight: 700; border-radius: 8px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; transition: transform .2s ease; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item p { margin: 0 0 20px; padding-right: 40px; color: var(--muted); max-width: 70ch; }
.faq-item summary:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--primary); }

/* ---------- F. final CTA + footer ---------- */
.section-final { text-align: center; }
.section-final h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.section-final p { margin: 14px auto 0; max-width: 46ch; font-size: 1.15rem; color: var(--muted); }
.section-final .cta-row { justify-content: center; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  max-width: 1320px; margin: 0 auto; padding: 28px var(--gutter) 40px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
}
.footer-brand { font-weight: 700; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
.site-footer a { display: inline-block; padding: 10px 0; color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-note { margin: 0 0 0 auto; font-size: 14px; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .furniture-layout, .compare-layout, .credits { grid-template-columns: minmax(0, 1fr); }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .start-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .start-visual { aspect-ratio: auto; }
  .plan-grid, .credits-cols { grid-template-columns: minmax(0, 1fr); }
  .mock { min-height: 0; padding: 16px; }
  .mock-dims { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .mock-dims label { padding: 8px; }
  .compare-visual { padding: 12px; }
  .faq-item p { padding-right: 0; }
  .footer-note { margin-left: 0; flex-basis: 100%; }
  .section-final .cta-row { flex-direction: column; }
  .section-final .cta-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .start-card .vis-trace, .start-card.is-visible .vis-trace { animation: none; stroke-dashoffset: 0; }
  .start-card :is(.vis-handles, .vis-dim, .vis-draft, .vis-tag, .vis-sofa, .vis-table) { transition: none; opacity: 1 !important; transform: none !important; }
  .mock-panel, .compare-plan { animation: none; }
  .mock-caret { animation: none; }
  .faq-item summary svg { transition: none; }
}
.reduce-motion .start-card .vis-trace { animation: none; stroke-dashoffset: 0; }
.reduce-motion .start-card :is(.vis-handles, .vis-dim, .vis-draft, .vis-tag, .vis-sofa, .vis-table) { transition: none; opacity: 1 !important; transform: none !important; }
.reduce-motion :is(.mock-panel, .compare-plan, .mock-caret) { animation: none; }
