/* GoSignHere marketing site. Tokens from the app's gsh.css section 1 (SITE-SPEC section 4); components ported from the monkeydial.com layout, renamed. */
@font-face { font-family: 'Inter'; src: url(/assets/fonts/InterVariable.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --surface-0: #F7F8FA;
  --surface-1: #FFFFFF;
  --border: #E4E7EC;
  --border-strong: #D6DAE1;
  --text-primary: #1A1D23;
  --text-secondary: #6B7280;
  --text-body: #3B414B;
  --accent: #4F5DFF;
  --accent-hover: #3F4CE0;
  --accent-soft: #EEF0FF;
  --accent-contrast: #FFFFFF;
  --accent-ink: #3F4CE0;
  --danger-ink: #B91C1C;
  --danger-soft: #FDECEC;
  --attention-soft: #FEF3E0;
  --attention-ink: #92400E;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16,20,30,0.06);
  --shadow-md: 0 4px 16px rgba(16,20,30,0.10);
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --container: 1120px;
  --gutter: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-primary);
  background: var(--surface-0);
  -webkit-font-smoothing: antialiased;
}
img, picture { max-width: 100%; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
code { font-family: var(--font-mono); font-size: 0.9em; background: var(--surface-1); border: 1px solid var(--border); border-radius: 4px; padding: 0 0.3em; }

h1, h2, h3 { color: var(--text-primary); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.6em; font-weight: 650; }
h1 { font-size: clamp(28px, 6vw, 40px); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
p { margin: 0 0 1em; color: var(--text-body); }
.lede { font-size: 17px; line-height: 1.55; max-width: 56ch; }
.muted { color: var(--text-secondary); font-size: 15px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: 0.6em 1em; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }

/* Header */
.site-header { background: var(--surface-1); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: var(--container); margin: 0 auto; padding: 12px var(--gutter); flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--text-primary); }
.brand:hover { text-decoration: none; }
.main-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.main-nav a:not(.btn-gsh) { color: var(--text-body); font-size: 15px; font-weight: 500; }
.main-nav a:not(.btn-gsh):hover { color: var(--text-primary); text-decoration: none; }
.main-nav a.active { color: var(--accent-ink); }
.nav-toggle { display: none; min-height: 44px; min-width: 44px; padding: 0 12px; font: inherit; font-size: 15px; font-weight: 600; color: var(--text-primary); background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: var(--radius-md); cursor: pointer; }
@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .js .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 4px; }
  .js .site-header.open .main-nav { display: flex; }
  .js .main-nav a { min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid var(--surface-0); }
  .js .main-nav a.btn-gsh { justify-content: center; margin: 12px 0 8px; border-bottom: 1px solid transparent; }
  .main-nav { gap: 12px 20px; }
}

/* Buttons (ported from .btn-monkey*) */
.btn-gsh { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-size: 15px; font-weight: 600; min-height: 44px; padding: 0 20px; border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease; text-align: center; }
.btn-gsh:hover { text-decoration: none; }
.btn-gsh-primary { background: var(--accent); color: var(--accent-contrast); }
.btn-gsh-primary:hover { background: var(--accent-hover); color: var(--accent-contrast); }
.btn-gsh-secondary { background: var(--surface-1); color: var(--accent-ink); border-color: var(--border-strong); }
.btn-gsh-secondary:hover { background: var(--accent-soft); border-color: var(--accent); }
.btn-gsh-lg { min-height: 52px; padding: 0 28px; font-size: 17px; }
.text-link { font-weight: 600; font-size: 15px; }

/* Sections */
.hero { padding: 56px 0 48px; background: var(--surface-1); border-bottom: 1px solid var(--border); }
.hero-compact { padding: 40px 0 32px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.hero h1 { max-width: 20ch; }
.cta-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.section { padding: 56px 0; }
.section-alt { background: var(--surface-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 46rem; margin-bottom: 28px; }
.final-cta { text-align: center; }
.final-cta .btn-gsh { margin-top: 8px; }
.free-line { font-size: 22px; font-weight: 600; color: var(--text-primary); margin: 16px 0 0; }
.enterprise-line { margin-top: 24px; text-align: center; }

/* Screenshots */
.shot { display: block; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--surface-1); box-shadow: var(--shadow-md); }
.shot img { display: block; width: 100%; height: auto; }
.shot-tall img { max-height: 520px; object-fit: cover; object-position: top; }
@media (max-width: 700px) { .shot img { max-height: 420px; object-fit: cover; object-position: top; } }

/* Cards */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.info-card { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 17px; margin-bottom: 8px; }
.big-number { font-size: 22px; font-weight: 650; color: var(--text-primary); margin-bottom: 4px; }
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.price-card.featured { border-color: var(--accent); box-shadow: var(--shadow-md); }
.price-card .tier-name { font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.price-card .price { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.price-card .price span { font-size: 15px; font-weight: 500; color: var(--text-secondary); letter-spacing: 0; }
.price-card .annual { color: var(--text-secondary); font-size: 15px; margin-top: 4px; }
.price-card .docs { font-size: 17px; font-weight: 600; margin: 16px 0 8px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; flex-grow: 1; font-size: 15px; color: var(--text-body); }
.price-card li { padding: 8px 0; border-top: 1px solid var(--border); }
.price-card .btn-gsh { margin-top: auto; }
.card-alt-link { display: block; margin-top: 12px; text-align: center; font-size: 15px; }

/* Steps and lists */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.step { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: center; }
.step-text h3 { margin-bottom: 8px; }
.steps-text { padding-left: 1.2em; }
.steps-text li { margin-bottom: 8px; color: var(--text-body); }
.feature-list { margin: 0 0 16px; padding-left: 1.2em; color: var(--text-body); }
.feature-list li { padding: 3px 0; }
.feature-rows { display: grid; gap: 28px; }
.feature-row h3 { font-size: 22px; margin-bottom: 6px; }
.feature-row .shot { margin-top: 12px; max-width: 760px; }

/* FAQ */
.faq details { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 12px; padding: 0 16px; }
.faq summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.faq details p { margin: 0 0 16px; }

/* Compare table */
.table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; background: var(--surface-1); border: 1px solid var(--border); font-size: 15px; }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--border); }
.compare-table thead th { background: var(--surface-0); font-weight: 650; }
.compare-table tbody th { font-weight: 600; width: 14%; }
.cell-source, .cell-note { display: block; margin-top: 6px; font-size: 13px; color: var(--text-secondary); }
.third-party { font-weight: 600; }
.yes { font-weight: 650; color: var(--accent-ink); }
@media (max-width: 860px) {
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: 100%; }
  .compare-table thead { display: none; }
  .compare-table tbody th { background: var(--surface-0); width: 100%; }
  .compare-table td::before { content: attr(data-label); display: block; font-weight: 650; font-size: 13px; color: var(--text-secondary); margin-bottom: 2px; }
}

/* Forms */
.form-card { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.form-label { display: block; font-weight: 600; font-size: 15px; margin: 16px 0 6px; }
.form-control { display: block; width: 100%; font: inherit; font-size: 17px; padding: 10px 12px; min-height: 44px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface-1); color: var(--text-primary); }
.form-control:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.helper { font-size: 15px; color: var(--text-secondary); margin: 6px 0 0; }
.form-card .btn-gsh { margin-top: 24px; }
.form-errors { background: var(--danger-soft); border: 1px solid var(--danger-ink); border-radius: var(--radius-md); padding: 12px 16px; margin-bottom: 16px; }
.form-errors p { color: var(--danger-ink); margin: 0; font-size: 15px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chip-group legend { font-weight: 600; font-size: 15px; padding: 0; margin-bottom: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface-1); font-size: 15px; font-weight: 600; color: var(--text-body); }
.chip input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Legal */
.legal h1 { font-size: 40px; }
.legal h2 { font-size: 22px; margin-top: 1.6em; }
.legal ul { color: var(--text-body); }
.draft-banner { background: var(--attention-soft); color: var(--attention-ink); border-radius: var(--radius-md); padding: 12px 16px; }
.slot { background: var(--attention-soft); color: var(--attention-ink); border-radius: 4px; padding: 0 0.3em; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface-1); padding: 40px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.foot-brand { font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.lanes { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.lanes a, .site-footer a { color: var(--text-body); font-size: 15px; }
.copyright { margin-top: 24px; font-size: 13px; color: var(--text-secondary); }

@media (min-width: 861px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .step { grid-template-columns: 1fr 1.4fr; gap: 32px; }
  .foot-grid { grid-template-columns: 1fr auto; }
}

/* API page */
.code-sample { background: var(--text-primary); color: #E9ECF1; border-radius: var(--radius-md); padding: 16px; overflow-x: auto; font-family: var(--font-mono); font-size: 14px; line-height: 1.5; margin: 0 0 20px; }
.code-sample code { font-family: inherit; white-space: pre; }

/* Scorecard */
.scorecard-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.scorecard-progress progress, .scorecard-meter progress { appearance: none; -webkit-appearance: none; width: 100%; height: 10px; border: 0; border-radius: 999px; background: var(--border); overflow: hidden; }
.scorecard-progress progress::-webkit-progress-bar, .scorecard-meter progress::-webkit-progress-bar { background: var(--border); border-radius: 999px; }
.scorecard-progress progress::-webkit-progress-value, .scorecard-meter progress::-webkit-progress-value { background: var(--accent); border-radius: 999px; }
.scorecard-progress progress::-moz-progress-bar, .scorecard-meter progress::-moz-progress-bar { background: var(--accent); border-radius: 999px; }
.scorecard-progress span { white-space: nowrap; }
.scorecard-question { font-size: 26px; line-height: 1.25; }
.scorecard-options { display: grid; gap: 12px; margin-top: 20px; }
.scorecard-option { font: inherit; font-size: 17px; font-weight: 600; min-height: 52px; padding: 0 20px; text-align: left; color: var(--text-primary); background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: var(--radius-md); cursor: pointer; }
.scorecard-option:hover, .scorecard-option:focus-visible, .scorecard-option.selected { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }
.scorecard-meter { margin: 20px 0 8px; }
.scorecard-score { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; margin-top: 8px; }
.scorecard-score span { font-size: 17px; font-weight: 500; color: var(--text-secondary); }
.scorecard-insights { padding-left: 1.2em; }
.scorecard-insights li { margin-bottom: 12px; }
@media (min-width: 861px) {
  .scorecard-options { grid-template-columns: repeat(2, 1fr); }
}

/* Home: measurable areas and the offer */
.area { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.area .measure { font-size: 15px; color: var(--text-secondary); }
.area .shot { margin-top: 16px; }
.offer-list { margin: 0 0 16px; padding-left: 1.2em; font-size: 19px; }
.offer-name { font-size: 22px; font-weight: 650; }
.cta-note { font-size: 15px; color: var(--text-secondary); margin: 12px 0 0; }
.pricing-grid-one { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
