:root {
  --navy: #071426;
  --blue: #2854b4;
  --cyan: #18a5de;
  --mint: #bceff0;
  --pale: #f3ffff;
  --ink: #10273c;
  --muted: #526e83;
  --line: rgba(7, 20, 38, 0.1);
  --white: #ffffff;
  --shell: min(1180px, calc(100% - 40px));
  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: linear-gradient(180deg, #f7fbff 0%, #edf6fb 100%); }
body, button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button { cursor: pointer; }
code { overflow-wrap: anywhere; }

.skip-link { position: fixed; z-index: 999; top: 12px; left: 12px; padding: 10px 14px; color: #fff; background: var(--navy); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.shell { width: var(--shell); margin-inline: auto; }
.shell-wide { width: min(1260px, calc(100% - 40px)); margin-inline: auto; }

.site-header { width: var(--shell); min-height: 86px; display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-inline: auto; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 14px; font-size: .86rem; font-weight: 800; letter-spacing: .02em; }
.brand img { width: 132px; height: 46px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 24px; color: #3d5c73; font-size: .9rem; font-weight: 730; }
.login-link { color: var(--blue); }

.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px; color: #fff; background: linear-gradient(135deg, var(--blue), #187bbd); border: 1px solid transparent; border-radius: 8px; box-shadow: 0 14px 32px -18px rgba(40,84,180,.9); font-weight: 800; text-align: center; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 18px 40px -18px rgba(40,84,180,.95); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(24,165,222,.45); outline-offset: 3px; }
.button-small { min-height: 42px; padding: 10px 15px; }
.button-secondary { color: var(--navy); background: var(--pale); border-color: rgba(188,239,240,.35); box-shadow: none; }
.text-link { color: var(--blue); font-weight: 780; }
.eyebrow { margin: 0 0 22px; color: var(--cyan); font-size: .78rem; font-weight: 880; letter-spacing: .16em; }

.hero { min-height: 760px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); gap: 70px; align-items: center; padding-block: 78px; }
h1, h2 { margin: 0; letter-spacing: -.045em; line-height: 1.04; }
.hero h1 { max-width: 720px; font-size: clamp(3rem, 6vw, 5.8rem); }
.hero-lead { max-width: 690px; margin: 28px 0 0; color: #37536c; font-size: clamp(1.08rem, 1.7vw, 1.32rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-proof span { padding: 9px 12px; color: #31536d; background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; font-weight: 720; }
.hero-visual { padding: 16px; color: #fff; background: linear-gradient(145deg, rgba(40,84,180,.22), transparent 42%), var(--navy); border: 1px solid rgba(188,239,240,.22); border-radius: 18px; box-shadow: 0 38px 90px -42px rgba(7,20,38,.9); }
.status-bar { display: flex; justify-content: space-between; gap: 20px; padding: 12px 8px 20px; color: #b8d2e5; font-size: .82rem; }
.status-bar strong { color: var(--mint); }
.visual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.visual-card { min-height: 176px; padding: 22px; background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.055)); border: 1px solid rgba(188,239,240,.16); border-radius: 12px; }
.visual-card small, .review-card small { display: block; color: var(--mint); font-size: .7rem; font-weight: 860; letter-spacing: .12em; }
.visual-card strong { display: block; margin-top: 22px; font-size: 1.18rem; }
.visual-card p { margin: 11px 0 0; color: #b7cad8; line-height: 1.55; }

.problem-section, .video-section, .workflow-section, .fit-section, .review-section { padding-block: 100px; }
.problem-section { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(360px,.9fr); gap: 72px; border-top: 1px solid var(--line); }
.problem-section h2, .section-heading h2, .fit-copy h2, .review-section h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.problem-grid { display: grid; gap: 12px; }
.problem-grid p { margin: 0; padding: 22px 24px; color: #36536c; background: rgba(255,255,255,.82); border: 1px solid var(--line); border-left: 4px solid var(--cyan); border-radius: 10px; line-height: 1.55; }

.video-section { padding-inline: 40px; color: #fff; background: var(--navy); border-radius: 22px; box-shadow: 0 34px 82px -45px rgba(7,20,38,.9); }
.section-heading { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.7fr); gap: 54px; align-items: end; margin-bottom: 42px; }
.section-heading > p, .fit-copy > p, .review-section > div > p { margin: 0; color: var(--muted); line-height: 1.7; }
.video-section .section-heading > p { color: #afc5d5; }
.video-frame { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #030a13; border: 1px solid rgba(188,239,240,.24); border-radius: 14px; }
.video-frame video, .video-frame iframe { width: 100%; height: 100%; display: block; border: 0; object-fit: contain; }
.video-placeholder { width: 100%; height: 100%; display: grid; place-content: center; gap: 12px; padding: 40px; text-align: center; background: radial-gradient(circle at center, rgba(24,165,222,.2), transparent 46%), #030a13; }
.video-placeholder span { color: var(--mint); font-size: .76rem; font-weight: 860; letter-spacing: .14em; }
.video-placeholder strong { font-size: clamp(1.3rem,3vw,2.3rem); }
.video-placeholder small { max-width: 620px; color: #aac0d0; line-height: 1.6; }
.video-load-button { justify-self: center; margin-top: 10px; border: 0; cursor: pointer; }
.noscript-note { color: #dbe8ef; }

.workflow-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.workflow-card { min-height: 230px; padding: 28px; background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: 12px; }
.workflow-card span { color: var(--cyan); font-size: .84rem; font-weight: 860; }
.workflow-card h3 { margin: 50px 0 12px; font-size: 1.32rem; }
.workflow-card p { margin: 0; color: var(--muted); line-height: 1.6; }

.fit-section { display: grid; grid-template-columns: minmax(0,.9fr) minmax(460px,1.1fr); gap: 72px; align-items: start; }
.fit-copy p { margin-top: 24px; }
.business-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.business-chip { min-height: 72px; display: flex; align-items: center; gap: 12px; padding: 18px; color: #2d4c65; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-weight: 720; }
.business-chip span { color: var(--blue); }

.review-section { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(380px,.88fr); gap: 70px; padding-inline: 54px; color: #fff; background: linear-gradient(135deg, rgba(40,84,180,.96), rgba(7,20,38,.98)); border-radius: 22px; }
.review-section > div > p { margin-top: 24px; color: #c6d9e5; }
.review-section ul { display: grid; gap: 12px; margin: 28px 0 0; padding-left: 20px; color: #dbe8ef; line-height: 1.55; }
.review-card { align-self: center; padding: 30px; background: rgba(255,255,255,.1); border: 1px solid rgba(188,239,240,.22); border-radius: 14px; }
.review-card strong { display: block; margin-top: 28px; font-size: 1.5rem; line-height: 1.25; }
.review-card p { margin: 15px 0 25px; color: #c5d7e2; line-height: 1.6; }
.configuration-note { display: grid; gap: 10px; margin-top: 16px; padding: 18px; color: var(--navy); background: var(--pale); border-radius: 8px; }
.configuration-note strong { margin: 0; font-size: 1rem; }
.configuration-note span { font-size: .84rem; line-height: 1.5; }

.site-footer { min-height: 150px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.site-footer p { margin: 12px 0 0; color: #637b8e; font-size: .88rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; color: #425f77; font-size: .9rem; font-weight: 720; }
.link-button { padding: 0; color: inherit; background: none; border: 0; font-weight: inherit; }

.cookie-banner { position: fixed; z-index: 100; left: 50%; bottom: 18px; width: min(1080px, calc(100% - 28px)); display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 20px 22px; color: #fff; background: rgba(7,20,38,.98); border: 1px solid rgba(188,239,240,.22); border-radius: 12px; box-shadow: 0 24px 70px -28px rgba(0,0,0,.8); transform: translateX(-50%); }
.cookie-banner strong { display: block; }
.cookie-banner p { max-width: 690px; margin: 6px 0; color: #bed0dd; font-size: .86rem; line-height: 1.45; }
.cookie-banner a { color: var(--mint); font-size: .82rem; font-weight: 720; }
.cookie-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.cookie-actions .button { min-height: 42px; padding-inline: 16px; font-size: .82rem; }
.toast { position: fixed; z-index: 120; right: 20px; bottom: 20px; max-width: min(420px, calc(100% - 40px)); padding: 16px 18px; color: #fff; background: var(--navy); border: 1px solid rgba(188,239,240,.28); border-radius: 10px; box-shadow: 0 18px 50px -24px rgba(0,0,0,.9); }

.legal-page { width: min(860px, calc(100% - 40px)); min-height: 100vh; margin-inline: auto; padding: 46px 0 100px; }
.legal-back { display: inline-flex; margin-bottom: 58px; color: var(--blue); font-weight: 760; }
.legal-page h1, .confirmation-page h1 { font-size: clamp(2.6rem,6vw,4.8rem); }
.legal-intro { margin: 24px 0 50px; color: #4c6a80; font-size: 1.08rem; line-height: 1.75; }
.legal-section { padding: 30px 0; border-top: 1px solid var(--line); }
.legal-section h2 { margin-bottom: 16px; font-size: 1.55rem; }
.legal-section p, .legal-section li { color: #4d697e; line-height: 1.75; }
.legal-section ul { padding-left: 22px; }
.confirmation-page { width: min(760px, calc(100% - 40px)); min-height: 100vh; display: grid; align-content: center; gap: 26px; margin-inline: auto; padding-block: 70px; }
.confirmation-page .eyebrow { margin-bottom: -6px; }
.confirmation-page p { max-width: 650px; margin: 0; color: #4d697e; font-size: 1.08rem; line-height: 1.75; }
.confirmation-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

[hidden] { display: none !important; }

@media (max-width: 980px) {
  .main-nav > a:not(.button):not(.login-link) { display: none; }
  .hero, .problem-section, .fit-section, .review-section { grid-template-columns: 1fr; }
  .hero { gap: 48px; }
  .problem-section, .fit-section, .review-section { gap: 44px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .workflow-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 24px, 1180px); }
  .shell-wide { width: min(100% - 24px, 1260px); }
  .site-header { min-height: 70px; }
  .brand span, .main-nav .button { display: none; }
  .brand img { width: 104px; height: 36px; }
  .main-nav { gap: 14px; }
  .hero { min-height: auto; grid-template-columns: minmax(0,1fr); padding: 52px 0 66px; }
  .hero h1 { font-size: clamp(2.75rem,15vw,4.2rem); }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; min-height: 56px; padding: 14px 18px; }
  .hero-visual { padding: 11px; }
  .visual-grid, .workflow-grid, .business-grid { grid-template-columns: 1fr; }
  .problem-section, .video-section, .workflow-section, .fit-section, .review-section { padding-block: 70px; }
  .video-section, .review-section { padding-inline: 18px; border-radius: 14px; }
  .video-placeholder { padding: 22px; }
  .workflow-card { min-height: 200px; }
  .review-section { grid-template-columns: minmax(0,1fr); }
  .site-footer { align-items: flex-start; flex-direction: column; padding-block: 42px; }
  .footer-links { gap: 16px 20px; }
  .cookie-banner { align-items: stretch; flex-direction: column; gap: 18px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
}
