/* Torri Landing — shared styles
   Notion-clean, editorial, lots of whitespace.
   Built on tokens from ../colors_and_type.css
*/
@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&family=Noto+Serif:wght@700;800&display=swap');

:root {
  --background:        oklch(0.97 0.005 90);
  --foreground:        oklch(0.30 0 0);
  --card:              oklch(1.00 0 0);
  --muted:             oklch(0.96 0.005 90);
  --muted-foreground:  oklch(0.55 0 0);
  --accent:            oklch(0.93 0.005 90);
  --border:            oklch(0.92 0.004 90);
  --border-strong:     oklch(0.86 0.004 90);
  --input:             oklch(0.70 0.004 90);
  --ring:              oklch(0.45 0.01 90);
  --primary:           oklch(0.22 0 0);
  --primary-foreground:oklch(0.97 0.005 90);
  --brand:             oklch(0.58 0.26 182);
  --brand-ink:         oklch(0.42 0.18 182);

  --font-sans:    'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  --font-heading: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --font-display: 'Noto Serif', ui-serif, Georgia, serif;
  --font-logo:    'Cormorant', ui-serif, Georgia, serif;

  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.07), 0 1px 2px -1px rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 12px -2px rgb(0 0 0 / 0.08), 0 2px 6px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 24px 48px -12px rgb(0 0 0 / 0.14), 0 8px 16px -8px rgb(0 0 0 / 0.06);

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --maxw: 1200px;
  --maxw-prose: 720px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Stops a rogue overflowing child from horizontally scrolling the page —
     without this, full-bleed section backgrounds (e.g. .section--alt) paint
     only to the viewport width and the user can scroll past their right edge. */
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

::selection { background: color-mix(in oklch, var(--brand) 25%, transparent); }

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--background) 90%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out);
}
.nav.is-scrolled { border-bottom-color: var(--border); }

.nav__inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 9px;
}
.nav__brand img { width: 40px; height: 44px; }
.brand-mark {
  display: inline-block;
  width: 40px;
  height: 44px;
  background-image: url('assets/logo-brand.svg?v=20260515e');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.nav__wordmark {
  font-family: var(--font-logo);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--foreground);
  opacity: 0.85;
  transition: opacity 150ms var(--ease-out);
}
.nav__links a:hover { opacity: 1; }
.nav__links a.is-active { opacity: 1; font-weight: 600; }
.nav__cta {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__cta .btn--brand {
  border-color: transparent;
  box-shadow: none;
}
.nav__login {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.nav__login:hover { color: var(--brand-ink); }

.nav__menu {
  display: contents;
}

.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  gap: 4px;
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: transform 200ms var(--ease-out), opacity 150ms var(--ease-out);
}
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav__burger { display: inline-flex; }
  .nav__menu {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px 20px 20px;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,0.08));
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms var(--ease-out), opacity 150ms var(--ease-out);
  }
  .nav.is-open .nav__menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav__links a {
    padding: 10px 4px;
    font-size: 16px;
  }
  .nav__cta {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }
  .nav__cta .btn--brand { width: 100%; height: 44px; }
  .nav__login { padding: 8px 4px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 150ms var(--ease-out);
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
}
.btn { border: none; }
.btn--brand {
  background: var(--brand);
  color: #fff;
}
.btn--brand:hover { background: color-mix(in oklch, var(--brand) 85%, black); }
.btn--dark {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn--dark:hover { background: oklch(0.32 0 0); }
.btn--outline {
  background: var(--card);
  color: var(--foreground);
}
.btn--outline:hover { background: var(--accent); }
.btn--ghost {
  background: transparent;
  box-shadow: none;
  color: var(--foreground);
}
.btn--ghost:hover { background: var(--accent); }
.btn--lg {
  height: 48px;
  padding: 0 24px;
  font-size: 15px;
}
.btn--sm {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
}

/* ---------- Type primitives ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand);
}

h1.display, .display-xl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 7.2vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
h1.display em, .display-xl em {
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}
h2.section-title, .section-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
h2.section-title em, .section-title em {
  font-style: normal;
  font-weight: 700;
  color: var(--brand);
}
.section-lede {
  max-width: 600px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted-foreground);
  margin: 16px 0 0;
  text-wrap: pretty;
}

/* ---------- Section spacing ---------- */
.section {
  padding: 96px 0;
  position: relative;
}
.section--tight { padding: 72px 0; }
.section--hero { padding: 72px 0 96px; }
.section--alt {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section__head {
  max-width: 720px;
  margin: 0 0 56px;
}
.section__head--center {
  margin: 0 auto 56px;
  text-align: center;
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .section--tight { padding: 56px 0; }
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
}
.hero__eyebrow { margin-bottom: 24px; }
.hero__sub {
  max-width: 680px;
  margin: 24px auto 0;
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted-foreground);
  font-weight: 500;
  text-wrap: pretty;
}
.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin: 36px 0 14px;
  flex-wrap: wrap;
}
.hero__fineprint {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
}
.hero__product {
  margin: 72px auto 0;
  max-width: 1120px;
  position: relative;
}
.hero__product::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px;
  height: 80px;
  background: radial-gradient(60% 100% at 50% 0%, rgba(0,0,0,0.10), rgba(0,0,0,0));
  filter: blur(16px);
  z-index: -1;
}

/* ---------- Image slots / placeholders ---------- */
.product-frame {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 12px;
}
.product-frame__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 10px;
}
.product-frame__chrome span {
  width: 10px; height: 10px; border-radius: 999px;
  background: oklch(0.88 0.004 90);
}
.product-frame .slot-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.85;
  border-radius: 12px;
  overflow: hidden;
  background: var(--muted);
}
.product-frame .slot-wrap image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.product-frame .slot-wrap .hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

image-slot {
  background: var(--muted);
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; gap: 16px; }
}
.step {
  position: relative;
  padding: 28px;
  border: none;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 360px;
  overflow: hidden;
}
.step:nth-child(1) { background: oklch(0.96 0.025 88); }
.step:nth-child(2) { background: oklch(0.96 0.03 182); }
.step:nth-child(3) { background: oklch(0.95 0.03 145); }
.step:nth-child(4) { background: oklch(0.95 0.045 182); }

/* Wide full-width step sits below the 3-up row — copy left, diagram right. */
.step--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  min-height: 0;
  padding: 32px;
  align-items: center;
}
.step--wide .step__body { min-height: 0; max-width: 46ch; }
.step--wide .step__diagram { order: 0; height: 200px; padding: 20px 24px; }
@media (max-width: 880px) {
  .step--wide { grid-template-columns: 1fr; gap: 18px; padding: 28px; }
  .step--wide .step__diagram { order: -1; height: 220px; }
}
.step__num {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--brand);
  font-weight: 600;
}
.step__title {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}
.step__body {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 16px;
  line-height: 1.55;
  min-height: 7.75em;
}
.step__diagram {
  margin-top: 0;
  border: none;
  border-radius: 10px;
  background: var(--card);
  height: 220px;
  padding: 18px;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px -16px rgba(0,0,0,0.10);
  order: -1;
}
.step__diagram::before { content: none; }

/* — Upload diagram — */
.up {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  align-self: center;
}
.up__file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--muted);
  border-radius: 8px;
}
.up__icon {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 7px;
  background: oklch(0.55 0.16 28);
  color: #fff;
  border-radius: 4px;
  flex-shrink: 0;
}
.up__meta { flex: 1; min-width: 0; }
.up__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.up__sub {
  font-family: var(--font-heading);
  font-size: 10px;
  color: var(--muted-foreground);
  margin-top: 2px;
}
.up__check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: oklch(0.62 0.16 145);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.up__progress {
  height: 6px;
  background: var(--muted);
  border-radius: 999px;
  overflow: hidden;
}
.up__progress span {
  display: block;
  height: 100%;
  width: 67%;
  background: var(--brand);
  border-radius: 999px;
  animation: up-progress 2.4s ease-in-out infinite;
}
@keyframes up-progress {
  0%, 100% { width: 67%; }
  50% { width: 82%; }
}
@media (prefers-reduced-motion: reduce) {
  .up__progress span { animation: none; }
}
.up__status {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
}
.up__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.up__chip {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--foreground);
}

/* — Review diagram — */
.rv2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  align-self: center;
}
.rv2__counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.rv2__count {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 10px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  gap: 4px;
}
.rv2__count strong {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.rv2__count--high { background: oklch(0.94 0.05 28); color: oklch(0.42 0.16 28); }
.rv2__count--med  { background: oklch(0.95 0.06 75); color: oklch(0.45 0.14 70); }
.rv2__count--info { background: var(--accent); color: var(--muted-foreground); }
.rv2__card {
  border: 1px solid var(--border);
  border-left: 3px solid oklch(0.62 0.18 28);
  border-radius: 6px;
  padding: 10px 12px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rv2__cardhead {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rv2__sev {
  font-family: var(--font-heading);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  background: oklch(0.94 0.05 28);
  color: oklch(0.42 0.16 28);
}
.rv2__title {
  font-size: 12px;
  font-weight: 600;
  color: var(--foreground);
}
.rv2__quote {
  margin: 0;
  font-style: italic;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted-foreground);
}
.rv2__page {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  color: var(--brand-ink);
  align-self: flex-start;
}

/* — Conveyancer match diagram (Step 04) — */
.cv {
  display: grid;
  grid-template-columns: 1fr 1px 1.1fr;
  gap: 20px;
  width: 100%;
  align-self: center;
  align-items: center;
}
.cv__left { display: flex; flex-direction: column; gap: 10px; }
.cv__rule { background: var(--border); width: 1px; height: 80%; align-self: center; }
.cv__right { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 880px) {
  .cv { grid-template-columns: 1fr; gap: 10px; }
  .cv__rule { display: none; }
}
.cv__head {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  align-items: center;
}
.cv__avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--brand) 18%, var(--card));
  color: var(--brand-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
}
.cv__id { display: flex; flex-direction: column; min-width: 0; }
.cv__name { font-size: 12.5px; font-weight: 600; color: var(--foreground); line-height: 1.1; }
.cv__role { font-size: 10.5px; color: var(--muted-foreground); margin-top: 2px; }
.cv__badge {
  font-family: var(--font-heading);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--brand) 15%, var(--card));
  color: var(--brand-ink);
  border: 1px solid color-mix(in oklab, var(--brand) 30%, transparent);
}
.cv__brieflabel {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.cv__brief {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cv__brief li {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 8px;
  align-items: center;
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--foreground);
}
.cv__brief .cl-dot { width: 8px; height: 8px; }

/* — Send diagram — */
.sd {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  width: 100%;
  align-self: center;
  align-items: center;
}
.sd__pdf {
  position: relative;
  aspect-ratio: 3/4;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 6px 18px -8px rgba(0,0,0,0.18);
  padding: 10px 8px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: rotate(-3deg);
}
.sd__pdf-tag {
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 4px;
  background: oklch(0.55 0.16 28);
  color: #fff;
  border-radius: 2px;
  margin-bottom: 2px;
}
.sd__pdf-lines { display: flex; flex-direction: column; gap: 3px; }
.sd__pdf-lines span {
  display: block;
  height: 2px;
  width: 100%;
  background: color-mix(in oklch, var(--border) 60%, var(--foreground));
  opacity: 0.3;
  border-radius: 1px;
}
.sd__pdf-name {
  position: absolute;
  bottom: 4px;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 7px;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
}
.sd__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sd__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: var(--muted);
  border-radius: 6px;
  font-size: 11px;
}
.sd__label {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  min-width: 18px;
}
.sd__chip {
  padding: 2px 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
}
.sd__subj {
  font-weight: 500;
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sd__btn {
  margin-top: 2px;
  padding: 9px 14px;
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

/* ---------- Bento feature tiles (Notion-style) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
@media (max-width: 880px) {
  .bento { grid-template-columns: 1fr; }
}
.tile {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  min-height: 340px;
  grid-column: span 12;
}
@media (min-width: 881px) {
  .tile--span5 { grid-column: span 5; }
  .tile--span7 { grid-column: span 7; }
}
.tile--teal  { background: oklch(0.96 0.03 182); }
.tile--rose  { background: oklch(0.96 0.025 28); }
.tile--blue  { background: oklch(0.96 0.022 240); }
.tile--cream { background: oklch(0.96 0.025 88); }
.tile--sand  { background: oklch(0.95 0.012 70); }
.tile--green { background: oklch(0.95 0.03 145); }

.tile__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--foreground);
}
.tile__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted-foreground);
  max-width: 460px;
}
.tile__preview {
  flex: 1;
  min-height: 180px;
  background: var(--card);
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px -16px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

/* Key terms */
.tile__preview--terms { gap: 8px; }
.terms__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}
.terms__row:last-child { border-bottom: none; padding-bottom: 0; }
.terms__k {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-weight: 600;
}
.terms__v {
  font-weight: 600;
  color: var(--foreground);
}

/* Triage */
.tile__preview--triage { justify-content: center; gap: 14px; }
.triage__bar {
  display: grid;
  grid-template-columns: 50px 1fr 22px;
  align-items: center;
  gap: 10px;
}
.triage__chip {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 6px;
  border-radius: 4px;
  text-align: center;
}
.triage__chip--high { background: oklch(0.94 0.05 28); color: oklch(0.42 0.16 28); }
.triage__chip--med  { background: oklch(0.95 0.06 75); color: oklch(0.45 0.14 70); }
.triage__chip--info { background: var(--accent); color: var(--muted-foreground); }
.triage__track {
  height: 8px;
  background: var(--muted);
  border-radius: 999px;
  overflow: hidden;
}
.triage__track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--brand);
}
.triage__bar:nth-child(1) .triage__track span { background: oklch(0.62 0.18 28); }
.triage__bar:nth-child(2) .triage__track span { background: oklch(0.68 0.15 70); }
.triage__bar:nth-child(3) .triage__track span { background: oklch(0.62 0.02 90); }
.triage__count {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground);
  text-align: right;
}

/* Annexures */
.tile__preview--annex { gap: 6px; padding: 16px; }
.annex__tab {
  display: flex;
  align-items: center;
  padding: 10px 14px 10px 36px;
  background: var(--muted);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
  position: relative;
}
.annex__tab::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(135deg, oklch(0.78 0.04 240), oklch(0.62 0.10 240));
}
.annex__tab--active {
  background: oklch(0.93 0.04 240);
  color: oklch(0.30 0.10 240);
  font-weight: 600;
  outline: 2px solid oklch(0.78 0.10 240);
  outline-offset: -2px;
}
.annex__tab--muted { opacity: 0.55; }

/* Ask */
.tile__preview--ask { gap: 8px; }
.ask__bubble {
  font-size: 13px;
  line-height: 1.5;
  padding: 9px 12px;
  border-radius: 10px;
  max-width: 88%;
}
.ask__bubble--you {
  align-self: flex-end;
  background: var(--accent);
  border-bottom-right-radius: 3px;
}
.ask__bubble--torri {
  align-self: flex-start;
  background: oklch(0.97 0.025 182);
  border: 1px solid oklch(0.88 0.07 182);
  border-bottom-left-radius: 3px;
  color: var(--foreground);
}
.ask__cite {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--brand-ink);
}
.ask__input {
  margin-top: auto;
  padding: 10px 12px;
  background: var(--muted);
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
}
.ask__caret {
  display: inline-block;
  width: 1px;
  height: 13px;
  background: var(--brand);
  margin-left: 6px;
  animation: ask-caret 1.1s steps(2) infinite;
}
@keyframes ask-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ask__caret { animation: none; } }

/* Branded report */
.tile__preview--brand {
  align-items: center;
  justify-content: center;
  background: oklch(0.92 0.005 70);
  padding: 22px;
}
.brand-mock {
  width: 78%;
  background: #fff;
  border-radius: 4px;
  padding: 14px 16px 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 12px 24px -8px rgba(0,0,0,0.16);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.brand-mock__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid oklch(0.55 0.16 28);
  white-space: nowrap;
  overflow: hidden;
}
.brand-mock__firm { overflow: hidden; text-overflow: ellipsis; }
.brand-mock__logo {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: oklch(0.55 0.16 28);
}
.brand-mock__firm {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: oklch(0.30 0.08 28);
  letter-spacing: -0.005em;
  flex: 1;
  min-width: 0;
}
.brand-mock__title {
  font-size: 11px;
  font-weight: 600;
  color: var(--foreground);
}
.brand-mock__lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brand-mock__lines span {
  height: 4px;
  background: color-mix(in oklch, var(--border) 60%, var(--foreground));
  opacity: 0.3;
  border-radius: 2px;
  display: block;
  width: 100%;
}
.brand-mock__footer {
  margin-top: 4px;
  font-family: var(--font-heading);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
  border-top: 1px solid var(--border);
  padding-top: 6px;
}

/* Clock */
.tile__preview--time {
  align-items: center;
  justify-content: center;
}
.clock {
  position: relative;
  width: 160px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.clock svg { position: absolute; inset: 0; }
.clock__big {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--foreground);
  line-height: 1;
  position: relative;
}
.clock__sub {
  font-family: var(--font-heading);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  text-transform: uppercase;
  position: relative;
}

/* ---------- Showcase row (image + text) ---------- */
.showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.showcase--reverse { grid-template-columns: 0.95fr 1.05fr; }
.showcase--reverse .showcase__media { order: 2; }
@media (max-width: 880px) {
  .showcase, .showcase--reverse { grid-template-columns: 1fr; gap: 40px; }
  .showcase--reverse .showcase__media { order: 0; }
}
.showcase__media {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.showcase__media {
  position: relative;
}
.showcase__media .slot-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--muted);
}
.showcase__media image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.showcase__media .slot-wrap .showcase__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.showcase__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
  text-wrap: balance;
}
.showcase__body {
  color: var(--muted-foreground);
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 480px;
}
.showcase__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.showcase__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--foreground);
}
.showcase__list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brand);
}

/* ---------- Pricing teaser ---------- */
.pricing-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) {
  .pricing-teaser { grid-template-columns: 1fr; }
}
.tier {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  transition: border-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.tier:hover { border-color: var(--border-strong); }
.tier--featured {
  border-color: oklch(0.55 0.02 182);
  box-shadow: 0 0 0 1px oklch(0.55 0.02 182), var(--shadow-sm);
}
.tier__tag {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.tier__name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  margin: 0;
}
.tier__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 6px 0 2px;
}
.tier__price small {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  color: var(--muted-foreground);
  letter-spacing: 0;
}
.tier__claim {
  color: var(--muted-foreground);
  font-size: 14px;
  margin: 0 0 16px;
}
.tier__cta { margin-top: auto; padding-top: 16px; }
.tier__cta .btn { width: 100%; }
.tier__list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tier__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--foreground);
}
.tier__list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand);
}
.tier__group-label {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin: 8px 0 4px;
  font-weight: 600;
}

/* ---------- Trust / security strip ---------- */
.trust {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) {
  .trust { grid-template-columns: 1fr; gap: 32px; }
}
.trust__points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
}
@media (max-width: 600px) {
  .trust__points { grid-template-columns: 1fr; }
}
.trust__point h4 {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
}
.trust__point p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.5;
}
.trust__point svg { color: var(--brand); margin-bottom: 10px; }

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 24px 4px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  color: var(--foreground);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-size: contain;
  flex-shrink: 0;
  transition: transform 200ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body {
  margin: 12px 0 0;
  color: var(--muted-foreground);
  font-size: 16px;
  line-height: 1.55;
  max-width: 640px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, color-mix(in oklch, var(--brand) 14%, transparent), transparent 65%),
    var(--muted);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in oklch, var(--brand) 70%, transparent), transparent);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band__link {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-ink);
  border-bottom: 1px solid color-mix(in oklch, var(--brand-ink) 35%, transparent);
  padding-bottom: 2px;
  transition: border-color 150ms var(--ease-out);
}
.cta-band__link:hover { border-bottom-color: var(--brand-ink); }
@media (max-width: 720px) {
  .cta-band { padding: 56px 28px; }
}
.cta-band h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  text-wrap: balance;
}
.cta-band h2 em {
  font-style: normal;
  font-weight: 700;
  color: var(--brand-ink);
}
.cta-band p {
  margin: 0 auto 28px;
  max-width: 540px;
  color: var(--muted-foreground);
  font-size: 17px;
}
.cta-band .btn--brand {
  border-color: var(--brand);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
  background: var(--background);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}
.footer__brand p {
  margin: 14px 0 0;
  color: var(--muted-foreground);
  font-size: 14px;
  max-width: 280px;
  line-height: 1.5;
}
.footer__col h5 {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin: 0 0 16px;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  color: var(--foreground);
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 150ms var(--ease-out);
}
.footer__col a:hover { opacity: 1; color: var(--brand-ink); }
.footer__contact {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--brand-ink);
  opacity: 0.8;
  transition: opacity 150ms var(--ease-out);
}
.footer__contact:hover { opacity: 1; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 12px;
  color: var(--muted-foreground);
}
.footer__bottom a { margin-left: 20px; }

/* ---------- Pricing page specifics ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
.pricing-grid .tier {
  padding: 36px 32px;
}
.pricing-grid .tier__price {
  font-size: 56px;
}

.payg {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 720px) {
  .payg { grid-template-columns: 1fr; }
}
.payg__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.payg__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.015em;
  margin: 0 0 4px;
}
.payg__sub {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  margin: 0;
}
.payg__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.015em;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 14px;
  table-layout: fixed;
}
.compare th:first-child, .compare td:first-child { width: 44%; }
.compare th:not(:first-child), .compare td:not(:first-child) { width: 14%; }
.compare th, .compare td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.compare th {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-weight: 600;
  background: var(--muted);
}
.compare th:first-child, .compare td:first-child { padding-left: 24px; }
.compare th:last-child,  .compare td:last-child  { padding-right: 24px; text-align: right; }
.compare td.center, .compare th.center { text-align: center; }
.compare tr:hover td { background: color-mix(in oklch, var(--accent) 50%, transparent); }
.compare__row-head { font-weight: 600; color: var(--foreground); }
.compare__check { color: var(--brand); }
.compare__dash { color: var(--muted-foreground); opacity: 0.5; }
.compare-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.muted { color: var(--muted-foreground); }
.serif { font-family: var(--font-display); }
.mono  { font-family: var(--font-heading); }
.italic-payoff {
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
  font-family: var(--font-display);
}

/* ---------- Ask Torri chat demo ---------- */
.chat-demo {
  padding: 0;
  display: flex;
  flex-direction: column;
  background: var(--card);
}
.chat-demo__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted-foreground);
}
.chat-demo__doc { color: var(--foreground); font-weight: 500; }
.chat-demo__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-demo__bubble {
  max-width: 90%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.5;
}
.chat-demo__bubble--you {
  align-self: flex-end;
  background: var(--accent);
  color: var(--foreground);
  border-bottom-right-radius: 4px;
}
.chat-demo__bubble--torri {
  align-self: flex-start;
  background: oklch(0.97 0.025 182);
  border: 1px solid oklch(0.88 0.07 182);
  color: var(--foreground);
  border-bottom-left-radius: 4px;
}
.chat-demo__cite {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.chat-demo__cite-pill {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.02em;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--brand-ink);
  font-weight: 500;
}
.chat-demo__bubble--typing {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-style: italic;
  color: var(--muted-foreground);
}
.chat-demo__dots {
  display: inline-flex;
  gap: 3px;
}
.chat-demo__dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand);
  opacity: 0.5;
  animation: chat-dot 1.2s infinite ease-in-out;
}
.chat-demo__dots span:nth-child(2) { animation-delay: 0.15s; }
.chat-demo__dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-3px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-demo__dots span { animation: none; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- For-firms band (pricing page) ---------- */
.firm-band {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 60%),
    radial-gradient(ellipse 50% 70% at 0% 100%, color-mix(in srgb, var(--brand) 8%, transparent), transparent 60%),
    var(--card);
  overflow: hidden;
}
.firm-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 95%);
  pointer-events: none;
}
@media (max-width: 920px) {
  .firm-band { grid-template-columns: 1fr; gap: 40px; padding: 48px 36px; }
}
@media (max-width: 560px) {
  .firm-band { padding: 36px 24px; }
}

.firm-band__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 14px 0 14px;
  text-wrap: balance;
}
.firm-band__title em {
  font-style: normal;
  font-weight: 700;
  color: var(--brand-ink);
}
.firm-band__lede {
  margin: 0 0 24px;
  color: var(--muted-foreground);
  font-size: 16.5px;
  max-width: 48ch;
}
.firm-band__cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.firm-band__hint { font-size: 13px; color: var(--muted-foreground); }

.firm-band__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
@media (max-width: 700px) {
  .firm-band__features { grid-template-columns: 1fr; }
}
.firm-band__features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.firm-band__features strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--foreground);
  margin-bottom: 4px;
}
.firm-band__features p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted-foreground);
}
.firm-band__check {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--brand) 18%, var(--card));
  color: var(--brand-ink);
  border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--border));
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 48px;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .contact-form__row { grid-template-columns: 1fr; }
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.field__label .req { color: var(--brand-ink); margin-left: 2px; }
.field__input,
.field__textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  transition: border-color 120ms var(--ease-out), box-shadow 120ms var(--ease-out);
}
.field__input::placeholder,
.field__textarea::placeholder { color: color-mix(in oklch, var(--muted-foreground) 75%, transparent); }
.field__input:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--brand) 18%, transparent);
}
.field__textarea { resize: vertical; min-height: 160px; }
.field--error .field__input,
.field--error .field__textarea { border-color: oklch(0.55 0.18 25); }
.field__error {
  font-size: 13px;
  color: oklch(0.50 0.18 25);
  font-weight: 500;
}
.field__honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__submit { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.contact-form__submit .btn { min-width: 180px; }
.contact-form__hint { font-size: 13px; color: var(--muted-foreground); }

.contact-success {
  background: color-mix(in oklch, var(--brand) 8%, var(--card));
  border: 1px solid color-mix(in oklch, var(--brand) 35%, var(--border));
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.contact-success__icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--primary-foreground);
  display: grid;
  place-items: center;
}
.contact-success h3 {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.contact-success p { margin: 0; color: var(--muted-foreground); }

.contact-aside { display: flex; flex-direction: column; gap: 24px; }
.contact-aside__block h4 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.contact-aside__block p { margin: 0; }
.contact-aside__block a { color: var(--brand-ink); border-bottom: 1px solid color-mix(in oklch, var(--brand) 35%, transparent); }
.contact-aside__block a:hover { color: var(--brand); }

/* === Smokeball integration section === */

.section--warm {
  --sb-brand: #F2600C;                              /* Smokeball orange */
  background: oklch(0.985 0.012 55);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Scoped brand overrides — Smokeball orange instead of Torri teal */
.section--warm .eyebrow .dot { background: var(--sb-brand); }
.section--warm .section-title em { color: var(--sb-brand); }
.section--warm .sb-tick { color: var(--sb-brand); }
.section--warm .btn--brand { background: var(--sb-brand); }
.section--warm .btn--brand:hover {
  background: color-mix(in oklch, var(--sb-brand) 85%, black);
}

/* Faint giant logo watermark */
.sb-watermark {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(420px, 56vw, 760px);
  height: auto;
  color: var(--sb-brand);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.section--warm .wrap { position: relative; z-index: 1; }

.smokeball-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.sb-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sb-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--foreground);
}
.sb-tick { color: var(--brand); flex-shrink: 0; }

.sb-cta { margin-top: 32px; }

.sb-mock {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
}
.sb-mock__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
}
.sb-mock__matter { font-weight: 600; font-size: 14px; color: var(--foreground); }
.sb-mock__brand {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-foreground);
}
.sb-mock__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}
.sb-mock__row:last-child { border-bottom: 0; }
.sb-mock__k { color: var(--muted-foreground); font-size: 13px; }
.sb-mock__v { font-size: 13px; color: var(--foreground); font-weight: 500; }
.sb-mock__v--filled {
  background: oklch(0.95 0.04 60);
  padding: 3px 8px;
  border-radius: 4px;
}

@media (max-width: 860px) {
  .smokeball-split { grid-template-columns: 1fr; gap: 32px; }
}
