/* Wolk — wolk.website shared stylesheet
   Tokens lifted from the app design system (DESIGN.md) and the original
   privacy page. Flat surfaces, no shadows; Newsreader for display type. */

:root {
  --canvas: #FBFBFA;
  --text: #2F3437;
  --text-muted: #787774;
  --ink: #0F1F3A;
  --gold: #C6A15C;
  --gold-on-ink: #D9BC85;
  --border: #EAEAEA;
  --surface: #FFFFFF;
  --accent: #2363EB;
  --accent-hover: #1D53C6;
  --accent-tint: #E9EFFD;
  --on-dark: #FFFFFF;
  --error: #b91c1c;

  --r-tag: 4px;
  --r-sm: 8px;
  --r-button-sm: 12px;
  --r-card: 16px;
  --r-button: 18px;
  --r-hero: 24px;
  --r-pill: 999px;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;

  --measure: 42rem;
  --wide: 68rem;

  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;

  --check-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M8.143 15.02 3.32 10.196l1.414-1.414 3.41 3.41 6.71-6.71 1.414 1.414z'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 { text-wrap: balance; }

p { margin: 0 0 1rem; max-width: 70ch; }

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

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

/* ---------- Accessibility ---------- */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--on-dark);
  text-decoration: none;
  border-radius: var(--r-tag);
  z-index: 100;
}

.skip-link:focus { top: 1rem; }

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

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 1rem 1.5rem;
}

.site-header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}

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

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

.site-nav a:not(.btn) {
  font-size: 0.9375rem;
  color: var(--text);
  text-decoration: none;
}

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

.lang-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0.3rem 0.75rem;
  white-space: nowrap;
}

.lang-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.wordmark { white-space: nowrap; }

.wordmark-mark {
  display: inline-block;
  height: 1.375rem;
  width: auto;
  vertical-align: -0.3em;
  margin-right: 0.4rem;
}

.site-footer .wordmark-mark { filter: brightness(0) invert(1); }

@media (max-width: 700px) {
  .site-nav .nav-page { display: none; }
  .site-header-inner, .site-nav { gap: 0.75rem; }
  .site-nav .btn { white-space: nowrap; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border-radius: var(--r-button);
  padding: 0.875rem 1.5rem;
  border: 1px solid transparent;
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-dark);
}

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

.btn-quiet {
  border-color: var(--border);
  color: var(--ink);
  background: var(--surface);
}

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

.btn-small {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: var(--r-button-sm);
}

.btn-on-ink {
  background: var(--surface);
  color: var(--ink);
}

.btn-on-ink:hover {
  background: var(--gold-on-ink);
  color: var(--ink);
}

/* ---------- Landing layout ---------- */

.section {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 6.5rem) 1.5rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.section-lede {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 44ch;
  margin-bottom: 0;
}

/* Hero */

.hero {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 1.5rem 0;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.375rem, 5.5vw, 3.875rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink);
  margin: 0 0 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text);
  max-width: 46ch;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0.875rem 0 0;
}

.hero-figure {
  margin: 0;
  display: flex;
  justify-content: center;
}

.hero-figure img {
  width: min(460px, 40vw);
}

/* ---------- Real device screenshot ----------
   Sizing and positioning only. Every screenshot arrives with the iPhone
   body, bezel and shadow already in the image, so there is nothing to
   draw here — the context classes below (.phone-frame-solo, .hero-phones,
   .feature-figure-trio, .dual-surface) just decide how big it is and
   where it sits. */

.phone-frame {
  position: relative;
  display: block;
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* A single centered .phone-frame standing alone as a section's proof
   image (crm-feature match/contact/property detail shots), instead of
   paired in .hero-phones or .dual-surface. */
.phone-frame-solo {
  max-width: 320px;
  margin: clamp(2rem, 5vw, 3.25rem) auto 0;
}

.hero-phones {
  position: relative;
  width: min(420px, 78vw);
  aspect-ratio: 1 / 1.15;
}

.hero-phones .phone-frame {
  position: absolute;
  width: 56%;
}

.hero-phones .phone-frame--back {
  top: 0;
  left: 2%;
  transform: rotate(-7deg);
}

.hero-phones .phone-frame--front {
  bottom: 0;
  right: 2%;
  transform: rotate(5deg);
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
  }
  .hero-figure { order: 1; }
  .hero-figure img { width: min(320px, 76vw); }
  .hero-phones { width: min(320px, 82vw); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero > * {
    animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hero-figure { animation-delay: 0.12s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
}

/* ---------- Trio of small phone frames ----------
   Three .phone-frame screenshots side by side, for features that read
   as one beat split across channels (Instagram/Email/SMS, calendar
   agenda/month/new-appointment). Collapses to one column on mobile. */

.feature-figure-trio {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  align-items: flex-start;
}

.feature-figure-trio .phone-frame {
  flex: 1 1 0;
  max-width: 200px;
}

@media (max-width: 700px) {
  .feature-figure-trio {
    flex-direction: column;
    align-items: center;
  }
  .feature-figure-trio .phone-frame { max-width: min(240px, 70vw); }
}

/* Plain labelled row for a teaser section with no matching screenshot
   (e.g. the EN CRM teaser, which has no native-app raw to show). */
.crm-teaser-icons {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin: 1.75rem 0 0;
  padding: 0;
}

.crm-teaser-icons li {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--accent-tint);
  border-radius: var(--r-pill);
  padding: 0.4rem 0.9rem;
}

/* How it works — a real 3-step sequence */

.steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0.625rem;
}

.steps h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.375rem;
}

.steps p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}

/* Alternating feature rows */

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.feature-row.flip > .feature-figure { order: -1; }

.feature-figure {
  margin: 0;
  display: flex;
  justify-content: center;
}

.feature-figure img { width: min(300px, 74vw); }

.feature-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.feature-copy p { color: var(--text); }

.feature-copy .fine {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

@media (max-width: 820px) {
  .feature-row,
  .feature-row.flip {
    grid-template-columns: 1fr;
  }
  .feature-row.flip > .feature-figure { order: 0; }
  .feature-figure img { width: min(250px, 68vw); }
}

.feature-row.text-only {
  grid-template-columns: 1fr;
  max-width: 46rem;
}

/* Full-bleed ink band (privacy) */

.band-ink {
  background: var(--ink);
  margin-top: clamp(3.5rem, 9vw, 6.5rem);
}

.band-ink-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.band-ink .section-title { color: var(--on-dark); }

.band-ink p {
  color: rgba(255, 255, 255, 0.82);
}

.band-ink a { color: var(--on-dark); }
.band-ink a:hover { color: var(--gold-on-ink); }

.band-ink .fact-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}

.band-ink .fact-list li {
  padding: 0.875rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9875rem;
}

.band-ink .fact-list strong {
  color: var(--on-dark);
  display: block;
}

.band-ink .fact-list .gold { color: var(--gold-on-ink); }

@media (max-width: 820px) {
  .band-ink-inner { grid-template-columns: 1fr; }
}

/* Teams */

.teams-figure {
  margin: 2.5rem 0 0;
  display: flex;
  justify-content: center;
}

.teams-figure img {
  width: min(680px, 100%);
}

/* Same lost-alpha issue as the feature screenshots above. */
.teams-figure img[src*="device-team-tours"] {
  border-radius: 15% / 12%;
}

/* Pricing — plans grouped as a seat ladder (Solo / Team / Enterprise),
   never a grid of identical cards. Feature lists stay fully legible. */

.pricing {
  margin-top: 2.25rem;
}

/* Billing toggle — a capsule of two radios, gold "Save 20%" badge.
   CSS-only: the checked radio swaps every monthly/annual price below. */
.billing-toggle-radio { position: absolute; opacity: 0; pointer-events: none; }

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
}

.billing-toggle label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s ease-out, background-color 0.15s ease-out;
}

.billing-toggle label .save-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: var(--gold-on-ink);
  border-radius: var(--r-pill);
  padding: 0.1rem 0.45rem;
}

#billing-monthly:checked ~ .billing-toggle label[for="billing-monthly"],
#billing-annual:checked ~ .billing-toggle label[for="billing-annual"] {
  background: var(--ink);
  color: var(--on-dark);
}

#billing-annual:checked ~ .billing-toggle label[for="billing-annual"] .save-badge {
  background: var(--gold-on-ink);
}

.billing-toggle-radio:focus-visible + .billing-toggle,
.billing-toggle:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Price swap: monthly shown by default; annual radio flips them. */
.price-annual { display: none; }
#billing-annual:checked ~ .pricing-groups .price-monthly { display: none; }
#billing-annual:checked ~ .pricing-groups .price-annual { display: revert; }

.pricing-groups {
  margin-top: 1.75rem;
  display: grid;
  gap: 1.25rem;
}

.plan-group-label {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0.75rem 0 -0.25rem;
}

.plan-group-label span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* A plan row: identity · price · features */
.plan {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr);
  gap: 1.5rem 2rem;
  align-items: start;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
}

.plan-featured {
  border-color: var(--gold);
  border-width: 1.5px;
}

.plan-identity { min-width: 0; }

.plan-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.2;
}

.plan-name .badge {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: var(--gold-on-ink);
  border-radius: var(--r-pill);
  padding: 0.15rem 0.625rem;
}

.plan-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0.35rem 0 0;
}

.plan-seats {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0.2rem 0.65rem;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}

.plan-price .per {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.plan-price .talk {
  font-size: 1.375rem;
}

.plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.plan-features li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--text);
  max-width: none;
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  background-color: var(--gold);
  -webkit-mask: var(--check-mask) center / contain no-repeat;
  mask: var(--check-mask) center / contain no-repeat;
}

.plan-features .feature-lead {
  font-weight: 600;
  color: var(--ink);
}

/* Enterprise — a slimmer, distinct strip at the foot of the ladder */
.plan-enterprise {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background: var(--canvas);
}

.plan-enterprise .plan-cta {
  font-weight: 600;
  white-space: nowrap;
}

.pricing-footnote {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
}

@media (max-width: 760px) {
  .plan,
  .plan-enterprise {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .plan-price { font-size: 1.5rem; }
}

/* FAQ */

.faq-list { margin-top: 2rem; }

.faq-list details {
  border-top: 1px solid var(--border);
  padding: 0.25rem 0;
}

.faq-list details:last-child { border-bottom: 1px solid var(--border); }

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  padding: 0.875rem 0;
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-list summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1;
}

.faq-list details[open] summary::after { content: "–"; }

.faq-list details p {
  margin: 0 0 1rem;
  color: var(--text);
  max-width: 62ch;
}

.faq-group-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 2.5rem 0 0.5rem;
}

/* Final CTA */

.closing {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 6.5rem) 1.5rem;
  text-align: center;
}

.closing .section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1rem;
}

.closing .section-lede {
  margin: 0 auto 2rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  margin-top: clamp(3.5rem, 9vw, 6rem);
}

.closing + .site-footer { margin-top: 0; }

.site-footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 3rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.site-footer .wordmark { color: var(--on-dark); }

.footer-tagline {
  font-size: 0.875rem;
  max-width: 26ch;
  margin-top: 0.75rem;
}

.site-footer h2 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-on-ink);
  margin: 0 0 0.75rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li { margin-bottom: 0.5rem; }

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--on-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

.footer-legal a { color: rgba(255, 255, 255, 0.7); font-size: 0.8125rem; }

@media (max-width: 820px) {
  .site-footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ---------- Text pages (privacy, terms, faq, support) ---------- */

.page-narrow {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.page-narrow h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.last-updated {
  font-size: 0.875rem;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 2.5rem;
}

.page-narrow .intro {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.page-narrow h2 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 2.5rem 0 1rem;
}

.page-narrow h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}

.page-narrow ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.page-narrow li { margin-bottom: 0.375rem; }

.data-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  font-weight: 600;
  color: var(--ink);
  background: var(--canvas);
}

tr:last-child td { border-bottom: none; }

.not-collected,
.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 1.25rem 1.5rem;
  margin: 1rem 0 1.5rem;
}

.not-collected ul,
.callout :last-child { margin-bottom: 0; }

.contact-block {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.contact-block a { font-weight: 500; }

/* Support page contact rows */

.support-channels {
  margin: 2rem 0 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
}

.support-channels > div {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
}

.support-channels > div:first-child { border-top: none; }

.support-channels h2 {
  margin: 0 0 0.25rem;
  font-size: 1.0625rem;
}

.support-channels p { margin: 0; font-size: 0.9375rem; color: var(--text-muted); }

/* ---------- CRM landing (/crm) ---------- */

/* Wordmark product tag — mirrors the webapp's sidebar "Wolk CRM" mark */
.crm-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-tint);
  border-radius: var(--r-tag);
  padding: 0.1rem 0.4rem;
  vertical-align: 0.25em;
}

.site-footer .crm-tag { background: rgba(255, 255, 255, 0.14); color: var(--on-dark); }

/* Stacked hero: copy above, full-width product shot below */
.hero-crm {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) 1.5rem 0;
}

.hero-crm h1 {
  font-family: var(--font-display);
  font-size: clamp(2.375rem, 5.5vw, 3.875rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink);
  margin: 0 0 1.25rem;
  max-width: 22ch;
}

.hero-crm h1 em { font-style: italic; color: var(--accent); }

@media (prefers-reduced-motion: no-preference) {
  .hero-crm > * {
    animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hero-crm .browser-frame { animation-delay: 0.12s; }
}

/* Minimal browser chrome around real product screenshots. Flat, like
   everything else on the site — the screenshot carries the depth. */
.browser-frame {
  margin: clamp(2rem, 5vw, 3.25rem) 0 0;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  overflow: hidden;
}

.browser-frame-bar {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.875rem;
  border-bottom: 1px solid var(--border);
  background: var(--canvas);
}

.browser-frame-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.browser-frame-url {
  margin-left: 0.625rem;
  font-size: 0.71875rem;
  line-height: 1.4;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0.1rem 0.7rem;
}

.browser-frame img { display: block; width: 100%; }

/* ---------- Two surfaces, one product ----------
   Pairs a .browser-frame (web) with a .phone-frame (native iOS) side by
   side, browser wider, phone narrower, slight overlap — the same layout
   language as .hero-phones but horizontal, to show the CRM runs on
   either surface without implying one is the "real" one. */

.dual-surface {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  margin: clamp(2rem, 5vw, 3.25rem) 0 0;
}

.dual-surface .browser-frame {
  flex: 6 1 0;
  margin-top: 0;
  z-index: 0;
}

.dual-surface .phone-frame {
  flex: 0 0 auto;
  width: clamp(140px, 20vw, 220px);
  z-index: 1;
}

@media (max-width: 820px) {
  .dual-surface {
    flex-direction: column;
    gap: var(--sp-5);
  }
  .dual-surface .phone-frame {
    width: min(220px, 60vw);
    align-self: center;
  }
}

/* One painful moment per feature: the agent's own words in serif italic,
   the fix beside them, the proof (a real screen) below. */
.crm-feature {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 6rem) 1.5rem 0;
}

.crm-feature-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.pain {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  max-width: 24ch;
}

.pain .pain-q::before { content: "«\00A0"; color: var(--gold); font-style: normal; }
.pain .pain-q::after { content: "\00A0»"; color: var(--gold); font-style: normal; }

.pain-source {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-style: normal;
  color: var(--text-muted);
  margin-top: 0.625rem;
}

.crm-feature-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.crm-feature-head p { color: var(--text); margin-bottom: 0.75rem; }
.crm-feature-head p:last-child { margin-bottom: 0; }

.crm-feature-head .fine {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

@media (max-width: 820px) {
  .crm-feature-head { grid-template-columns: 1fr; }
  .pain { max-width: none; }
}

/* Early-access pricing: the ladder without numbers */
.plan-price .early {
  display: block;
  font-size: 1.25rem;
  line-height: 1.25;
}

.pricing-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

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

/* --------------------------------------------------------------------------
   Guest checkout widget (upgrade pages) — pay first, account after.
   Same flat card language as the plan cards; total price in display serif
   to match .plan-price. */

.checkout-box {
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.seat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.seat-label {
  display: block;
  font-weight: 600;
  color: var(--ink);
}

.seat-hint {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--border);
  border-radius: var(--r-button-sm);
  padding: 0.25rem;
  background: var(--canvas);
}

.stepper button {
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease-out;
}

.stepper button:hover:not(:disabled) {
  background: var(--border);
}

.stepper button:disabled {
  opacity: 0.35;
  cursor: default;
}

.stepper output {
  min-width: 2.25rem;
  text-align: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  font-size: 1.0625rem;
}

.price-lines {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.9375rem;
}

.price-lines > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.price-lines dt {
  color: var(--text-muted);
  font-weight: 400;
}

.price-lines dd {
  margin: 0;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.price-lines .price-total {
  border-top: 1px solid var(--border);
  padding-top: 0.625rem;
  margin-top: 0.25rem;
}

.price-lines .price-total dt {
  color: var(--ink);
  font-weight: 600;
}

.price-lines .price-total dd {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--ink);
}

.btn-block {
  display: block;
  width: 100%;
}

.checkout-trust {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

.checkout-error {
  margin: 0;
  font-size: 0.875rem;
  color: var(--error);
  text-align: center;
}

.checkout-alt {
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Blog: post index (.blog-list/.blog-card) and post body (.post-body). */

.blog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.blog-card {
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--sp-6);
}

.blog-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.blog-card a {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-5);
  text-decoration: none;
  color: inherit;
}

.blog-card-thumb {
  flex: 0 0 auto;
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: var(--r-card);
  margin: 0;
}

.blog-card-body {
  flex: 1;
  min-width: 0;
}

.blog-card-date {
  display: block;
  font-size: 0.8125rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.375rem;
}

.blog-card h2 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.375rem;
}

.blog-card p {
  color: var(--text-muted);
  margin: 0;
}

.post-body img {
  display: block;
  border-radius: var(--r-card);
  margin: 1.5rem 0;
}

.post-body blockquote {
  margin: 1.5rem 0;
  padding-left: var(--sp-5);
  border-left: 3px solid var(--gold);
  color: var(--text-muted);
  font-style: italic;
}

.post-body figcaption {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}

/* ---------- Cookie consent banner ---------- */

.cookie-banner {
  position: fixed;
  left: var(--sp-4);
  right: var(--sp-4);
  bottom: var(--sp-4);
  z-index: 100;
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: 0 12px 32px rgba(15, 31, 58, 0.12);
}

.cookie-banner-text {
  flex: 1 1 16rem;
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cookie-banner-text a {
  color: var(--ink);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: var(--sp-2);
  flex-shrink: 0;
}

@media (max-width: 40rem) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    justify-content: flex-end;
  }
}
