:root {
  --ink: #343433;
  --muted: #59636a;
  --paper: #f6fbfd;
  --white: #fff;
  --blue: #176e9a;
  --blue-deep: #343433;
  --sky: #73cbf2;
  --pale-blue: #dff4fd;
  --line: #dce8ed;
  --shadow: 0 22px 55px rgba(52, 52, 51, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 17px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--blue); }
img { display: block; max-width: 100%; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 99; padding: 10px 14px; background: var(--white); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(223,229,233,.9); backdrop-filter: blur(14px); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-logo { width: 200px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 650; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-toggle { display: none; border: 0; background: transparent; font: inherit; font-weight: 700; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 20px; border: 1px solid var(--blue); border-radius: 999px; color: white !important; background: var(--blue); text-decoration: none; font-weight: 750; box-shadow: 0 8px 22px rgba(23,110,154,.18); }
.button:hover { background: var(--blue-deep); }
.button.secondary { color: var(--ink) !important; background: white; border-color: var(--line); box-shadow: none; }

.hero { position: relative; overflow: hidden; padding: 104px 0 92px; background: radial-gradient(circle at 85% 15%, rgba(115,203,242,.24), transparent 31%), linear-gradient(145deg, #fbfdfe 0%, #eaf7fd 100%); }
.hero::after { content: ""; position: absolute; right: -90px; bottom: -150px; width: 420px; height: 420px; border: 70px solid rgba(115,203,242,.32); border-radius: 50%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 14px; color: var(--blue); font-size: 14px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(44px, 7vw, 74px); }
h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); }
h3 { margin: 0; font-size: 23px; }
.lede { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 21px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust-line { margin-top: 24px; color: var(--muted); font-size: 14px; }
.hero-card { padding: 16px; border: 1px solid rgba(255,255,255,.8); border-radius: 28px; background: rgba(255,255,255,.8); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-card img { border-radius: 16px; }
.hero-card .caption { margin: 10px 8px 2px; color: var(--muted); font-size: 13px; }

.section { padding: 92px 0; }
.section.soft { background: var(--paper); }
.section.dark { color: white; background: var(--blue-deep); }
.section-heading { max-width: 720px; margin-bottom: 44px; }
.section-heading p { color: var(--muted); font-size: 19px; }
.dark .section-heading p, .dark .muted { color: #c8dce3; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.card p { color: var(--muted); }
.card .number { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 22px; border-radius: 50%; color: var(--blue-deep); background: var(--pale-blue); font-weight: 850; }
.icon { width: 44px; height: 44px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 14px; color: white; background: linear-gradient(145deg, var(--blue), #2a7ca4); font-weight: 800; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; margin: 30px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 30px; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.preview-stack { display: grid; gap: 38px; }
.preview { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.preview img { width: 100%; }
.preview figcaption { padding: 15px 20px; color: var(--muted); font-size: 14px; }
.gallery-teasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-teaser { overflow: hidden; display: block; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: white; text-decoration: none; box-shadow: var(--shadow); }
.gallery-teaser img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery-teaser strong { display: block; padding: 18px 20px; }
.gallery-list { display: grid; gap: 90px; }
.gallery-item { display: grid; grid-template-columns: minmax(0, .35fr) minmax(0, .65fr); align-items: center; gap: 48px; scroll-margin-top: 100px; }
.gallery-item h2 { font-size: clamp(30px, 3vw, 42px); }
.gallery-item p:not(.eyebrow) { color: var(--muted); }
.gallery-item .preview { margin: 0; }
.gallery-item .preview a { display: block; }
.gallery-item:nth-child(even) { grid-template-columns: minmax(0, .65fr) minmax(0, .35fr); }
.gallery-item:nth-child(even) > div { order: 2; }
.lightbox { width: fit-content; max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 16px; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(15, 24, 32, .88); }
.lightbox-panel { position: relative; padding: 12px; border-radius: 16px; background: white; box-shadow: var(--shadow); }
.lightbox-image { width: auto; height: auto; max-width: min(92vw, 1600px); max-height: calc(100vh - 56px); border-radius: 8px; object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: white; box-shadow: 0 3px 14px rgba(0, 0, 0, .2); font: 28px/1 Arial, sans-serif; cursor: pointer; }
.lightbox-close:hover { background: var(--pale-blue); }
.lightbox-close:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pricing-card { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.pricing-card.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.pricing-card .eyebrow { margin-bottom: 12px; }
.pricing-card h3 { margin-bottom: 8px; }
.pricing-card > p:not(.eyebrow):not(.pricing-price) { min-height: 54px; margin: 0; color: var(--muted); }
.pricing-limits { margin: 26px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.pricing-limits li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pricing-limits strong { font-size: 24px; line-height: 1.2; white-space: nowrap; }
.pricing-limits span { color: var(--muted); text-align: right; font-size: 14px; }
.pricing-price { margin: auto 0 16px; font-weight: 800; }
.pricing-price strong { font-size: 34px; letter-spacing: -.04em; }
.pricing-price span { margin-left: 2px; color: var(--muted); font-size: 15px; font-weight: 600; }
.pricing-card .button { width: 100%; }
.pricing-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px; margin-top: 44px; }
.pricing-detail h3 { font-size: 22px; }
.pricing-detail p, .pricing-note { color: var(--muted); }
.pricing-note { margin-top: 24px; font-size: 14px; }
#pricing { scroll-margin-top: 76px; }
.quote { margin: 0; padding: 32px; border-left: 5px solid var(--sky); border-radius: 0 var(--radius) var(--radius) 0; background: rgba(255,255,255,.07); font-size: 24px; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 48px; border-radius: 28px; color: white; background: linear-gradient(135deg, var(--blue-deep), var(--blue)); }
.cta h2 { max-width: 690px; font-size: clamp(30px, 4vw, 46px); }
.cta p { margin-bottom: 0; color: #d8e9ed; }

.page-hero { padding: 76px 0 58px; background: linear-gradient(145deg, #fbfdfe, #eaf7fd); }
.page-hero h1 { max-width: 850px; font-size: clamp(40px, 6vw, 64px); }
.content { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 90px; }
.content h2 { margin-top: 48px; font-size: 30px; }
.content h3 { margin-top: 34px; font-size: 22px; }
.content p, .content li { color: #425064; }
.notice { padding: 22px 24px; border: 1px solid #b9e3f5; border-radius: 16px; background: #effaff; }
.demo-hero { padding: 80px 0 96px; background: radial-gradient(circle at 90% 10%, rgba(115,203,242,.28), transparent 35%), linear-gradient(145deg, #fbfdfe, #eaf7fd); }
.demo-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 58px; align-items: center; }
.demo-hero h1 { max-width: 760px; font-size: clamp(42px, 6vw, 70px); }
.demo-warning { margin: 30px 0; padding: 22px 24px; border: 2px solid var(--blue); border-radius: 18px; background: white; }
.demo-warning h2 { margin: 0 0 8px; font-size: 22px; }
.demo-warning p { margin: 0; color: var(--muted); }
.demo-link { display: flex; width: fit-content; max-width: 100%; min-height: 66px; padding: 16px 28px; border-radius: 999px; font-size: 19px; box-shadow: 0 12px 28px rgba(23,110,154,.25); }
.demo-link-note { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.demo-preview { margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: var(--shadow); }
.demo-preview img { border-radius: 14px; }
.demo-preview figcaption { padding: 12px 6px 4px; color: var(--muted); font-size: 13px; }
.faq { border-top: 1px solid var(--line); }
.faq details { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 800; }
.contact-panel { padding: 36px; border-radius: var(--radius); background: var(--paper); }
.contact-title { margin-top: 0 !important; }
.contact-form { display: grid; gap: 20px; margin-top: 24px; }
.form-row { display: grid; gap: 7px; }
.form-row label { font-weight: 700; }
.form-row input, .form-row select, .form-row textarea { width: 100%; padding: 12px 14px; border: 1px solid #9baeb8; border-radius: 10px; color: var(--ink); background: white; font: inherit; }
.form-row textarea { resize: vertical; }
.form-row input:focus-visible, .form-row select:focus-visible, .form-row textarea:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-form .meta { margin: 0; }
.contact-form .button { justify-self: start; cursor: pointer; font: inherit; font-weight: 750; }
.meta { color: var(--muted); font-size: 14px; }
.analytics-choice { position: fixed; z-index: 50; right: 20px; bottom: 20px; left: 20px; display: flex; align-items: center; justify-content: space-between; gap: 30px; width: min(100% - 40px, 960px); max-height: calc(100vh - 40px); margin-inline: auto; padding: 22px 26px; border: 1px solid var(--line); border-radius: 18px; overflow: auto; background: white; box-shadow: 0 18px 60px rgba(25, 45, 55, .24); }
.analytics-choice[hidden] { display: none; }
.analytics-choice-text strong { font-size: 18px; }
.analytics-choice-text p { margin: 5px 0 0; color: var(--muted); font-size: 15px; }
.analytics-choice-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.analytics-choice .button, .analytics-settings { cursor: pointer; font: inherit; font-weight: 750; }
.footer { padding: 52px 0; border-top: 1px solid var(--line); background: white; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-grid > p { margin: 0; }
.footer a { color: var(--muted); text-decoration: none; }
.footer p { color: var(--muted); }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 76px; padding: 20px; flex-direction: column; align-items: stretch; background: white; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
}
@media (max-width: 860px) {
  .hero-grid, .split, .grid-3, .grid-2, .gallery-item, .pricing-grid, .pricing-detail, .demo-layout { grid-template-columns: 1fr; }
  .pricing-card > p:not(.eyebrow):not(.pricing-price) { min-height: 0; }
  .gallery-item:nth-child(even) { grid-template-columns: 1fr; }
  .gallery-item:nth-child(even) > div { order: 0; }
  .hero { padding-top: 70px; }
  .hero-card { transform: none; }
  .cta, .footer-grid { align-items: flex-start; flex-direction: column; }
  .analytics-choice { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1120px); }
  .feature-list { grid-template-columns: 1fr; }
  .gallery-teasers { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .cta { padding: 32px 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
