:root {
  --color-primary: #1F1F1F;
  --color-secondary: #EFE8D6;
  --color-accent: #D4B675;
  --color-neutral-dark: #0A0A0A;
  --color-neutral-light: #F8F8F8;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 30px -12px rgba(0,0,0,0.18);
  --shadow-lg: 0 30px 60px -25px rgba(0,0,0,0.35);
  --border: 1px solid rgba(10,10,10,0.10);
}

/* === Base === */
* { 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; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 .75rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
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; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  line-height: 1;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), #2f2a20);
  color: var(--color-neutral-light);
  box-shadow: 0 10px 24px -14px rgba(212,182,117,0.6), inset 0 1px 0 rgba(255,255,255,0.08);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(212,182,117,0.7); }
.btn--ghost {
  background: transparent;
  border-color: rgba(10,10,10,0.18);
  color: var(--color-primary);
}
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-primary); transform: translateY(-2px); }
.btn--sm { padding: .55rem .9rem; font-size: .85rem; }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* === Header / Nav === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,248,248,0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(10,10,10,0.06);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled {
  background: rgba(248,248,248,0.92);
  box-shadow: 0 6px 24px -20px rgba(0,0,0,0.35);
}
.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: .8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: transparent;
  border: 1px solid rgba(10,10,10,0.15);
  border-radius: 10px;
  color: var(--color-primary);
  padding: .5rem;
  cursor: pointer;
  display: inline-flex;
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: .25rem;
  position: absolute;
  inset: 100% 1rem auto 1rem;
  background: var(--color-neutral-light);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  padding: .6rem .75rem;
  border-radius: 10px;
  font-weight: 500;
  color: var(--color-primary);
  position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--color-accent); }
.nav-cta {
  background: var(--color-primary);
  color: var(--color-neutral-light) !important;
  text-align: center;
  margin-top: .25rem;
}

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    gap: .25rem;
    align-items: center;
  }
  .primary-nav a { padding: .55rem .9rem; }
  .primary-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: .9rem; right: .9rem; bottom: .3rem;
    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); }
  .nav-cta { margin-top: 0; margin-left: .5rem; padding: .6rem 1.1rem; border-radius: 999px; }
}

/* === Hero (saas-spotlight) === */
.hero--spotlight {
  position: relative;
  padding: 4rem 1.25rem 3rem;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(212,182,117,0.18), transparent 60%),
    linear-gradient(180deg, var(--color-secondary) 0%, var(--color-neutral-light) 100%);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(212,182,117,0.35), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.hero__sub {
  max-width: 58ch;
  margin: 1rem auto 1.5rem;
  font-size: 1.15rem;
  color: rgba(10,10,10,0.72);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.hero__visual {
  margin: 2rem auto 0;
  max-width: 960px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.5);
}
.hero__visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

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

/* === Sections === */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}
.section--narrow {
  max-width: 760px;
  text-align: left;
}
.section--narrow > h2 { text-align: center; }
.section--narrow > p { font-size: 1.1rem; color: rgba(10,10,10,0.78); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__sub { color: rgba(10,10,10,0.68); font-size: 1.05rem; }
.section--tint { background: linear-gradient(180deg, transparent, rgba(239,232,214,0.55), transparent); max-width: none; }
.section--tint > * { max-width: 900px; margin-inline: auto; }
.section--split { display: grid; gap: 2.5rem; align-items: center; }
.split__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
@media (min-width: 900px) {
  .section--split { grid-template-columns: 1.1fr 1fr; }
}

/* === Grid + Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff;
  border: var(--border);
  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: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212,182,117,0.18), rgba(212,182,117,0.05));
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.card p { color: rgba(10,10,10,0.72); margin: 0; }

/* === Pricing === */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(10,10,10,0.12);
  border-radius: var(--radius);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border: 2px solid var(--color-accent);
  box-shadow: 0 20px 50px -25px rgba(212,182,117,0.55);
}
.pricing-card__badge {
  position: absolute;
  top: -12px; right: 1.5rem;
  background: var(--color-accent);
  color: var(--color-neutral-light);
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .75rem;
  border-radius: 999px;
}
.pricing-card__plan { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-accent); margin-bottom: .25rem; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-primary); margin: 0 0 .5rem; }
.pricing-card__lede { color: rgba(10,10,10,0.7); font-size: .95rem; margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: .6rem; }
.pricing-card__features li { display: flex; gap: .6rem; align-items: flex-start; color: rgba(10,10,10,0.82); font-size: .95rem; }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; }
.pricing-card__cta { margin-top: auto; }

/* === Quote === */
.quote {
  margin: 0;
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.4;
  color: var(--color-primary);
  max-width: 60ch;
  margin: 0 auto 1rem;
  font-weight: 500;
}
.quote cite {
  font-style: normal;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: .04em;
}

/* === CTA band === */
.cta-band {
  margin: 3rem 1.25rem;
  background: linear-gradient(135deg, var(--color-primary), #2b2a24);
  color: var(--color-neutral-light);
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -50% -20% auto auto;
  width: 60%; height: 200%;
  background: radial-gradient(closest-side, rgba(212,182,117,0.35), transparent);
  pointer-events: none;
}
.cta-band__inner { position: relative; max-width: 640px; margin: 0 auto; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(248,248,248,0.78); }
@media (min-width: 768px) { .cta-band { margin: 4rem auto; max-width: 1140px; padding: 4rem 2rem; } }

/* === FAQ === */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq details {
  background: #fff;
  border: var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  list-style: none;
  position: relative;
  padding-right: 1.75rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--color-accent);
  font-size: 1.4rem;
  transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .75rem 0 0; color: rgba(10,10,10,0.75); }

/* === Contact card + form === */
.contact-card {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border: var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-family: var(--font-heading); font-size: .9rem; font-weight: 600; color: var(--color-primary); }
.form-row input, .form-row textarea {
  font: inherit;
  padding: .75rem .9rem;
  border-radius: 10px;
  border: 1px solid rgba(10,10,10,0.16);
  background: var(--color-neutral-light);
  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(212,182,117,0.25);
}
.form-consent {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .88rem;
  color: rgba(10,10,10,0.75);
  line-height: 1.5;
}
.form-consent a { color: var(--color-accent); text-decoration: underline; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(248,248,248,0.75);
  padding: 3.5rem 1.25rem 1.5rem;
  margin-top: 3rem;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.logo--footer img { height: 60px; }
.footer__tag { font-size: .95rem; color: rgba(248,248,248,0.65); margin-top: .75rem; max-width: 30ch; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: .4rem; }
.footer-nav h4, .footer-contact h4 {
  color: var(--color-neutral-light);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.footer-nav a, .footer-contact a { color: rgba(248,248,248,0.78); transition: color .2s; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--color-accent); }
.footer-contact address { font-style: normal; line-height: 1.7; margin-bottom: .75rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: .5rem; font-size: .88rem; }
.footer__copy {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(248,248,248,0.1);
  font-size: .85rem;
  color: rgba(248,248,248,0.5);
  text-align: center;
}

/* === 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);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.5);
  border: 1px solid rgba(212,182,117,0.25);
  max-width: 620px;
}
@media (min-width: 700px) { .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; } }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: rgba(248,248,248,0.85); font-size: .92rem; margin-bottom: 1rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn--ghost { color: var(--color-neutral-light); border-color: rgba(248,248,248,0.25); }
.cookie-banner__actions .btn--ghost:hover { border-color: var(--color-accent); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; color: rgba(248,248,248,0.85); }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; }

/* === 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; }
  html { scroll-behavior: auto; }
}
