/* =========================================================
   Nishop Booking — design system (base)
   tokens · reset · typography · layout · components
   ========================================================= */

:root {
  /* brand */
  --brand-50: #EEF3FF;
  --brand-100: #DCE7FF;
  --brand-500: #3B6EF6;
  --brand-600: #2A5AE0;
  --brand-700: #1F45B8;
  --brand-800: #173589;

  /* ink / dark surfaces */
  --ink-950: #070C17;
  --ink-900: #0B1220;
  --ink-850: #0E1728;
  --ink-800: #131E33;
  --ink-700: #1D2A44;
  --ink-600: #2C3B58;

  /* neutrals */
  --paper: #FFFFFF;
  --paper-2: #F6F8FC;
  --paper-3: #EDF1F8;
  --line: #E3E9F3;
  --line-strong: #CFD8E8;

  --text: #0E1726;
  --text-body: #45536B;
  --text-muted: #6C7A93;
  --text-invert: #F4F7FC;
  --text-invert-muted: #A9B6CD;

  /* accents */
  --accent: #FFB43D;
  --success: #0FA968;
  --danger: #D93F4C;

  /* type */
  --font-sans: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;

  --fs-display: clamp(2.35rem, 1.6rem + 3.4vw, 4rem);
  --fs-h1: clamp(2rem, 1.45rem + 2.4vw, 3.1rem);
  --fs-h2: clamp(1.7rem, 1.3rem + 1.7vw, 2.4rem);
  --fs-h3: clamp(1.2rem, 1.06rem + 0.6vw, 1.45rem);
  --fs-h4: 1.075rem;
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* spacing */
  --section-y: clamp(3.75rem, 2.5rem + 5vw, 6.5rem);
  --container: 1180px;
  --gutter: clamp(1.15rem, 0.9rem + 1.2vw, 2rem);

  /* shape & shadow */
  --radius-sm: 7px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.05), 0 4px 14px rgba(11, 18, 32, 0.05);
  --shadow: 0 10px 30px rgba(11, 18, 32, 0.09);
  --shadow-lg: 0 24px 60px rgba(11, 18, 32, 0.16);

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.45s;

  --header-h: 68px;
}

/* ---------- reset ---------- */

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
  margin: 0 0 0.5em;
  color: var(--text);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 650;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--brand-100); color: var(--brand-800); }

/* ---------- utilities ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--brand-600);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; text-decoration: none; }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 0.9rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-body);
}

.text-center { text-align: center; }

/* ---------- sections ---------- */

.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-alt { background: var(--paper-2); }
.section-dark {
  background: var(--ink-900);
  color: var(--text-invert-muted);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--text-invert); }
.section-dark .eyebrow { color: #86A6FF; }
.section-dark .section-lede { color: var(--text-invert-muted); }

.section-header { max-width: 720px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-header.text-center { margin-inline: auto; }
.section-title { margin-bottom: 0.55rem; }
.section-lede {
  font-size: 1.09rem;
  color: var(--text-body);
  margin: 0;
}
.section-dark .section-lede { color: var(--text-invert-muted); }

/* ---------- buttons ---------- */

.btn {
  --btn-bg: var(--brand-600);
  --btn-fg: #fff;
  --btn-border: var(--brand-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78em 1.35em;
  min-height: 46px;
  border: 1.5px solid var(--btn-border);
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn:active { transform: translateY(0); }

.btn-primary:hover { --btn-bg: var(--brand-700); --btn-border: var(--brand-700); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-border: var(--line-strong);
}
.btn-ghost:hover { --btn-border: var(--brand-600); --btn-fg: var(--brand-700); }

.btn-light {
  --btn-bg: #fff;
  --btn-fg: var(--ink-900);
  --btn-border: #fff;
}
.btn-light:hover { --btn-bg: var(--paper-3); --btn-border: var(--paper-3); }

.btn-outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-border: rgba(255, 255, 255, 0.4);
}
.btn-outline-light:hover { --btn-border: #fff; --btn-bg: rgba(255, 255, 255, 0.08); }

.btn-dark {
  --btn-bg: var(--ink-900);
  --btn-fg: #fff;
  --btn-border: var(--ink-900);
}
.btn-dark:hover { --btn-bg: var(--ink-800); --btn-border: var(--ink-800); }

.btn-lg { min-height: 54px; padding: 0.85em 1.7em; font-size: 1rem; }
.btn-sm { min-height: 38px; padding: 0.55em 1em; font-size: var(--fs-xs); border-radius: 8px; }
.btn-block { width: 100%; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--brand-600);
}
.btn-link::after { content: "\2192"; transition: transform 0.2s var(--ease); }
.btn-link:hover { text-decoration: none; }
.btn-link:hover::after { transform: translateX(4px); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.9rem;
}

/* ---------- badges / chips ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35em 0.75em;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.4;
}
.badge-accent { background: #FFF6E5; border-color: #FFE7BE; color: #8A5B00; }
.badge-dark { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); color: var(--text-invert); }

/* labels illustrative/demo content */
.mock-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--paper-3);
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  padding: 0.28em 0.7em;
}
.mock-label::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.section-dark .mock-label {
  color: var(--text-invert-muted);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(11, 18, 32, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand-name strong { font-weight: 700; }
.brand-mark { display: flex; }

.nav-desktop { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: block;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  color: var(--text-body);
  font-size: var(--fs-sm);
  font-weight: 550;
}
.nav-list a:hover { color: var(--text); background: var(--paper-2); text-decoration: none; }
.nav-list a[aria-current="page"] { color: var(--brand-700); background: var(--brand-50); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
.header-audience {
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-body);
}
.header-audience:hover { background: var(--paper-2); color: var(--text); text-decoration: none; }
.header-audience[aria-current="page"] { color: var(--brand-700); background: var(--brand-50); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--paper);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-toggle-bars { display: grid; gap: 4px; }
.nav-toggle-bars span {
  display: block;
  width: 17px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding-block: 0.9rem 1.4rem;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile-list { list-style: none; margin: 0; padding: 0; }
.nav-mobile-list a {
  display: block;
  padding: 0.85rem 0.4rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-weight: 550;
}
.nav-mobile-list a:hover, .nav-mobile-list a[aria-current="page"] { color: var(--brand-700); text-decoration: none; }
.nav-mobile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink-950);
  color: var(--text-invert-muted);
  padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem) 2rem;
  font-size: var(--fs-sm);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding-bottom: 2.4rem;
  margin-bottom: 2.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-tagline {
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem);
  font-weight: 650;
  color: var(--text-invert);
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
  max-width: 34ch;
}
.footer-sub { margin: 0; max-width: 46ch; color: var(--text-invert-muted); }
.footer-action-buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.footer-columns {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}
.footer-heading {
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-invert);
  margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 0.55rem; }
.footer-col a { color: var(--text-invert-muted); }
.footer-col a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: #7C89A3;
}
.footer-bottom p { margin: 0; }

/* ---------- cards & grids ---------- */

.grid { display: grid; gap: clamp(1rem, 0.8rem + 1vw, 1.6rem); }
.grid > *, .split > *, .hero-inner > *, .feature-row > *, .steps > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.card h3 { font-size: 1.14rem; margin-bottom: 0.45rem; }
.card p { font-size: var(--fs-sm); margin-bottom: 0; }
.card-link { display: block; color: inherit; }
.card-link:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-100); }

.card-icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--brand-50);
  color: var(--brand-600);
  margin-bottom: 1.05rem;
}
.card-icon svg { width: 22px; height: 22px; }
.section-dark .card {
  background: var(--ink-850);
  border-color: rgba(255, 255, 255, 0.09);
}
.section-dark .card:hover { border-color: rgba(255, 255, 255, 0.2); }
.section-dark .card-icon { background: rgba(59, 110, 246, 0.16); color: #9BB8FF; }

/* check list */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: var(--fs-sm);
  margin-bottom: 0.7rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.34em;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--brand-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.3l2.4 2.4 5-5.4' fill='none' stroke='%232A5AE0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 16px 16px;
}
.check-list.check-cross li::before {
  background-color: #FDECEE;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.2 5.2l5.6 5.6M10.8 5.2l-5.6 5.6' fill='none' stroke='%23D93F4C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.check-list.check-off li { color: var(--text-muted); }
.section-dark .check-list li::before { background-color: rgba(59, 110, 246, 0.2); }

/* ---------- FAQ accordion ---------- */

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { margin: 0; font-size: inherit; letter-spacing: normal; }
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.2rem 0.25rem;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.4;
}
.faq-trigger:hover { color: var(--brand-700); }
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 26px; height: 26px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 11px; height: 1.8px;
  background: var(--text-body);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-trigger[aria-expanded="true"] .faq-icon { background: var(--brand-600); border-color: var(--brand-600); }
.faq-trigger[aria-expanded="true"] .faq-icon::before,
.faq-trigger[aria-expanded="true"] .faq-icon::after { background: #fff; }
.faq-trigger[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
.faq-answer { padding: 0 2.5rem 1.3rem 0.25rem; font-size: var(--fs-sm); color: var(--text-body); }
.faq-answer[hidden] { display: none; }

/* ---------- CTA panel ---------- */

.section-cta { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.cta-panel {
  background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-600) 55%, #3E6BF0 100%);
  border-radius: var(--radius-lg);
  padding: clamp(1.9rem, 1.4rem + 2.6vw, 3.4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  color: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}
.cta-title { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); margin-bottom: 0.45rem; max-width: 20ch; }
.cta-text { margin: 0; max-width: 52ch; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.8rem, 2.2rem + 3vw, 4.75rem);
}
.page-hero-title { max-width: 18ch; margin-bottom: 0.75rem; }
.page-hero-lede { max-width: 62ch; font-size: 1.12rem; color: var(--text-body); margin: 0; }

/* ---------- tables ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  background: var(--paper);
}
table.data th, table.data td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
table.data thead th {
  background: var(--paper-2);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
table.data tbody tr:last-child th, table.data tbody tr:last-child td { border-bottom: 0; }
table.data td.is-center, table.data th.is-center { text-align: center; }

.tick { color: var(--success); font-weight: 700; }
.cross { color: var(--text-muted); }

/* ---------- forms ---------- */

.form-grid { display: grid; gap: 1.15rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 650;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: var(--paper);
  color: var(--text);
  font: inherit;
  font-size: var(--fs-sm);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(59, 110, 246, 0.15);
}
.field-hint { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 0.35rem; }
.field-error {
  display: none;
  font-size: var(--fs-xs);
  color: var(--danger);
  margin-top: 0.35rem;
  font-weight: 600;
}
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field.has-error .field-error { display: block; }

.form-status {
  display: none;
  margin-top: 1.15rem;
  padding: 0.95rem 1.1rem;
  border-radius: 10px;
  background: #E9F8F1;
  border: 1px solid #BCE8D5;
  color: #0A6B45;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.form-status.is-visible { display: block; }

/* ---------- reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .header-audience { display: none; }
}

@media (max-width: 940px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-ghost { display: none; }
  .footer-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  :root { --header-h: 60px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
  .footer-actions { flex-direction: column; align-items: flex-start; }
  .cta-panel { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; }
  .header-actions .btn-primary { display: none; }
}

@media (max-width: 420px) {
  .footer-columns { grid-template-columns: minmax(0, 1fr); }
  .nav-mobile-actions { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- get-started chooser (modal) ---------- */

body.chooser-open { overflow: hidden; }

.chooser {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
}
.chooser[hidden] { display: none; }

.chooser-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 12, 23, 0.55);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.chooser.is-open .chooser-backdrop { opacity: 1; }

.chooser-dialog {
  position: relative;
  width: min(780px, 100%);
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) + 6px);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.chooser.is-open .chooser-dialog { opacity: 1; transform: none; }
.chooser-dialog:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: calc(var(--radius-lg) + 6px);
}

@keyframes chooser-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.chooser-x {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: none;
  background: var(--paper-2);
  border-radius: 10px;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.chooser-x:hover { background: var(--paper-3); color: var(--text); }
.chooser-x svg { width: 17px; height: 17px; }

.chooser-head { text-align: center; margin-bottom: 1.4rem; padding-inline: 1.4rem; }
.chooser.is-open .chooser-head { animation: chooser-in 0.45s var(--ease) both; }

.chooser-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-xs);
  font-weight: 650;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 0.35rem 0.8rem;
  border-radius: 99px;
}
.chooser-badge svg { width: 14px; height: 14px; }

.chooser-head h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
  margin: 0.75rem 0 0.4rem;
}
.chooser-lede { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }

.chooser-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.chooser-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem 1.2rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  color: var(--text-body);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.chooser.is-open .chooser-card { animation: chooser-in 0.5s var(--ease) both; }
.chooser.is-open .chooser-card:nth-child(2) { animation-delay: 0.1s; }
.chooser-card:hover {
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.chooser-ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 0.7rem;
  color: #fff;
}
.chooser-ico svg { width: 22px; height: 22px; }
.chooser-card--customer .chooser-ico {
  background: linear-gradient(135deg, #14c98a, var(--success));
  box-shadow: 0 8px 18px rgba(15, 169, 104, 0.3);
}
.chooser-card--org .chooser-ico {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  box-shadow: 0 8px 18px rgba(42, 90, 224, 0.32);
}

.chooser-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--text-muted);
}
.chooser-card--customer .chooser-kicker { color: var(--success); }
.chooser-card--org .chooser-kicker { color: var(--brand-600); }

.chooser-title {
  font-size: 1.08rem;
  font-weight: 650;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-top: 0.2rem;
}
.chooser-text {
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: var(--text-muted);
  margin-top: 0.3rem;
}
.chooser-go {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  margin-top: 0.9rem;
  color: var(--brand-600);
}
.chooser-card--customer .chooser-go { color: var(--success); }
.chooser-go svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.chooser-card:hover .chooser-go svg { transform: translateX(4px); }

.chooser-foot {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin: 1.25rem 0 0;
}

@media (max-width: 640px) {
  .chooser-grid { grid-template-columns: minmax(0, 1fr); }
  .chooser-dialog { padding: 1.35rem 1.05rem 1.4rem; }
  .chooser-head { padding-inline: 0.6rem; margin-bottom: 1.1rem; }
  .chooser-x { top: 0.65rem; right: 0.65rem; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
