/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 0.6rem; letter-spacing: -0.025em; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent); text-decoration: none; transition: color 0.18s; }
a:hover { color: var(--accent-soft); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(var(--brand-rgb), 0.3); color: #fff; }

/* ── Layout ── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section--tight { padding: 4rem 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section--light { background: var(--surface-3); }
.section__head { max-width: 46rem; margin: 0 auto 3.5rem; text-align: center; }
.section__head--left { margin-left: 0; text-align: left; }
.section__title { font-size: clamp(2rem, 3.8vw, 3rem); margin: 0.75rem 0 0.65rem; }
.section__lead { color: var(--muted); font-size: 1.06rem; margin: 0; }
.mt-3 { margin-top: 1.5rem !important; }

/* ── Eyebrow ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.85rem; border-radius: 100px;
  background: var(--brand-tint); border: 1px solid rgba(var(--brand-rgb), 0.3);
  color: var(--brand-soft); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}

/* ── Gradient text ── */
.gradient-text {
  background: linear-gradient(120deg, var(--brand-soft) 0%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3.1rem; padding: 0.8rem 1.65rem;
  border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font-family: var(--font-head); font-size: 0.97rem; font-weight: 600;
  cursor: pointer; transition: all 0.22s ease; text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-soft) 100%);
  box-shadow: 0 10px 30px rgba(var(--brand-rgb), 0.35);
}
.btn--primary:hover { color: #fff; box-shadow: 0 14px 38px rgba(var(--brand-rgb), 0.45); }
.btn--ghost {
  color: var(--ink); border-color: var(--line);
  background: rgba(255,255,255,0.04);
}
.btn--ghost:hover { border-color: rgba(var(--brand-rgb), 0.5); color: var(--brand-soft); }
.btn--accent {
  color: var(--bg); background: var(--accent);
  box-shadow: 0 10px 28px rgba(var(--accent-rgb), 0.35);
}
.btn--accent:hover { color: var(--bg); }
.btn--outline { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.2); background: transparent; }
.btn--outline:hover { border-color: rgba(255,255,255,0.6); color: #fff; background: rgba(255,255,255,0.07); }

/* ── Announcement bar ── */
.topbar__announce {
  background: linear-gradient(90deg, rgba(var(--brand-rgb),0.15), rgba(var(--accent-rgb),0.1), rgba(var(--brand-rgb),0.15));
  border-bottom: 1px solid rgba(var(--brand-rgb),0.25);
  text-align: center; padding: 0.45rem 1.5rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; color: var(--brand-soft);
}
.topbar__announce a { color: var(--accent); }

/* ── Topbar — floating rounded card: logo | nav | CTA+burger ── */
.topbar {
  position: sticky; top: 0; z-index: 80;
  padding: 0.85rem 1.5rem 0;
}
.topbar__inner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem;
  min-height: 4rem; max-width: var(--container); margin: 0 auto;
  padding: 0.6rem 0.6rem 0.6rem 1.35rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}

/* Brand */
.brand {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.05rem;
  color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand__mark { display: none; }
.brand__name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  letter-spacing: -0.02em; line-height: 1;
}
.brand__name b { color: var(--accent); }
.brand__tagline {
  font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-family: var(--font-body); line-height: 1;
}

/* Nav — rounded pill links, consistent treatment for hover + active */
.nav {
  display: flex; align-items: center; gap: 0.2rem; margin: 0;
}
.nav__link {
  position: relative; display: inline-flex; align-items: center;
  padding: 0.55rem 1rem; border-radius: 100px;
  color: var(--ink-soft); font-weight: 600; font-size: 0.88rem;
  transition: color 0.18s, background 0.18s;
}
.nav__link:hover { color: var(--ink); background: var(--brand-tint); }
.nav__link.is-active { color: var(--brand-strong); background: var(--brand-tint); }

.topbar__right { display: flex; align-items: center; gap: 0.6rem; }
.nav__cta { min-height: 2.6rem; padding: 0.5rem 1.25rem; font-size: 0.88rem; }

/* Burger — mobile only */
.burger { display: none; }
.burger span { width: 1.1rem; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform 0.22s, opacity 0.22s; }
.burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Drawer (desktop: slide from left) */
.nav-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: 280px; z-index: 200;
  background: var(--surface); border-right: 1px solid var(--line);
  box-shadow: 8px 0 40px rgba(0,0,0,0.5); padding: 2rem 1.5rem;
  transform: translateX(-100%); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer__close {
  align-self: flex-end; width: 2rem; height: 2rem;
  background: none; border: none; color: var(--muted); cursor: pointer; font-size: 1.2rem; padding: 0;
}
.nav-drawer__links { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 1rem; }
.nav-drawer__links a {
  display: block; padding: 0.85rem 1rem; border-radius: 0.6rem;
  color: var(--ink-soft); font-weight: 500; font-size: 0.97rem;
  transition: background 0.18s, color 0.18s;
}
.nav-drawer__links a:hover { background: rgba(255,255,255,0.06); color: var(--ink); }
.nav-drawer__links a.is-active { background: rgba(var(--brand-rgb),0.15); color: var(--brand-soft); }
.nav-drawer__cta { margin-top: 1.5rem; }
.nav-drawer__overlay {
  position: fixed; inset: 0; z-index: 190; background: rgba(0,0,0,0.6);
  display: none; backdrop-filter: blur(2px);
}
.nav-drawer__overlay.is-open { display: block; }

/* Mobile */
@media (max-width: 860px) {
  /* Show burger, hide nav pills (CTA stays next to burger) */
  .burger {
    display: inline-flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 5px;
    width: 2.6rem; height: 2.6rem; flex-shrink: 0;
    border-radius: 0.55rem; border: 1.5px solid var(--line);
    background: var(--surface-3); cursor: pointer;
  }
  .nav { display: none; }
  .nav__cta i { display: none; }
  .topbar__inner { gap: 0.75rem; padding: 0.5rem 0.5rem 0.5rem 1rem; }
  .brand__tagline { display: none; }
}
@media (min-width: 861px) {
  .nav-drawer { display: none; }
  .nav-drawer__overlay { display: none !important; }
}

/* ── Hero (dark/bold) ── */
.hero {
  position: relative; padding: 6rem 0 5.5rem; overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: var(--night); color: var(--ink-soft);
  --ink:        #ffffff;
  --ink-soft:   rgba(255,255,255,0.82);
  --muted:      rgba(255,255,255,0.55);
  --line:       rgba(255,255,255,0.16);
  --line-soft:  rgba(255,255,255,0.09);
  --surface:    rgba(255,255,255,0.05);
  --surface-2:  rgba(255,255,255,0.04);
  --surface-3:  rgba(255,255,255,0.07);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 50%, rgba(var(--brand-rgb), 0.12), transparent),
    radial-gradient(ellipse 40% 40% at 20% 60%, rgba(var(--accent-rgb), 0.07), transparent);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  border-radius: 100px; border: 1px solid rgba(var(--brand-rgb), 0.4);
  background: rgba(var(--brand-rgb), 0.1); color: var(--brand-soft);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  margin-bottom: 1.4rem;
}
.hero__badge-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--brand-soft); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero__title { font-size: clamp(2.8rem, 5.5vw, 4.4rem); margin: 0 0 1.2rem; line-height: 1.04; }
.hero__lead { font-size: 1.12rem; color: var(--muted); max-width: 34rem; line-height: 1.8; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero__note { margin-top: 1.8rem; font-size: 0.88rem; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; }
.hero__note i { color: var(--accent); }

/* ── Hero visual panel ── */
.hero__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  position: relative;
}
.hero__panel::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  background: linear-gradient(135deg, rgba(var(--brand-rgb),0.25), rgba(var(--accent-rgb),0.15));
  z-index: -1;
}
.hero__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.metric {
  background: var(--surface-3); border-radius: var(--radius);
  padding: 1rem 1.2rem; border: 1px solid var(--line-soft);
}
.metric__val { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--ink); }
.metric__label { font-size: 0.78rem; color: var(--muted); margin-top: 0.15rem; }
.metric__val span { font-size: 1rem; color: var(--ok); }
.activity-bar { background: var(--surface-3); border-radius: var(--radius); padding: 1rem 1.2rem; border: 1px solid var(--line-soft); }
.activity-bar h4 { font-size: 0.78rem; font-weight: 600; color: var(--muted); margin-bottom: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.activity-bars { display: flex; gap: 4px; align-items: flex-end; height: 3rem; }
.activity-bars span {
  flex: 1; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, rgba(var(--brand-rgb),0.6), rgba(var(--accent-rgb),0.4));
}

@media (max-width: 820px) { .hero__grid { grid-template-columns: 1fr; gap: 3rem; } .hero__panel { display: none; } }

/* ── Stats strip ── */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-strip__item { text-align: center; padding: 2.5rem 1rem; border-right: 1px solid var(--line-soft); }
.stat-strip__item:last-child { border-right: none; }
.stat-strip__num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; background: linear-gradient(120deg, var(--brand-soft), var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-strip__label { font-size: 0.85rem; color: var(--muted); margin-top: 0.35rem; }
@media (max-width: 640px) { .stat-strip { grid-template-columns: 1fr 1fr; } .stat-strip__item { border-right: none; border-bottom: 1px solid var(--line-soft); } }

/* ── Grids ── */
.grid--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid--2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid--4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr 1fr; } .grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }

/* ── Glass card ── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: 0; transition: opacity 0.22s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: rgba(var(--brand-rgb), 0.3); }
.card:hover::before { opacity: 1; }
.card__icon {
  display: inline-flex; width: 3rem; height: 3rem; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); background: var(--brand-tint); color: var(--brand-soft); font-size: 1.3rem; margin-bottom: 1rem;
}
.card__icon--accent { background: var(--accent-tint); color: var(--accent); }
.card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.94rem; color: var(--muted); }

/* ── Split ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 2.5rem; } .split--reverse { direction: ltr; } }

.feature-list { display: flex; flex-direction: column; gap: 0.9rem; margin: 1.5rem 0; }
.feature-list li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.97rem; color: var(--ink-soft); }
.feature-list li i { color: var(--accent); flex-shrink: 0; margin-top: 0.2rem; }

/* ── Highlight box ── */
.highlight-box {
  background: var(--surface-3); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem;
}
.highlight-box h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--ink); }
.highlight-box p { font-size: 0.95rem; color: var(--muted); }

/* ── Post card ── */
.post-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: rgba(var(--brand-rgb), 0.3); }
.post-card__body { padding: 1.5rem; }
.post-card__tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-soft); padding: 0.25rem 0.6rem;
  background: var(--brand-tint); border-radius: 100px; margin-bottom: 0.75rem;
}
.post-card__title { font-size: 1.05rem; font-family: var(--font-head); margin-bottom: 0.5rem; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--brand-soft); }
.post-card__excerpt { font-size: 0.93rem; color: var(--muted); }
.post-card__meta { margin-top: 1rem; font-size: 0.82rem; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; }
.post-card__more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; font-size: 0.9rem; font-weight: 600; color: var(--accent); }
.post-card__more:hover { gap: 0.65rem; }
.post-cover-placeholder {
  width: 100%; height: 11rem;
  background: linear-gradient(135deg, var(--surface-3) 0%, rgba(var(--brand-rgb),0.08) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--brand-soft); opacity: 0.5;
}

/* ── Portfolio card (featured work) ── */
.portfolio-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
}
.portfolio-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: rgba(var(--brand-rgb), 0.35); }
.portfolio-card__cover {
  width: 100%; height: 12rem;
  background: linear-gradient(135deg, var(--night) 0%, #2a1c14 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; color: var(--brand-soft);
}
.portfolio-card__body { padding: 1.5rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.portfolio-card__title { font-size: 1.1rem; margin-bottom: 0.3rem; }
.portfolio-card__meta { font-size: 0.8rem; color: var(--muted); display: flex; gap: 0.6rem; align-items: center; }
.portfolio-card__more { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; font-weight: 600; color: var(--brand); white-space: nowrap; }
.portfolio-card__more:hover { gap: 0.6rem; }

/* ── Testimonial card ── */
.testimonial-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1.1rem;
}
.testimonial-card__quote { font-size: 0.97rem; color: var(--ink-soft); font-style: italic; }
.testimonial-card__author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.testimonial-card__avatar {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}
.testimonial-card__name { font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.testimonial-card__role { font-size: 0.8rem; color: var(--muted); }

/* ── Topics ── */
.topic { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.25rem 0; border-bottom: 1px solid var(--line-soft); }
.topic:last-child { border-bottom: none; }
.topic__icon {
  flex-shrink: 0; width: 2.8rem; height: 2.8rem; display: grid; place-items: center;
  border-radius: 0.6rem; background: var(--brand-tint); color: var(--brand-soft); font-size: 1.15rem;
}
.topic h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.topic p { font-size: 0.93rem; color: var(--muted); }

/* ── Solutions (chapter equivalent) ── */
.solution {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.5rem;
}
.solution__header {
  padding: 1.5rem 1.75rem; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 1rem;
  background: linear-gradient(90deg, rgba(var(--brand-rgb),0.07), transparent);
}
.solution__num {
  width: 2.2rem; height: 2.2rem; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; font-weight: 700; font-size: 0.9rem;
}
.solution__header h3 { margin: 0; font-size: 1.05rem; }
.solution__body { padding: 1.5rem 1.75rem; color: var(--ink-soft); font-size: 0.97rem; }
.solution__body p { margin-bottom: 0.75rem; }
.solution__body ul { list-style: disc; padding-left: 1.4rem; }
.solution__body li { margin-bottom: 0.4rem; }

/* ── Glossary ── */
.glossary-list { display: flex; flex-direction: column; gap: 1px; }
.glossary-entry { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.glossary-entry dt { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1rem; margin-bottom: 0.35rem; }
.glossary-entry dd { margin: 0; color: var(--muted); font-size: 0.94rem; }
.glossary-letter { font-family: var(--font-head); font-size: 1.6rem; background: linear-gradient(120deg,var(--brand-soft),var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin: 2rem 0 0.75rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--line-soft); display: inline-block; }

/* ── CTA band (dark) ── */
.cta-band {
  background: var(--night);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 6rem 0; text-align: center; position: relative; overflow: hidden;
  --ink:        #ffffff;
  --ink-soft:   rgba(255,255,255,0.82);
  --muted:      rgba(255,255,255,0.55);
  --line:       rgba(255,255,255,0.16);
  --line-soft:  rgba(255,255,255,0.09);
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(var(--brand-rgb),0.1), transparent);
}
.cta-band > .container { position: relative; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.75rem; }
.cta-band p { color: var(--muted); font-size: 1.05rem; margin-bottom: 2rem; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item i { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 0.6rem; background: var(--brand-tint); color: var(--brand-soft); font-size: 1rem; flex-shrink: 0; }
.contact-item h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.25rem; }
.contact-item p { font-size: 0.97rem; color: var(--ink-soft); }

.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 0.4rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 0.72rem 1rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: var(--surface);
  color: var(--ink); font-family: var(--font-body); font-size: 0.97rem;
  transition: border-color 0.18s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--brand); }
.form-field textarea { resize: vertical; min-height: 8rem; }
.form-captcha { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.form-captcha label { font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.form-captcha input { width: 6rem; }
.form-consent { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.form-consent input { margin-top: 0.18rem; flex-shrink: 0; accent-color: var(--brand); }
.form-consent a { color: var(--accent); }

/* ── Footer — dark typographic ── */
.footer {
  background: var(--night); color: rgba(255,255,255,0.45); font-size: 0.9rem;
  position: relative; overflow: hidden;
}
.footer::before {
  content: ''; display: block; height: 2px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 50%, var(--brand) 100%);
}
.footer__wordmark {
  padding: 3.5rem 1.5rem 0; text-align: center;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 7rem);
  letter-spacing: -0.04em; line-height: 0.9;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  pointer-events: none; user-select: none;
}
.footer__main {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--line-soft); margin-top: -1rem;
}
.footer__left {
  padding: 2.5rem 2rem; border-right: 1px solid var(--line-soft);
}
.footer__left .brand {
  display: inline-flex; flex-direction: row; align-items: center; gap: 0.6rem;
  color: var(--ink); text-decoration: none; margin-bottom: 1rem;
}
.footer__left .brand__mark {
  display: grid; place-items: center;
  width: 2.2rem; height: 2.2rem; border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; font-size: 1rem;
}
.footer__left .brand__name { font-size: 1rem; letter-spacing: -0.02em; }
.footer__left .brand__tagline { display: none; }
.footer__desc { font-size: 0.88rem; color: rgba(255,255,255,0.38); line-height: 1.65; margin-bottom: 1.5rem; }
.footer__socials { display: flex; gap: 0.65rem; }
.footer__socials a {
  width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 0.5rem;
  color: rgba(255,255,255,0.45); font-size: 1rem; transition: all 0.18s;
}
.footer__socials a:hover { border-color: var(--accent); color: var(--accent); }

.footer__right {
  padding: 2.5rem 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.footer__col h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 0.85rem; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__col ul a { color: rgba(255,255,255,0.5); font-size: 0.9rem; transition: color 0.18s; }
.footer__col ul a:hover { color: var(--ink); }
.footer__col li { display: flex; align-items: center; gap: 0.5rem; }
.footer__col li i { color: rgba(var(--accent-rgb),0.6); font-size: 0.9rem; }

.footer__bottom {
  border-top: 1px solid var(--line-soft); padding: 1.25rem 2rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.8rem; color: rgba(255,255,255,0.25);
}
.footer__bottom-links { display: flex; gap: 1.25rem; }
.footer__bottom-links a { color: rgba(255,255,255,0.25); transition: color 0.18s; }
.footer__bottom-links a:hover { color: rgba(255,255,255,0.55); }

@media (max-width: 700px) {
  .footer__main { grid-template-columns: 1fr; }
  .footer__left { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .footer__wordmark { font-size: 3rem; padding-top: 2.5rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ── FAQ ── */
.faq__item { border-bottom: 1px solid var(--line-soft); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; background: none; border: none; cursor: pointer; font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--ink); text-align: left; }
.faq__q i { flex-shrink: 0; color: var(--brand-soft); transition: transform 0.22s; }
.faq__item.is-open .faq__q i { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq__a p { padding-bottom: 1.25rem; color: var(--muted); font-size: 0.96rem; }

/* ── Cookie ── */
.cookie {
  position: fixed; bottom: 1.25rem; left: 1.25rem; right: 1.25rem; z-index: 9000;
  background: var(--surface-3); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  max-width: 860px; margin: 0 auto;
}
.cookie[hidden] { display: none; }
.cookie__text strong { color: var(--ink); display: block; margin-bottom: 0.3rem; }
.cookie__text p { font-size: 0.88rem; margin: 0; color: var(--muted); }
.cookie__text a { color: var(--accent); }
.cookie__actions { display: flex; gap: 0.65rem; flex-wrap: wrap; flex-shrink: 0; margin-left: auto; }
.cookie__btn { padding: 0.55rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: none; color: var(--ink-soft); font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: all 0.18s; }
.cookie__btn--accept { background: var(--brand); border-color: var(--brand); color: #fff; }
.cookie__btn:hover { border-color: var(--brand-soft); color: var(--ink); }

.modal {
  position: fixed; inset: 0; z-index: 9100; background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px); display: none; place-items: center; padding: 1rem;
}
.modal.is-open { display: grid; }
.modal__dialog { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; max-width: 480px; width: 100%; box-shadow: var(--shadow-lg); }
.modal__dialog h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.modal__opt { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.modal__opt:last-of-type { border-bottom: none; }
.modal__opt input[type=checkbox] { margin-top: 0.2rem; accent-color: var(--brand); flex-shrink: 0; }
.modal__footer { margin-top: 1.25rem; display: flex; gap: 0.65rem; flex-wrap: wrap; justify-content: flex-end; }
.thanks-modal { display: none; }
.thanks-modal.is-open { display: grid; }

/* ── Legal / article ── */
.prose h2 { font-size: 1.4rem; margin: 2rem 0 0.6rem; padding-top: 2rem; border-top: 1px solid var(--line-soft); }
.prose h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.prose p { color: var(--ink-soft); margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; color: var(--ink-soft); }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--accent); }

/* ── Page hero (inner) ── */
.page-hero { padding: 4rem 0 3rem; border-bottom: 1px solid var(--line-soft); }
.page-hero__eyebrow { display: block; margin-bottom: 1rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 0.75rem; }
.page-hero p { font-size: 1.08rem; color: var(--muted); max-width: 38rem; }

/* ── Team ── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.team-card { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.5rem; }
.team-card__avatar { width: 5rem; height: 5rem; border-radius: 50%; background: linear-gradient(135deg, rgba(var(--brand-rgb),0.2), rgba(var(--accent-rgb),0.15)); display: grid; place-items: center; margin: 0 auto 1rem; color: var(--brand-soft); font-size: 2rem; border: 2px solid rgba(var(--brand-rgb),0.3); }
.team-card h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.team-card p { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 700px) { .team-grid { grid-template-columns: 1fr 1fr; } }

/* ── Blog article ── */
.article-header { padding: 4rem 0 2.5rem; border-bottom: 1px solid var(--line-soft); }
.article-header h1 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 40rem; }
.article-meta { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; margin-top: 1rem; font-size: 0.88rem; color: var(--muted); }
.article-meta i { color: var(--accent); }
.article-body { max-width: 42rem; margin: 0 auto; padding: 3rem 0; }
.article-body h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; }
.article-body p { font-size: 1.02rem; line-height: 1.8; color: var(--ink-soft); margin-bottom: 1.25rem; }
.article-body blockquote { border-left: 3px solid var(--accent); padding-left: 1.25rem; margin: 1.5rem 0; }
.article-body blockquote p { color: var(--ink); font-style: italic; }

/* ── Utilities ── */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem !important; }
.mt-4 { margin-top: 2rem !important; }
