/* Soft Clinic · product site shared chrome from Design pack
   true-standard/soft-clinic/product-site/site.css
   Full header / nav / footer · 56px CTA · type scale
   Live locks: 6-item nav · no SAMPLE watermark · Start a record review
   Desk Soft Clinic (Portal) is separate · 2026-09-17 */

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--sans);
  background: var(--surface);
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

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

img,
svg {
  max-width: 100%;
  display: block;
}

:focus {
  outline: none;
}

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

::selection {
  background: var(--accent-soft);
  color: var(--text);
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 80;
  transform: translateY(-160%);
  background: var(--panel);
  color: var(--text);
  border: 2px solid var(--accent);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}

.skip:focus,
.skip:focus-visible {
  transform: none;
}

.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;
}

/* Header / nav */
.site-top {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}

.site-top-inner {
  max-width: var(--desk-max);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--text);
  min-width: 0;
}

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

.brand-mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}

.brand-mark:hover,
.brand:hover .brand-mark {
  color: var(--accent-deep);
}

.site-top-actions {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  appearance: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 14px;
  font: 600 0.9rem var(--sans);
  color: var(--text);
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  justify-content: flex-end;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-deep);
  font-weight: 600;
}

.site-nav a:not(.btn):hover {
  color: var(--accent-deep);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--cta-min);
  padding: 0 28px;
  border-radius: 14px;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  gap: 8px;
  transition: background 0.15s var(--ease), box-shadow 0.15s var(--ease), border-color 0.15s var(--ease);
}

.btn:hover {
  color: inherit;
}

.btn-primary,
.btn-gold {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 4px 14px rgba(58, 125, 106, 0.22);
}

.btn-primary:hover,
.btn-gold:hover {
  background: var(--accent-deep);
  color: var(--on-accent);
}

.btn-ghost {
  background: var(--panel);
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--text);
}

.btn-nav {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.92rem;
  border-radius: 12px;
  box-shadow: none;
}

.btn-sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.92rem;
  border-radius: 12px;
  box-shadow: none;
}

/* Layout */
.stage,
main#main {
  max-width: var(--desk-max);
  margin: 0 auto;
  padding: 32px 32px 72px;
  flex: 1;
  width: 100%;
}

.page-hero,
.hero-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 44px 48px 40px;
  box-shadow: var(--shadow-quiet);
  margin-bottom: 28px;
}

.page-hero .hero-inner,
.page-hero .wrap,
main.stage .wrap {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.kicker,
.tag {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

h1,
.page-hero h1,
.hero-card h1 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.6vw, 2.45rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 18ch;
}

h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}

h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--serif);
}

.lede {
  margin: 0 0 28px;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 48ch;
}

.hero-alt,
.hero-explain {
  margin: 0 0 16px;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 48ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section,
.sheet > .panel,
.quote {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-quiet);
}

.section h2,
.section h3 {
  color: var(--text);
}

.section p {
  margin: 0 0 12px;
  color: var(--muted);
  max-width: 62ch;
}

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

.section-title,
.how-title {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.grid-2,
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.grid-3,
.gate-grid,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.card,
.panel,
.landing-item,
.audience-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
  color: var(--text);
  text-decoration: none;
  box-shadow: none;
}

a.card:hover,
a.audience-card:hover {
  color: var(--text);
  border-color: var(--accent);
}

.card h3,
.panel h2,
.panel h3,
.landing-item h2,
.audience-card h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
}

.card p,
.panel p,
.landing-item p,
.audience-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.panel ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.panel li {
  margin: 0 0 8px;
}

.soft-band,
.soft-promise,
.banner,
.trust-strip {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-top: 8px;
  border: 0;
  color: var(--text);
  max-width: none;
}

.soft-band h2,
.soft-promise h2,
.banner strong,
.trust-strip h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  display: block;
  letter-spacing: -0.015em;
  text-transform: none;
}

.soft-band p,
.soft-promise p,
.banner p,
.trust-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 56ch;
  font-weight: 400;
}

.step-list,
.how-steps,
.steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 20px;
  border: 0;
}

.step,
.how-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}

.step .num,
.how-step .num {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  line-height: 1;
}

.step h2,
.step h3,
.how-step h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.step p,
.how-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 52ch;
}

.price-row,
.pricing-tracks,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 20px;
}

.price-card,
.card.card-now,
.card.card-alt {
  flex: 1 1 240px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}

.price-card.featured,
.card.card-now {
  border-color: var(--accent);
  background: var(--panel);
  box-shadow: var(--shadow-quiet);
}

.price-card .amount,
.price {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 8px 0 4px;
}

.price-card .unit,
.price-term {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.price-card ul {
  margin: 0 0 20px;
  padding: 0 0 0 1.1em;
  color: var(--muted);
  font-size: 0.98rem;
}

.price-card li {
  margin-bottom: 6px;
}

.price-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.98rem;
}

.section .term-jump {
  background: var(--surface);
}

.card .actions,
.price-card .actions,
.close-cta .actions,
.page-hero .actions {
  margin-top: auto;
  padding-top: 8px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3,
details.faq-item summary {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--serif);
  cursor: pointer;
  list-style: none;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "";
  float: right;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}

details.faq-item[open] summary::after {
  margin-top: 12px;
  transform: rotate(225deg);
}

.faq-item p,
details.faq-item .answer {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
}

.form,
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 36rem;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}

.form .field,
.form-stack label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
}

.form .field input,
.form .field textarea,
.form .field select,
.form-stack input,
.form-stack textarea,
.form-stack select {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  background: var(--panel);
  width: 100%;
}

.form .field textarea,
.form-stack textarea {
  min-height: 120px;
  resize: vertical;
}

.checks {
  display: grid;
  gap: 8px;
}

.checks label {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  color: var(--text);
}

.checks input {
  width: auto;
  min-height: 0;
  margin-top: 4px;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--text);
}

.form-status.show {
  display: block;
}

.copied {
  font-family: inherit;
  font-size: 0.9rem;
  white-space: pre-wrap;
  background: var(--surface-2);
  color: var(--text);
  border-radius: 10px;
  padding: 12px;
  margin-top: 10px;
}

.note,
.note-quiet,
.meta {
  font-size: 0.9rem;
  color: var(--faint);
  margin-top: 12px;
}

.note a {
  color: var(--accent-deep);
  font-weight: 600;
}

.close-cta,
.close-cta.campaign-close {
  background: var(--accent-soft);
  border: 0;
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 12px;
  max-width: none;
  color: var(--text);
}

.close-cta h2,
.close-cta.campaign-close h2 {
  color: var(--text);
}

.close-cta p,
.close-cta.campaign-close p {
  color: var(--muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

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

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

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-quiet);
  background: var(--surface-2);
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.trust-chips {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.trust-chips li {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding-left: 18px;
  position: relative;
}

.trust-chips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
  border: 0;
}

.feature {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 16px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
}

.feature .lbl {
  color: var(--accent-deep);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding-top: 4px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.quote .lbl {
  color: var(--accent-deep);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 10px;
}

.quote p {
  margin: 0;
  color: var(--text);
  font-size: 1.08rem;
}

.sheet {
  background: transparent;
  max-width: none;
  margin: 0;
  padding: 0;
}

.compare-table,
body[data-page="glossary"] table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 28px;
  background: var(--panel);
}

.compare-table th,
.compare-table td,
body[data-page="glossary"] th,
body[data-page="glossary"] td {
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
}

.compare-table th,
body[data-page="glossary"] thead th {
  background: var(--surface-2);
  font-size: 0.82rem;
  font-weight: 700;
}

body[data-page="glossary"] .term-jump {
  margin: 28px 0 48px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

body[data-page="glossary"] .sheet > h2 {
  margin-top: 40px;
  scroll-margin-top: 96px;
}

.prose {
  max-width: 42rem;
}

.prose p {
  margin: 0 0 1em;
  color: var(--muted);
}

.article-featured {
  margin: 0 0 24px;
}

.article-featured img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.section .article-featured:first-child {
  margin-top: 0;
}

.section .prose {
  max-width: 42rem;
}

.section .close-cta,
.section .close-cta.campaign-close {
  margin-top: 24px;
}

#review,
#app,
#waitlist,
#start,
#how,
#demo-form {
  scroll-margin-top: 96px;
}

/* Footer · pack 3-column */
.site-foot {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  margin-top: auto;
  max-width: none;
  padding: 0;
  color: var(--muted);
}

.site-foot-inner,
.foot-inner {
  max-width: var(--desk-max);
  margin: 0 auto;
  padding: 36px 32px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.site-foot h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.site-foot p,
.site-foot a {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-foot a:hover {
  color: var(--accent-deep);
}

.site-foot ul,
.foot-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: none;
}

.foot-nav {
  display: contents;
}

.site-foot-bottom {
  max-width: var(--desk-max);
  margin: 0 auto;
  padding: 0 32px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--faint);
  font-size: 0.88rem;
}

.site-foot-bottom p {
  max-width: 54em;
}

.site-foot a.when-no,
.site-foot-bottom strong,
.site-foot-bottom a.when-no {
  color: var(--text);
  font-weight: 700;
}

.site-foot a.when-no {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .gate-grid,
  .audience-grid,
  .feature {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-top-inner {
    flex-wrap: wrap;
  }

  .site-top-actions {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 8px;
  }

  .site-top.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-foot-inner,
  .foot-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-hero,
  .hero-card {
    padding: 28px 20px;
  }

  .stage,
  main#main {
    padding: 16px 16px 56px;
  }

  .site-top-inner {
    padding: 12px 16px;
  }

  .section,
  .quote,
  .close-cta,
  .close-cta.campaign-close {
    padding: 22px 18px;
  }

  .site-foot-inner,
  .foot-inner,
  .site-foot-bottom {
    padding-left: 16px;
    padding-right: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-top,
  .nav-toggle,
  .skip,
  .btn {
    display: none !important;
  }

  body {
    background: #fff;
    color: #24302c;
  }
}
