/* Innovative.land, site styles
   Fonts are self-hosted (no requests to Google). Licenses: assets/fonts/LICENSE-*.txt */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('../fonts/bricolage-grotesque-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('../fonts/bricolage-grotesque-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url('../fonts/instrument-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url('../fonts/instrument-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --ground: #F6F6FA;
  --surface: #FFFFFF;
  --soft: #ECEBF5;
  --placeholder: #F1F0F8;
  --ink: #22213F;
  --text: #46456A;
  --muted: #66658A;
  --line: #E2E1EE;
  --line-strong: #CFCDE3;
  --rail: #DCDAF0;

  --violet: #5B36EF;
  --violet-hover: #4A27D6;
  --cyan: #54D1F8;
  --blue: #3AA6F2;
  --indigo: #4867F0;

  --night: #1B1A3A;
  --night-2: #24234B;
  --night-3: #141331;
  --night-text: #D3D2EC;
  --night-muted: #B5B4D8;
  --night-link: #E6E5F7;

  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(80px, 8vw, 112px);
  --shadow-label: 0 12px 30px -14px rgba(59, 58, 99, 0.35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--violet); }
a:hover { color: var(--violet-hover); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
p { margin: 0; }

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: #FFFFFF; padding: 12px 18px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #FFFFFF; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { max-width: var(--container); margin: 0 auto; }
.section { padding: var(--section-y) var(--gutter); }
.section--white { background: var(--surface); border-top: 1px solid var(--line); }
.section--night { background: var(--night); color: var(--night-text); }
.section--night h2, .section--night h3 { color: #FFFFFF; }

/* ---------- Type ---------- */
.display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
.h1 { font-size: clamp(42px, 5.2vw, 74px); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
.h2 { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.06; text-wrap: balance; }
.h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.12; letter-spacing: -0.015em; }

.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 20px 64px; margin-bottom: 48px;
}
.section-head h2 { max-width: 13em; }
.section-head p { max-width: 28em; font-size: 18px; }
.section-head--lg { margin-bottom: 64px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 17px;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: var(--violet); color: #FFFFFF; }
.btn--primary:hover { background: var(--violet-hover); color: #FFFFFF; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--soft); color: var(--ink); }
.btn--white { background: #FFFFFF; color: var(--ink); border-color: var(--line-strong); }
.btn--white:hover { background: var(--soft); color: var(--ink); }
.btn--sm { min-height: 46px; padding: 0 22px; font-size: 15px; }
.btn--md { min-height: 50px; padding: 0 24px; font-size: 16px; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: relative; max-width: var(--container); margin: 0 auto;
  padding: 20px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
}
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 56px; width: auto; }
.nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nav-links { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; gap: 0 28px; }
.nav-links a { display: block; padding: 10px 0; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; }
.nav-links a:hover { color: var(--violet); }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .nav { flex-wrap: wrap; justify-content: flex-start; gap: 8px 24px; }
  .nav-links { margin: 0; }
  .js .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 12px;
    border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer;
  }
  .js .nav {
    display: none; position: absolute; z-index: 30; top: calc(100% - 8px); left: var(--gutter); right: var(--gutter);
    flex-direction: column; align-items: stretch; gap: 8px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px;
    box-shadow: 0 24px 48px -24px rgba(59, 58, 99, 0.4);
  }
  .js .nav.is-open { display: flex; }
  .js .nav-links { flex-direction: column; }
  .js .nav-links a { padding: 12px 10px; border-radius: 10px; }
  .js .nav-links a:hover { background: var(--ground); }
  .js .nav .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(72px, 8vw, 112px); overflow-x: hidden; overflow-x: clip; }
.hero-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
  gap: 56px; align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-lead { font-size: clamp(18px, 1.5vw, 20px); max-width: 34em; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: 15px; color: var(--muted); max-width: 34em; }

.network { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; margin: 0 auto; }
.network-dots {
  position: absolute; inset: -6%;
  background-image: radial-gradient(#D3D2E8 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 40%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 50%, #000 40%, transparent 70%);
}
.network svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow { stroke-dasharray: 2 22; animation: flow 2.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -48; } }

.network-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 124px; height: 124px; border-radius: 50%; padding: 12px;
  background: var(--violet); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.15;
  box-shadow: 0 16px 40px -12px rgba(91, 54, 239, 0.55);
}
.node-label {
  position: absolute; display: flex; flex-direction: column; gap: 1px; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 14px; box-shadow: var(--shadow-label);
}
.node-title { font-weight: 600; font-size: 15px; color: var(--ink); }
.node-sub { font-size: 13px; color: var(--muted); }
.node-label--above { transform: translate(-50%, calc(-100% - 30px)); }
.node-label--below { transform: translate(-50%, 30px); }
.node-label--web { left: 21.67%; top: 23.33%; }
.node-label--ads { left: 78.33%; top: 20%; }
.node-label--social { left: 81.67%; top: 75%; }
.node-label--ai { left: 23.33%; top: 73.33%; white-space: normal; width: max-content; max-width: 240px; gap: 8px; padding: 10px 14px 12px; }
.bubble {
  font-size: 13px; line-height: 1.45; color: #FFFFFF; background: var(--violet);
  border-radius: 12px 12px 12px 4px; padding: 8px 11px;
}
@media (max-width: 640px) {
  .node-sub, .bubble { display: none; }
  .node-label { padding: 7px 11px; }
  .network-center { width: 84px; height: 84px; font-size: 12px; }
}

/* ---------- Tools strip ---------- */
.tools { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px var(--gutter); }
.tools .container { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 40px; }
.tools p { font-size: 15px; color: var(--muted); }
.tools ul {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 28px;
  font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--text);
}

/* ---------- Services ---------- */
.services-list { position: relative; }
.services-list::before {
  content: ""; position: absolute; left: 11px; top: 60px; bottom: 60px; width: 2px; background: var(--rail);
}
.service {
  position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr);
  column-gap: clamp(20px, 3vw, 40px); padding: 44px 0; border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service-node {
  display: block; width: 24px; height: 24px; margin-top: 10px; border-radius: 50%;
  background: var(--ground); border: 6px solid var(--node, var(--cyan));
}
.service-node--1 { --node: #54D1F8; }
.service-node--2 { --node: #3AA6F2; }
.service-node--3 { --node: #4867F0; }
.service-node--4 { --node: #5B36EF; }
.service-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 24px 64px; }
.service-intro { display: flex; flex-direction: column; gap: 14px; }
.service-intro p { max-width: 32em; }
.service-intro .service-price { font-size: 15px; font-weight: 600; color: var(--ink); }
.service-items {
  list-style: none; margin: 0; padding: 0; align-content: start;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); column-gap: 32px;
}
.service-items li { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); }

/* ---------- AI section ---------- */
.ai-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.ai-tabs { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ai-tab {
  display: flex; gap: 14px; align-items: flex-start; width: 100%; min-height: 44px;
  padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent; color: #C3C2E0; text-align: left; cursor: pointer;
  font: inherit; font-size: 15px; line-height: 1.45;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.ai-tab:hover { background: rgba(255, 255, 255, 0.05); }
.ai-tab[aria-selected="true"] { background: rgba(255, 255, 255, 0.09); border-color: rgba(84, 209, 248, 0.6); color: #E9E8F8; }
.ai-tab svg { flex: none; margin-top: 2px; stroke: #A3A2CC; }
.ai-tab[aria-selected="true"] svg { stroke: var(--cyan); }
.ai-tab-title { display: block; font-weight: 600; font-size: 16px; color: #FFFFFF; }

.ai-panels { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.ai-panel {
  background: var(--night-2); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px;
  padding: clamp(24px, 3vw, 40px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 36px;
}
.ai-panel-main, .ai-panel-side { display: flex; flex-direction: column; gap: 20px; }
.ai-panel-side { gap: 24px; }
.label-dark { font-size: 14px; color: var(--night-muted); }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; color: var(--night-link); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; padding: 5px 12px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; color: var(--night-link); }
.steps li span {
  flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--cyan); color: var(--cyan);
  display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; margin-top: -2px;
}
.chat { background: var(--night); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.msg { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.msg--out { align-items: flex-end; }
.msg small { font-size: 12px; color: var(--night-muted); }
.msg p {
  max-width: 88%; font-size: 15px; line-height: 1.45; color: #FFFFFF;
  background: var(--violet); border-radius: 14px 14px 14px 4px; padding: 9px 13px;
}
.msg--out p { background: rgba(255, 255, 255, 0.12); border-radius: 14px 14px 4px 14px; }

/* Tab panels: all visible without JavaScript, one at a time with it */
.js [role="tabpanel"]:not(.is-active) { display: none; }

/* ---------- Case studies ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 20px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; }
.case-media {
  height: 190px; margin: 12px; border-radius: 12px; border: 1.5px dashed var(--line-strong);
  background: var(--placeholder); display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px; overflow: hidden;
}
.case-media img { width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: 10px 26px 26px; display: flex; flex-direction: column; gap: 18px; }
.case-head { display: flex; flex-direction: column; gap: 4px; }
.case-meta { font-size: 14px; color: var(--muted); }
.case-head h3 { font-family: var(--font-display); font-size: 24px; line-height: 1.2; font-weight: 700; }
.case-head p:last-child { font-size: 15px; }
.metrics { margin: 0; display: flex; flex-direction: column; }
.metrics div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.metrics dt { font-size: 15px; }
.metrics dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }

/* ---------- Packages ---------- */
.segmented {
  display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin-bottom: 40px;
  background: var(--soft); border-radius: 999px; max-width: 100%;
}
.segmented button {
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px;
  background: transparent; color: var(--text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.segmented button[aria-selected="true"] { background: var(--ink); color: #FFFFFF; }
.plans-panel { display: flex; flex-direction: column; gap: 40px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 22px; }
.plan--rec { border: 2px solid var(--violet); box-shadow: 0 24px 50px -28px rgba(91, 54, 239, 0.45); }
.plan-head { display: flex; flex-direction: column; gap: 8px; }
.plan-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.plan-title h3 { font-family: var(--font-display); font-size: 26px; line-height: 1.15; font-weight: 700; }
.badge { font-size: 13px; font-weight: 600; color: #FFFFFF; background: var(--violet); border-radius: 999px; padding: 4px 12px; }
.plan-head p { font-size: 16px; }
.plan-price { display: flex; flex-direction: column; gap: 2px; }
.plan-price span { font-size: 14px; color: var(--muted); }
.plan-price strong { font-family: var(--font-display); font-size: 38px; line-height: 1.1; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: 16px; }
.checks li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B36EF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.fine-print { font-size: 15px; color: var(--muted); }

/* ---------- Process ---------- */
.process { list-style: none; margin: 0 0 64px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); column-gap: 0; row-gap: 48px; }
.process li { position: relative; border-top: 2px solid var(--rail); padding: 38px 28px 0 0; display: flex; flex-direction: column; gap: 10px; }
.process-num {
  position: absolute; top: -19px; left: 0; width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--violet); background: var(--ground); color: var(--violet);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
}
.process h3 { font-family: var(--font-display); font-size: 22px; line-height: 1.2; font-weight: 700; }
.process p { font-size: 16px; }

.promises { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 32px; }
.promises > h3 { font-family: var(--font-display); font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; font-weight: 700; }
.promises-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px 48px; }
.promise { display: flex; flex-direction: column; gap: 10px; }
.promise h3, .promise h4 { font-family: var(--font-body); font-size: 19px; font-weight: 600; letter-spacing: 0; }
.founding-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; border-top: 1px solid var(--line); padding-top: 32px; }
.promise p { font-size: 16px; }

/* ---------- FAQ ---------- */
.faq-layout { display: flex; flex-wrap: wrap; gap: 40px 72px; }
.faq-intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.faq-intro p { font-size: 18px; max-width: 24em; }
.faq-list { flex: 999 1 560px; min-width: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 44px; padding: 22px 0; cursor: pointer; font-size: 19px; font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { padding: 0 clamp(0px, 5vw, 56px) 24px 0; font-size: 17px; max-width: 42em; }

/* ---------- Contact ---------- */
.contact-layout { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
.contact-info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.contact-info h2 { font-size: clamp(36px, 4.2vw, 58px); line-height: 1.04; }
.contact-info > p { font-size: 18px; max-width: 28em; }
.contact-details { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-details div { display: flex; flex-direction: column; gap: 2px; }
.contact-details dt { font-size: 14px; color: var(--night-muted); }
.contact-details dd { margin: 0; font-size: 18px; font-weight: 600; color: #FFFFFF; }
.contact-details a { color: #FFFFFF; text-decoration: none; }
.contact-details a:hover { color: var(--cyan); }

.form-card {
  flex: 1 1 480px; min-width: 0; background: var(--surface); color: var(--text);
  border-radius: 26px; padding: clamp(24px, 3.5vw, 40px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
}
.form { display: flex; flex-direction: column; gap: 20px; }
.form[hidden] { display: none; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .form legend { font-size: 15px; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 12px;
  font: inherit; font-size: 16px; color: var(--ink); background: #FFFFFF;
}
.field textarea { padding: 12px 14px; resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { border-color: var(--violet); }
.form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.form legend { padding: 0; margin-bottom: 8px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-toggle { position: relative; }
.chip-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-toggle span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: #FFFFFF; color: var(--ink);
  font-size: 15px; font-weight: 600; cursor: pointer; user-select: none;
}
.chip-toggle input:checked + span { background: var(--violet); border-color: var(--violet); color: #FFFFFF; }
.chip-toggle input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--violet); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { font-size: 15px; color: #B42318; font-weight: 600; }
.form-error:empty { display: none; }
.form-success { display: flex; flex-direction: column; gap: 14px; padding: 24px 0; }
.form-success h3 { font-family: var(--font-display); font-size: 28px; line-height: 1.15; font-weight: 700; }
.form-success[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night-3); color: #C9C8E8; padding: 64px var(--gutter) 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 64px; margin-bottom: 48px; }
.footer-brand { flex: 1 1 280px; max-width: 360px; display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { height: 64px; width: auto; align-self: flex-start; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.footer-nav nav { display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.footer-nav h2 { margin-bottom: 6px; font-family: var(--font-body); font-size: 14px; font-weight: 500; color: #9D9CC4; }
.footer-nav a { color: var(--night-link); text-decoration: none; padding: 6px 0; }
.footer-nav a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: #9D9CC4;
}

/* ---------- Legal pages ---------- */
.footer-bottom--plain { border-top: 0; padding-top: 0; }
.footer-bottom a { color: var(--night-link); }
.footer-bottom a + a { margin-left: 20px; }
.legal .btn { margin-top: 12px; }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--gutter) var(--section-y); }
.legal h1 { font-family: var(--font-display); font-size: clamp(36px, 4vw, 52px); line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 32px; }
.legal h2 { font-family: var(--font-display); font-size: 24px; line-height: 1.2; margin: 40px 0 12px; }
.legal p, .legal ul { margin: 0 0 14px; }
.legal address { font-style: normal; margin-bottom: 14px; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow { animation: none; }
  *, *::before, *::after { transition: none !important; }
}
