@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 520 640;
  font-display: swap;
  src: url("/fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 520 640;
  font-display: swap;
  src: url("/fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f5f1ea;
  --card: #fffdf9;
  --sand: #ebe4d8;
  --line: #ddd4c4;
  --ink: #142038;
  --ink-2: #1c2b4a;
  --text: #2c3446;
  --muted: #5d6576;
  --accent: #b5602a;
  --accent-dark: #974c1d;
  --on-dark: #eef0f5;
  --on-dark-muted: #a9b2c6;
  --radius: 20px;
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --sans: Outfit, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure { margin: 0; }
p { margin: 0; }
h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 60;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow-light { color: #e4a06f; }
.section { padding-block: clamp(72px, 9vw, 120px); }
.section-lead { margin-top: 18px; color: var(--muted); font-size: 1.15rem; max-width: 56ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; color: var(--muted); font-size: 0.98rem; }
.checks li { display: flex; align-items: flex-start; gap: 10px; }
.checks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2 6.6 11 12 5' fill='none' stroke='%23b5602a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checks-light { color: var(--on-dark-muted); }
.checks-light li::before { background-color: rgba(255,255,255,.1); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(245, 241, 234, 0.9);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  border-bottom-color: var(--line);
}
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 24px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--ink); letter-spacing: -0.01em;
}
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--text); font-size: 0.98rem;
}
.site-nav a:not(.btn):hover { background: var(--sand); }
.nav-cta { margin-left: 10px; min-height: 42px; }
.nav-toggle {
  display: none; margin-left: auto; min-height: 42px; padding: 0 16px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font-weight: 600; cursor: pointer;
}

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); line-height: 1.02; }
.hero h1 em { font-style: italic; color: var(--accent); }
.lede { margin-top: 24px; font-size: 1.2rem; color: var(--muted); max-width: 46ch; }
.hero-media { position: relative; padding-bottom: 48px; }
.hero-media > img {
  width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 30% center;
  border-radius: 28px;
}
.call-card {
  position: absolute; left: -32px; bottom: 0; width: min(340px, 88%);
  background: var(--ink); color: var(--on-dark); border-radius: 18px; padding: 18px 20px;
  box-shadow: 0 24px 50px rgba(20, 32, 56, 0.28);
}
.call-top { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--on-dark-muted); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #5fd38d; box-shadow: 0 0 0 4px rgba(95, 211, 141, .2); }
.call-name { margin-top: 10px; font-weight: 600; color: #fff; }
.call-line { margin-top: 6px; font-size: 0.92rem; color: var(--on-dark-muted); line-height: 1.45; }
.wave { display: flex; align-items: center; gap: 4px; height: 26px; margin-top: 14px; }
.wave i { flex: 1; max-width: 5px; border-radius: 3px; background: #e4a06f; height: 30%; animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; }
.wave i:nth-child(3n+1) { animation-delay: -.7s; }
.wave i:nth-child(4n) { animation-delay: -.5s; }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .wave i { animation: none; height: 60%; } }

/* Strip */
.strip { border-block: 1px solid var(--line); }
.strip-inner { display: flex; align-items: center; gap: 12px 36px; flex-wrap: wrap; padding-block: 22px; }
.strip p { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 32px; }
.strip li { font-family: var(--serif); font-weight: 560; font-size: 1.15rem; color: var(--ink); opacity: .7; }

/* Studio */
.studio-band { background: var(--ink); color: var(--on-dark); padding-block: clamp(72px, 9vw, 120px); }
.studio-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.studio-copy h2 { color: #fff; }
.studio-copy > p#view-copy { margin-top: 18px; color: var(--on-dark-muted); font-size: 1.12rem; max-width: 44ch; }
.switch-label { margin-top: 36px; font-size: 0.85rem; color: var(--on-dark-muted); }
.biz-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.biz-switch button {
  min-height: 42px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(255,255,255,.22); background: transparent; color: var(--on-dark); font-weight: 500;
}
.biz-switch button:hover { border-color: rgba(255,255,255,.5); }
.biz-switch button[aria-selected="true"] { background: #fff; border-color: #fff; color: var(--ink); font-weight: 600; }

.console {
  background: var(--card); color: var(--text); border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.rail { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: var(--sand); padding: 6px; gap: 4px; }
.rail-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 8px; border: 0; border-radius: 14px; background: transparent;
  color: var(--muted); font-weight: 600; font-size: 0.95rem; cursor: pointer;
}
.rail-btn:hover { color: var(--ink); }
.rail-btn[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(20,32,56,.12); }
.rail-btn svg { flex: none; }
.console-body { padding: clamp(24px, 3.5vw, 40px); min-height: 340px; }
.kicker { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.biz-name { margin-top: 10px; font-family: var(--serif); font-weight: 600; font-size: 1.9rem; color: var(--ink); letter-spacing: -0.01em; }
.greeting { margin: 18px 0 0; padding: 0 0 0 18px; border-left: 3px solid var(--accent); font-size: 1.18rem; color: var(--text); line-height: 1.5; }
.wave-wide { height: 40px; margin-top: 28px; }
.wave-wide i { background: var(--ink); opacity: .75; max-width: 6px; }

.thread { display: grid; gap: 14px; margin-top: 18px; }
.bubble { display: grid; gap: 4px; max-width: 86%; padding: 14px 16px; border-radius: 18px; line-height: 1.45; }
.bubble .who { font-size: 0.78rem; font-weight: 600; opacity: .7; }
.bubble-user { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.bubble-agent { background: var(--sand); color: var(--text); border-bottom-left-radius: 6px; }

.routes { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.routes li {
  display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px;
  padding: 14px; border: 1px solid var(--line); border-radius: 14px;
}
.routes span {
  grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 1.1rem;
}
.routes strong { color: var(--ink); }
.routes em { font-style: normal; color: var(--muted); font-size: 0.95rem; }

.facts { margin: 18px 0 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; padding-top: 4px; }
.facts dt { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); }

/* Problems */
.problems { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.photo img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.photo-tall img { aspect-ratio: 4 / 5; object-position: 60% center; }
.problem-list { list-style: none; counter-reset: p; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.problem-list li {
  counter-increment: p; display: grid; grid-template-columns: 36px 1fr; gap: 8px;
  padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink); font-weight: 500;
}
.problem-list li::before { content: counter(p, decimal-leading-zero); font-family: var(--serif); color: var(--accent); font-weight: 600; }

/* Profile */
.profile { padding-top: 0; }
.profile-head { max-width: 760px; }
.profile-grid { margin-top: 48px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: stretch; }
.profile-grid .photo img { height: 100%; min-height: 320px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-list li {
  display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
}
.feature-list strong { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.feature-list span { color: var(--muted); }

/* Deploy */
.deploy { background: var(--sand); }
.deploy h2 { max-width: 20ch; }
.steps { list-style: none; counter-reset: s; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { counter-increment: s; padding-top: 20px; border-top: 2px solid var(--ink); }
.steps li::before {
  content: counter(s); display: block; margin-bottom: 18px;
  font-family: var(--serif); font-weight: 600; font-size: 3rem; line-height: 1; color: var(--accent);
}
.steps p { margin-top: 10px; color: var(--muted); }

/* Contact */
.contact-card {
  display: grid; grid-template-columns: 1.1fr 0.9fr; background: var(--ink); color: var(--on-dark);
  border-radius: 28px; overflow: hidden;
}
.contact-copy { padding: clamp(32px, 5vw, 64px); }
.contact-copy h2 { color: #fff; }
.contact-copy > p:not(.eyebrow) { margin-top: 18px; color: var(--on-dark-muted); font-size: 1.12rem; max-width: 48ch; }
.contact-media img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; min-height: 280px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-block: 32px; }
.footer-inner p { color: var(--muted); flex: 1; min-width: 240px; }
.footer-mail { font-weight: 600; color: var(--ink); }
.footer-link { color: var(--muted); text-underline-offset: 3px; }
.footer-link:hover { color: var(--ink); }

/* Legal pages */
.legal-head { padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 64px); }
.legal-head h1 { font-size: clamp(2.5rem, 4.8vw, 3.8rem); line-height: 1.04; }
.legal-meta { margin-top: 14px; color: var(--muted); font-size: 0.98rem; }
.legal-head .lede { max-width: 62ch; }
.legal-summary {
  margin-top: 40px; padding: clamp(24px, 3.5vw, 36px); max-width: 820px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.legal-head .feature-list { margin-top: 40px; max-width: 900px; }
.legal-summary h2 { font-size: 1.5rem; }
.legal-summary .checks { margin-top: 18px; color: var(--text); font-size: 1rem; }
.legal-grid {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px);
  padding-block: clamp(40px, 5vw, 64px) clamp(72px, 9vw, 120px);
  border-top: 1px solid var(--line);
}
.legal-toc { position: sticky; top: 104px; align-self: start; }
.legal-toc ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 2px; }
.legal-toc a {
  display: block; padding: 6px 10px; margin-left: -10px; border-radius: 8px;
  color: var(--muted); font-size: 0.95rem; text-decoration: none;
}
.legal-toc a:hover { background: var(--sand); color: var(--ink); }
.legal-body { max-width: 68ch; }
.legal-body section + section { margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--line); }
.legal-body h2 { font-size: clamp(1.55rem, 2.4vw, 1.95rem); line-height: 1.15; }
.legal-body h3 { margin-top: 30px; font-size: 1.2rem; line-height: 1.2; }
.legal-body p { margin-top: 14px; }
.legal-body ul { margin: 14px 0 0; padding-left: 1.25em; display: grid; gap: 8px; }
.legal-body li::marker { color: var(--accent); }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a:not(.btn), .legal-summary a { color: var(--accent-dark); text-underline-offset: 3px; }
.legal-body p:has(> .btn) { margin-top: 22px; }
@media (max-width: 980px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-toc ol { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}
@media (max-width: 620px) {
  .legal-toc ol { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 20px;
    background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav a:not(.btn) { padding: 12px; border-radius: 12px; }
  .nav-cta { margin: 10px 0 0; }
  .hero-grid, .studio-grid, .problems, .profile-grid, .contact-card { grid-template-columns: 1fr; }
  .hero-media { max-width: 620px; }
  .hero-media > img { aspect-ratio: 16 / 11; }
  .call-card { left: 16px; }
  .photo-tall img { aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .contact-media { order: -1; }
  .contact-media img { min-height: 0; aspect-ratio: 16 / 8; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .rail { grid-template-columns: 1fr 1fr; }
  .console-body { min-height: 0; }
  .problem-list, .feature-list, .steps { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .bubble { max-width: 94%; }
  .actions .btn { flex: 1 1 auto; }
  .call-card { position: relative; left: auto; width: auto; margin: -40px 12px 0; }
  .hero-media { padding-bottom: 0; }
}
@media (max-width: 980px) and (min-width: 621px) {
  .profile-grid .photo img, .photo-tall img { min-height: 0; height: auto; aspect-ratio: 16 / 8; }
}

/* Policies (home) */
.policies { padding-top: 0; }
.policy-list { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.policy-card {
  display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.policy-card:hover { border-color: var(--ink); transform: translateY(-1px); }
.policy-card strong { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--ink); }
.policy-card span { color: var(--muted); }
.policy-card em { margin-top: 10px; font-style: normal; font-weight: 600; color: var(--accent-dark); }
@media (max-width: 620px) { .policy-list { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .footer-inner p { flex-basis: 100%; } }
.footer-legal { margin-top: -12px; padding-bottom: 28px; font-size: 0.9rem; color: var(--muted); }
