:root {
  --color-primary: #262626;
  --color-secondary: #F5EFE0;
  --color-accent: #C9A961;
  --color-neutral-dark: #0F0F0F;
  --color-neutral-light: #FAFAFA;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
  --shadow-sm: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-md: 0 12px 32px -12px rgba(0,0,0,0.18);
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,0.28);
  --border: 1px solid rgba(15,15,15,0.10);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-accent); }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; letter-spacing: -0.02em; color: var(--color-primary); line-height: 1.15; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 720px; }
.section { padding-block: 4rem; }
.section--tinted { background: var(--color-secondary); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: #555; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,250,0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(15,15,15,0.06);
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.scrolled { background: rgba(250,250,250,0.92); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.25rem; max-width: 1240px; margin-inline: auto; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: none; border: 0; padding: .5rem; cursor: pointer; display: inline-flex; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--color-primary); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.primary-nav { display: none; flex-direction: column; gap: .25rem; width: 100%; padding: 1rem 0; }
.primary-nav.is-open { display: flex; }
.primary-nav a { padding: .6rem .75rem; border-radius: 8px; font-weight: 500; color: var(--color-primary); position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-accent); }
.primary-nav a.nav-cta { background: var(--color-primary); color: var(--color-neutral-light); text-align: center; }
.primary-nav a.nav-cta:hover { background: var(--color-accent); color: var(--color-neutral-dark); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex !important; flex-direction: row; align-items: center; gap: .25rem; width: auto; padding: 0; }
  .primary-nav a { padding: .5rem .9rem; font-size: .95rem; }
  .primary-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .35rem; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:not(.nav-cta):hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav a.nav-cta { margin-left: .5rem; padding: .55rem 1.1rem; border-radius: 999px; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
}

/* === Hero (saas-spotlight) === */
.hero { position: relative; padding: 5rem 1.25rem 3rem; overflow: hidden; background: linear-gradient(135deg, #f7f2e5, #ffffff 60%); }
.hero-glow { position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; background: radial-gradient(circle at center, rgba(201,169,97,0.22), rgba(201,169,97,0) 60%); pointer-events: none; filter: blur(20px); }
.hero-inner { position: relative; max-width: 820px; margin-inline: auto; text-align: center; }
.eyebrow { font-family: var(--font-heading); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-accent); margin: 0 0 1rem; font-weight: 600; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero-sub { font-size: 1.15rem; color: #444; max-width: 56ch; margin: 1rem auto 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.hero-visual { position: relative; max-width: 960px; margin: 3rem auto 0; padding: 0; }
.hero-visual img { aspect-ratio: 16/10; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }
.hero--compact { padding-bottom: 2rem; }
.hero--compact .hero-visual { display: none; }
.proof-strip { position: relative; margin: 3rem auto 0; max-width: 960px; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: center; padding: 1rem 1.25rem; border-top: 1px solid rgba(15,15,15,0.08); border-bottom: 1px solid rgba(15,15,15,0.08); font-family: var(--font-heading); font-size: .85rem; letter-spacing: .05em; color: #555; text-transform: uppercase; }

/* === Buttons === */
.btn { display: inline-block; padding: .85rem 1.5rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: .95rem; letter-spacing: .01em; cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), #3a3a3a); color: var(--color-neutral-light); box-shadow: 0 8px 24px -8px rgba(38,38,38,0.5); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(201,169,97,0.55); background: linear-gradient(135deg, var(--color-accent), #b08f47); color: var(--color-neutral-dark); }
.btn--ghost { background: transparent; color: var(--color-primary); border-color: rgba(15,15,15,0.2); }
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent); transform: translateY(-2px); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }

/* === Grid & cards === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--color-neutral-light); border: var(--border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); display: block; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .5rem; }
.card p { color: #444; margin-bottom: 0; }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(201,169,97,0.15); color: var(--color-accent); margin-bottom: 1rem; }

/* === Quote === */
.quote { margin: 0; padding: 2rem; border-left: 3px solid var(--color-accent); background: var(--color-secondary); border-radius: 12px; }
.quote p { font-family: var(--font-heading); font-size: 1.2rem; font-style: italic; color: var(--color-primary); }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: .9rem; color: #666; letter-spacing: .04em; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), #1a1a1a); color: var(--color-neutral-light); padding: 4rem 1.25rem; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: -30% auto auto -20%; width: 60vw; height: 60vw; background: radial-gradient(circle at center, rgba(201,169,97,0.25), rgba(201,169,97,0) 60%); pointer-events: none; }
.cta-band h2 { color: var(--color-neutral-light); position: relative; }
.cta-band p { color: rgba(250,250,250,0.8); max-width: 56ch; margin: 0 auto 1.5rem; position: relative; }
.cta-band .btn { position: relative; }
.contact-line { font-size: .95rem; }
.cta-band .contact-line a { color: var(--color-accent); }

/* === Contact form === */
.contact-form { display: grid; gap: 1.25rem; margin-top: 2.5rem; background: var(--color-neutral-light); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: var(--border); }
.form-row { display: grid; gap: .4rem; }
.form-row label { font-weight: 600; font-size: .9rem; color: var(--color-primary); }
.form-row input, .form-row textarea { font-family: var(--font-body); font-size: 1rem; padding: .75rem .9rem; border: 1px solid rgba(15,15,15,0.15); border-radius: 10px; 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-accent); box-shadow: 0 0 0 3px rgba(201,169,97,0.2); }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; color: #444; }
.form-consent input { margin-top: .25rem; }
.form-consent a { color: var(--color-accent); text-decoration: underline; }

/* === Contact page grid === */
.contact-grid .card h3 { color: var(--color-accent); font-family: var(--font-heading); text-transform: uppercase; font-size: .85rem; letter-spacing: .1em; margin-bottom: .75rem; }

/* === FAQ === */
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--color-neutral-light); border: var(--border); border-radius: 12px; padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); color: var(--color-primary); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::after { content: "+"; color: var(--color-accent); font-size: 1.4rem; line-height: 1; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .75rem; margin-bottom: 0; color: #444; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250,250,250,0.75); padding: 4rem 0 2rem; margin-top: 4rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr; } }
.site-footer .logo--footer img { height: 72px; filter: brightness(0) invert(1); opacity: .9; }
.tagline { margin-top: .75rem; font-family: var(--font-heading); font-style: italic; color: rgba(250,250,250,0.65); }
.footer-nav { display: grid; gap: .35rem; }
.footer-nav a, .footer-contact a { color: rgba(250,250,250,0.75); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--color-accent); }
.footer-contact p { margin-bottom: .35rem; font-size: .95rem; }
.legal-links { margin-top: 1rem !important; font-size: .82rem; color: rgba(250,250,250,0.55); }
.copyright { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(250,250,250,0.1); text-align: center; font-size: .82rem; color: rgba(250,250,250,0.5); }

/* === 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: 14px; box-shadow: 0 20px 50px rgba(0,0,0,0.35); max-width: 640px; margin-inline: auto; border: 1px solid rgba(201,169,97,0.3); }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .92rem; color: rgba(250,250,250,0.85); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button { font-family: var(--font-heading); font-weight: 600; font-size: .85rem; padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid rgba(250,250,250,0.2); background: transparent; color: var(--color-neutral-light); cursor: pointer; transition: background .2s, color .2s; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); color: var(--color-neutral-dark); border-color: var(--color-accent); }
.cookie-banner__actions button:hover { background: rgba(201,169,97,0.2); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #d9b970; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(250,250,250,0.15); }
.cookie-banner__prefs label { font-size: .88rem; display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs button { justify-self: start; margin-top: .5rem; padding: .5rem 1rem; background: var(--color-accent); color: var(--color-neutral-dark); border: 0; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; cursor: pointer; }

/* === Reveal === */
.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; } }
