/* =====================================================================
   Centool.ai styles
   Dark, warm and spacious. Orange is the only accent color.
   ===================================================================== */

:root {
  --bg: #0d0b09;
  --bg-soft: #13100d;
  --surface: #191512;
  --surface-2: #211c18;
  --surface-3: #2c2520;
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .2);
  --text: #ffffff;
  --muted: #c2b9b0;
  --dim: #958c83;
  --orange: #ff7a1a;
  --orange-hi: #ffa04d;
  --on-orange: #1a0d02;
  --ok: #5fd38d;
  --err: #ff9a9a;
  --radius: 20px;
  --container: 1160px;
  --pad: clamp(24px, 4vw, 48px);
  --header-h: 72px;
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.lang-pending body { visibility: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
img, svg { max-width: 100%; }
img { height: auto; }
p, h1, h2, h3, figure { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
::selection { background: var(--orange); color: var(--on-orange); }

h1, h2, h3 {
  font-family: var(--font-display);
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.9rem); font-weight: 800; line-height: .98; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 700; line-height: 1.04; letter-spacing: -.03em; }
h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
.hl { color: var(--orange); }

:focus-visible { outline: 3px solid var(--orange-hi); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: 12px;
  background: var(--orange); color: var(--on-orange); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.icon {
  width: 1.25em; height: 1.25em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* The crawling centipede: fixed, full screen, behind everything, never clickable. */
#crawler {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100vh; height: 100lvh;
  z-index: 0; pointer-events: none;
}
main, .site-footer { position: relative; z-index: 1; }

/* Empty bands between sections. The centipede crosses the page here. */
.lane { height: clamp(96px, 11vw, 150px); }

/* ------------------------------ Buttons ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.35em;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 1rem/1.2 var(--font-body); text-align: center; text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--on-orange); box-shadow: 0 12px 32px -12px rgba(255, 122, 26, .7); }
.btn-primary:hover { background: var(--orange-hi); }
.btn-ghost { background: rgba(255, 255, 255, .05); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-hi); }
.btn-lg { min-height: 56px; padding: .9em 1.7em; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ------------------------------ Header ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 11, 9, .84);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; border-radius: 12px; }
.logo img { width: 46px; height: 46px; transition: transform .3s ease; }
.logo:hover img { transform: rotate(-8deg) scale(1.06); }
.wordmark { font: 800 1.6rem/1 var(--font-display); letter-spacing: -.035em; }
.wm-cen { color: #fff; }
.wm-tool { color: var(--orange); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--muted); font-size: .97rem; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav a.nav-phone, .nav-email a { color: #fff; font-weight: 600; }
.nav-cta { min-height: 44px; margin-left: 8px; padding: .55em 1.15em; font-size: .95rem; white-space: nowrap; }

.header-tools { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: inline-flex; padding: 3px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, .05);
}
.lang-toggle button {
  min-width: 44px; min-height: 38px; padding: 0 10px;
  border: 0; border-radius: 999px; background: transparent;
  color: var(--muted); font: 600 .85rem/1 var(--font-body); letter-spacing: .04em; cursor: pointer;
}
.lang-toggle button:hover { color: #fff; }
.lang-toggle button[aria-pressed="true"] { background: var(--orange); color: var(--on-orange); }

.menu-btn {
  display: none; position: relative; width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(255, 255, 255, .05); cursor: pointer;
}
.menu-btn span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 27px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Very small phones: tighten the header so nothing is pushed off-screen. */
@media (max-width: 359px) {
  .header-inner { gap: 10px; }
  .logo { gap: 8px; }
  .logo img { width: 38px; height: 38px; }
  .wordmark { font-size: 1.36rem; }
  .header-tools { gap: 8px; }
  .lang-toggle button { min-width: 38px; padding: 0 6px; }
  .menu-btn { width: 44px; height: 44px; }
  .menu-btn span { left: 11px; right: 11px; }
  .menu-btn span:nth-child(1) { top: 14px; }
  .menu-btn span:nth-child(2) { top: 20px; }
  .menu-btn span:nth-child(3) { top: 26px; }
}
@media (max-width: 299px) { .wordmark { display: none; } }

/* Desktop header: the email shows as an icon (full address in the mobile menu and footer). */
@media (min-width: 1260px) {
  .nav-email .email-text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

@media (max-width: 1259px) {
  .menu-btn { display: block; }
  .header-tools { margin-left: auto; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    margin: 0; padding: 12px var(--pad) 22px;
    max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: #110e0c; border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 1.08rem; color: #fff; white-space: normal; }
  .nav-cta { margin: 10px 0 0; min-height: 52px; font-size: 1rem; }
}

/* ------------------------------ Shared section pieces ------------------------------ */
.section { position: relative; padding-block: clamp(24px, 3.5vw, 40px); }
section[id] { scroll-margin-top: calc(var(--header-h) + 18px); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

.eyebrow {
  margin-bottom: 16px;
  color: var(--orange-hi); font-size: .8rem; font-weight: 600; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase;
}
.lead { max-width: 60ch; margin-top: 18px; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.55; }

.card {
  padding: clamp(20px, 3vw, 30px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: minmax(0, 1fr); } }

.checks { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 32px; font-size: .98rem; line-height: 1.45; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .12em; width: 21px; height: 21px; border-radius: 50%;
  background: rgba(255, 122, 26, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffa04d' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ------------------------------ 1. Hero ------------------------------ */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: min(840px, calc(100vh - var(--header-h)));
  padding-block: clamp(40px, 6vw, 80px) clamp(16px, 3vw, 32px);
}
.hero::before {
  content: ""; position: absolute; inset: -72px 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(52% 50% at 80% 34%, rgba(255, 122, 26, .17), transparent 72%),
    radial-gradient(40% 36% at 6% 4%, rgba(255, 160, 77, .08), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 9px; }
.hero-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.hero-visual { display: flex; justify-content: center; }

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Phone mockup: missed call, then an instant bilingual text-back */
.phone {
  width: min(100%, 336px); padding: 10px; border-radius: 42px;
  background: linear-gradient(160deg, #2e2620, #15110f);
  border: 1px solid var(--line-strong);
  box-shadow: 0 50px 90px -40px #000, 0 0 90px -24px rgba(255, 122, 26, .45);
}
.phone-inner { overflow: hidden; border-radius: 32px; background: var(--surface); }
.phone-top, .chat-head {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.phone-avatar { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: var(--on-orange); }
.phone-id { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.phone-id strong { font-size: .95rem; }
.phone-id small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .78rem; }
.live-dot { flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.phone-screen { display: flex; flex-direction: column; gap: 10px; min-height: 416px; padding: 16px 14px 18px; }

.h-step { opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.h-step.show { opacity: 1; transform: none; }
.missed {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px;
  background: rgba(255, 154, 154, .08); border: 1px solid rgba(255, 154, 154, .3);
}
.missed-ic { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 154, 154, .16); color: var(--err); }
.missed strong { display: block; font-size: .92rem; line-height: 1.25; }
.missed small { display: block; color: var(--muted); font-size: .78rem; }
.bubble { max-width: 88%; padding: 10px 13px; border-radius: 18px; font-size: .9rem; line-height: 1.4; }
.bubble.out { align-self: flex-end; background: var(--orange); color: var(--on-orange); border-bottom-right-radius: 6px; }
.bubble.in { align-self: flex-start; background: var(--surface-3); border-bottom-left-radius: 6px; }
.bubble span { display: block; }
.bubble-sep { height: 1px; margin: 7px 0; background: rgba(26, 13, 2, .28); }
.bubble small { display: block; margin-top: 7px; font-size: .72rem; font-weight: 600; }
.saved {
  align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: rgba(95, 211, 141, .1); border: 1px solid rgba(95, 211, 141, .4);
  color: var(--ok); font-size: .78rem; font-weight: 600; text-align: center;
}

/* ------------------------------ 2. Problem ------------------------------ */
.card-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: rgba(255, 122, 26, .14); color: var(--orange-hi); font-size: 1.25rem; }
.problem-card h3 { margin: 18px 0 8px; }
.problem-card p { color: var(--muted); }
.fix-line { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 1.12rem; font-weight: 600; }
.fix-line .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--orange); color: var(--on-orange); stroke-width: 3; }

/* ------------------------------ 3. Demos ------------------------------ */
.demos { padding: 0; overflow: hidden; }
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 8px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.tab {
  min-height: 54px; padding: 10px 12px;
  border: 1px solid transparent; border-radius: 13px; background: transparent;
  color: var(--muted); font: 600 .96rem/1.25 var(--font-body); cursor: pointer;
}
.tab:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.tab[aria-selected="true"] { color: #fff; background: var(--surface-3); border-color: var(--line-strong); box-shadow: inset 0 -3px 0 var(--orange); }
@media (max-width: 720px) { .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 339px) { .tabs { grid-template-columns: minmax(0, 1fr); } }

.panel { padding: clamp(18px, 3vw, 32px); }
.demo-badge {
  display: inline-flex; margin-bottom: 22px; padding: 6px 13px;
  border: 1px dashed rgba(255, 160, 77, .6); border-radius: 999px;
  color: var(--orange-hi); font-size: .82rem; font-weight: 600; line-height: 1.35;
}
.demo-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(22px, 3.5vw, 40px); align-items: start; }
@media (max-width: 860px) { .demo-grid { grid-template-columns: minmax(0, 1fr); } }
.demo-form h3 { font-size: 1.45rem; }
.demo-intro { margin: 10px 0 22px; color: var(--muted); font-size: .98rem; }

/* Form controls (shared by demos and real forms) */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin-bottom: 16px; }
.field > label, .field > legend { font-size: .92rem; font-weight: 600; }
.field > legend { margin-bottom: 7px; }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 12px; background: #0f0d0b;
  color: #fff; font-size: 1rem; line-height: 1.3;
}
textarea { min-height: 96px; resize: vertical; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2b9b0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
select option { background: #191512; color: #fff; }
input::placeholder, textarea::placeholder { color: var(--dim); opacity: 1; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--orange-hi); outline-offset: 1px; border-color: var(--orange); border-radius: 12px; }
[aria-invalid="true"] { border-color: var(--err) !important; }
.field-error { color: var(--err); font-size: .88rem; font-weight: 500; line-height: 1.4; }
input[type="range"] { width: 100%; min-height: 34px; margin: 0; accent-color: var(--orange); cursor: pointer; }
output { margin-left: 4px; color: var(--orange-hi); font-weight: 700; }

/* Ad maker */
.ads-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.ad-wrap { min-width: 0; }
.ad-label { margin-bottom: 8px; color: var(--dim); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.ad-card { overflow: hidden; border-radius: 14px; background: #fff; color: #1c1e21; font-size: .9rem; line-height: 1.4; box-shadow: 0 24px 50px -24px #000; }
.ad-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px 8px; }
.ad-avatar { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: var(--on-orange); font: 800 1.05rem/1 var(--font-display); }
.ad-who { min-width: 0; line-height: 1.25; }
.ad-who strong { display: block; overflow-wrap: anywhere; }
.ad-who small { color: #5d6066; font-size: .76rem; }
.ad-text { padding: 0 14px 12px; overflow-wrap: anywhere; }
.ad-media {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 190px; padding: 20px 16px; text-align: center; color: #fff;
  background: radial-gradient(70% 90% at 50% 0%, rgba(255, 122, 26, .5), transparent 70%), linear-gradient(140deg, #17110c, #3b1e08);
}
.ad-emoji { font-size: 2rem; line-height: 1; }
.ad-big { color: #ffb469; font: 800 clamp(1.25rem, 2.3vw, 1.7rem)/1.05 var(--font-display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.ad-hook { font-size: .92rem; font-weight: 500; }
.ad-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; background: #f0f2f5; }
.ad-bottom div { min-width: 0; }
.ad-bottom small { display: block; overflow: hidden; color: #5d6066; font-size: .7rem; letter-spacing: .04em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.ad-bottom strong { display: block; font-size: .88rem; overflow-wrap: anywhere; }
.ad-cta { flex-shrink: 0; padding: 8px 12px; border-radius: 8px; background: #dfe2e7; font-size: .82rem; font-weight: 600; }

/* AI receptionist chat */
.chat { display: flex; flex-direction: column; width: 100%; max-width: 540px; justify-self: center; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 24px; background: var(--bg-soft); }
.chat-log { display: flex; flex-direction: column; gap: 10px; height: 330px; padding: 16px 14px; overflow-y: auto; overscroll-behavior: contain; }
.chat-log:focus-visible { outline-offset: -3px; border-radius: 0; }
.chat-notice { align-self: center; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--dim); font-size: .76rem; text-align: center; }
.msg { max-width: 85%; padding: 10px 13px; border-radius: 18px; font-size: .94rem; line-height: 1.4; overflow-wrap: anywhere; }
.msg.bot { align-self: flex-start; background: var(--surface-3); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--orange); color: var(--on-orange); border-bottom-right-radius: 6px; }
.msg.typing { display: inline-flex; align-items: center; gap: 5px; padding: 15px 14px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1s ease-in-out infinite both; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
.chip-btn {
  min-height: 42px; padding: 8px 15px; border: 1px solid rgba(255, 160, 77, .5); border-radius: 999px;
  background: rgba(255, 122, 26, .09); color: var(--orange-hi); font: 600 .88rem/1.2 var(--font-body); cursor: pointer;
}
.chip-btn:hover { background: rgba(255, 122, 26, .2); }
.chat-form { display: flex; gap: 8px; padding: 2px 14px 14px; }
.chat-form input { flex: 1; min-width: 0; }
.chat-form .btn { flex-shrink: 0; min-height: 50px; padding-inline: 18px; }

/* Website preview builder */
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.swatch-dot { display: block; width: 42px; height: 42px; border: 4px solid var(--surface); border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px var(--line-strong); }
.swatch input:checked + .swatch-dot { box-shadow: 0 0 0 3px #fff; }
.swatch input:focus-visible + .swatch-dot { outline: 3px solid var(--orange-hi); outline-offset: 5px; }

.browser { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 16px; background: #2b2622; box-shadow: 0 30px 60px -30px #000; }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.browser-dots { display: flex; gap: 6px; flex-shrink: 0; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: #5c544d; }
.browser-url { flex: 1; min-width: 0; padding: 5px 14px; overflow: hidden; border-radius: 999px; background: #16120f; color: var(--muted); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.site { --brand: #f97316; --on-brand: #fff; background: #fff; color: #16181d; font-size: .9rem; line-height: 1.45; }
.site-nav { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid #e8eaee; }
.site-brand { min-width: 0; margin-right: auto; font: 800 1.02rem/1.2 var(--font-display); overflow-wrap: anywhere; }
.site-links { display: flex; gap: 14px; color: #555c69; font-size: .8rem; }
.site-pill { flex-shrink: 0; padding: 5px 12px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-size: .76rem; font-weight: 600; white-space: nowrap; }
.site-hero { padding: 32px 18px 28px; text-align: center; background: #f6f7f9; background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 14%, #fff), #fff); }
.site-h { font: 800 clamp(1.3rem, 2.7vw, 1.9rem)/1.1 var(--font-display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.site-sub { margin-top: 8px; color: #555c69; }
.site-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.site-btn { padding: 9px 17px; border: 2px solid var(--brand); border-radius: 999px; font-size: .84rem; font-weight: 600; }
.site-btn.solid { background: var(--brand); color: var(--on-brand); }
.site-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 4px 16px 22px; }
.site-svc { padding: 14px 6px; border: 1px solid #e8eaee; border-radius: 12px; font-size: .8rem; font-weight: 600; line-height: 1.25; text-align: center; overflow-wrap: anywhere; }
.site-svc i { display: block; width: 26px; height: 26px; margin: 0 auto 8px; border-radius: 8px; background: var(--brand); }
@media (max-width: 520px) { .site-links { display: none; } }

/* Lost revenue calculator */
.calc-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 14px; align-content: start; }
.calc-box { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-soft); }
.calc-label { color: var(--muted); font-size: .88rem; }
.calc-num { margin-top: 6px; color: var(--orange); font: 800 clamp(1.9rem, 4.4vw, 3rem)/1.05 var(--font-display); letter-spacing: -.03em; overflow-wrap: anywhere; }
.calc-formula, .calc-note, .calc-out .btn { grid-column: 1 / -1; }
.calc-formula { color: var(--muted); font-size: .9rem; }
.calc-note { color: var(--dim); font-size: .88rem; }
.calc-out .btn { justify-self: start; margin-top: 6px; }

/* ------------------------------ 4. Plans ------------------------------ */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.4rem; }
.plan-tag { margin-top: 8px; color: var(--muted); font-size: .98rem; }
.plan-price { margin: 20px 0 0; padding: 16px 0; border-block: 1px solid var(--line); color: var(--muted); font-size: .95rem; line-height: 1.55; }
.plan-price strong { color: #fff; font: 800 1.75rem/1 var(--font-display); letter-spacing: -.02em; }
.plan .checks { margin-bottom: 26px; }
.plan .btn { margin-top: auto; }
.plan-featured { border-color: rgba(255, 122, 26, .65); background: linear-gradient(180deg, #2a1c11, var(--surface) 60%); box-shadow: 0 0 70px -24px rgba(255, 122, 26, .55); }
.plan-badge {
  position: absolute; top: -13px; left: 24px; padding: 5px 12px; border-radius: 999px;
  background: var(--orange); color: var(--on-orange); font-size: .72rem; font-weight: 700; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase;
}

/* ------------------------------ 5. Build your own ------------------------------ */
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.pick { position: relative; display: block; cursor: pointer; }
.pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pick-ui {
  display: flex; align-items: flex-start; gap: 14px; height: 100%; padding: 18px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  transition: border-color .15s ease, background-color .15s ease;
}
.pick:hover .pick-ui { border-color: var(--line-strong); }
.pick-box { flex-shrink: 0; width: 24px; height: 24px; margin-top: 1px; border: 2px solid var(--dim); border-radius: 7px; background: transparent center / 15px no-repeat; }
.pick-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pick-text strong { font-weight: 600; line-height: 1.3; }
.pick-text small { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.pick input:checked + .pick-ui { border-color: var(--orange); background: #251a10; }
.pick input:checked + .pick-ui .pick-box {
  border-color: var(--orange); background-color: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a0d02' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.pick input:focus-visible + .pick-ui { outline: 3px solid var(--orange-hi); outline-offset: 3px; }
.picks-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 22px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
}
.picks-bar p { font-weight: 600; }
.picks-error { margin-top: 12px; }

/* ------------------------------ 6. How it works ------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step-num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--orange); color: var(--on-orange); font: 800 1.5rem/1 var(--font-display); }
.step h3 { margin: 18px 0 8px; }
.step p { color: var(--muted); }
.results-soon {
  display: flex; align-items: flex-start; gap: 18px; margin-top: 20px; padding: 22px 24px;
  border: 1px dashed rgba(255, 160, 77, .55); border-radius: var(--radius); background: var(--bg-soft);
}
.results-dot { flex-shrink: 0; width: 12px; height: 12px; margin-top: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px rgba(255, 122, 26, .2); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 5px rgba(255, 122, 26, .22); } 50% { box-shadow: 0 0 0 10px rgba(255, 122, 26, .06); } }
.results-soon h3 { font-size: 1.15rem; }
.results-soon p { margin-top: 4px; color: var(--muted); }

/* ------------------------------ 7. Centi story ------------------------------ */
.centi-stage { position: relative; }
.tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.tools li {
  position: relative; justify-self: center; padding: 9px 18px; border: 1px solid rgba(255, 160, 77, .6); border-radius: 999px;
  background: var(--surface); font-size: .96rem; font-weight: 600; line-height: 1.3; text-align: center;
}
.tools-top { margin-bottom: 14px; }
.tools-bottom { margin-top: 14px; }
.tools-top li::after, .tools-bottom li::before { content: ""; position: absolute; left: 50%; width: 2px; height: 30px; margin-left: -1px; background: var(--orange-hi); }
.tools-top li::after { top: 100%; }
.tools-bottom li::before { bottom: 100%; }
.centi-big { aspect-ratio: 1000 / 260; }
.centi-big svg { display: block; width: 100%; height: auto; overflow: visible; }
@media (max-width: 760px) {
  .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tools li { justify-self: stretch; padding-inline: 10px; font-size: .9rem; }
  .tools li::after, .tools li::before { display: none; }
}

/* Centi drawing (built in main.js) */
.c-seg { stroke: #0d0b09; stroke-width: 2; }
.c-shine { fill: rgba(255, 255, 255, .24); }
.c-leg { fill: none; stroke: #ffd9b8; stroke-width: 2.4; stroke-linecap: round; transform-box: fill-box; transform-origin: 50% 100%; animation: c-leg 1.1s ease-in-out infinite; animation-delay: calc(var(--i) * -.12s); }
.c-leg.dn { transform-origin: 50% 0; animation-delay: calc(var(--i) * -.12s - .55s); }
.c-tool { fill: none; stroke: var(--orange-hi); stroke-width: 3; stroke-linecap: round; }
.c-tip { fill: var(--orange-hi); }
.c-tip-glow { fill: rgba(255, 160, 77, .28); transform-box: fill-box; transform-origin: center; animation: c-glow 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.3s); }
.c-bob { animation: c-bob 2.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.11s); }
.c-tail { fill: none; stroke: #ffd9b8; stroke-width: 2.2; stroke-linecap: round; }
.c-head { fill: url(#cHead); stroke: #0d0b09; stroke-width: 2; }
.c-eye { fill: #1a0d02; }
.c-glint { fill: #fff; }
.c-ant { transform-box: fill-box; animation: c-ant 2.6s ease-in-out infinite; }
.c-ant path { fill: none; stroke: var(--orange-hi); stroke-width: 2.6; stroke-linecap: round; }
.c-ant circle { fill: #ffc890; }
.c-ant.a1 { transform-origin: 0 100%; }
.c-ant.a2 { transform-origin: 0 0; animation-delay: -1.3s; }
.c-glow { animation: c-glow 3s ease-in-out infinite; }
@keyframes c-leg { 0%, 100% { transform: rotate(-16deg); } 50% { transform: rotate(16deg); } }
@keyframes c-bob { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(3px); } }
@keyframes c-ant { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes c-glow { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

/* ------------------------------ 8 + 9. Forms ------------------------------ */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 901px) { .split-copy { position: sticky; top: calc(var(--header-h) + 36px); } }
.contact-card { display: grid; gap: 18px; align-self: center; padding: clamp(24px, 3.4vw, 38px); }
.contact-h { font: 700 clamp(1.35rem, 2.4vw, 1.75rem)/1.25 var(--font-display); letter-spacing: -.015em; }
.contact-h a { color: var(--orange-hi); white-space: nowrap; text-decoration: none; }
.contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 340px) { .contact-actions { grid-template-columns: minmax(0, 1fr); } }
.contact-actions .btn { justify-content: center; }
.contact-email a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.header-tools-404 { margin-left: auto; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } }

.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radio { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 8px 18px 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 500; cursor: pointer; }
.radio input { width: 19px; height: 19px; margin: 0; accent-color: var(--orange); }
.radio:has(input:checked) { border-color: var(--orange); background: rgba(255, 122, 26, .1); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 7px 14px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--muted); font-size: .9rem; font-weight: 500; line-height: 1.25;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover span { border-color: var(--orange-hi); color: #fff; }
.chip input:checked + span { border-color: var(--orange); background: var(--orange); color: var(--on-orange); font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--orange-hi); outline-offset: 3px; }

.check { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: .9rem; font-weight: 400; line-height: 1.5; cursor: pointer; }
.check input { flex-shrink: 0; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--orange); cursor: pointer; }
.check input[aria-invalid="true"] { outline: 2px solid var(--err); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-summary { margin-bottom: 18px; padding: 12px 14px; border: 1px solid rgba(255, 154, 154, .5); border-radius: 12px; background: rgba(255, 154, 154, .08); color: var(--err); font-size: .92rem; font-weight: 600; }
.form-fail { margin-top: 14px; }
.success-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 50%; background: rgba(95, 211, 141, .15); color: var(--ok); }
.success-ic .icon { width: 30px; height: 30px; stroke-width: 2.6; }

/* ------------------------------ 8. Ad showcase ------------------------------ */
.show-badge { margin: 22px 0 0; }
.sa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin: 0; padding: 0; list-style: none; }
@media (max-width: 860px) { .sa-grid { grid-template-columns: minmax(0, 1fr); max-width: 440px; margin-inline: auto; gap: 30px; } }
.sa figure { margin: 0; }
.sa-frame {
  position: relative; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 28px;
  background: #f5f5f7; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Inter", system-ui, sans-serif;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
@media (hover: hover) { .sa:hover .sa-frame { transform: translateY(-6px); } }
.sa-media { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.sa-copy { position: absolute; inset: 0 0 auto 0; padding: clamp(22px, 7%, 34px) 20px 0; text-align: center; pointer-events: none; }
.sa-kicker { font-size: .78rem; font-weight: 600; line-height: 1.3; letter-spacing: .02em; }
.sa-headline { margin-top: 6px; font-size: clamp(1.55rem, 2.5vw, 2.05rem); font-weight: 600; line-height: 1.07; letter-spacing: -.022em; text-wrap: balance; }
.sa-sub { margin-top: 8px; font-size: .95rem; line-height: 1.35; }
.sa-cta {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  padding: 9px 20px; border-radius: 999px; font-size: .86rem; font-weight: 500; line-height: 1.2; white-space: nowrap; pointer-events: none;
}
@media (min-width: 861px) and (max-width: 1120px) { .sa-cta { left: 14px; bottom: 16px; transform: none; } }
.sa-toggle {
  position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer; background: rgba(0, 0, 0, .42); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sa-toggle svg { width: 18px; height: 18px; }
.sa-toggle .ic-play, .sa-toggle.is-paused .ic-pause { display: none; }
.sa-toggle.is-paused .ic-play { display: block; }
.sa-toggle:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.sa figcaption { margin-top: 14px; color: var(--muted); font-size: .92rem; text-align: center; }

.sa-light .sa-copy { color: #1d1d1f; }
.sa-light .sa-kicker { color: #6e6e73; }
.sa-light .sa-sub { color: #424245; }
.sa-light .sa-cta { background: #1d1d1f; color: #fff; }

.sa-warm .sa-frame { background: #f3e6d6; }
.sa-warm .sa-copy { color: #2b1a10; }
.sa-warm .sa-kicker { color: #9a5a2a; }
.sa-warm .sa-sub { color: #5b4334; }
.sa-warm .sa-cta { background: #2b1a10; color: #fff; }

.sa-dark .sa-frame { background: #120606; font-family: "Didot", "Bodoni MT", "Playfair Display", "Times New Roman", Georgia, serif; }
.sa-dark .sa-copy { color: #fff; padding-top: clamp(26px, 8%, 40px); }
.sa-dark .sa-copy::before { content: ""; position: absolute; inset: 0 0 -60px 0; z-index: -1; background: linear-gradient(rgba(10, 3, 3, .78), rgba(10, 3, 3, 0)); }
.sa-dark .sa-kicker { color: #e9b9a0; font-size: .7rem; font-weight: 400; letter-spacing: .34em; text-transform: uppercase; }
.sa-dark .sa-headline { margin-top: 10px; font-weight: 400; font-style: italic; letter-spacing: 0; }
.sa-dark .sa-sub { margin-top: 12px; color: #f1d9cc; font-family: var(--font-body); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.sa-dark .sa-cta { border: 1px solid rgba(255, 255, 255, .7); background: rgba(0, 0, 0, .25); color: #fff; font-family: var(--font-body); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; }

.show-cta { margin-top: clamp(28px, 4vw, 44px); text-align: center; }

/* ------------------------------ 10. Footer ------------------------------ */
.site-footer { border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-block: 56px 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-block: 44px 30px; } }
.footer-brand p { max-width: 34ch; margin-top: 14px; color: var(--muted); }
.footer-brand .footer-tag { color: #fff; font: 700 1.12rem/1.3 var(--font-display); }
.footer-h { margin-bottom: 12px; color: var(--dim); font: 600 .8rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-footer li a, .footer-city { display: inline-flex; align-items: center; gap: 9px; min-height: 38px; color: var(--muted); text-decoration: none; }
.site-footer li a:hover { color: #fff; }
.footer-contact li a { color: #fff; font-weight: 600; }
.footer-bottom { padding-block: 20px 30px; border-top: 1px solid var(--line); color: var(--dim); font-size: .88rem; }

/* ------------------------------ 404 page ------------------------------ */
.page-404 { display: flex; flex-direction: column; min-height: 100vh; }
.page-404 .site-header { position: relative; }
.lost { position: relative; z-index: 1; flex: 1; display: grid; place-items: center; padding-block: 56px; text-align: center; }
.lost-inner { display: flex; flex-direction: column; align-items: center; }
.lost .centi-big { width: min(100%, 620px); margin-bottom: 36px; transform: rotate(-6deg); }
.lost .lead { margin-inline: auto; }
.lost .btn-row { justify-content: center; }
.page-404 .footer-bottom { border-top: 0; text-align: center; }

/* ------------------------------ Reduced motion ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .001ms !important;
  }
}
