:root {
  --color-primary: #0369A1;
  --color-secondary: #0EA5E9;
  --color-accent: #F97316;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 20px rgba(12,74,110,0.06);
  --shadow-md: 0 12px 40px -12px rgba(12,74,110,0.18);
  --shadow-lg: 0 30px 80px -30px rgba(12,74,110,0.35);
  --radius: 16px;
  --radius-lg: 24px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--color-neutral-dark); background: #fff; line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-secondary); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; font-size: 1rem; }

/* === Typography === */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); margin: 0 0 .75rem; letter-spacing: -0.01em; line-height: 1.2; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: .8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; margin-inline: auto; }
.center { text-align: center; }
.section { padding-block: 4rem; }
.section-tinted { background: var(--color-neutral-light); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .sub, .sub { color: rgba(12,74,110,0.75); font-size: 1.05rem; }

/* === Header (glass nav) === */
.site-header { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); background: rgba(240,249,255,0.7); border-bottom: 1px solid rgba(12,74,110,0.08); transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(255,255,255,0.9); box-shadow: 0 4px 20px -8px rgba(12,74,110,0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo img { height: 72px; width: auto; display: block; }
.logo-footer img { height: 64px; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; padding: .5rem; color: var(--color-neutral-dark); border-radius: 8px; }
.primary-nav { display: none; }
.primary-nav a { position: relative; padding: .5rem 0; font-weight: 500; color: var(--color-neutral-dark); }
.primary-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a.nav-cta { background: var(--color-primary); color: #fff; padding: .55rem 1.1rem; border-radius: 999px; }
.primary-nav a.nav-cta::after { display: none; }
.primary-nav a.nav-cta:hover { background: var(--color-neutral-dark); color: #fff; }
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem 1.5rem; gap: .5rem; box-shadow: 0 10px 30px -10px rgba(12,74,110,0.2); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; align-items: center; gap: 2rem; }
  .logo img { height: 96px; }
}

/* === Hero (saas-spotlight) === */
.hero-spotlight { position: relative; overflow: hidden; padding-block: 4rem 3rem; background: linear-gradient(135deg, rgba(3,105,161,0.06), rgba(14,165,233,0.10)); }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 20% 0%, rgba(249,115,22,0.14), transparent 55%), radial-gradient(ellipse at 90% 30%, rgba(14,165,233,0.20), transparent 60%); z-index: 0; }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.lede { font-size: 1.15rem; color: rgba(12,74,110,0.8); max-width: 60ch; margin: 1rem auto 2rem; }
.hero-ctas { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-visual { max-width: 960px; margin: 2rem auto 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.hero-visual img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

@media (min-width: 768px) {
  .hero-spotlight { padding-block: 6rem 4rem; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 1rem; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 8px 24px -8px rgba(3,105,161,0.5); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -8px rgba(3,105,161,0.6); color: #fff; }
.btn-ghost { background: rgba(255,255,255,0.7); color: var(--color-primary); border: 1px solid rgba(3,105,161,0.2); }
.btn-ghost:hover { transform: translateY(-2px); background: #fff; }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(249,115,22,0.5); }
.btn-accent:hover { transform: translateY(-2px); background: #ea6a12; color: #fff; }

/* === Proof strip === */
.proof-strip { border-block: 1px solid rgba(12,74,110,0.08); background: #fff; padding-block: 1.25rem; }
.proof-inner { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: center; align-items: center; font-size: .9rem; color: rgba(12,74,110,0.7); font-weight: 500; }

/* === Grids === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* === Cards === */
.card { background: #fff; border: 1px solid rgba(12,74,110,0.08); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(3,105,161,0.1), rgba(14,165,233,0.15)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: rgba(12,74,110,0.8); font-size: .97rem; margin: 0; }

.services .card { padding: 2rem; }
.services-visual { margin: 3rem auto 0; max-width: 900px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.services-visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* === Team === */
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(12,74,110,0.08); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-photo { aspect-ratio: 1/1; overflow: hidden; background: var(--color-neutral-light); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { padding: 1.25rem 1.5rem 0; font-size: 1.1rem; }
.team-card p { padding: 0 1.5rem 1.5rem; color: rgba(12,74,110,0.8); font-size: .95rem; margin: .5rem 0 0; }

/* === Split === */
.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }
.split-visual img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
@media (min-width: 900px) { .split-visual img { aspect-ratio: 3/4; } }

/* === Quote === */
.quote { position: relative; text-align: center; max-width: 720px; margin: 0 auto; padding: 2.5rem 1rem; }
.quote-mark { color: var(--color-accent); opacity: .25; margin: 0 auto 1rem; }
.quote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 500; color: var(--color-neutral-dark); line-height: 1.5; margin-bottom: 1rem; }
.quote cite { font-style: normal; color: rgba(12,74,110,0.7); font-size: .95rem; }

/* === CTA band === */
.cta-band { padding-block: 4rem; background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; }
.cta-inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
.contact-inline { display: flex; flex-direction: column; gap: .5rem; font-weight: 600; }
.contact-inline a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 2px; }
.contact-inline a:hover { color: var(--color-accent); }
@media (min-width: 800px) {
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .contact-inline { flex-direction: row; gap: 1.5rem; }
}

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
.faq details { background: #fff; border: 1px solid rgba(12,74,110,0.1); border-radius: 12px; padding: 1.1rem 1.4rem; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(3,105,161,0.25); }
.faq summary { font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none; position: relative; padding-right: 2rem; color: var(--color-neutral-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--color-primary); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: .85rem 0 0; color: rgba(12,74,110,0.8); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid rgba(12,74,110,0.08); margin-top: 2rem; }
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-weight: 500; font-size: .95rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { border: 1px solid rgba(12,74,110,0.18); border-radius: 10px; padding: .75rem .9rem; background: #fff; color: var(--color-neutral-dark); transition: border-color .2s, box-shadow .2s; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(3,105,161,0.15); }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; color: rgba(12,74,110,0.8); line-height: 1.45; }
.form-consent input { margin-top: .2rem; flex-shrink: 0; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(240,249,255,0.85); padding-block: 3.5rem 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.4fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(240,249,255,0.85); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { flex-direction: row; flex-wrap: wrap; gap: 1rem; font-size: .9rem; margin-top: .5rem; }
.copyright { text-align: center; padding-top: 1.5rem; border-top: 1px solid rgba(240,249,255,0.15); font-size: .85rem; color: rgba(240,249,255,0.6); }
.logo-footer { display: inline-block; margin-bottom: .75rem; }

/* === Cookie banner === */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; display: none; z-index: 9999; background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 1.25rem 1.5rem; border-radius: var(--radius); box-shadow: 0 20px 60px -20px rgba(0,0,0,0.5); max-width: 620px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .93rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button { padding: .55rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .88rem; transition: transform .15s, background .2s; }
.cookie-banner__actions button:hover { transform: translateY(-1px); }
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner__actions [data-cookie-reject] { background: rgba(240,249,255,0.12); color: var(--color-neutral-light); }
.cookie-banner__actions [data-cookie-settings] { background: transparent; color: var(--color-neutral-light); border: 1px solid rgba(240,249,255,0.3); }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(240,249,255,0.15); display: flex; flex-direction: column; gap: .55rem; font-size: .9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; background: var(--color-secondary); color: #fff; padding: .5rem 1rem; border-radius: 999px; font-weight: 600; }

/* === Reveal (scroll animation) === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
