/* =========================================================================
   Sellsy — AI Agency
   Design system: light theme, near-black type, amber-gold accent,
   orange-red proof numbers. Modeled on bland.ai / interfere.com / lindy.ai.
   ========================================================================= */

/* ---- Tokens ------------------------------------------------------------ */
:root {
  /* surfaces */
  --bg: #ffffff;
  --bg-soft: #f6f6f4;
  --bg-softer: #fafaf8;
  --border: #ececec;
  --border-strong: #e2e2e0;

  /* text */
  --text: #0b0b0b;
  --text-muted: #6b6b6b;
  --text-faint: #9a9a9a;

  /* brand accents */
  --accent: #f5a623;          /* amber-gold — primary CTAs */
  --accent-hover: #e8930d;
  --accent-ink: #1c1405;      /* text on amber */
  --accent-soft: #fff4e0;     /* amber tint bg */
  --accent-strong: #f0530e;   /* orange-red — proof numbers / emphasis */
  --success: #16a34a;
  --navy: #243b5e;            /* existing logo mark colour */

  /* iMessage */
  --imsg-blue: #2d7ff9;
  --imsg-gray: #e9e9eb;

  /* radii */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* shadow */
  --shadow-sm: 0 1px 2px rgba(11,11,11,.05), 0 1px 3px rgba(11,11,11,.04);
  --shadow: 0 4px 14px rgba(17,24,39,.06), 0 2px 6px rgba(17,24,39,.04);
  --shadow-lg: 0 30px 60px rgba(17,24,39,.12), 0 12px 24px rgba(17,24,39,.07);

  /* layout */
  --maxw: 1180px;
  --gutter: 24px;
  --nav-h: 68px;

  --ease: cubic-bezier(.22,.61,.36,1);

  font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---- Reset / base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html { scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--text); color: #fff; font-weight: 600; font-size: .92rem;
  padding: 10px 18px; border-radius: var(--r-pill); transition: top .2s var(--ease);
}
.skip-link:focus-visible { top: 12px; }

/* ---- Typography -------------------------------------------------------- */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; color: var(--text); }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.text-accent { color: var(--accent-strong); }
.muted { color: var(--text-muted); }

/* ---- Layout ------------------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--soft { background: var(--bg-soft); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-head p { margin-top: 16px; color: var(--text-muted); font-size: 1.15rem; }

/* "heading left + paragraph right" intro (bland pattern) */
.split-head {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px;
  align-items: end; margin-bottom: 56px;
}
.split-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.split-head p { color: var(--text-muted); font-size: 1.1rem; }
@media (max-width: 820px) { .split-head { grid-template-columns: 1fr; gap: 16px; align-items: start; } }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: var(--r-pill);
  font-weight: 600; font-size: .98rem; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { color: var(--text); border: 1px solid var(--border-strong); background: #fff; }
.btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.btn-lg { padding: 1em 1.7em; font-size: 1.05rem; }

/* ---- Navigation -------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: border-color .25s, background-color .25s;
}
.nav.is-scrolled { border-bottom-color: var(--border); background: rgba(255,255,255,.85); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.22rem; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: .96rem; font-weight: 500; color: var(--text-muted); transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; }
.nav-toggle span { position: relative; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 4px;
    align-items: stretch; background: #fff; border-bottom: 1px solid var(--border);
    padding: 12px var(--gutter) 20px; transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: .25s var(--ease); box-shadow: var(--shadow);
  }
  .nav-links a { padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .nav.is-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-cta-desktop { display: none; }
  .nav-cta-mobile { display: block; }
}

/* ---- Hero -------------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 620px; z-index: -1;
  background:
    radial-gradient(60% 70% at 18% 8%, rgba(245,166,35,.16), transparent 60%),
    radial-gradient(50% 60% at 88% 0%, rgba(240,83,14,.10), transparent 55%);
  filter: blur(2px);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  font-size: .82rem; font-weight: 600; color: var(--text-muted); margin-bottom: 22px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(22,163,74,.16); }

.hero-title { font-size: clamp(2.5rem, 5.4vw, 4.3rem); letter-spacing: -.035em; }
.rotator { display: grid; }
.rotator-item { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .58s var(--ease), transform .58s var(--ease); }
.rotator-item.is-active { opacity: 1; transform: none; }
.rotator-item em { font-style: normal; color: var(--accent-strong); }

.hero-sub { margin-top: 22px; font-size: 1.22rem; line-height: 1.55; color: var(--text-muted); max-width: 32ch; text-wrap: balance; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--text-muted); font-size: .9rem; }
.stars { color: var(--accent); letter-spacing: 2px; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-sub { max-width: 46ch; }
  .hero-visual { order: 2; justify-self: center; }
}

/* ---- iPhone / iMessage demo ------------------------------------------- */
.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone {
  position: relative; width: 322px; max-width: 86vw;
  background: #0b0b0b; border-radius: 54px; padding: 13px;
  box-shadow: 0 40px 80px rgba(17,24,39,.18), 0 16px 30px rgba(17,24,39,.10);
}
.phone::before { /* dynamic island */
  content: ""; position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 30px; background: #0b0b0b; border-radius: 16px; z-index: 4;
}
.phone-screen {
  position: relative; background: #fff; border-radius: 42px; overflow: hidden;
  height: 624px; display: flex; flex-direction: column;
}
.phone-statusbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 14px 6px 26px; font-size: 14px; font-weight: 600; color: #0b0b0b;
}
.phone-statusbar .sb-icons { display: inline-flex; gap: 5px; align-items: center; }
.phone-statusbar svg { display: block; }

.chat-header {
  display: grid; grid-template-columns: 28px 1fr 28px; align-items: center;
  padding: 6px 16px 12px; border-bottom: 1px solid #f0f0f0;
}
.chat-header .ch-icon { color: var(--imsg-blue); }
.chat-header .ch-icon--right { justify-self: end; }
.chat-contact { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; overflow: hidden; }
.chat-avatar img { width: 24px; height: 24px; }
.chat-name { font-size: 12px; font-weight: 600; color: #0b0b0b; display: inline-flex; align-items: center; gap: 3px; }
.chat-name span { color: #b9b9bd; font-weight: 500; }

.chat-thread {
  flex: 1; overflow-y: auto; padding: 16px 14px 8px;
  display: flex; flex-direction: column; gap: 4px; scroll-behavior: smooth;
}
.chat-thread::-webkit-scrollbar { width: 0; }
.chat-thread { scrollbar-width: none; }
.chat-daystamp { text-align: center; font-size: 10.5px; color: #b0b0b4; font-weight: 600; margin: 4px 0 8px; }
.chat-context { align-self: center; display: inline-flex; align-items: center; gap: 5px; background: var(--accent-soft); color: #9a6712; font-size: 10.5px; font-weight: 700; padding: 4px 11px; border-radius: var(--r-pill); margin: 2px 0 6px; }

.msg {
  max-width: 76%; padding: 8px 13px; font-size: 14.5px; line-height: 1.34;
  border-radius: 19px; word-wrap: break-word; position: relative;
  animation: msg-pop .32s var(--ease) both;
}
.msg.in  { align-self: flex-start; background: var(--imsg-gray); color: #0b0b0b; border-bottom-left-radius: 6px; }
.msg.out { align-self: flex-end; background: var(--imsg-blue); color: #fff; border-bottom-right-radius: 6px; }
.msg + .msg { margin-top: 2px; }
.msg-delivered { align-self: flex-end; font-size: 10.5px; color: #a0a0a4; margin: 1px 4px 6px 0; }
@keyframes msg-pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }

.typing { align-self: flex-start; background: var(--imsg-gray); border-radius: 19px; border-bottom-left-radius: 6px; padding: 11px 14px; display: inline-flex; gap: 4px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #9a9aa0; animation: typing 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .18s; } .typing span:nth-child(3) { animation-delay: .36s; }
.typing.out { align-self: flex-end; background: var(--imsg-blue); border-bottom-left-radius: 19px; border-bottom-right-radius: 6px; }
.typing.out span { background: rgba(255,255,255,.85); }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }

.chat-input {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px 10px; border-top: 1px solid #f0f0f0;
}
.chat-input .ci-plus { width: 30px; height: 30px; flex: none; border-radius: 50%; background: #e9e9eb; color: #8a8a8f; display: grid; place-items: center; font-size: 20px; line-height: 1; }
.chat-input .ci-field { flex: 1; height: 32px; border: 1px solid #e2e2e4; border-radius: var(--r-pill); padding: 0 14px; display: flex; align-items: center; color: #b0b0b4; font-size: 13px; }
.chat-input .ci-send { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--imsg-blue); color: #fff; display: grid; place-items: center; }
.phone-home { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 120px; height: 4px; border-radius: 2px; background: rgba(0,0,0,.22); }

.demo-caption { font-size: .9rem; color: var(--text-muted); text-align: center; }
.demo-caption strong { color: var(--text); font-weight: 700; }

/* ---- Logo strip / trust ----------------------------------------------- */
.trustbar { padding-block: 40px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trustbar p { text-align: center; color: var(--text-faint); font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px; }
.trust-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.trust-logos .tl { display: inline-flex; align-items: center; gap: 9px; color: var(--text-muted); font-weight: 700; font-size: 1.05rem; opacity: .7; }
.trust-logos .tl img { width: 26px; height: 26px; filter: grayscale(1); opacity: .75; }
.trust-logos .tl--plain { letter-spacing: -.02em; }

/* ---- Services (alternating rows) -------------------------------------- */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-block: clamp(40px, 6vw, 72px); }
.service + .service { border-top: 1px solid var(--border); }
.service:nth-child(even) .service-visual { order: -1; }
.service h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.service p.lead { color: var(--text-muted); font-size: 1.12rem; margin-bottom: 22px; }
.feature-list { display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 1rem; }
.feature-list .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; font-size: 13px; margin-top: 1px; }
.service-tag { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: .92rem; color: var(--text-muted); }
.service-tag .st-ico { width: 22px; flex: none; display: inline-flex; justify-content: center; }
.service-tag img { width: 20px; height: 20px; margin-left: 2px; }

@media (max-width: 820px) {
  .service { grid-template-columns: 1fr; gap: 32px; }
  .service:nth-child(even) .service-visual { order: 0; }
}

/* Service visual cards (CSS-drawn) */
.vcard { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.section--soft .vcard { background: #fff; }
.vcard-title { font-size: 1.02rem; font-weight: 700; color: var(--text); letter-spacing: -.01em; line-height: 1.25; margin-bottom: 16px; }

/* mini chat snippet */
.mini-chat-head { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.mini-chat-head .av { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; font-size: 19px; flex: none; }
.mini-chat-head .nm { font-weight: 700; font-size: .98rem; color: var(--text); line-height: 1.15; }
.mini-chat-head .st { font-size: .8rem; color: var(--success); display: inline-flex; align-items: center; gap: 6px; }
.mini-chat-head .st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(22,163,74,.16); }
.mini-chat { display: flex; flex-direction: column; gap: 8px; }
.mini-chat .b { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.38; }
.mini-chat .b.in { align-self: flex-start; background: var(--imsg-gray); color: #0b0b0b; border-bottom-left-radius: 5px; }
.mini-chat .b.out { align-self: flex-end; background: var(--imsg-blue); color: #fff; border-bottom-right-radius: 5px; }
.mini-chat .meta { align-self: flex-end; font-size: 10.5px; color: var(--text-faint); margin-top: 1px; }

/* booked rows */
.booked-list { display: flex; flex-direction: column; gap: 10px; max-height: 262px; overflow-y: auto; scrollbar-width: none; scroll-behavior: smooth; }
.booked-list::-webkit-scrollbar { width: 0; }
.booked-row { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm); padding: 12px 14px; font-size: .92rem; flex: none; }
.section--soft .booked-row { background: var(--bg-soft); }
.booked-row .bdot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); flex: none; }
.booked-row .when { margin-left: auto; color: var(--text-faint); font-size: .82rem; }

/* browser mock */
.browser { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6d6d6; display: block; }
.browser-bar .url { margin-left: 10px; flex: 1; height: 18px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--border); }
.site-mock { background: #fff; }
.site-nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.site-nav .logo-dot { width: 20px; height: 20px; border-radius: 6px; background: var(--text); }
.site-nav .site-links { display: inline-flex; gap: 10px; align-items: center; }
.site-nav .site-links i { width: 26px; height: 7px; border-radius: 4px; background: #e6e6e6; display: block; }
.site-nav .site-btn { width: 58px; height: 22px; border-radius: var(--r-pill); background: var(--accent); display: block; }
.site-hero2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; padding: 22px 16px; background: radial-gradient(120% 110% at 0% 0%, var(--accent-soft), #fff 60%); }
.site-hero2 .col { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.site-hero2 .h { height: 15px; border-radius: 5px; background: #1b1b1b; }
.site-hero2 .h.w90 { width: 90%; }
.site-hero2 .h.w60 { width: 60%; }
.site-hero2 .t { height: 8px; border-radius: 3px; background: #d4d4d4; }
.site-hero2 .t.w80 { width: 80%; }
.site-hero2 .t.w65 { width: 65%; }
.site-hero2 .ctas { display: inline-flex; gap: 8px; margin-top: 7px; }
.site-hero2 .pill-a { width: 66px; height: 22px; border-radius: var(--r-pill); background: var(--accent); box-shadow: 0 6px 14px rgba(245,166,35,.4); }
.site-hero2 .pill-g { width: 50px; height: 22px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); }
.site-hero2 .shot { width: 100%; height: 104px; border-radius: 10px; background: linear-gradient(135deg, #cfe0ff, #e9d4ff 55%, #ffd9c2); box-shadow: var(--shadow-sm); }
.site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 4px 16px 22px; }
.site-cards .c { border: 1px solid var(--border); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 7px; }
.site-cards .c .ic { width: 22px; height: 22px; border-radius: 6px; background: var(--accent-soft); }
.site-cards .c .l { height: 7px; border-radius: 3px; background: #e6e6e6; }
.site-cards .c .l.s { width: 70%; }

/* ---- How it works ------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num { width: 44px; height: 44px; border-radius: 50%; background: var(--text); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 18px; font-size: 1.1rem; }
.step h4 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 1rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 8px; } .step { padding: 18px 0; border-top: 1px solid var(--border); } .step:first-child { border-top: none; } }

/* ---- Proof / case studies --------------------------------------------- */
.proof-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; }
.case { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.case:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.case-tag { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--accent-strong); margin-bottom: 14px; }
.case-num { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--text); }
.case-num em { font-style: normal; color: var(--accent-strong); }
.case h3 { font-size: 1.25rem; margin: 8px 0 10px; }
.case p { color: var(--text-muted); font-size: .98rem; }
.case-feature { grid-row: span 2; display: flex; flex-direction: column; }
.case-stats { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 22px; }
.case-stats .st b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--accent-strong); letter-spacing: -.02em; }
.case-stats .st span { font-size: .82rem; color: var(--text-muted); }
@media (max-width: 820px) { .proof-grid { grid-template-columns: 1fr; } .case-feature { grid-row: auto; } }

/* ---- Proof: eBike result chart (peak $260k + hover-to-reveal month) ---- */
.revchart { margin: 22px 0 6px; }
.revchart-cap { font-size: .78rem; color: var(--text-muted); margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.revchart-cap .legend { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.revchart-bars { display: flex; align-items: flex-end; gap: 4px; height: 132px; position: relative; }
.revchart-bars > span { flex: 1; min-height: 6px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--accent-strong), var(--accent)); position: relative; }
.revchart-axis { display: flex; justify-content: space-between; margin-top: 9px; font-size: .72rem; color: var(--text-faint); }
/* value above the peak bar (no dot) */
.revchart--peak .revchart-cap { margin-bottom: 26px; }
.revchart--peak .revchart-bars > span.peak::after { content: attr(data-tag); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 5px; font-size: .66rem; font-weight: 800; color: var(--accent-strong); white-space: nowrap; }
/* hover any bar to reveal its month */
.revchart--hover .revchart-bars > span { transition: filter .15s var(--ease); }
.revchart--hover .revchart-bars > span:hover { filter: brightness(1.12) saturate(1.08); }
.revchart--hover .revchart-bars > span[data-v]:hover::after { content: attr(data-v); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 5px; font-size: .62rem; font-weight: 800; color: var(--accent-strong); white-space: nowrap; }
/* Mobile: bars get too narrow for the inline value — lift the hovered value
   onto a readable chip on top, and clamp the first/last bars in-bounds.
   Desktop is wide enough and is intentionally left untouched. */
@media (max-width: 600px) {
  .revchart--hover .revchart-bars > span:hover { z-index: 5; }
  .revchart--hover .revchart-bars > span[data-v]:hover::after { margin-bottom: 10px; padding: 2px 6px; background: #fff; border-radius: 6px; box-shadow: 0 2px 7px rgba(0,0,0,.16); }
  .revchart--hover .revchart-bars > span[data-v]:first-child:hover::after { left: 0; transform: none; }
  .revchart--hover .revchart-bars > span[data-v]:last-child:hover::after { left: auto; right: 0; transform: none; }
}

/* ---- CTA band ---------------------------------------------------------- */
.cta-band { border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); position: relative; }
.cta-band p { font-size: 1.15rem; margin: 16px auto 30px; max-width: 52ch; position: relative; }
.cta-band .btn { position: relative; }
.cta-band--amber { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%); color: var(--accent-ink); }
.cta-band--amber h2 { color: var(--accent-ink); }
.cta-band--amber p { color: rgba(28,20,5,.72); }

/* ---- Footer ------------------------------------------------------------ */
.footer { padding-block: 56px 40px; border-top: 1px solid var(--border); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); font-size: .98rem; max-width: 34ch; }
.footer-col h5 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; color: var(--text-muted); padding: 6px 0; font-size: .96rem; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: .88rem; flex-wrap: wrap; }
@media (max-width: 720px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---- Subpages (booking / privacy) ------------------------------------- */
.page-hero { padding-block: clamp(48px, 7vw, 88px) 24px; text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.page-hero p { color: var(--text-muted); font-size: 1.15rem; margin: 16px auto 0; max-width: 56ch; }
.back-link { display: inline-flex; align-items: center; gap: 7px; color: var(--text-muted); font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.back-link:hover { color: var(--text); }

/* NOTE: do NOT name this ".cal-embed" — Cal.com's own embed injects a
   <style> rule for ".cal-embed" and updates its min-height live as the
   calendar loads, which would hijack this wrapper and make the footer jump
   through every load stage. A unique class keeps our reservation stable.
   min-height reserves ~the calendar's loaded height so the footer doesn't
   shift on load; Cal still auto-resizes its own element inside, so taller
   views (e.g. the booking-confirmation screen) grow the page naturally. */
.booking-cal { width: 100%; max-width: 1000px; min-height: 580px; margin: 32px auto 0; }

.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose h3 { font-size: 1.15rem; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--text-muted); font-size: 1.02rem; line-height: 1.7; margin-bottom: 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.prose a { color: var(--accent-strong); font-weight: 600; }
.prose .eff { color: var(--text-faint); font-size: .92rem; }

/* ---- Scroll reveal ----------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ---- Reduced motion ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .rotator-item { position: static; } /* JS will still drive, fallback visible */
}

/* ---- Sale-secured animation (new-order toast in the hero phone) ---- */
.sale-fx { position: absolute; left: 50%; transform: translateX(-50%); opacity: 0; pointer-events: none; z-index: 6; }
.sale-fx.toast { top: 100px; width: 85%; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 10px 12px; display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--text); }
.sale-fx.toast .ic { width: 26px; height: 26px; border-radius: 7px; background: var(--success); color: #fff; display: grid; place-items: center; font-size: 13px; flex: none; }
.sale-fx.toast b { font-weight: 800; }
.sale-fx.toast.go { animation: toastin 3.6s ease forwards; }
@keyframes toastin { 0% { opacity: 0; transform: translate(-50%, -18px); } 12% { opacity: 1; transform: translate(-50%, 0); } 84% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -12px); } }

