/* QuotingCrew v2: light product-style layout, blue brand palette. */

:root {
  --bg: #F2F4F8;
  --bg-2: #EBEEF4;
  --card: #FFFFFF;
  --ink: #12151B;
  --ink-2: #343942;
  --muted: #6C727E;
  --faint: #9CA1AB;
  --line: #E4E7ED;
  --line-2: #EEF0F4;
  --blue: #A34D22;
  --blue-h: #B45729;
  --blue-2: #FA6E2A;
  --blue-50: #FEEDE4;
  --blue-100: #FEDAC8;
  --green: #1F9D63;
  --green-50: #E5F6EC;
  --amber: #B7791F;
  --amber-50: #FDF3E1;
  --grad: linear-gradient(92deg, #A34D22 0%, #E1682C 48%, #FB8D57 100%);
  --shadow-card: 0 1px 2px rgba(18, 21, 27, 0.04), 0 22px 44px -24px rgba(18, 21, 27, 0.18);
  --shadow-pop: 0 40px 80px -30px rgba(163, 77, 34, 0.32), 0 10px 24px -10px rgba(18, 21, 27, 0.14);
  --r-xl: 28px;
  --r-lg: 22px;
  --r: 16px;
  --r-sm: 11px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.2, 0.8, 0.2, 1);
  --wrap: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; transition: top 0.2s; }
.skip:focus { top: 12px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border: 0; border-radius: 14px;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.25s;
}
.btn__arrow { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 12px 26px -12px rgba(163, 77, 34, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn--primary:hover { background: var(--blue-h); transform: translateY(-1px); box-shadow: 0 18px 32px -14px rgba(163, 77, 34, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn--ghost { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(18, 21, 27, 0.07), 0 6px 16px -10px rgba(18, 21, 27, 0.2); }
.btn--ghost:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(18, 21, 27, 0.1), 0 12px 24px -12px rgba(18, 21, 27, 0.25); }
.btn--sm { height: 40px; padding: 0 16px; border-radius: 11px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.nav-shell { position: fixed; inset: 0 0 auto; z-index: 60; padding: 14px 16px 0; pointer-events: none; }
.nav {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; gap: 32px;
  max-width: 1240px; height: 64px; margin: 0 auto; padding: 0 12px 0 22px;
  border: 1px solid transparent; border-radius: 20px;
  transition: max-width 0.6s var(--ease), background-color 0.4s, border-color 0.4s, box-shadow 0.5s var(--ease), backdrop-filter 0.4s;
}
.nav-shell.is-scrolled .nav, .nav-shell.is-open .nav {
  max-width: 1160px;
  background: rgba(247, 248, 251, 0.78);
  border-color: rgba(18, 21, 27, 0.07);
  box-shadow: 0 16px 36px -18px rgba(18, 21, 27, 0.22);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 21px; font-weight: 750; letter-spacing: -0.04em; color: var(--ink); }
.logo svg { width: 30px; height: 30px; }
.logo b { font-weight: 750; color: var(--blue); }
.nav__links { display: flex; gap: 28px; }
.nav__links a, .nav__text { font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color 0.2s; }
.nav__links a:hover, .nav__text:hover { color: var(--blue); }
.nav__menu-only { display: none; }
.nav__end { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(18, 21, 27, 0.07); cursor: pointer; }
.nav__toggle svg { width: 22px; height: 22px; margin: auto; }
.nav__toggle path { transition: transform 0.4s var(--ease); transform-origin: 12px 12px; }
.nav-shell.is-open .nav__toggle .l1 { transform: translateY(4px) rotate(45deg); }
.nav-shell.is-open .nav__toggle .l2 { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav { gap: 12px; padding: 0 8px 0 16px; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    flex-direction: column; gap: 0; padding: 8px;
    background: rgba(255, 255, 255, 0.96); border-radius: 18px; box-shadow: var(--shadow-pop), 0 0 0 1px rgba(18, 21, 27, 0.06);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.98); transform-origin: top center;
    transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0.3s;
  }
  .nav__links a { padding: 14px 14px; border-radius: 12px; font-size: 17px; }
  .nav__links a:hover { background: var(--bg); }
  .nav__menu-only { display: block; }
  .nav-shell.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__text { display: none; }
  .nav__toggle { display: grid; }
  .nav__end { gap: 8px; }
}
@media (max-width: 380px) { .nav__end .btn--sm { padding: 0 12px; font-size: 14px; } .logo { font-size: 19px; } }

/* ---------- Sections ---------- */
.sec { padding: 130px 0 0; position: relative; }
.sec-head { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -0.042em; font-weight: 750; }
.sub { margin-top: 18px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--muted); }
.sec-head .sub { max-width: 640px; margin-left: auto; margin-right: auto; }
.label { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.card { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow-card), 0 0 0 1px rgba(18, 21, 27, 0.04); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 138px 0 0; text-align: center; isolation: isolate; }
.hero__bg { position: absolute; inset: 0 0 -200px; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% 4%, rgba(250, 133, 74, 0.34), transparent 62%),
    radial-gradient(760px 480px at 12% 26%, rgba(252, 170, 129, 0.32), transparent 64%),
    linear-gradient(180deg, #F8E5DC 0%, #EEF1F8 48%, var(--bg) 100%);
}
.hero__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(163, 77, 34, 0.08) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(70% 55% at 50% 30%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000 0%, transparent 75%); }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px;
  background: rgba(255, 255, 255, 0.78); border-radius: 999px; box-shadow: 0 0 0 1px rgba(18, 21, 27, 0.06), 0 8px 24px -14px rgba(163, 77, 34, 0.35);
  font-size: 14px; color: var(--ink-2); text-decoration: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.badge svg { width: 16px; height: 16px; color: var(--blue); }
.badge__more { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 999px; background: var(--bg); font-weight: 600; color: var(--ink); transition: background 0.2s; }
.badge:hover .badge__more { background: var(--blue-50); }
.badge__more svg { width: 14px; height: 14px; color: currentColor; transition: transform 0.3s var(--ease); }
.badge:hover .badge__more svg { transform: translateX(2px); }
.hero h1 { margin: 28px auto 0; max-width: 1000px; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.0; letter-spacing: -0.05em; font-weight: 780; }
.hero h1 .line { display: block; }
.hero__sub { margin: 26px auto 0; max-width: 680px; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.5; color: var(--muted); }
.hero__ctas { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Tabs */
.tabs { display: inline-flex; gap: 4px; margin-top: 52px; padding: 5px; background: rgba(255, 255, 255, 0.82); border-radius: 16px; box-shadow: 0 0 0 1px rgba(18, 21, 27, 0.06), 0 10px 28px -16px rgba(163, 77, 34, 0.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); max-width: calc(100vw - 32px); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 0; border-radius: 11px; background: transparent; font-size: 15.5px; font-weight: 550; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background 0.3s, color 0.3s; }
.tab svg { width: 18px; height: 18px; color: var(--muted); transition: color 0.3s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(18, 21, 27, 0.05); }
.tab[aria-selected="true"] svg { color: var(--blue); }
.tab__bar { position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: rgba(163, 77, 34, 0.12); overflow: hidden; opacity: 0; transition: opacity 0.3s; }
.tab[aria-selected="true"] .tab__bar { opacity: 1; }
.tab__bar i { position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; }

/* Stage with app windows */
.stage { position: relative; max-width: 1110px; margin: 26px auto 0; padding: 0 24px; height: 600px; perspective: 1600px; }
.stage::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -2px; height: 130px; background: linear-gradient(180deg, rgba(242, 244, 248, 0) 0%, var(--bg) 88%); pointer-events: none; z-index: 5; }
.ghost { position: absolute; top: 34px; width: 46%; height: 520px; border-radius: 22px; background: rgba(255, 255, 255, 0.55); box-shadow: 0 0 0 1px rgba(18, 21, 27, 0.05), 0 30px 60px -30px rgba(163, 77, 34, 0.3); filter: blur(0.6px); overflow: hidden; }
.ghost--l { left: -6%; transform: scale(0.9); transform-origin: left center; }
.ghost--r { right: -6%; transform: scale(0.9); transform-origin: right center; }
.ghost i { display: block; height: 12px; margin: 22px 26px 0; border-radius: 6px; background: rgba(18, 21, 27, 0.06); }
.ghost i:nth-child(2n) { width: 60%; }
.ghost i:first-child { height: 30px; margin-top: 24px; width: 40%; }
.win { position: relative; z-index: 2; height: 100%; border-radius: 22px; background: #fff; box-shadow: var(--shadow-pop), 0 0 0 1px rgba(18, 21, 27, 0.06); overflow: hidden; text-align: left; font-size: 14px; }
.win__bar { display: flex; align-items: center; gap: 18px; height: 56px; padding: 0 20px; border-bottom: 1px solid var(--line-2); }
.win__logo { display: inline-flex; align-items: center; gap: 7px; font-weight: 750; letter-spacing: -0.04em; font-size: 15px; }
.win__logo svg { width: 20px; height: 20px; }
.win__logo b { color: var(--blue); font-weight: 750; }
.win__nav { display: flex; gap: 4px; }
.win__nav span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 9px; font-size: 13px; color: var(--muted); transition: background 0.4s, color 0.4s; }
.win__nav span.on { background: var(--bg); color: var(--ink); font-weight: 600; }
.win__nav svg { width: 14px; height: 14px; }
.win__who { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.win__who b { display: block; color: var(--ink); font-size: 13px; line-height: 1.2; }
.ava { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; color: #fff; background: linear-gradient(135deg, #FA6E2A, #A34D22); flex: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.tag--blue { background: var(--blue-50); color: var(--blue); }
.tag--green { background: var(--green-50); color: var(--green); }
.tag--amber { background: var(--amber-50); color: var(--amber); }
.tag--grey { background: var(--bg); color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.dot--live { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(31, 157, 99, 0.45); } 50% { box-shadow: 0 0 0 5px rgba(31, 157, 99, 0); } }

.panels { position: absolute; inset: 56px 0 0; }
.panel { position: absolute; inset: 0; padding: 22px; opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.99); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease), visibility 0.5s; }
.panel.is-active { opacity: 1; visibility: visible; transform: none; }

/* Panel: ads */
.p-camp { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; height: 100%; align-items: start; }
.box { border-radius: 16px; box-shadow: 0 0 0 1px var(--line); background: #fff; }
.box__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.box__head b { font-size: 14px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--line-2); }
.rows li:last-child { border-bottom: 0; }
.rows .nm { font-weight: 600; font-size: 13.5px; line-height: 1.3; }
.rows .nm small { display: block; font-weight: 400; color: var(--faint); font-size: 12px; font-family: var(--mono); }
.rows .num { font-family: var(--mono); font-size: 13px; color: var(--ink-2); min-width: 64px; text-align: right; }
.zips { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 16px; }
.zips span { font-family: var(--mono); font-size: 12px; padding: 4px 9px; border-radius: 8px; background: var(--bg); color: var(--ink-2); }
.promo { position: relative; overflow: hidden; }
.promo__top { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; }
.promo__top b { display: block; font-size: 13.5px; line-height: 1.2; }
.promo__top small { color: var(--faint); font-size: 12px; }
.promo__text { padding: 0 16px 12px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.promo__img { height: 168px; background: #D8BAAD center / cover no-repeat; }
.promo__cta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: #F6F7FA; }
.promo__cta b { font-size: 13px; }
.promo__cta small { display: block; color: var(--faint); font-size: 11.5px; font-family: var(--mono); }
.promo__btn { padding: 7px 12px; border-radius: 9px; background: #E4E8F0; font-weight: 650; font-size: 13px; }
.toast { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px -16px rgba(18, 21, 27, 0.3), 0 0 0 1px rgba(18, 21, 27, 0.06); font-size: 13px; line-height: 1.35; opacity: 0; transform: translateY(12px) scale(0.96); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.toast.is-in { opacity: 1; transform: none; }
.toast b { display: block; font-size: 13.5px; }
.toast small { color: var(--muted); }
.toast__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--green-50); color: var(--green); flex: none; }
.toast__ic svg { width: 18px; height: 18px; }
.p-camp .toast { right: 40px; top: 318px; }

/* Panel: replies (SMS thread) */
.p-sms { display: grid; grid-template-columns: 260px 1fr; height: 100%; gap: 0; }
.convos { border-right: 1px solid var(--line-2); padding-right: 14px; display: flex; flex-direction: column; gap: 4px; }
.convo { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; }
.convo.on { background: var(--bg); }
.convo b { font-size: 13.5px; display: block; line-height: 1.25; }
.convo small { color: var(--faint); font-size: 12px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.convo .ava { width: 34px; height: 34px; }
.ava--g { background: linear-gradient(135deg, #9AA3B2, #6C727E); }
.thread { display: flex; flex-direction: column; padding: 0 6px 0 22px; min-width: 0; }
.thread__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.thread__head b { font-size: 14px; display: block; line-height: 1.2; }
.thread__head small { color: var(--faint); font-size: 12px; }
.msgs { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 16px 0 6px; overflow: hidden; }
.msg { max-width: 78%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.45; opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.msg.is-in { opacity: 1; transform: none; }
.msg--in { align-self: flex-start; background: #EEF0F4; border-bottom-left-radius: 6px; }
.msg--out { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.msg--sys { align-self: center; max-width: none; padding: 4px 10px; font-size: 12px; color: var(--muted); background: none; font-family: var(--mono); }
.msg small { display: block; opacity: 0.7; font-size: 11.5px; margin-top: 4px; }
.typing { align-self: flex-end; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 18px; background: var(--blue-50); opacity: 0; transition: opacity 0.25s; }
.typing--in { align-self: flex-start; background: #EEF0F4; }
.typing.is-in { opacity: 1; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); opacity: 0.5; animation: blink 1.1s infinite; }
.typing--in i { background: var(--muted); }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 80%, 100% { transform: translateY(0); opacity: 0.35; } 40% { transform: translateY(-3px); opacity: 1; } }
.booked { align-self: center; margin-top: 6px; }
.compose { display: flex; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.compose span { flex: 1; height: 38px; border-radius: 11px; box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; padding: 0 12px; color: var(--faint); font-size: 13px; }
.compose i { width: 38px; height: 38px; border-radius: 11px; background: var(--blue); display: grid; place-items: center; color: #fff; }
.compose svg { width: 16px; height: 16px; }

/* Panel: calendar */
.p-cal { display: grid; grid-template-columns: 1fr 230px; gap: 20px; height: 100%; }
.cal { display: grid; grid-template-columns: 54px repeat(5, 1fr); grid-template-rows: 34px repeat(9, 1fr); height: 100%; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; position: relative; }
.cal__d { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.cal__d small { color: var(--faint); font-weight: 500; }
.cal__t { font-family: var(--mono); font-size: 11px; color: var(--faint); padding: 4px 8px 0 0; text-align: right; border-top: 1px solid var(--line-2); }
.cal__c { border-left: 1px solid var(--line-2); border-top: 1px solid var(--line-2); }
.ev { position: absolute; z-index: 2; padding: 6px 8px; border-radius: 9px; font-size: 11.5px; line-height: 1.3; overflow: hidden; background: var(--blue-50); color: var(--blue); box-shadow: inset 3px 0 0 var(--blue); opacity: 0; transform: scale(0.85); transform-origin: left top; transition: opacity 0.4s var(--ease), transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s, color 0.4s, box-shadow 0.4s; }
.ev b { display: block; font-size: 12px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.ev.is-in { opacity: 1; transform: none; }
.ev--pool { background: #E6F6F2; color: #0F7B67; box-shadow: inset 3px 0 0 #18A88C; }
.ev--new { background: #FFFBF3; color: var(--amber); box-shadow: none; outline: 1.5px dashed #E2B66B; outline-offset: -1.5px; }
.cal__ev { position: absolute; left: 54px; right: 0; top: 34px; bottom: 0; --cols: 5; }
.cal__ev .ev { left: calc(100% / var(--cols) * (var(--c) - 1) + 4px); width: calc(100% / var(--cols) - 8px); top: calc(100% / 9 * (var(--r) - 1) + 3px); height: calc(100% / 9 * var(--s) - 6px); }
.ev--new.is-ok { background: var(--green-50); color: var(--green); outline-color: transparent; box-shadow: inset 3px 0 0 var(--green); }
.side { display: flex; flex-direction: column; gap: 12px; }
.mini { padding: 14px 16px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.mini .label { font-size: 10.5px; }
.mini__n { font-size: 30px; font-weight: 750; letter-spacing: -0.04em; line-height: 1.15; margin-top: 4px; }
.mini__n small { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.confirm { padding: 14px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 16px 30px -18px rgba(18, 21, 27, 0.3); background: #fff; opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.confirm.is-in { opacity: 1; transform: none; }
.confirm b { font-size: 13.5px; display: block; }
.confirm p { font-size: 12.5px; color: var(--muted); line-height: 1.45; margin: 4px 0 10px; }
.confirm__btn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 34px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 600; font-size: 13px; transition: background 0.3s, transform 0.15s; }
.confirm__btn.is-done { background: var(--green); }
.confirm__btn svg { width: 15px; height: 15px; }

/* Fake cursor */
.cursor { position: absolute; z-index: 10; left: 0; top: 0; width: 22px; height: 22px; pointer-events: none; opacity: 0; transition: opacity 0.3s; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25)); }
.cursor.is-in { opacity: 1; }
.cursor svg { width: 22px; height: 22px; }
.ripple { position: absolute; z-index: 9; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: rgba(250, 110, 42, 0.35); pointer-events: none; animation: ripple 0.55s var(--ease) forwards; }
@keyframes ripple { from { transform: scale(0.3); opacity: 0.9; } to { transform: scale(1.8); opacity: 0; } }

/* Panel: report */
.p-rep { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.rep__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rep__head b { font-size: 16px; }
.rep__tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tile { padding: 14px 16px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.tile .label { font-size: 10.5px; letter-spacing: 0.06em; }
.tile__n { font-size: 28px; font-weight: 750; letter-spacing: -0.04em; margin-top: 6px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tile__d { font-size: 12px; color: var(--green); font-weight: 600; margin-top: 2px; }
.tile--hl { background: linear-gradient(160deg, #F3F6FF, #fff 70%); box-shadow: 0 0 0 1px var(--blue-100); }
.tile--hl .tile__n { color: var(--blue); }
.chart { flex: 1; display: flex; align-items: flex-end; gap: 10px; padding: 18px 18px 30px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); position: relative; min-height: 0; }
.chart__col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; position: relative; }
.chart__bar { width: 100%; max-width: 46px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #FB8D57, #A34D22); transform: scaleY(0); transform-origin: bottom; transition: transform 0.9s var(--ease); }
.chart__bar--lt { background: #FEDAC8; }
.chart__col small { position: absolute; bottom: -22px; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.chart__pair { display: flex; gap: 4px; width: 100%; height: 100%; align-items: flex-end; justify-content: center; }
.p-rep.is-played .chart__bar { transform: scaleY(1); }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: #FEDAC8; }
.legend i.b { background: var(--blue); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: 0.9fr 1.25fr; gap: 56px; align-items: start; }
.stats__copy { position: sticky; top: 120px; }
.stats__copy .sub { max-width: 460px; }
.stats__art { margin-top: 36px; width: min(320px, 70%); }
.stats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { padding: 28px 28px 30px; }
.stat__n { margin-top: 16px; font-size: clamp(42px, 4.6vw, 62px); line-height: 1; font-weight: 760; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.stat__n small { font-size: 0.42em; font-weight: 600; letter-spacing: -0.02em; color: var(--muted); margin-left: 4px; }
.stat p { margin-top: 12px; color: var(--ink-2); font-size: 16px; line-height: 1.45; }

/* 3D-style art */
.art { position: relative; }
.art svg { width: 100%; height: auto; overflow: visible; }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(-1.5deg); } }

/* ---------- Features ---------- */
.feats { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.feat { position: relative; padding: 34px 30px 0; display: flex; flex-direction: column; overflow: visible; min-height: 470px; }
.feat:nth-child(1) { grid-column: span 5; }
.feat:nth-child(2) { grid-column: span 7; }
.feat:nth-child(3) { grid-column: span 7; }
.feat:nth-child(4) { grid-column: span 5; }
.feat__ic { position: absolute; top: -34px; left: 22px; width: 84px; height: 84px; filter: drop-shadow(0 14px 16px rgba(163, 77, 34, 0.28)); }
.feat h3 { margin-top: 30px; font-size: 25px; letter-spacing: -0.03em; line-height: 1.2; font-weight: 650; }
.feat > p { margin-top: 12px; color: var(--muted); font-size: 16.5px; max-width: 470px; }
.feat__vis { position: relative; flex: 1; margin-top: 26px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 28px; }
.feat__vis::before { content: ""; position: absolute; left: 10%; right: 10%; top: 10%; bottom: 0; background: radial-gradient(50% 50% at 50% 50%, rgba(250, 110, 42, 0.14), transparent 70%); pointer-events: none; }
.f-promo { display: flex; gap: 14px; width: 100%; max-width: 420px; position: relative; }
.f-promo .promo { flex: 1; border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 18px 34px -20px rgba(18, 21, 27, 0.3); background: #fff; }
.f-promo .promo__img { height: 112px; }
.f-promo .promo__text { font-size: 12.5px; }
.f-promo .promo:nth-child(2) { transform: translateY(18px); }
.f-sms { width: 100%; max-width: 470px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.f-sms .msg { max-width: 86%; }
.f-sms .msg--out { box-shadow: 0 14px 28px -16px rgba(163, 77, 34, 0.7); }
.f-sms__meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.f-cal { position: relative; width: 100%; max-width: 470px; padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 34px -20px rgba(18, 21, 27, 0.3); }
.f-cal__h { display: flex; justify-content: space-between; align-items: center; font-weight: 650; font-size: 14px; margin-bottom: 12px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; font-weight: 550; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s; }
.slot--busy { background: var(--bg); color: var(--faint); box-shadow: none; text-decoration: line-through; }
.slot.is-pick { background: var(--blue); color: #fff; box-shadow: 0 10px 20px -10px rgba(163, 77, 34, 0.8); }
.f-cal__done { margin-top: 12px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--green-50); color: var(--green); font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.f-cal__done.is-in { opacity: 1; transform: none; }
.f-cal__done svg { width: 16px; height: 16px; }
.f-rem { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 10px; }
.rem { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 14px 28px -20px rgba(18, 21, 27, 0.3); font-size: 13.5px; line-height: 1.4; opacity: 0; transform: translateX(-10px); transition: opacity 0.45s var(--ease), transform 0.6s var(--ease); }
.rem.is-in { opacity: 1; transform: none; }
.rem b { display: block; font-size: 12px; color: var(--faint); font-weight: 500; font-family: var(--mono); }
.rem__ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex: none; }
.rem__ic svg { width: 16px; height: 16px; }
.rem--ok .rem__ic { background: var(--green-50); color: var(--green); }

/* ---------- Report carousel ---------- */
.rep-top { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; }
.rep-top .art { width: 230px; margin-right: 20px; }
.track { display: flex; gap: 20px; margin-top: 44px; padding: 10px 24px 30px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.track::before, .track::after { content: ""; flex: 0 0 max(0px, calc((100vw - var(--wrap)) / 2)); }
.rcard { flex: 0 0 min(440px, 82vw); scroll-snap-align: start; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.rcard__vis { height: 250px; position: relative; overflow: hidden; background: linear-gradient(180deg, #F7F9FD, #fff); border-bottom: 1px solid var(--line-2); padding: 22px; }
.rcard__txt { padding: 22px 26px 26px; }
.rcard__txt .label { text-transform: none; letter-spacing: 0; font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--muted); }
.rcard__txt h3 { margin-top: 4px; font-size: 21px; letter-spacing: -0.025em; line-height: 1.25; font-weight: 600; }
.big { font-size: 54px; font-weight: 770; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.big small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.spark { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; }
.spark path { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.6s var(--ease); }
.spark .area { stroke: none; fill: url(#sparkFill); opacity: 0; transition: opacity 1s 0.6s; }
.is-visible .spark path { stroke-dashoffset: 0; }
.is-visible .spark .area { opacity: 1; }
.minibars { position: absolute; left: 22px; right: 22px; bottom: 22px; height: 130px; display: flex; align-items: flex-end; gap: 10px; }
.minibars i { flex: 1; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #FB8D57, #A34D22); transform: scaleY(0); transform-origin: bottom; transition: transform 0.9s var(--ease); }
.is-visible .minibars i { transform: scaleY(1); }
.funnel { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.funnel div { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-2); }
.funnel span { height: 30px; border-radius: 9px; background: linear-gradient(90deg, #A34D22, #FA7E40); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); display: flex; align-items: center; padding-left: 10px; color: #fff; font-weight: 650; font-family: var(--mono); font-size: 12px; }
.is-visible .funnel span { transform: scaleX(1); }
.funnel div:nth-child(2) span { transition-delay: 0.15s; }
.funnel div:nth-child(3) span { transition-delay: 0.3s; }
.visits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.visits li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 11px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 13px; }
.visits li span { margin-left: auto; }
.trend { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; }
.car-nav { display: flex; gap: 12px; margin-top: 4px; }
.car-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 0 0 1px rgba(18, 21, 27, 0.06), 0 10px 20px -12px rgba(18, 21, 27, 0.3); display: grid; place-items: center; cursor: pointer; transition: transform 0.3s var(--ease), opacity 0.3s; }
.car-btn:hover:not(:disabled) { transform: translateY(-1px); }
.car-btn:disabled { opacity: 0.4; cursor: default; box-shadow: 0 0 0 1px rgba(18, 21, 27, 0.06); }
.car-btn svg { width: 20px; height: 20px; }
.note { margin-top: 6px; font-size: 13.5px; color: var(--faint); }

/* ---------- Conversation ---------- */
.conv { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; margin-top: 40px; }
.point { padding: 22px 0; border-top: 1px solid var(--line); }
.point h3 { font-size: 17px; font-weight: 650; letter-spacing: -0.015em; }
.point p { margin-top: 6px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.chatwin { padding: 0; overflow: hidden; }
.chatwin__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line-2); }
.chatwin__head b { display: block; font-size: 15px; line-height: 1.2; }
.chatwin__head small { color: var(--faint); font-size: 12.5px; }
.chatwin__head .tag { margin-left: auto; }
.chatwin .msgs { min-height: 430px; padding: 18px; justify-content: flex-start; }
.chatwin .msg { max-width: 84%; }
.chatwin .compose { padding: 12px 14px 14px; }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: currentColor; animation: caret 0.9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- Niches ---------- */
.niches { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.niche { overflow: hidden; display: flex; flex-direction: column; }
.niche__img { height: 240px; position: relative; overflow: hidden; }
.niche__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.niche:hover .niche__img img, .niche.is-visible .niche__img img { transform: scale(1); }
.niche__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 21, 27, 0) 50%, rgba(18, 21, 27, 0.35)); }
.niche__body { padding: 28px 30px 32px; }
.niche h3 { font-size: 27px; letter-spacing: -0.035em; font-weight: 700; line-height: 1.15; }
.niche > .niche__body > p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; list-style: none; padding: 0; }
.chips li { padding: 8px 13px; border-radius: 10px; background: var(--bg); font-size: 14.5px; font-weight: 550; color: var(--ink-2); }
.niche__season { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-2); display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.niche__season svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 2px; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; padding: 0; overflow: hidden; }
.calc__in { padding: 44px 44px 46px; display: flex; flex-direction: column; gap: 30px; }
.calc__out { padding: 44px; border-left: 1px solid var(--line-2); background: linear-gradient(180deg, #FAFBFE, #fff); display: flex; flex-direction: column; gap: 26px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; gap: 4px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px rgba(18, 21, 27, 0.05); margin-top: 12px; }
.seg button { height: 44px; border: 0; border-radius: 10px; background: transparent; font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer; transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--blue); box-shadow: 0 4px 12px -6px rgba(18, 21, 27, 0.25), 0 0 0 1px rgba(18, 21, 27, 0.04); }
.fld__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fld__top label, .calc__in .lbl { font-weight: 600; font-size: 16px; }
.fld__v { font-size: 26px; font-weight: 750; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; margin: 10px 0 0; background: transparent; cursor: pointer; --p: 50%; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blue-2) 0, var(--blue) var(--p), #E4E7ED var(--p)); }
.range::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blue-2) 0, var(--blue) var(--p), #E4E7ED var(--p)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 5px solid var(--blue); box-shadow: 0 4px 10px -2px rgba(163, 77, 34, 0.5); transition: transform 0.2s; }
.range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 5px solid var(--blue); box-shadow: 0 4px 10px -2px rgba(163, 77, 34, 0.5); }
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.fld__minmax { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--faint); margin-top: 4px; }
.bar-row__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.bar-row__top span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-2); }
.bar-row__top svg { width: 17px; height: 17px; color: var(--muted); }
.bar-row__top b { font-size: 28px; font-weight: 750; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.bar-row__top b small { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.meter { margin-top: 10px; height: 10px; border-radius: 10px; background: var(--bg-2); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, var(--blue-2), var(--blue)); transition: width 0.6s var(--ease); }
.meter--grey i { background: #9CA1AB; }
.result { position: relative; padding: 26px 28px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 44px -26px rgba(163, 77, 34, 0.45); overflow: hidden; }
.result::before { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(250, 110, 42, 0.18), transparent 65%); }
.result__label { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 650; }
.result__label svg { width: 18px; height: 18px; }
.result__n { margin-top: 8px; font-size: clamp(48px, 5.4vw, 74px); font-weight: 780; letter-spacing: -0.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.result__n small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: 6px; }
.result p { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- Process ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 37px; height: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 6%; right: 6%; top: 37px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) 0.2s; }
.steps.is-visible::after { transform: scaleX(1); }
.step { position: relative; z-index: 1; padding: 0 6px; text-align: left; }
.step__n { width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-card), 0 0 0 1px rgba(18, 21, 27, 0.05); font-family: var(--mono); font-weight: 500; font-size: 18px; color: var(--blue); margin-bottom: 22px; }
.step h3 { font-size: 20px; letter-spacing: -0.02em; font-weight: 650; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.step__t { display: inline-block; margin-top: 12px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: start; }
.faq__l { position: sticky; top: 120px; }
.faq__l .art { width: min(300px, 70%); margin-top: 50px; }
.qa { padding: 0 0 30px; }
.qa + .qa { padding-top: 0; }
.qa h3 { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.3; }
.qa p { margin-top: 10px; color: var(--muted); font-size: 16.5px; line-height: 1.65; }

/* ---------- Final CTA ---------- */
.end { position: relative; margin-top: 140px; padding: 130px 0 120px; text-align: center; overflow: hidden; isolation: isolate; }
.end__bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(520px 380px at 76% 64%, rgba(250, 115, 47, 0.36), transparent 70%),
  radial-gradient(600px 400px at 20% 40%, rgba(254, 218, 200, 0.9), transparent 70%),
  linear-gradient(180deg, var(--bg), #EDF0F8); }
.end__bg::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0) 0 22px, rgba(255, 255, 255, 0.35) 22px 23px); mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); }
.end .h2 { font-size: clamp(38px, 5.4vw, 70px); }
.end .sub { max-width: 600px; margin-left: auto; margin-right: auto; }
.end__ctas { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.checks { margin-top: 18px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.checks span { display: inline-flex; align-items: center; gap: 6px; }
.checks svg { width: 15px; height: 15px; color: var(--green); }
.end .consent__note { max-width: 560px; margin: 26px auto 0; text-align: center; }

/* Chat card (contact page + partial) */
.chat-card { padding: 28px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-card), 0 0 0 1px rgba(18, 21, 27, 0.05); }
.chat-card__head { display: flex; align-items: center; gap: 12px; }
.chat-card__head b { display: block; font-size: 17px; line-height: 1.2; }
.chat-card__head small { color: var(--faint); font-size: 13px; }
.chat-card__avatar { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, #FA6E2A, #A34D22); color: #fff; box-shadow: 0 10px 20px -10px rgba(163, 77, 34, 0.7); }
.chat-card__avatar svg { width: 22px; height: 22px; }
.chat-card__text { margin: 18px 0 20px; color: var(--ink-2); font-size: 16px; }
.consent__note { margin-top: 14px; font-size: 13.5px; line-height: 1.55; color: var(--muted); transition: color 0.3s, background 0.3s; border-radius: 10px; }
.consent__note a { color: var(--blue); }
.consent__note.is-highlighted { color: var(--ink); background: var(--blue-50); padding: 10px 12px; }

/* ---------- Footer ---------- */
.footer { padding: 0 0 40px; background: #EDF0F8; }
.footer .wrap { border-top: 1px solid rgba(18, 21, 27, 0.08); padding-top: 34px; }
.footer__top, .footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.footer .logo { font-size: 19px; }
.footer .logo svg { width: 26px; height: 26px; }
.footer__nav { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.footer__nav a { font-size: 14.5px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer__nav a:hover { color: var(--blue); }
.footer__bottom { margin-top: 26px; font-size: 13.5px; color: var(--muted); }
.footer__bottom a { color: inherit; text-decoration: none; }
.footer__bottom a:hover { color: var(--blue); }
.footer__legal { margin-top: 14px; font-size: 12.5px; color: var(--faint); line-height: 1.55; max-width: 900px; }

/* ---------- Inner pages ---------- */
.page { padding: 150px 0 110px; position: relative; isolation: isolate; }
.page::before { content: ""; position: absolute; inset: 0 0 auto; height: 520px; z-index: -1; background: radial-gradient(700px 360px at 80% 0%, rgba(250, 133, 74, 0.22), transparent 65%), linear-gradient(180deg, #F8E5DC, var(--bg)); }
.page__title { font-size: clamp(38px, 5vw, 62px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 760; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.lede { margin-top: 18px; font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 620px; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.contact-info { margin: 34px 0 0; display: grid; gap: 0; }
.contact-info > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-info dt { font-weight: 600; font-size: 15px; }
.contact-info dd { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.contact-info a { color: var(--blue); text-decoration: none; }
.legal { max-width: 820px; }
.legal__updated { margin-top: 12px; color: var(--faint); font-family: var(--mono); font-size: 13px; }
.legal h2 { margin-top: 46px; font-size: 26px; letter-spacing: -0.03em; line-height: 1.25; font-weight: 700; }
.legal h3 { margin-top: 26px; font-size: 18.5px; letter-spacing: -0.015em; font-weight: 650; }
.legal p, .legal li { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.legal p { margin-top: 14px; }
.legal ul, .legal ol { margin: 12px 0 0; padding-left: 22px; }
.legal li + li { margin-top: 8px; }
.legal a { color: var(--blue); }
.legal address { font-style: normal; }
.legal > p:first-of-type { margin-top: 30px; }
.stub { padding-top: 190px; padding-bottom: 140px; text-align: center; max-width: 760px; }
.stub h1 { font-size: clamp(38px, 5vw, 60px); letter-spacing: -0.045em; line-height: 1.05; font-weight: 760; }
.stub .lede { margin-left: auto; margin-right: auto; }
.stub__actions { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn--light { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(18, 21, 27, 0.07), 0 6px 16px -10px rgba(18, 21, 27, 0.2); }
.btn--light:hover { transform: translateY(-1px); }
.btn:not(.btn--light):not(.btn--ghost):not(.btn--primary) { background: var(--blue); color: #fff; box-shadow: 0 12px 26px -12px rgba(163, 77, 34, 0.75); }

/* ---------- Motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="scale"] { transform: translateY(20px) scale(0.97); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-pop] { opacity: 0; transform: scale(0.6) rotate(-10deg); transition: opacity 0.6s var(--ease), transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1); transition-delay: var(--d, 0s); }
.js [data-pop].is-visible { opacity: 1; transform: none; }
.js .hero [data-in] { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.js .hero .stage[data-in] { transform: translateY(70px) rotateX(10deg) scale(0.96); transform-origin: center top; filter: none; transition-duration: 1.2s, 1.5s, 0s; }
.is-ready .hero [data-in] { opacity: 1; transform: none; filter: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .stage { height: 560px; }
  .p-sms { grid-template-columns: 220px 1fr; }
  .rep__tiles { grid-template-columns: repeat(3, 1fr); }
  .rep__tiles .tile:nth-child(n+4) { display: none; }
  .win__nav span:nth-child(n+3) { display: none; }
}
@media (max-width: 900px) {
  .sec { padding-top: 100px; }
  .stats, .conv, .faq, .split { grid-template-columns: 1fr; gap: 40px; }
  .stats__copy, .faq__l { position: static; }
  .stats__art { display: none; }
  .faq__l .art { display: none; }
  .feats { grid-template-columns: 1fr; gap: 56px; }
  .feat:nth-child(n) { grid-column: auto; min-height: 0; }
  .niches { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .calc__out { border-left: 0; border-top: 1px solid var(--line-2); }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .steps::before, .steps::after { display: none; }
  .rep-top { grid-template-columns: 1fr; }
  .rep-top .art { display: none; }
  .ghost { display: none; }
  .p-camp { grid-template-columns: 1fr; }
  .p-camp > .box:first-child { display: none; }
  .p-sms { grid-template-columns: 1fr; }
  .convos { display: none; }
  .thread { padding: 0; }
  .p-cal { grid-template-columns: 1fr; }
  .p-cal .side { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 120px; }
  .hero h1 { letter-spacing: -0.045em; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .tabs { margin-top: 48px; }
  .tab { padding: 0 12px; font-size: 14.5px; }
  .tab svg { display: none; }
  .stage { height: 520px; padding: 0 12px; }
  .win__nav { display: none; }
  .win__who span { display: none; }
  .panel { padding: 14px; }
  .rep__tiles { grid-template-columns: 1fr 1fr; }
  .rep__tiles .tile:nth-child(n+3) { display: none; }
  .cal { grid-template-columns: 40px repeat(3, 1fr); }
  .cal__ev { left: 40px; --cols: 3; }
  .cal [data-col="4"], .cal [data-col="5"] { display: none; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px 18px 22px; border-radius: 22px; }
  .stat p { font-size: 14.5px; }
  .feat { padding: 30px 20px 0; }
  .feat h3 { font-size: 22px; }
  .points { grid-template-columns: 1fr; }
  .calc__in, .calc__out { padding: 28px 20px; }
  .steps { grid-template-columns: 1fr; }
  .niche__body { padding: 22px 20px 26px; }
  .contact-info > div { grid-template-columns: 1fr; gap: 2px; }
  .end { padding: 100px 0 90px; margin-top: 100px; }
  .end__ctas .btn { flex: 1 1 100%; }
  .page { padding-top: 120px; }
  .stub { padding-top: 150px; }
}
@media (max-width: 420px) {
  .stats__grid { grid-template-columns: 1fr; }
}

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

/* Demo helpers */
.msg.is-off { display: none; }
.booked.msg { max-width: none; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; }
@media (max-width: 640px) {
  .badge { font-size: 13px; padding: 7px 14px; }
  .badge__more { display: none; }
}
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }

/* Ads feature card (real images, animated) */
.f-promo .promo { overflow: visible; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.f-promo picture { display: block; }
.f-promo .promo__img { display: block; width: 100%; height: 112px; object-fit: cover; background: #D8BAAD; }
.f-promo .promo__cta { border-radius: 0 0 14px 14px; }
.f-promo.is-armed .promo:not(.is-in) { opacity: 0; transform: translateY(22px) scale(0.97); }
.f-promo.is-armed .promo:nth-child(3):not(.is-in) { transform: translateY(40px) scale(0.97); }
.f-promo .promo:nth-child(3) { transform: translateY(18px); }
.f-promo__pill { position: absolute; z-index: 3; left: 50%; top: -18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: #fff; box-shadow: 0 14px 30px -14px rgba(18, 21, 27, 0.35), 0 0 0 1px rgba(18, 21, 27, 0.06); font-size: 12.5px; font-weight: 600; white-space: nowrap; color: var(--ink); transform: translate(-50%, 0); transition: opacity 0.45s var(--ease), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.f-promo__pill .dot { color: var(--green); }
.f-promo.is-armed .f-promo__pill:not(.is-in) { opacity: 0; transform: translate(-50%, 10px) scale(0.92); }

/* CRM card */
.f-crm { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.crm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.crm__col { background: var(--bg); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 6px; min-height: 182px; min-width: 0; }
.crm__h { display: flex; align-items: center; gap: 6px; padding: 2px 4px 4px; font-size: 11.5px; font-weight: 650; color: var(--muted); }
.crm__h i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.crm__h i.b { background: var(--blue-2); }
.crm__h i.g { background: var(--green); }
.crm__card { background: #fff; border-radius: 9px; padding: 7px 8px; font-size: 11.5px; line-height: 1.3; box-shadow: 0 0 0 1px var(--line), 0 6px 14px -10px rgba(18, 21, 27, 0.3); }
.crm__card b { display: block; font-size: 12px; color: var(--ink); }
.crm__card span { display: block; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crm__card--ok { box-shadow: inset 3px 0 0 var(--green), 0 0 0 1px var(--line); }
.crm__card--ok span { color: var(--green); }
.crm__card--hl { box-shadow: 0 0 0 1.5px var(--blue-2), 0 10px 20px -10px rgba(163, 77, 34, 0.5); }
.crm__card--ok.crm__card--hl { box-shadow: inset 3px 0 0 var(--green), 0 0 0 1.5px var(--green), 0 10px 20px -10px rgba(31, 157, 99, 0.5); }
.f-crm.is-armed [data-step]:not(.is-in) { display: none; }
.f-crm.is-armed [data-step].is-in { animation: crmIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes crmIn { from { opacity: 0; transform: translateY(-6px) scale(0.9); } to { opacity: 1; transform: none; } }
.crm__re { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 14px 28px -20px rgba(18, 21, 27, 0.3); font-size: 13px; line-height: 1.35; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.crm__re b { display: block; font-size: 12px; color: var(--faint); font-weight: 500; font-family: var(--mono); }
.f-crm.is-armed .crm__re:not(.is-in) { opacity: 0; transform: translateY(8px); }

/* Website card */
.f-web { position: relative; width: 100%; max-width: 520px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 34px -20px rgba(18, 21, 27, 0.3); }
.web__bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--line-2); background: #F7F8FB; border-radius: 14px 14px 0 0; }
.web__bar > i { width: 9px; height: 9px; border-radius: 50%; background: #DADDE4; }
.web__url { margin-left: 10px; flex: 1; max-width: 260px; height: 22px; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.web__url svg { width: 11px; height: 11px; color: var(--green); }
.web__hero { position: relative; min-height: 180px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; color: #fff; background: #2B3847; overflow: hidden; }
.web__hero picture { position: absolute; inset: 0; }
.web__bg { width: 100%; height: 100%; object-fit: cover; }
.web__hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(16, 21, 26, 0.1), rgba(16, 21, 26, 0.78)); }
.web__hero b, .web__hero small, .web__btn { position: relative; z-index: 2; }
.web__hero b { font-size: 19px; letter-spacing: -0.02em; line-height: 1.15; max-width: 300px; }
.web__hero small { font-size: 12px; opacity: 0.85; margin-top: 4px; }
.web__btn { margin-top: 12px; padding: 8px 14px; border-radius: 9px; background: var(--blue); font-weight: 600; font-size: 12.5px; box-shadow: 0 8px 18px -8px rgba(163, 77, 34, 0.9); transition: transform 0.15s, background-color 0.3s; }
.web__btn.is-press { transform: scale(0.94); background: var(--blue-h); }
.web__rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px 16px 16px; }
.web__rows div { border-radius: 10px; background: var(--bg); padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; }
.web__rows i { height: 6px; border-radius: 4px; background: #DDE2EA; }
.web__rows i + i { width: 60%; }
.web__pop { position: absolute; right: 14px; top: 50px; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 18px 40px -16px rgba(18, 21, 27, 0.35), 0 0 0 1px rgba(18, 21, 27, 0.06); font-size: 12.5px; line-height: 1.35; color: var(--muted); opacity: 0; transform: translateY(8px) scale(0.96); transition: opacity 0.45s var(--ease), transform 0.55s var(--ease); }
.web__pop.is-in { opacity: 1; transform: none; }
.web__pop b { display: block; font-size: 13px; color: var(--ink); }
.web__ok { width: 28px; height: 28px; padding: 6px; border-radius: 9px; background: var(--green-50); color: var(--green); flex: none; }
@media (min-width: 901px) {
  .feat:nth-child(5) { grid-column: span 5; }
  .feat:nth-child(6) { grid-column: span 7; }
}
.niche__img img { object-position: center 30%; }

/* Service cards inside the stats grid */
.stat { transition: opacity 0.9s var(--ease), transform 0.6s var(--ease), box-shadow 0.4s var(--ease); }
.stat:hover { box-shadow: var(--shadow-card), 0 0 0 1px rgba(250, 110, 42, 0.35), 0 20px 40px -24px rgba(163, 77, 34, 0.45); }
.stat__ic { width: 58px; height: 58px; filter: drop-shadow(0 12px 14px rgba(163, 77, 34, 0.28)); }
.stat__ic svg { width: 100%; height: 100%; }
.stat--svc h3 { margin-top: 20px; font-size: 22px; line-height: 1.2; letter-spacing: -0.025em; font-weight: 650; }
.stat--svc p { color: var(--muted); }
@media (max-width: 640px) { .stat--svc h3 { font-size: 18px; } .stat__ic { width: 48px; height: 48px; } }
.stat__n--w { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.04em; line-height: 1.05; }

/* Hidden blocks stay hidden even when a class sets display */
[hidden] { display: none !important; }
.hy { margin: 0 -0.06em; }

/* Phone polish */
@media (max-width: 640px) {
  .f-promo { gap: 10px; }
  .f-promo .ava { display: none; }
  .f-promo .promo__top { padding: 12px 12px 8px; }
  .f-promo .promo__top b { font-size: 13px; }
  .f-promo .promo__text { padding: 0 12px 10px; font-size: 12px; }
  .f-promo .promo__img { height: 96px; }
  .f-promo .promo__cta { padding: 10px 12px; }
  .f-promo__pill { font-size: 12px; }
  .feat__vis { padding-bottom: 22px; }
  .step__n { width: 56px; height: 56px; border-radius: 17px; font-size: 16px; margin-bottom: 14px; }
  .stat__n--w { font-size: 34px; }
}

/* Keep everything inside the screen width */
.hero { overflow: hidden; }
.t-short { display: none; }
@media (max-width: 640px) {
  .t-full { display: none; }
  .t-short { display: inline; }
  .tabs { max-width: 100%; }
  .tab { padding: 0 11px; }
}
@media (max-width: 360px) {
  .tab { padding: 0 9px; font-size: 14px; }
}
.logo svg { flex: none; }
@media (max-width: 380px) {
  .badge { font-size: 12px; white-space: nowrap; padding: 7px 12px; gap: 7px; }
  .badge svg { width: 14px; height: 14px; }
  .nav__end .btn--sm { height: 38px; }
}
@media (max-width: 420px) {
  .nav-shell { padding: 10px 10px 0; }
  .nav { padding: 0 6px 0 12px; gap: 8px; height: 58px; }
  .logo { font-size: 18px; gap: 8px; }
  .logo svg { width: 26px; height: 26px; }
  .nav__end .btn--sm { padding: 0 12px; font-size: 14px; height: 38px; }
  .nav__toggle { width: 40px; height: 40px; }
}
@media (max-width: 359px) {
  .nav__end .btn--sm { display: none; }
}

/* ---- roof.quotingcrew.org look (build_roof.py) ---- */
:root {
  --grad: linear-gradient(92deg, #9A3A16 0%, #C9541F 52%, #E9853A 100%);
  --r-xl: 20px;
  --r-lg: 16px;
  --r: 12px;
  --r-sm: 9px;
}
