:root {
  --coral: #d14d4b;        /* logo */
  --coral-ink: #b23a38;    /* AA on white for text + buttons */
  --coral-soft: #fbe7e2;
  --ink: #1c1a27;
  --ink-2: #4a4757;
  --line: #ebe4dc;
  --bg: #fffdfa;
  --bg-alt: #f7f1ea;
  --white: #fff;
  --radius: 20px;
  --shadow: 0 1px 2px rgb(28 26 39 / .06), 0 8px 24px rgb(28 26 39 / .06);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --text: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--coral-ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { top: 12px; }

.eyebrow { font: 600 .8125rem/1 var(--text); text-transform: uppercase; letter-spacing: .12em; color: var(--coral-ink); margin-bottom: 1rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .9em 1.5em; border-radius: 999px; background: var(--coral-ink); color: var(--white); font-weight: 600; text-decoration: none; border: 2px solid var(--coral-ink); transition: transform .15s, background .15s; }
.btn:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: var(--ink); color: var(--white); }
.btn-sm { padding: .55em 1.1em; font-size: .9375rem; }
.link-arrow { color: inherit; font-weight: 600; text-underline-offset: 4px; }
.link-arrow::after { content: " →"; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 253 250 / .85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { width: auto; height: 36px; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .9375rem; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .nav .btn { margin-top: 16px; }
}

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 2.5rem; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--ink-2); font-size: .9375rem; }
.trust strong { color: var(--ink); }
.hero-media { position: relative; margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 60% center; border-radius: 28px 28px 28px 120px; }
.hero-media::before { content: ""; position: absolute; inset: auto -40px -40px auto; width: 70%; height: 70%; background: var(--coral-soft); border-radius: 50%; z-index: -1; }
.hero-badge { position: absolute; left: -16px; bottom: 32px; display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow); font-weight: 600; font-size: .9375rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #1f9d62; box-shadow: 0 0 0 4px rgb(31 157 98 / .18); }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media img { aspect-ratio: 4 / 3; border-radius: 24px 24px 24px 80px; }
  .hero-badge { left: 12px; bottom: 12px; }
}

/* Logos */
.logos { padding: 32px 0 56px; }
.logos-title { font: 500 .9375rem/1.4 var(--text); color: var(--ink-2); text-align: center; letter-spacing: 0; margin-bottom: 24px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 40px; }
.logo-row img { height: 36px; width: auto; max-width: 116px; object-fit: contain; filter: grayscale(1); opacity: .7; mix-blend-mode: multiply; transition: filter .2s, opacity .2s; }
.logo-row img:hover { filter: none; opacity: 1; }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p:last-child { color: var(--ink-2); font-size: 1.125rem; }
.section-head.center { margin-inline: auto; text-align: center; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--ink-2); margin: 0; }
.card-wide { grid-column: span 2; }
.card-full { grid-column: 1 / -1; }
.card-tint { background: var(--coral-soft); border-color: transparent; }
.card-dark { background: var(--ink); color: var(--white); border-color: transparent; }
.card-dark p { color: rgb(255 255 255 / .75); margin-bottom: 1rem; }
.card-dark .icon { stroke: #ff9b8f; }
.icon { width: 32px; height: 32px; fill: none; stroke: var(--coral-ink); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .card-wide { grid-column: auto; } }
.card-full { display: grid; grid-template-columns: auto 1fr auto; gap: 0 24px; align-items: center; }
.card-full .icon { margin: 0; grid-row: span 2; }
.card-full h3, .card-full p { grid-column: 2; }
.card-full h3 { margin: 0; }
.card-full p { margin: 0; }
.card-full .link-arrow { grid-row: 1 / span 2; grid-column: 3; }
@media (max-width: 600px) { .card-full { display: block; } .card-full .icon { margin-bottom: 20px; } .card-full p { margin-bottom: 1rem; } }

/* Tabs */
.tablist { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 40px; }
.tablist button { font: 600 .9375rem/1 var(--text); padding: 12px 20px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); cursor: pointer; }
.tablist button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.panel[hidden] { display: none; }
.panel p { color: var(--ink-2); }
.panel h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.panel video, .panel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--line); }
@media (max-width: 820px) {
  .panel { grid-template-columns: 1fr; }
  .tablist { display: flex; border-radius: 16px; }
  .tablist button { flex: 1 1 auto; border-radius: 12px; }
}

.checks { display: grid; gap: 10px; margin-bottom: 1.5rem; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--coral-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b23a38' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; position: relative; }
.plan .checks { flex: 1; font-size: .9375rem; }
.plan-for { color: var(--ink-2); }
.price { font-family: var(--display); color: var(--ink-2); margin: 1rem 0 .25rem; }
.price span { font-size: 2.75rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.plan-note { font-size: .9375rem; color: var(--ink-2); padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.plan-featured { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: var(--shadow); }
.plan-featured .plan-for, .plan-featured .price, .plan-featured .plan-note { color: rgb(255 255 255 / .72); }
.plan-featured .price span { color: var(--white); }
.plan-featured .plan-note { border-color: rgb(255 255 255 / .15); }
.plan-featured .btn { background: var(--coral); border-color: var(--coral); }
.plan-featured .btn:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.tag { position: absolute; top: 28px; right: 28px; margin: 0; padding: 4px 10px; border-radius: 999px; background: var(--coral); color: var(--white); font-size: .75rem; font-weight: 600; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* ROI */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.roi p { color: var(--ink-2); }
.staff-label { display: block; font-weight: 600; margin: 2rem 0 .75rem; }
.staff-label output { font-family: var(--display); font-size: 1.5rem; color: var(--coral-ink); }
input[type="range"] { width: 100%; accent-color: var(--coral-ink); height: 28px; }
.roi-card { margin: 0; background: var(--white); border-radius: var(--radius); padding: 8px 28px; box-shadow: var(--shadow); }
.roi-card div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.roi-card dt { color: var(--ink-2); }
.roi-card dd { margin: 0; font: 700 1.375rem/1.2 var(--display); font-variant-numeric: tabular-nums; }
.roi-card .roi-net { border: 0; flex-wrap: wrap; }
.roi-net dd { font-size: clamp(2rem, 4vw, 2.75rem); color: var(--coral-ink); text-align: right; }
.roi-net small { display: block; font: 600 .875rem/1.4 var(--text); color: var(--ink-2); }
@media (max-width: 820px) { .roi { grid-template-columns: 1fr; } }

/* Testimonials */
.quotes { columns: 3 300px; column-gap: 16px; }
.quotes li { break-inside: avoid; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 16px; }
.quotes blockquote { margin: 0 0 20px; font-size: 1.0625rem; }
.quotes blockquote p { margin: 0; }
.who { display: flex; align-items: center; gap: 12px; margin: 0; font-size: .875rem; color: var(--ink-2); }
.who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.who strong { display: block; color: var(--ink); font-size: .9375rem; }

/* Stats */
.stats { background: var(--coral-ink); color: var(--white); padding: 56px 0; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-row li { color: rgb(255 255 255 / .85); }
.stat-row strong { display: block; font: 800 clamp(2.25rem, 4vw, 3rem)/1.1 var(--display); color: var(--white); letter-spacing: -.02em; }
@media (max-width: 720px) { .stat-row { grid-template-columns: 1fr 1fr; } }

/* CTA */
.cta { padding: 0 0 clamp(64px, 9vw, 120px); }
.cta-inner { background: var(--ink); color: var(--white); border-radius: 32px; padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px); text-align: center; background-image: radial-gradient(circle at 85% 0%, rgb(209 77 75 / .45), transparent 55%); }
.cta-inner p { color: rgb(255 255 255 / .78); max-width: 46ch; margin: 0 auto 2rem; font-size: 1.125rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: .9375rem; color: var(--ink-2); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner img { height: 32px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.copy { margin: 0; }

.copy a { color: inherit; }

/* Floating concept credit */
.es-badge { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 14px; border-radius: 999px; background: rgb(28 26 39 / .92); border: 1px solid rgb(255 255 255 / .12); color: rgb(255 255 255 / .75); font-size: 13px; text-decoration: none; box-shadow: 0 8px 24px rgb(28 26 39 / .25); backdrop-filter: blur(8px); transition: border-color .2s, transform .2s; }
.es-badge strong { color: var(--white); font-weight: 600; }
.es-badge svg { color: #ff9b8f; }
.es-badge:hover { border-color: var(--coral); transform: translateY(-2px); color: var(--white); }
.es-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: es-pulse 2.4s ease-out infinite; }
@keyframes es-pulse { 0% { box-shadow: 0 0 0 0 rgb(209 77 75 / .6); } 70%, 100% { box-shadow: 0 0 0 8px rgb(209 77 75 / 0); } }
@media (max-width: 600px) { .es-badge { left: 12px; bottom: 12px; padding: 0 14px 0 12px; font-size: 12px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
