/* ==========================================================================
   NOETIC
   One stylesheet for both languages. Structure comes from the NOETIC.html
   model: centred hero with a phone demo, service tiles, alternating feature
   rows, a dark About band, method steps, FAQ and a contact card.
   Tokens first, then base, then one block per section in page order.
   ========================================================================== */

:root {
  color-scheme: light dark;

  /* Surfaces */
  --bg: #FBFAF7;
  --tint: #F2F0EA;
  --surface: #FFFFFF;
  --band: #142C3B;

  /* Text. --teal-text is the accent for small text on light surfaces: the
     brand teal measures 4.5:1 on paper but drops below it on --tint. */
  --ink: #142C3B;
  --muted: #56697A;
  --teal: #007F78;
  --teal-text: #00736D;
  --on-teal: #FFFFFF;
  --teal-soft: #E2EFED;
  --band-ink: #F7F5F0;
  --band-muted: #A9BCC6;
  --band-accent: #5FD1C9; /* teal for text on the navy bands; same in both modes */

  --line: #D5DDE0;
  --err: #B5402C;

  /* IBM Plex: drawn for a technology company. Serif for the two display
     levels, Sans for everything else. */
  --display: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1120px;
  --header-h: 64px;

  /* Radius follows hierarchy: pills for controls, large for containers,
     small for what sits inside a container. */
  --r-pill: 999px;
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0C1C27;
    --tint: #112633;
    --surface: #163040;
    --band: #07131B;
    --ink: #EEF1EE;
    --muted: #9CB8C6;
    --teal: #33B5AB;
    --teal-text: #4CC4BA;
    --on-teal: #05201E;
    --teal-soft: #12383A;
    --band-ink: #EEF1EE;
    --band-muted: #9DB1BC;
    --line: #27475A;
    --err: #F08A75;
  }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; }

:focus-visible { outline: 2px solid var(--teal-text); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-inline: max(32px, env(safe-area-inset-left, 0px)) max(32px, env(safe-area-inset-right, 0px)); }
}

.skip {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  padding: 12px 18px; border-radius: var(--r-sm);
  background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.sprite { position: absolute; }
.logo { width: 132px; height: 27px; color: var(--ink); }
.logo-accent { fill: var(--teal); }

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

/* --------------------------------------------------------------------------
   Controls
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 26px;
  border: 0; border-radius: var(--r-pill);
  font: 600 1rem/1.2 var(--text);
  text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.btn-primary { background: var(--teal); color: var(--on-teal); }
.btn-primary:hover { background: color-mix(in srgb, var(--teal) 88%, var(--ink)); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: color-mix(in srgb, var(--ink) 86%, var(--teal)); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: .9rem; }

.link {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--teal-text); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.link:hover { text-decoration-thickness: 2px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.bar { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; border-radius: 6px; }

.nav {
  display: none;
  position: absolute; top: var(--header-h); left: 0; right: 0;
  padding: 8px 20px 24px;
  background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: 0 28px 32px -24px rgba(5, 15, 22, .35); /* the one panel that floats over content */
}
.nav.is-open { display: block; }
.nav a {
  display: flex; align-items: center; min-height: 52px;
  font: 600 1.15rem/1 var(--display);
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.nav a[aria-current] { color: var(--teal-text); }

.bar-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.bar-actions .btn { display: none; }

.lang { display: inline-flex; padding: 2px; border-radius: var(--r-pill); background: var(--tint); }
.lang a {
  display: grid; place-items: center; min-width: 44px; min-height: 44px; padding-inline: 10px;
  border-radius: var(--r-pill);
  font: 600 .75rem/1 var(--text); letter-spacing: .06em;
  color: var(--muted); text-decoration: none;
}
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { background: var(--surface); color: var(--ink); }

.menu-btn {
  position: relative; width: 44px; height: 44px;
  border: 0; border-radius: var(--r-sm); background: transparent; cursor: pointer;
}
.menu-btn span {
  position: absolute; left: 11px; right: 11px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: top .2s var(--ease), transform .2s var(--ease);
}
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 380px) {
  .bar { gap: 12px; }
  .bar-actions { gap: 6px; }
  .logo { width: 112px; height: 23px; }
  .lang a { min-width: 40px; padding-inline: 8px; }
}
@media (min-width: 560px) {
  .bar-actions .btn { display: inline-flex; }
}
@media (min-width: 920px) {
  /* .nav .nav-contact, not .nav-contact: it has to outrank ".nav a { display: flex }". */
  .menu-btn, .nav .nav-contact { display: none; }
  .nav {
    display: flex; position: static; gap: 28px; margin-inline: auto; padding: 0;
    background: none; border: 0; box-shadow: none;
  }
  .nav a { min-height: 44px; border: 0; font: 500 .9rem/1 var(--text); color: var(--muted); }
  .nav a:hover, .nav a[aria-current] { color: var(--ink); }
  .nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--teal); }
  .bar-actions { margin-left: 0; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding-top: clamp(56px, 9vw, 104px); text-align: center; }
.hero h1 {
  max-width: 19em; margin-inline: auto;
  font-size: clamp(1.85rem, 1.1rem + 3.2vw, 3.6rem); line-height: 1.1; letter-spacing: -.02em;
}
.lede {
  max-width: 52ch; margin: 24px auto 0;
  color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.55;
}
.ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; margin-top: 36px; }

/* The phone sits whole in a navy panel. The slash is the N's cut. */
.stage { max-width: 980px; margin: clamp(48px, 7vw, 72px) auto 0; padding-inline: 20px; }
.panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; justify-content: center;
  padding: clamp(32px, 5vw, 56px) 20px;
  background: var(--band); border-radius: var(--r-xl);
}
.panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--teal); opacity: .9;
  clip-path: polygon(8% 0, 15% 0, 32% 100%, 25% 100%);
}
.phone {
  width: min(340px, 100%); padding: 11px;
  background: #0A1620; border-radius: 46px;
  box-shadow: 0 40px 80px -30px rgba(5, 15, 22, .55);
}
.screen { overflow: hidden; background: var(--surface); border-radius: 36px; color: var(--ink); text-align: left; }
.notch { display: flex; justify-content: center; align-items: center; height: 30px; }
.notch i { display: block; width: 96px; height: 24px; background: #0A1620; border-radius: var(--r-pill); }

.as-head { display: flex; align-items: center; gap: 10px; padding: 6px 16px 12px; border-bottom: 1px solid var(--line); }
.as-dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--band); color: var(--band-ink); }
.as-dot .mark { width: 16px; height: 17px; }
.as-head strong { display: block; font: 600 .92rem/1.2 var(--text); }
.as-head small { color: var(--teal-text); font-size: .75rem; font-weight: 600; }

.as-listing {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  margin: 14px 14px 0; padding: 12px; border-radius: var(--r-md);
  background: var(--tint); text-align: center;
}
.as-title { grid-column: 1 / -1; margin-bottom: 6px; text-align: left; font-size: .85rem; font-weight: 600; }
.as-listing b { display: block; font: 600 1rem/1.3 var(--text); font-variant-numeric: tabular-nums; }
.as-listing span { color: var(--muted); font-size: .7rem; }

/* A fixed-height conversation that scrolls like a real chat. Children must not
   shrink: in a fixed-height column flex would squash the bubbles. */
.as-chat {
  display: flex; flex-direction: column; gap: 9px; height: 300px; padding: 14px 14px 8px;
  overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; scrollbar-width: none;
  font-size: .875rem;
}
.as-chat::-webkit-scrollbar { display: none; }
.as-chat > * { flex: none; }
.msg { max-width: 88%; padding: 9px 13px; border-radius: 18px; line-height: 1.4; }
.msg.in { align-self: flex-start; background: var(--tint); border-bottom-left-radius: 5px; }
.msg.out { align-self: flex-end; background: var(--teal); color: var(--on-teal); border-bottom-right-radius: 5px; }
.slots { display: flex; flex-wrap: wrap; gap: 6px; }
.slot {
  min-height: 44px; padding: 8px 14px;
  border: 1px solid var(--teal-text); border-radius: var(--r-pill);
  background: transparent; color: var(--teal-text);
  font: 500 .8rem/1 var(--text); cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.slot:hover { background: var(--teal-soft); }

/* Added by main.js as the conversation moves on. Motion answers the visitor's
   own click: a message rises in, the assistant "types", then replies. */
.fresh { animation: rise .28s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.typing { display: flex; gap: 5px; width: fit-content; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite both; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

/* The message bar is part of the illustration: the demo answers to the slots only. */
.as-compose {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 6px 14px 16px; padding: 6px 6px 6px 16px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  color: var(--muted); font-size: .85rem;
}
.as-send { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: var(--on-teal); }
.as-send svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }

.caption { max-width: 60ch; margin: 18px auto 0; color: var(--muted); font-size: .85rem; text-align: center; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.block { padding-block: clamp(64px, 9vw, 104px); }
.tint { background: var(--tint); }
#services { margin-top: clamp(40px, 6vw, 64px); }

.sec-head { display: grid; gap: 16px; max-width: 44rem; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2, .ftext h2, .about h2, .final h2 { font-size: clamp(1.9rem, 3.7vw, 2.85rem); line-height: 1.1; letter-spacing: -.015em; }
.sec-head p { color: var(--muted); font-size: 1.1rem; }

/* Services overview */
.bento { display: grid; gap: 16px; }
.tile {
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
  padding: 32px 30px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.tile h3 { font-size: 1.5rem; line-height: 1.15; }
.tile p { color: var(--muted); }
.tile .link { align-self: flex-start; margin-top: auto; }
.tile.dark { background: var(--band); border-color: transparent; color: var(--band-ink); }
.tile.dark p { color: var(--band-muted); }
.tile.dark .link { color: var(--band-accent); }
@media (min-width: 760px) { .bento { grid-template-columns: 1fr 1fr; } }

/* Feature rows */
.frow { display: grid; gap: 44px; align-items: center; }
@media (min-width: 880px) {
  .frow { grid-template-columns: 1fr 1fr; gap: 72px; }
  .frow.rev .ftext { order: 2; }
}
.ftext > p { max-width: 46ch; margin-top: 18px; color: var(--muted); font-size: 1.08rem; }
.ftext .btn { margin-top: 28px; }
.checks { display: grid; gap: 12px; margin-top: 26px; max-width: 46ch; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: 0 0 7px; height: 7px; margin-top: .62em; background: var(--teal); }
.ftext .link { margin-top: 20px; }

/* Illustrated panels. Decorative: aria-hidden in the markup. */
.mock {
  min-width: 0; padding: 24px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  box-shadow: 0 20px 40px -30px rgba(5, 15, 22, .3);
}
.mock-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; color: var(--muted); font-size: .8rem; }
.mock-h b { color: var(--ink); font: 600 .95rem/1.2 var(--text); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.pill { padding: 3px 10px; border-radius: var(--r-pill); background: var(--teal-soft); color: var(--teal-text); font-size: .72rem; font-weight: 600; white-space: nowrap; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpis div { padding: 12px; border-radius: var(--r-md); background: var(--tint); }
.kpis small { color: var(--muted); font-size: .75rem; font-weight: 500; }
.kpis i { display: block; height: 6px; margin-top: 10px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.kpis i::after { content: ""; display: block; height: 100%; width: var(--fill, 78%); background: var(--teal); border-radius: inherit; }
.kpis div:nth-child(2) { --fill: 62%; }
.kpis div:nth-child(3) { --fill: 90%; }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 112px; margin-top: 18px; padding-top: 6px; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; border-radius: 6px 6px 0 0; background: var(--teal-soft); }
.bars i:nth-child(1) { height: 40%; }
.bars i:nth-child(2) { height: 55%; }
.bars i:nth-child(3) { height: 48%; }
.bars i:nth-child(4) { height: 70%; }
.bars i:nth-child(5) { height: 62%; }
.bars i:nth-child(6) { height: 88%; background: var(--teal); }
.bars i:nth-child(7) { height: 76%; }

.doc { display: grid; grid-template-columns: .9fr 1.1fr; gap: 14px; }
@media (max-width: 460px) { .doc { grid-template-columns: 1fr; } }
.paper { display: grid; gap: 8px; align-content: start; padding: 14px; border-radius: var(--r-md); background: var(--tint); }
.paper i { display: block; height: 7px; border-radius: 4px; background: var(--line); }
.paper i:nth-child(3n + 1) { width: 62%; }
.paper i:nth-child(3n + 2) { width: 88%; }
.paper i:nth-child(3n) { width: 74%; }
.paper i.hl { background: color-mix(in srgb, var(--teal) 45%, transparent); }

.plan { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 58px); gap: 6px; }
.plan div { border-radius: var(--r-sm); background: var(--tint); }
.plan .big {
  grid-column: span 2; grid-row: span 2; background-color: var(--teal-soft);
  background-image: radial-gradient(circle, color-mix(in srgb, var(--teal) 35%, transparent) 2px, transparent 2.5px);
  background-size: 16px 16px;
}
.plan .wide { grid-column: span 2; }

/* Automation cards */
.auto-items { display: grid; gap: 12px; }
@media (min-width: 560px) { .auto-items { grid-template-columns: 1fr 1fr; } }
.auto-items li {
  min-width: 0; padding: 24px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.auto-items h3 { margin-bottom: 8px; font: 600 1.25rem/1.25 var(--display); }
.auto-items p { color: var(--muted); font-size: .95rem; }

/* Store */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.store-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .store-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .store-grid { grid-template-columns: repeat(3, 1fr); } }
.store-card {
  display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--r-lg);
  color: inherit; text-decoration: none;
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.store-card:hover, .store-card:focus-visible { transform: translateY(-4px); border-color: var(--teal); }
.store-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--tint); }
.store-body { display: grid; gap: 8px; align-content: start; padding: 24px 26px 28px; }
.store-body small { color: var(--teal-text); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.store-body strong { font: 600 1.5rem/1.2 var(--display); }
.store-body span { color: var(--muted); }
.store-body em { margin-top: 6px; color: var(--teal-text); font-style: normal; font-weight: 600; }

/* About band */
.about { padding-block: clamp(72px, 10vw, 112px); background: var(--band); color: var(--band-ink); }
.about .wrap { display: grid; gap: 56px; }
@media (min-width: 900px) { .about .wrap { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.prose { display: grid; gap: 16px; max-width: 60ch; margin-top: 22px; color: var(--band-muted); }
.prose p:first-child { color: var(--band-ink); font-size: 1.15rem; }
.facts { margin: 0; border-top: 1px solid color-mix(in srgb, var(--band-muted) 35%, transparent); }
.facts div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid color-mix(in srgb, var(--band-muted) 35%, transparent); }
.facts dt { color: var(--band-muted); font-size: .85rem; }
.facts dd { margin: 0; font: 600 1.2rem/1.3 var(--display); }

/* Method */
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  display: grid; gap: 10px; align-content: start; min-width: 0;
  padding: 28px 24px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--bg); font: 600 .95rem/1 var(--text);
}
.step h3 { font-size: 1.25rem; }
.step p { color: var(--muted); font-size: .95rem; }
.commit { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 760px) { .commit { grid-template-columns: repeat(3, 1fr); } }
.commit li { padding: 24px; border-radius: var(--r-lg); background: var(--teal-soft); }
.commit h3 { margin-bottom: 6px; font: 600 1.25rem/1.3 var(--display); }
.commit p { color: var(--muted); font-size: .95rem; }

/* FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 64px; padding-block: 18px; cursor: pointer; list-style: none;
  font: 600 1.15rem/1.35 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--teal-text); font: 400 1.6rem/1 var(--text); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 66ch; padding-bottom: 22px; color: var(--muted); }

/* Contact */
.final { padding-block: 24px clamp(64px, 9vw, 96px); }
.final-card { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: var(--band); color: var(--band-ink); }
.final-card::before {
  content: ""; position: absolute; z-index: -1; top: 0; right: -40px; bottom: 0; width: 220px;
  background: var(--teal); opacity: .9; clip-path: polygon(0 0, 35% 0, 100% 100%, 65% 100%);
}
.final-in { display: grid; gap: 44px; padding: 48px 24px; }
@media (min-width: 900px) { .final-in { grid-template-columns: .9fr 1.1fr; padding: 72px 64px; } }
.intro > p { max-width: 42ch; margin-top: 18px; color: var(--band-muted); font-size: 1.05rem; }
.contact-list { display: grid; gap: 18px; margin-top: 30px; }
.contact-list small { display: block; color: var(--band-muted); font-size: .85rem; }
.contact-list a, .contact-list span { color: var(--band-ink); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-list a:hover { text-decoration: underline; }

.form { display: grid; gap: 16px; min-width: 0; padding: 26px; border-radius: var(--r-lg); background: var(--surface); color: var(--ink); }
.row2 { display: grid; gap: 16px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; font-size: .875rem; font-weight: 600; }
.field em { color: var(--muted); font-style: normal; font-weight: 400; }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%; padding: 13px 14px;
  border: 1px solid transparent; border-radius: var(--r-md);
  background: var(--tint); color: var(--ink); font: 400 1rem/1.4 var(--text);
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:hover, .form textarea:hover { border-color: var(--line); }
.form input:focus, .form textarea:focus { border-color: var(--teal-text); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 22%, transparent); }
.form [aria-invalid="true"] { border-color: var(--err); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.chips legend { margin-bottom: 8px; padding: 0; font-size: .875rem; font-weight: 600; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--tint);
  font-size: .9rem; font-weight: 500;
}
.chip input:checked + span { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.chip input:focus-visible + span { outline: 2px solid var(--teal-text); outline-offset: 2px; }
.err { min-height: 1.3em; color: var(--err); font-size: .9rem; font-weight: 500; }
.form .btn { justify-self: start; }
.result { display: grid; gap: 12px; padding: 16px; border-radius: var(--r-md); background: var(--teal-soft); font-size: .9rem; }
.result p { font-weight: 600; }
.result pre { margin: 0; white-space: pre-wrap; font: 400 .875rem/1.5 var(--text); }
.result .btn { justify-self: start; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.foot { background: var(--tint); color: var(--muted); font-size: .9rem; }
.foot .wrap { padding-block: 56px 32px; }
.fcols { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 820px) { .fcols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
@media (max-width: 819px) { .fbrand { grid-column: 1 / -1; } }
.fhead { margin-bottom: 8px; color: var(--ink); font: 600 .95rem/1.3 var(--text); }
.fcols li a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.fcols li a:hover { color: var(--ink); text-decoration: underline; }
.fbrand .logo { width: 120px; height: 24px; }
.fbrand p { margin-top: 16px; color: var(--ink); font: 600 1.05rem/1.4 var(--display); }
.fbrand span { display: block; margin-top: 4px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.legal a:hover { color: var(--ink); text-decoration: underline; }
