/* SEO Sauna landing. Shape rule: buttons are pills, cards 20px, images 12px. */
@font-face { font-family: "Bricolage"; src: url("/fonts/bricolage-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("/fonts/bricolage-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("/fonts/bricolage-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --bg: #f3f4f1;
  --surface: #fbfbf9;
  --surface-2: #e8eae5;
  --text: #16181a;
  --muted: #5a605c;
  --line: #d9dcd5;
  --accent: #c2410c;          /* ember */
  --accent-ink: #fff8f3;
  --accent-soft: #f6dccd;
  --shadow: 0 24px 60px -24px rgb(60 40 20 / .28);
  --radius: 20px;
  --display: "Bricolage", ui-sans-serif, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121413;
    --surface: #1a1d1b;
    --surface-2: #232724;
    --text: #eceee9;
    --muted: #a3aaa5;
    --line: #2c312e;
    --accent: #f2703a;
    --accent-ink: #1a0d06;
    --accent-soft: #3a2116;
    --shadow: 0 24px 60px -24px rgb(0 0 0 / .7);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
.ic { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

main, .nav, .foot { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
body { overflow-x: clip; } /* hero shot bleeds off the right edge on purpose */
@media (max-width: 767px) { main, .nav, .foot { padding: 0 16px; } }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: 28px; }
.nav nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav nav a:hover { color: var(--text); }
.nav-langs { position: relative; font-size: .875rem; }
.nav-langs summary { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; list-style: none; color: var(--muted); font-weight: 600; padding: 6px 8px; border-radius: 8px; }
.nav-langs summary::-webkit-details-marker { display: none; }
.nav-langs summary:hover, .nav-langs[open] summary { color: var(--text); background: var(--surface-2); }
.nav-langs summary svg { width: 14px; height: 14px; transition: transform .15s; }
.nav-langs[open] summary svg { transform: rotate(180deg); }
.nav-lang-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 150px; display: grid; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.nav-lang-list a { padding: 8px 10px; border-radius: 8px; color: var(--text); }
.nav-lang-list a:hover { background: var(--surface-2); }
.nav-lang-list a[aria-current] { color: var(--accent); font-weight: 600; }
/* Header CTA (landing pages): at tablet width keep only Sign in + CTA, at phone width only the CTA */
.nav nav a.btn-primary { color: var(--accent-ink); }
@media (max-width: 1080px) { .nav nav:has(> .btn) { gap: 20px; } .nav nav:has(> .btn) > a:not(.btn):not(:nth-last-child(2)) { display: none; } }
.nav .brand { white-space: nowrap; }
@media (max-width: 640px) { .nav nav { gap: 16px; } .nav nav > a:not(:last-child) { display: none; } }
@media (max-width: 640px) { .nav nav:has(> .btn) { gap: 12px; } .nav .btn-sm { padding: .5em .95em; font-size: .85rem; } }
@media (max-width: 380px) { .nav .brand { font-size: 1.15rem; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; white-space: nowrap;
  padding: .8em 1.4em; border-radius: 999px; font-weight: 600; text-decoration: none;
  transition: transform .25s cubic-bezier(.16,1,.3,1), background-color .2s, box-shadow .25s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -12px var(--accent); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:hover .ic { transform: translateX(3px); }
.btn-primary .ic { transition: transform .25s cubic-bezier(.16,1,.3,1); }
.btn-ghost { color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.btn-lg { font-size: 1.1rem; }
.btn-sm { padding: .55em 1.1em; font-size: .9rem; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Hero: asymmetric split, copy left, real product shot bleeding right */
.hero {
  display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center;
  min-height: min(calc(100dvh - 72px), 760px); padding: 32px 0 56px;
}
.hero h1 { font-size: clamp(2.2rem, 4.1vw, 3.75rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.hero h1 em { font-style: normal; color: var(--accent); white-space: nowrap; }
.hero-copy p { margin-top: 24px; font-size: 1.2rem; color: var(--muted); max-width: 40ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-shot { margin: 0 -12vw 0 0; position: relative; }
.hero-shot::before {
  /* steam: a soft ember glow behind the screenshot */
  content: ""; position: absolute; inset: -12% -6% -10% -14%; z-index: -1;
  background: radial-gradient(60% 55% at 30% 60%, var(--accent-soft), transparent 70%);
}
.hero-shot img, .cell-ai img {
  display: block; width: 100%; height: auto; border-radius: 12px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
@media (max-width: 900px) {
  /* clip: the ember glow behind the screenshot would widen the page sideways */
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 40px; padding-top: 24px; overflow-x: clip; }
  .hero-shot { margin: 0; }
}

/* Works with */
.works-with { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 28px; padding: 36px 0 8px; }
.int-label { flex-basis: 100%; margin: 0; font: 600 .8rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.int-group > p { margin: 0 0 8px; font-size: .8rem; color: var(--muted); }
.int-group ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.int-tile { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.int-tile strong { display: block; font-size: .95rem; line-height: 1.2; color: var(--text); }
.int-tile small { display: block; font-size: .75rem; color: var(--muted); }
.int-logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); color: var(--text); }
.int-logo .logo { width: 22px; height: 22px; }
.int-logo .ic { width: 22px; height: 22px; }
.int-claude .int-logo { color: #d97757; background: rgb(217 119 87 / .14); }
.int-cursor .int-logo { color: var(--accent); background: var(--accent-soft); }
.int-gsc .int-logo { color: #458cf5; background: rgb(69 140 245 / .14); }
.int-ga .int-logo { color: #e37400; background: rgb(227 116 0 / .14); }
@media (max-width: 640px) { .int-group { width: 100%; } .int-group ul { display: grid; grid-template-columns: 1fr 1fr; } .int-tile { padding-right: 10px; } }
.cta-note { margin-top: 14px !important; font-size: .95rem !important; }

/* AI assistant: the headline feature */
.assistant {
  display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: center;
  margin-top: 96px; padding: 56px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.assistant-copy > p { margin-top: 20px; color: var(--muted); font-size: 1.1rem; max-width: 52ch; }
.assistant-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.assistant-points li { display: flex; gap: 10px; align-items: flex-start; }
.assistant-points .ic { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--accent); }
.chat { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.chat-msg { padding: 14px 18px; border-radius: 18px; line-height: 1.5; }
.chat-msg p + p { margin-top: 10px; }
.chat-user { align-self: flex-end; max-width: 85%; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 6px; }
.chat-bot { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.chat-tool { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: .85rem; color: var(--muted); }
.chat-tool .ic { width: 16px; height: 16px; color: var(--accent); }
.chat-caption { font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) {
  .assistant { grid-template-columns: 1fr; gap: 36px; padding: 32px 20px; margin-top: 64px; }
}
.logo {
  display: inline-block; width: 26px; height: 26px; background: currentColor;
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat;
}

/* Features bento */
.features { padding: 120px 0 40px; }
.features h2 { max-width: 20ch; }
.bento {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px;
}
.cell {
  grid-column: span 2; min-width: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.cell .ic { width: 28px; height: 28px; color: var(--accent); margin-bottom: 8px; }
.cell p { color: var(--muted); }
.cell-ai { grid-column: span 4; grid-row: span 2; overflow: hidden; padding-bottom: 0; gap: 28px; background: var(--text); color: var(--bg); border-color: transparent; }
.cell-ai .cell-text { display: flex; flex-direction: column; gap: 12px; max-width: 52ch; }
.cell-ai .ic { width: 44px; height: 44px; margin: 0; }
.cell-ai h3 { font-size: 2rem; }
.cell-ai p { color: var(--bg); opacity: .75; }
.cell-ai picture { margin: 0 -28px 0 28px; flex: 1; }
.cell-ai img { border-radius: 12px 0 0 0; border-right: 0; border-bottom: 0; box-shadow: none; }
.cell-keywords { grid-row: span 2; background: var(--accent); color: var(--accent-ink); border-color: transparent; justify-content: flex-end; }
.cell-keywords .ic { color: var(--accent-ink); width: 44px; height: 44px; }
.cell-keywords h3 { font-size: 2rem; }
.cell-keywords p { color: var(--accent-ink); opacity: .85; }
.cell-google { background: var(--surface-2); }
.google-logos { display: flex; gap: 10px; color: var(--text); margin-bottom: 8px; }
.cell-google { grid-column: span 6; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .cell, .cell-keywords { grid-column: span 1; grid-row: auto; }
  .cell-ai, .cell-google { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .cell, .cell-ai, .cell-google { grid-column: span 1; }
  .cell-keywords { min-height: 260px; }
}

/* Ritual: sticky heading left, steps right */
.ritual { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; padding: 120px 0; align-items: start; }
.ritual-head { position: sticky; top: 96px; }
.ritual-head p { margin-top: 20px; color: var(--muted); font-size: 1.15rem; max-width: 34ch; }
.ritual-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 64px; }
.ritual-steps li { display: grid; grid-template-columns: 64px 1fr; gap: 24px; }
.ritual-steps .ic {
  width: 64px; height: 64px; padding: 16px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
}
.ritual-steps h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; }
.ritual-steps p { margin-top: 10px; color: var(--muted); font-size: 1.1rem; max-width: 42ch; }
@media (max-width: 900px) {
  .ritual { grid-template-columns: 1fr; gap: 48px; padding: 88px 0; }
  .ritual-head { position: static; }
}

/* Pricing */
.pricing { padding: 40px 0 120px; }
.price-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 56px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.price-main h2 { margin-top: 16px; }
.amount { font-size: clamp(3.5rem, 7vw, 5.5rem); font-weight: 800; letter-spacing: -0.04em; }
.per { font-family: ui-sans-serif, system-ui, sans-serif; font-size: 1.2rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price-main p:not(.eyebrow) { margin: 16px 0 32px; color: var(--muted); font-size: 1.1rem; max-width: 36ch; }
.price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; align-content: center; font-size: 1.1rem; }
.price-list li { display: flex; gap: 14px; align-items: center; }
.price-list .ic { color: var(--accent); }
.price-card .fine { grid-column: 1 / -1; margin: 0; font-size: .9rem; color: var(--muted); }
.price-main p.price-note { margin-top: -16px; font-size: .95rem; }
.price-note a { color: var(--accent); }
.compare-note { margin-top: 16px; padding: 24px 28px; border-radius: var(--radius); background: var(--accent-soft); font-size: 1.1rem; }
@media (max-width: 767px) { .price-card { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; } }

/* FAQ */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; padding-bottom: 120px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--display); font-size: 1.25rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%;
  font-size: 1.6rem; color: var(--accent); transition: rotate .3s cubic-bezier(.16,1,.3,1);
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); max-width: 62ch; }
.faq details a { color: var(--accent); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 32px; } }

/* Closer */
.closer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
  padding: 72px 0; border-top: 1px solid var(--line);
}
.closer h2 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; letter-spacing: -0.03em; }

/* Footer */
.foot { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: baseline; padding-top: 32px; padding-bottom: 48px; color: var(--muted); font-size: .95rem; }
.foot .brand { color: var(--text); font-size: 1.1rem; }
.foot nav { display: flex; gap: 20px; margin-left: auto; }
@media (max-width: 640px) { .foot nav { margin-left: 0; } }

/* Motion: hero load-in, scroll reveal. All of it off for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .8s cubic-bezier(.16,1,.3,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-shot { animation: rise 1s .2s cubic-bezier(.16,1,.3,1) both; }
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* Logo mark beside the wordmark; colour follows the theme accent */
.brand { display: inline-flex; align-items: center; gap: .4em; }
.brand-mark { width: 1.15em; height: 1.15em; color: var(--accent); flex: none; }

/* AI visibility page */
.hero .eyebrow { margin-bottom: 16px; }
.av-why { max-width: 760px; padding-top: 96px; }
.av-why p { margin-top: 20px; color: var(--muted); font-size: 1.15rem; }
.av-section { padding-top: 120px; }
.av-steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 96px; }
.av-steps li { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.av-steps li:nth-child(even) .av-shot { order: -1; }
.av-steps .eyebrow { display: flex; align-items: center; gap: 8px; }
.av-steps h3 { margin-top: 12px; font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; }
.av-steps p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 1.1rem; max-width: 46ch; }
.av-shot { margin: 0; min-width: 0; }
.av-shot img, .av-card img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.av-see { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.av-card { min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.av-card p { color: var(--muted); }
.av-card img { margin-top: auto; box-shadow: none; }
.av-card-wide { grid-column: 1 / -1; background: var(--surface-2); }
.av-card-wide p { max-width: 70ch; }
.pricing.av-section { padding-bottom: 120px; }
.av-reads { padding-bottom: 96px; }
.av-reads ul { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.av-reads a { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 100%; padding: 20px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; font-weight: 600; }
.av-reads a:hover { border-color: var(--accent); }
.av-reads .ic { color: var(--accent); }
@media (max-width: 900px) {
  .av-steps { gap: 64px; }
  .av-steps li, .av-see, .av-reads ul { grid-template-columns: 1fr; gap: 28px; }
  .av-steps li:nth-child(even) .av-shot { order: 0; }
  .av-why, .av-section { padding-top: 72px; }
}
