:root {
  --ink: #202a3b;
  --muted: #667085;
  --line: #e4e5ea;
  --paper: #ffffff;
  --soft: #f7f6fa;
  --violet: #6d32e5;
  --violet-dark: #3c2466;
  --blue: #2e63f3;
  --orange: #ff9800;
  --mint: #43d4ae;
  --navy: #202a3b;
  --max: 1180px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.55; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(108, 66, 235, .38); outline-offset: 3px; }

.skip-link { position: fixed; top: -60px; left: 16px; z-index: 100; background: #fff; padding: 10px 14px; border: 1px solid var(--line); }
.skip-link:focus { top: 14px; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(780px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: #fff; }
.eyebrow { margin: 0 0 14px; color: var(--violet); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.section-dark .eyebrow { color: #bba9ff; }
.section-heading { max-width: 720px; margin: 0 0 18px; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.05; letter-spacing: 0; }
.section-lede { max-width: 680px; margin: 0 0 42px; color: var(--muted); font-size: 1.08rem; }
.section-dark .section-lede { color: #c9c5d7; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker { color: var(--orange); }
.muted { color: var(--muted); }
.fine-print { color: var(--muted); font-size: .83rem; }

.site-header { position: sticky; top: 0; z-index: 50; height: 80px; background: #fff; border-bottom: 1px solid #eeedf1; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 226px; height: 54px; }
.header-inner > a { flex: 0 1 auto; min-width: 0; }
.brand > span { display: block; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.desktop-nav > a:not(.btn) { color: #545061; font-weight: 650; font-size: .93rem; }
.desktop-nav > a:not(.btn):hover, .desktop-nav > a[aria-current="page"] { color: var(--violet); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; flex: 0 0 auto; }
.menu-button { display: none; width: 42px; height: 42px; border: 0; background: transparent; border-radius: 0; align-items: center; justify-content: center; }
.menu-symbol { font-size: 1.35rem; line-height: 1; font-weight: 800; }
.menu-button[aria-expanded="true"] .menu-symbol { font-size: 0; }
.menu-button[aria-expanded="true"] .menu-symbol::after { content: "×"; font-size: 1.65rem; font-weight: 500; }
.mobile-nav { display: none; position: fixed; inset: 80px 0 auto; padding: 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 32px rgba(23,18,43,.1); }
.mobile-nav.open { display: grid; gap: 8px; }
.mobile-nav a { padding: 13px 10px; font-weight: 750; border-bottom: 1px solid var(--line); }

.btn { min-height: 46px; padding: 0 20px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; font-weight: 800; transition: transform .18s, background .18s, border-color .18s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 8px 18px rgba(108,66,235,.24); }
.btn-primary:hover { background: var(--violet-dark); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost { border-color: var(--line); background: transparent; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.arrow { font-size: 1.12em; line-height: 1; }

.hero { min-height: 590px; display: grid; align-items: start; position: relative; overflow: hidden; background: #f7f7fa; color: var(--ink); border-bottom: 1px solid #ececf0; }
.hero::after { display: none; }
.hero-inner { position: relative; z-index: 2; padding: 96px 0 68px; }
.hero-copy { max-width: 860px; margin: 0 auto; text-align: center; }
.hero h1 { margin: 0 auto 28px; max-width: 920px; font-size: clamp(3.3rem, 7vw, 5.4rem); line-height: 1.08; letter-spacing: 0; }
.rotating-word { display: block; min-height: 1.12em; margin-top: 20px; color: #2563eb; will-change: opacity, transform; }
.rotating-word.word-out { animation: hero-word-out .32s ease-in both; }
.rotating-word.word-in { animation: hero-word-in .34s ease-out both; }
.hero-mascot { position: fixed; right: -22px; bottom: 0; z-index: 40; width: 192px; height: auto; pointer-events: none; opacity: 0; transform: translate(88px, 72px) rotate(4deg); animation: hero-mascot-enter .72s cubic-bezier(.2,.8,.2,1) 2.45s forwards; }
@keyframes hero-word-out { to { opacity: 0; transform: translateY(-70%); } }
@keyframes hero-word-in { from { opacity: 0; transform: translateY(70%); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-mascot-enter { to { opacity: 1; transform: translate(0, 0) rotate(0); } }
.hero p { max-width: 660px; margin: 0 auto; color: #4f5c72; font-size: clamp(1.08rem, 2vw, 1.28rem); }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 34px 0 38px; }
.trust-list { display: grid; width: min(360px, 100%); gap: 14px; margin: 0 auto; padding: 0; list-style: none; color: #69758a; text-align: left; font-size: 1.02rem; }
.trust-list li::before { content: "✓"; color: var(--mint); font-weight: 900; margin-right: 10px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.card:hover { border-color: #c3b7f1; box-shadow: 0 14px 36px rgba(23,18,43,.08); }
.workflow-card { display: flex; flex-direction: column; min-height: 430px; }
.workflow-icon { width: 48px; height: 48px; border-radius: 8px; display: grid; place-items: center; background: #fff2df; color: var(--orange); font-weight: 900; font-size: 1.2rem; margin-bottom: 28px; }
.workflow-card:nth-child(2) .workflow-icon { background: #ddf8ee; color: #137e61; }
.workflow-card:nth-child(3) .workflow-icon { background: #fff0e5; color: #c85d13; }
.workflow-card h3 { margin: 0 0 8px; font-size: 1.35rem; }
.feature-list { list-style: none; padding: 0; margin: 20px 0 26px; color: var(--muted); }
.feature-list li { margin: 8px 0; }
.feature-list li::before { content: "✓"; color: var(--orange); margin-right: 8px; }
.price-row { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding-top: 18px; margin-top: auto; border-top: 1px solid var(--line); }
.price strong { display: block; font-size: 1.45rem; }
.price span { color: var(--muted); font-size: .83rem; }
.text-link { color: var(--violet); font-weight: 800; }
.text-link:hover { text-decoration: underline; }

.calculator { display: grid; grid-template-columns: 1.05fr .95fr; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.calc-controls { padding: 38px; }
.calc-result { padding: 38px; background: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 5px; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 28px; }
.segmented button { min-height: 45px; border: 0; border-radius: 5px; background: transparent; color: var(--muted); font-weight: 750; }
.segmented button.active { background: #fff; color: var(--violet); box-shadow: 0 2px 9px rgba(23,18,43,.1); }
.range-row { margin: 24px 0; }
.range-label { display: flex; justify-content: space-between; gap: 12px; font-weight: 750; }
input[type="range"] { width: 100%; accent-color: var(--violet); }
.check-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--muted); }
.check-row input { width: 18px; height: 18px; accent-color: var(--violet); }
.savings { font-size: clamp(3rem, 8vw, 5.8rem); font-weight: 900; color: #fff; line-height: 1; }
.calc-result > p { color: #c9c5d7; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0; }
.metric { padding-top: 14px; border-top: 1px solid #3c3652; }
.metric strong { display: block; font-size: 1.35rem; }
.metric span { color: #aaa5b7; font-size: .8rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: steps; }
.step { counter-increment: steps; border-top: 3px solid var(--line); padding-top: 28px; }
.step::before { content: "0" counter(steps); color: var(--orange); font-weight: 900; font-size: .85rem; }
.step h3 { margin: 14px 0 8px; font-size: 1.35rem; }
.home-page .section > .container > .eyebrow,
.home-page .section > .container > .section-heading,
.home-page .section > .container > .section-lede { text-align: center; margin-left: auto; margin-right: auto; }
.how-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: stretch; }
.how-layout .steps { grid-template-columns: 1fr; }
.assistant-panel { min-height: 430px; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); background: #f7f7fa; }
.assistant-panel img { width: 100%; height: 100%; object-fit: cover; object-position: 82% center; }
.how-cta { margin: 34px 0 0; text-align: center; color: var(--muted); }

.pricing-story { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; align-items: start; }
.pricing-principles, .pricing-example { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 30px; }
.pricing-principles h3, .pricing-example h3 { margin: 0 0 24px; font-size: 1.35rem; }
.pricing-principles > div { display: grid; gap: 2px; padding: 16px 0; border-top: 1px solid var(--line); }
.pricing-principles span { color: var(--muted); font-size: .92rem; }
.preview-tiers { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.preview-tiers > div { min-height: 148px; padding: 22px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.preview-tiers > div:nth-child(2n) { border-right: 0; }
.preview-tiers > div:nth-last-child(-n+2) { border-bottom: 0; }
.preview-tiers span { color: var(--muted); font-size: .86rem; }
.preview-tiers b { margin-top: auto; color: var(--violet); font-size: 1.75rem; }
.preview-tiers small { color: var(--muted); font-size: .8rem; font-weight: 600; }
.pricing-link { margin-top: 32px; }

.page-hero { padding: 72px 0 70px; background: #f5f4f8; border-bottom: 1px solid #ececf0; text-align: center; }
.page-hero h1 { max-width: 920px; margin: 0 auto 20px; font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 1.05; letter-spacing: 0; }
.page-hero p { max-width: 720px; margin: 0 auto; color: #4f5c72; font-size: 1.18rem; }
.page-hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-top: 42px; }
.stat { padding: 24px; background: #fff; }
.stat strong { display: block; font-size: 1.5rem; }
.stat span { color: var(--muted); font-size: .9rem; }
.stat small { display: block; margin-top: 4px; color: #8a8793; font-size: .76rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-item { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.feature-item h3 { margin: 0 0 6px; }
.feature-item p { margin: 0; color: var(--muted); }
.icon-box { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--violet); font-weight: 900; }

.pricing-tabs { display: flex; flex-wrap: wrap; gap: 4px; width: max-content; max-width: 100%; margin: 0 0 38px; padding: 4px; border-radius: 6px; background: #f2f1f5; }
.pricing-tabs.center { justify-content: center; }
.pricing-tabs button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 5px; background: transparent; color: #6f7787; font-size: .86rem; font-weight: 750; display: inline-flex; align-items: center; gap: 8px; }
.pricing-tabs button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(23,18,43,.1); }
.pricing-tabs button span { color: #8b95a8; font-size: 1.1rem; }
.pricing-tabs button:first-child span { color: var(--orange); }
.pricing-current { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 28px; }
.pricing-current h3 { margin: 0; font-size: 1.55rem; }
.pricing-current-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; background: #fff4e5; color: var(--orange); font-size: 1.4rem; font-weight: 850; }
.pricing-current-icon[data-theme="lead"] { background: #e9faf4; color: #10a976; }
.pricing-current-icon[data-theme="appointment"] { background: #eef2ff; color: #4263d8; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pricing-grid[hidden] { display: none; }
.pricing-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; margin: 0 auto; }
.pricing-card { position: relative; padding: 25px; border: 1px solid var(--line); border-radius: 8px; background: #fff; display: flex; flex-direction: column; min-height: 398px; }
.pricing-card.popular { border: 2px solid var(--violet-dark); box-shadow: 0 12px 28px rgba(60,36,102,.15); }
.popular-badge { position: absolute; top: -12px; left: 50%; min-height: 23px; padding: 2px 12px; border-radius: 99px; background: var(--violet); color: #fff; font-size: .7rem; font-weight: 850; transform: translateX(-50%); }
.tag { display: inline-flex; align-items: center; align-self: flex-start; min-height: 26px; padding: 0 9px; border-radius: 99px; background: #eee8ff; color: var(--violet-dark); font-size: .75rem; font-weight: 850; }
.pricing-card h3 { margin: 0 0 2px; }
.plan-volume { min-height: 22px; margin: 0 0 10px; color: var(--muted); font-size: .78rem; }
.price-big { font-size: 2.5rem; font-weight: 900; }
.price-big small { color: var(--muted); font-size: .9rem; font-weight: 600; }
.pricing-card .feature-list { margin: 12px 0 20px; font-size: .82rem; }
.pricing-card .feature-list li::before { color: var(--orange); }
.pricing-action { min-height: 46px; margin-top: auto; border: 1px solid var(--violet-dark); border-radius: 6px; display: grid; place-items: center; color: var(--violet-dark); font-weight: 800; }
.pricing-card.popular .pricing-action { border-color: var(--violet); background: var(--violet); color: #fff; }

.pricing-hero, .feature-hero { padding: 64px 0 60px; background: #fff; }
.pricing-hero h1, .feature-hero h1 { max-width: 1220px; font-size: clamp(2.8rem, 4vw, 3.1rem); }
.pricing-pillars { padding: 64px 0; }
.pricing-pillars .container { max-width: 1038px; }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.principle-card { min-height: 205px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 8px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.principle-card .icon-box { margin-bottom: 18px; background: #f2eff7; border: 0; }
.principle-card h3 { margin: 0 0 7px; font-size: 1rem; }
.principle-card p { max-width: 190px; margin: 0; color: var(--muted); font-size: .9rem; }
.overage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.overage-grid article { min-height: 132px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.overage-grid strong, .overage-grid span { display: block; }
.overage-grid span { margin-top: 8px; color: var(--muted); }
.overage-note { margin-top: 24px; }
.pricing-workflows { padding: 64px 0; }
.pricing-workflows .section-lede { margin-bottom: 42px; }
.pricing-overage { padding: 80px 0; }
.pricing-overage .section-lede { margin-bottom: 42px; }
.pricing-faq { padding: 80px 0; }
.pricing-final-cta { padding: 80px 0; border-top: 1px solid #ece9f3; background: #f8f6fc; text-align: center; }
.pricing-final-cta h2 { margin: 0 0 16px; font-size: 2.4rem; }
.pricing-final-cta p { margin: 0 0 28px; color: var(--muted); font-size: 1.08rem; }

.feature-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 1145px; margin: 0 auto; }
.feature-card { min-height: 260px; padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.feature-card .icon-box { margin-bottom: 20px; background: #f3efff; border: 0; }
.feature-card:nth-child(4n+2) .icon-box { background: #e5faf3; color: #178368; }
.feature-card:nth-child(4n+3) .icon-box { background: #fff4e7; color: #c87313; }
.feature-card:nth-child(4n) .icon-box { background: #eef1ff; color: #305de0; }
.feature-card h3 { margin: 0 0 10px; font-size: 1.05rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.tool-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.tool-row > span { min-height: 72px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; display: grid; place-items: center; text-align: center; font-weight: 800; }
.tool-row small { display: block; color: var(--muted); font-size: .66rem; font-weight: 650; text-transform: uppercase; }

.setup-list { display: grid; gap: 18px; max-width: 880px; }
.setup-step { padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.setup-step > span { color: var(--violet); font-size: .78rem; font-weight: 850; text-transform: uppercase; }
.setup-step h3 { margin: 8px 0; font-size: 1.45rem; }
.setup-step > p { margin: 0; color: var(--muted); }

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; padding: 22px 4px; border: 0; background: transparent; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; color: var(--ink); font-weight: 800; }
.faq-question::after { content: "+"; font-size: 1.45rem; color: var(--violet); }
.faq-question[aria-expanded="true"]::after { content: "−"; }
.faq-answer { display: none; max-width: 700px; padding: 0 4px 22px; color: var(--muted); }
.faq-answer.open { display: block; }

.integration-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.integration { border: 1px solid var(--line); border-radius: 8px; padding: 24px; background: #fff; }
.integration-badge { width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center; color: #fff; background: var(--violet); font-weight: 900; }
.integration:nth-child(3n+2) .integration-badge { background: var(--mint); }
.integration:nth-child(3n) .integration-badge { background: var(--orange); }
.integration h3 { margin: 20px 0 4px; }
.integration .eyebrow { margin: 0 0 10px; font-size: .66rem; }
.integration p { margin: 0; color: var(--muted); }

.content-split { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: start; }
.content-split + .content-split { margin-top: 80px; }
.content-split h2 { margin: 0; font-size: 2rem; }
.about-prose > h2:first-child { margin-top: 0; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-values > div { padding: 22px; border: 1px solid var(--line); border-radius: 8px; }
.about-values h3 { margin-top: 0; }
.about-values p { margin-bottom: 0; }
.company-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--line); }
.company-facts > div { min-height: 120px; padding: 24px; display: flex; flex-direction: column; justify-content: center; background: #fff; }
.company-facts span { color: var(--muted); font-size: .82rem; text-transform: uppercase; }
.prose { color: #454152; }
.prose h2 { color: var(--ink); margin: 48px 0 12px; font-size: 1.65rem; }
.prose h3 { color: var(--ink); margin: 30px 0 8px; font-size: 1.13rem; }
.prose li { margin: 8px 0; }
.legal-callout { border-left: 4px solid var(--violet); background: var(--soft); padding: 18px 20px; margin: 24px 0; }
.data-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .92rem; }
.data-table th, .data-table td { border: 1px solid var(--line); padding: 12px; text-align: left; vertical-align: top; }
.data-table th { background: var(--soft); }

.form-wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: start; }
.form-card { border: 1px solid var(--line); border-radius: 8px; padding: 30px; background: #fff; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 750; font-size: .9rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid #cbc7d7; border-radius: 6px; padding: 12px 13px; color: var(--ink); background: #fff; }
.field textarea { min-height: 135px; resize: vertical; }
.form-status { min-height: 25px; margin: 12px 0 0; color: #14745a; font-weight: 750; }
.contact-list { display: grid; gap: 20px; }
.contact-list div { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.contact-list strong { display: block; }
.contact-list a { color: var(--violet); }

.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 60px 20px; background: #fafaf9; }
.auth-card { width: min(402px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px 38px 0; box-shadow: 0 18px 50px rgba(23,18,43,.12); overflow: hidden; }
.auth-card .brand { margin-bottom: 26px; }
.auth-card .brand img { width: 190px; height: auto; }
.auth-card h1 { margin: 0 0 4px; font-size: 1.18rem; text-align: center; }
.auth-card > p { margin: 0 0 28px; color: var(--muted); font-size: .88rem; text-align: center; }
.google-button { width: 100%; min-height: 48px; border-radius: 6px; border: 1px solid #cfcbd8; background: #fff; font-weight: 750; display: flex; justify-content: center; align-items: center; gap: 10px; }
.google-button img { width: 20px; height: 20px; }
.divider { display: flex; align-items: center; gap: 12px; color: #8b8796; font-size: .82rem; margin: 22px 0; }
.divider::before, .divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.auth-footer { margin: 30px -38px 0; padding: 19px 20px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); }
.auth-card > .fine-print { margin: 0 -38px; padding: 17px 20px; border-top: 1px solid var(--line); background: #fafafa; }
.auth-card .google-button, .auth-card .btn, .auth-card .field input { min-height: 36px; }
.auth-card .field input { padding: 7px 12px; }
.auth-card .form-status:empty { display: none; }
.modal-backdrop { display: none; position: fixed; inset: 0; z-index: 100; background: rgba(13,10,22,.56); padding: 20px; place-items: center; }
.modal-backdrop.open { display: grid; }
.modal { width: min(430px, 100%); background: #fff; border-radius: 8px; padding: 28px; box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.modal-head { display: flex; justify-content: space-between; align-items: center; }
.modal h2 { margin: 0; font-size: 1.35rem; }
.icon-button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 1.3rem; }
.account-option { width: 100%; text-align: left; margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.account-option:hover { border-color: var(--violet); }
.account-option strong, .account-option span { display: block; }
.account-option span { color: var(--muted); font-size: .85rem; }

.google-popup-page { min-width: 320px; background: #f7f9fc; }
.google-popup-page #main { min-height: 100vh; }
.google-popup-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.google-popup-card { width: min(420px, 100%); border: 1px solid #d9dee8; border-radius: 8px; padding: 34px; background: #fff; box-shadow: 0 18px 55px rgba(15, 23, 42, .14); text-align: center; }
.google-popup-brand { display: inline-flex; margin-bottom: 24px; }
.google-popup-brand .brand img { width: 170px; height: auto; }
.google-popup-mark { width: 42px; height: 42px; margin: 0 auto 14px; }
.google-popup-card h1 { margin: 0; font-size: 1.65rem; line-height: 1.25; }
.google-popup-lead { margin: 12px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.google-popup-notice { margin: 22px 0; border: 1px solid #dbe7ff; border-radius: 6px; padding: 12px; background: #f5f8ff; color: #46566f; font-size: .8rem; line-height: 1.5; text-align: left; }
.google-popup-action { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px; width: 100%; border: 1px solid #c7ced9; border-radius: 6px; background: #fff; color: #263244; font-weight: 750; }
.google-popup-action:hover { background: #f8fafc; border-color: #94a3b8; }
.google-popup-action img { width: 20px; height: 20px; }
.google-popup-close { margin-top: 12px; border: 0; background: transparent; color: #64748b; font-size: .82rem; text-decoration: underline; text-underline-offset: 3px; }
.google-popup-support { margin: 24px 0 0; color: #7a8595; font-size: .75rem; line-height: 1.5; }
.google-popup-support a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

.cta-band { padding: 72px 0; background: #f5f3f8; border-top: 1px solid #e3dcf4; border-bottom: 1px solid #e3dcf4; }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.cta-band h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.cta-band p { margin: -8px 0 4px; color: #5c5870; }
.cta-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin-top: 8px; color: #596579; font-size: .9rem; }
.cta-trust span::before { content: "✓"; margin-right: 7px; color: var(--mint); font-weight: 900; }

.site-footer { padding: 64px 0 28px; background: #392461; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, .7fr); gap: 34px; }
.footer-brand p { max-width: 320px; color: #aaa6b5; }
.footer-brand .brand img { width: 190px; height: auto; }
.footer-brand a { color: #fff; }
.footer-col h3 { margin: 6px 0 14px; font-size: .88rem; color: #b9a8ff; }
.footer-col a { display: block; margin: 9px 0; color: #c4c0cf; font-size: .9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: center; gap: 36px; padding-top: 28px; margin-top: 38px; border-top: 1px solid #59427e; color: #c7bed8; font-size: .83rem; text-align: center; }

.cookie-banner { position: fixed; z-index: 80; left: 20px; bottom: 20px; width: min(440px, calc(100% - 40px)); padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 14px 45px rgba(23,18,43,.18); }
.cookie-banner p { margin: 0 0 14px; color: var(--muted); font-size: .9rem; }
.cookie-actions { display: flex; gap: 8px; }

.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .52s cubic-bezier(.22, 1, .36, 1), transform .52s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.scroll-reveal-left { transform: translateX(-20px); }
.scroll-reveal-right { transform: translateX(20px); }
.scroll-reveal.is-revealed { opacity: 1; transform: none; }

@media (max-width: 940px) {
  .section { padding: 64px 0; }
  .desktop-nav, .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }
  .site-header .menu-button { display: inline-flex; }
  .hero { min-height: 588px; }
  .hero-inner { padding: 54px 0 68px; }
  .hero h1 { font-size: 3.6rem; }
  .page-hero { padding: 60px 0 54px; }
  .page-hero h1 { max-width: 600px; }
  .card-grid { grid-template-columns: 1fr; width: min(592px, 100%); margin-inline: auto; }
  .steps, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .principle-grid, .feature-card-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-row { grid-template-columns: repeat(3, 1fr); }
  .calculator, .form-wrap, .content-split { grid-template-columns: 1fr; }
  .about-values, .company-facts { grid-template-columns: 1fr; }
  .content-split { gap: 24px; }
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr repeat(2, 1fr); }
  .how-layout { grid-template-columns: 1fr; }
  .assistant-panel { min-height: 340px; }
  .pricing-story { grid-template-columns: 1fr; width: min(660px, 100%); margin-inline: auto; }
}

@media (max-width: 660px) {
  .hero-mascot { right: -28px; bottom: 68px; width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  .rotating-word.word-out, .rotating-word.word-in { animation-duration: .01ms; }
  .hero-mascot { animation: hero-mascot-enter .01ms 0s forwards; }
}

@media (max-width: 660px) {
  .container, .narrow { width: min(100% - 28px, var(--max)); }
  .section { padding: 68px 0; }
  .site-header { height: 70px; }
  .mobile-nav { top: 70px; }
  .brand img { width: 190px; height: auto; }
  .hero { min-height: 570px; }
  .hero-inner { padding: 55px 0 62px; }
  .hero h1 { font-size: clamp(2.45rem, 10vw, 3rem); }
  .hero-actions { justify-content: center; }
  .trust-list { gap: 11px; font-size: .95rem; }
  .card-grid, .steps, .pricing-grid, .integration-grid, .feature-grid { grid-template-columns: 1fr; }
  .pricing-tabs { width: 100%; overflow-x: auto; justify-content: flex-start; flex-wrap: nowrap; }
  .pricing-tabs button { flex: 0 0 auto; }
  .principle-grid, .feature-card-grid, .overage-grid { grid-template-columns: 1fr; }
  .tool-row { grid-template-columns: repeat(2, 1fr); }
  .workflow-card { min-height: 0; }
  .calculator { margin-inline: -2px; }
  .calc-controls, .calc-result { padding: 25px 20px; }
  .segmented { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .page-hero { padding: 58px 0 56px; }
  .page-hero h1 { font-size: clamp(2.35rem, 11vw, 3.2rem); }
  .cta-inner { align-items: center; flex-direction: column; }
  .preview-tiers { grid-template-columns: 1fr; }
  .preview-tiers > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .preview-tiers > div:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .preview-tiers > div:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .auth-card { padding: 30px 24px 0; }
  .auth-footer, .auth-card > .fine-print { margin-left: -24px; margin-right: -24px; }
  .data-table { display: block; overflow-x: auto; }
  .scroll-reveal-left, .scroll-reveal-right { transform: translateY(20px); }
  .scroll-reveal.is-revealed { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .scroll-reveal, .scroll-reveal-left, .scroll-reveal-right { opacity: 1; transform: none; }
}
