/* Haebix Franchise Landing Page — design tokens from the Figma mockup (ViaAXj111zYXont0Tj1E5v) */
:root {
  --brand-primary: #1F2A5C;
  --brand-primary-dark: #141C40;
  --brand-primary-soft: #E8EAF6;
  --accent-amber: #F5A524;
  --accent-amber-soft: #FDEBC8;
  --cta-bg: #C2410C;
  --cta-hover: #9A3412;
  --cta-pressed: #7C2D12;
  --surface-white: #FFFFFF;
  --surface-cream: #FFF7EC;
  --surface-muted: #F4F2EE;
  --text-primary: #1F2328;
  --text-secondary: #555B66;
  --text-inverse: #FFFFFF;
  --text-on-navy: #D5D8EA;
  --text-footer: #C9CDE3;
  --border-default: #E2DED6;
  --border-focus: #1F2A5C;
  --state-error: #B42318;
  --state-error-soft: #FDECEA;
  --state-success: #157347;
  --state-success-soft: #E7F5EC;
  --state-disabled-bg: #DAD7D1;
  --state-disabled-text: #6B6860;
  --flag-bg: #FFF1C2;
  --flag-text: #7A4D00;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-card: 0 6px 20px rgba(31, 42, 92, .08);
  --shadow-elevated: 0 18px 48px rgba(31, 42, 92, .16);
  --font-head: 'Nunito', ui-rounded, system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: 16px;
  --header-h: 68px;
  --sec-pad: 56px;
  --container: 1200px;
}

@media (min-width:768px) {
  :root {
    --gutter: 24px;
    --sec-pad: 72px
  }
}

@media (min-width:1200px) {
  :root {
    --gutter: 32px;
    --header-h: 84px;
    --sec-pad: 96px
  }
}

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

* {
  margin: 0;
  padding: 0
}

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--surface-white);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 84px
}

@media (min-width:1024px) {
  body {
    padding-bottom: 0
  }
}

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

ul,
ol {
  list-style: none
}

a {
  color: inherit;
  text-decoration: none
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit
}

button {
  cursor: pointer;
  background: none;
  border: 0
}

[hidden] {
  display: none !important
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden
}

.icon {
  display: block;
  flex: none
}

:focus-visible {
  outline: 3px solid var(--accent-amber);
  outline-offset: 2px
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--brand-primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700
}

.skip-link:focus {
  top: 12px
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter)
}

/* Review mode (?review=1) shows the Figma placeholders that still need Haebix confirmation */
html:not(.review) [data-pending] {
  display: none !important
}

.ctc {
  display: inline-flex;
  align-items: center;
  background: var(--flag-bg);
  color: var(--flag-text);
  border: 1px dashed #D9A300;
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .2px;
  text-transform: uppercase;
  vertical-align: middle;
  width: max-content;
  max-width: 100%;
  white-space: normal
}

/* Typography */
h1,
h2,
h3 {
  font-family: var(--font-head);
  color: var(--brand-primary-dark)
}

.h1 {
  font-size: 34px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.3px
}

.h2 {
  font-size: 28px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -.2px
}

.h3 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700
}

.lead {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-secondary)
}

.body-m {
  font-size: 16px;
  color: var(--text-secondary)
}

.small {
  font-size: 14px;
  color: var(--text-secondary)
}

.overline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--cta-bg);
  display: flex;
  align-items: center;
  gap: 8px
}

.overline::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent-amber);
  border-radius: 2px;
  flex: none
}

.overline--amber {
  color: var(--accent-amber)
}

.overline--center {
  justify-content: center
}

.note {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap
}

.note--center {
  justify-content: center
}

.annot {
  font-size: 12px;
  font-weight: 600;
  color: #6B4FA0;
  background: #F1ECFA;
  border: 1px dashed #A68BD6;
  border-radius: 8px;
  padding: 6px 10px;
  display: inline-flex;
  gap: 6px;
  align-items: center
}

@media (min-width:768px) {
  .h1 {
    font-size: 44px
  }

  .h2 {
    font-size: 34px
  }

  .lead {
    font-size: 18px
  }

  .overline {
    font-size: 13px
  }

  .h3 {
    font-size: 20px
  }
}

@media (min-width:1200px) {
  .h1 {
    font-size: 52px;
    line-height: 1.15;
    letter-spacing: -.5px
  }

  .h2 {
    font-size: 38px;
    line-height: 1.2;
    letter-spacing: -.3px
  }

  .h3 {
    font-size: 22px
  }
}

.hide-sm {
  display: none
}

@media (min-width:768px) {
  .hide-sm {
    display: inline
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
  cursor: pointer;
  text-align: center
}

.btn-primary {
  background: var(--cta-bg);
  color: #fff
}

.btn-primary:hover {
  background: var(--cta-hover)
}

.btn-primary:active {
  background: var(--cta-pressed)
}

.btn-primary[disabled] {
  background: var(--state-disabled-bg);
  color: var(--state-disabled-text);
  cursor: not-allowed
}

.btn-secondary {
  background: transparent;
  color: var(--brand-primary);
  border-color: var(--brand-primary)
}

.btn-secondary:hover {
  background: var(--brand-primary-soft)
}

.btn-secondary:active {
  background: #D3D7EE;
  border-color: var(--brand-primary-dark)
}

.btn-white {
  background: #fff;
  color: var(--brand-primary)
}

.btn-white:hover {
  background: var(--brand-primary-soft)
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .7)
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .12)
}

.btn-full {
  width: 100%
}

.btn-sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--border-default);
  box-shadow: 0 2px 12px rgba(31, 42, 92, .05);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px)
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 44px
}

.logo img {
  width: 132px;
  height: auto
}

@media (min-width:1200px) {
  .logo img {
    width: 168px
  }
}

.primary-nav {
  display: none
}

.primary-nav ul {
  display: flex;
  gap: 36px
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  transition: color .15s
}

.nav-link:hover {
  color: var(--brand-primary)
}

.nav-link.is-active {
  font-weight: 700;
  color: var(--brand-primary)
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent-amber);
  border-radius: 2px
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px
}

.header-cta {
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px
}

.header-cta .icon {
  display: none
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--border-default);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  background: #fff
}

.menu-toggle .i-close {
  display: none
}

.menu-toggle[aria-expanded="true"] .i-open {
  display: none
}

.menu-toggle[aria-expanded="true"] .i-close {
  display: block
}

.mobile-menu {
  border-top: 1px solid var(--border-default);
  background: #fff;
  padding: 8px var(--gutter) 20px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  box-shadow: 0 18px 30px rgba(31, 42, 92, .12)
}

.mobile-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 1px solid var(--surface-muted)
}

.mobile-menu-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px
}

@media (min-width:1200px) {
  .primary-nav {
    display: block
  }

  .menu-toggle,
  .mobile-menu {
    display: none !important
  }

  .header-cta {
    min-height: 48px;
    padding: 0 26px;
    font-size: 16px
  }

  .header-cta .icon {
    display: block
  }
}

@media (max-width:359px) {
  .header-cta {
    padding: 0 12px;
    font-size: 13px
  }

  .logo img {
    width: 108px
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface-cream) 0%, #FFFDF9 100%);
  padding: 32px 0 72px
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none
}

.hero-blob--a {
  width: 220px;
  height: 220px;
  right: -90px;
  top: -60px;
  background: var(--brand-primary-soft);
  opacity: .7
}

.hero-blob--b {
  width: 280px;
  height: 280px;
  left: -80px;
  bottom: -120px;
  background: var(--accent-amber-soft);
  display: none
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 16px
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0
}

.trust-line {
  display: flex;
  gap: 8px 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary)
}

.trust-line .icon {
  color: var(--state-success)
}

.hero-ctas {
  display: none;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px
}

.hero-photo {
  margin-top: 4px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 358/200;
  background: var(--surface-muted)
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero-form {
  min-width: 0;
  scroll-margin-top: calc(var(--header-h) + 12px)
}

@media (min-width:768px) {
  .hero {
    padding: 48px 0 88px
  }

  .hero-blob--a {
    width: 420px;
    height: 420px;
    right: -140px;
    top: -140px
  }

  .hero-blob--b {
    display: block
  }

  .hero-ctas {
    display: flex
  }

  .hero-photo {
    aspect-ratio: 724/380
  }

  .hero-form {
    max-width: 560px;
    width: 100%;
    justify-self: center
  }

  .trust-line {
    font-size: 15px
  }
}

@media (min-width:1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 40px;
    align-items: start
  }

  .hero-content {
    gap: 24px;
    padding-top: 16px
  }

  .hero-form {
    max-width: none
  }
}

@media (min-width:1200px) {
  .hero {
    padding: 64px 0 80px
  }

  .hero-blob--a {
    width: 520px;
    height: 520px;
    right: -120px;
    top: -140px
  }

  .hero-grid {
    grid-template-columns: minmax(0, 724px) 420px;
    gap: 56px;
    justify-content: space-between
  }

  .hero-photo {
    margin-top: 12px
  }
}

/* Form card */
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px
}

@media (min-width:768px) {
  .form-card {
    padding: 32px
  }
}

.form-head {
  display: flex;
  flex-direction: column;
  gap: 4px
}

.form-head h2 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2
}

@media (min-width:768px) {
  .form-head h2 {
    font-size: 26px
  }
}

.form-head p {
  font-size: 14px;
  color: var(--text-secondary)
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0
}

.field>label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary)
}

.opt {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 12px
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.input {
  width: 100%;
  min-height: 48px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-default);
  background: #fff;
  padding: 0 14px;
  font-size: 16px;
  color: var(--text-primary);
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none
}

.input::placeholder {
  color: #8A8F99;
  opacity: 1
}

.input:focus,
.input-prefix:focus-within {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(31, 42, 92, .14)
}

.input-prefix {
  display: flex;
  align-items: center;
  gap: 10px
}

.input-prefix input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  min-height: 44px;
  font-size: 16px
}

.input-prefix input::placeholder {
  color: #8A8F99
}

.prefix {
  color: var(--text-primary);
  font-weight: 600;
  padding-right: 10px;
  border-right: 1px solid var(--border-default);
  line-height: 1.4
}

.select-wrap {
  position: relative
}

.select-wrap select {
  padding-right: 40px;
  cursor: pointer;
  text-overflow: ellipsis
}

.select-wrap select:invalid,
.select-wrap select.is-empty {
  color: #8A8F99
}

.select-wrap select option {
  color: var(--text-primary)
}

.select-wrap .chev {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  pointer-events: none
}

.select-wrap select:disabled {
  background: var(--surface-muted);
  cursor: not-allowed
}

.textarea {
  min-height: 88px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.5
}

.field.has-error .input,
.field.has-error .input-prefix {
  border-color: var(--state-error);
  background: #FFFBFA
}

.field.has-error .input-prefix input {
  background: transparent
}

.err {
  font-size: 13px;
  color: var(--state-error);
  font-weight: 500;
  display: flex;
  gap: 6px;
  align-items: flex-start
}

.msg-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 14px;
  min-height: 44px;
  align-self: flex-start;
  padding: 0
}

@media (max-width:767px) {
  .msg-field:not(.is-open) {
    display: none
  }
}

@media (min-width:768px) {
  .msg-toggle {
    display: none
  }
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative
}

.check input {
  position: absolute;
  opacity: 0;
  width: 24px;
  height: 24px;
  left: 0;
  top: 0;
  margin: 0;
  cursor: pointer
}

.check .box {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 1.5px solid var(--border-default);
  background: #fff;
  flex: none;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background-color .15s, border-color .15s
}

.check .box .icon {
  opacity: 0;
  stroke-width: 3
}

.check input:checked+.box {
  background: var(--brand-primary);
  border-color: var(--brand-primary)
}

.check input:checked+.box .icon {
  opacity: 1
}

.check input:focus-visible+.box {
  outline: 3px solid var(--accent-amber);
  outline-offset: 2px
}

.field.has-error .check .box {
  border-color: var(--state-error)
}

.field>label.check {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary)
}

.check a {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: underline
}

.check a:not([href]) {
  text-decoration: none;
  color: var(--text-primary)
}

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

.form-status {
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5
}

.form-status.is-error {
  background: var(--state-error-soft);
  color: var(--state-error)
}

.form-status.is-info {
  background: var(--brand-primary-soft);
  color: var(--brand-primary-dark)
}

.form-status .status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px
}

.form-status .status-actions .btn {
  min-height: 44px;
  font-size: 14px;
  padding: 0 16px
}

.submit-btn .i-spin {
  display: none;
  animation: spin .8s linear infinite
}

.submit-btn.is-loading .i-spin {
  display: block
}

.submit-btn.is-loading .i-arrow {
  display: none
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.form-note {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  text-align: center
}

/* Icon badges + cards */
.iconbadge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-amber-soft);
  color: var(--cta-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none
}

.iconbadge--sm {
  width: 44px;
  height: 44px;
  border-radius: 12px
}

.iconbadge--xs {
  width: 40px;
  height: 40px;
  border-radius: 10px
}

.iconbadge--navy {
  background: var(--brand-primary-soft);
  color: var(--brand-primary)
}

/* Stats */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  padding-bottom: 8px
}

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

html:not(.review) .stats-grid {
  grid-template-columns: minmax(1, 420px);
  justify-content: center
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  min-width: 0
}

.stat-card>div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0
}

.stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.1;
  color: var(--brand-primary-dark)
}

.stat-num.is-placeholder {
  color: #9A9488
}

.stat-label {
  font-weight: 600;
  font-size: 14px
}

.stats .note {
  margin-top: 14px
}

@media (min-width:768px) {
  .stat-card {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 24px
  }

  html:not(.review) .stat-card {
    justify-content: center
  }

  .stat-num {
    font-size: 40px
  }

  .stat-label {
    font-size: 15px
  }
}

@media (min-width:1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px
  }
}

/* Sections */
.sec {
  position: relative;
  padding: var(--sec-pad) 0
}

.cream {
  background: var(--surface-cream)
}

.navy {
  background: var(--brand-primary)
}

.sec-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px
}

.sec-head--center {
  align-items: center;
  text-align: center;
  margin: 0 auto
}

.sec-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap
}

/* About */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 24px
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0
}

.curriculum-ph {
  border: 1.5px dashed #D9A300;
  background: #FFFBEB;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-secondary)
}

.minis {
  display: grid;
  gap: 12px;
  margin-top: 4px
}

.mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--surface-cream);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  color: var(--brand-primary-dark)
}

.about-visual {
  position: relative;
  order: -1;
  margin: 0 4px
}

.about-img {
  position: relative;
  width: 100%;
  aspect-ratio: 358/200;
  object-fit: cover;
  border-radius: var(--radius-lg)
}

.deco {
  position: absolute;
  display: none
}

.deco-sq {
  right: -12px;
  top: -12px;
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: var(--accent-amber-soft)
}

.deco-ring {
  left: -14px;
  bottom: 30px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 10px solid var(--brand-primary-soft);
  z-index: 1
}

.float-chip {
  display: none;
  position: absolute;
  left: -24px;
  top: 56px;
  z-index: 2;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
  padding: 12px 16px;
  align-items: center;
  gap: 10px
}

.float-chip b {
  display: block;
  font-size: 14px;
  color: var(--brand-primary-dark)
}

.float-chip small {
  display: block;
  font-size: 12px;
  color: var(--text-secondary)
}

@media (min-width:768px) {
  .minis {
    grid-template-columns: repeat(3, 1fr)
  }

  .mini {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px
  }

  .about-img {
    aspect-ratio: 16/9
  }
}

@media (min-width:1024px) {
  .about-grid {
    flex-direction: row;
    align-items: center;
    gap: 56px
  }

  .about-content {
    flex: 1 1 0;
    gap: 20px
  }

  .about-visual {
    order: 0;
    flex: 0 0 44%;
    margin: 0;
    padding: 12px
  }

  .about-img {
    aspect-ratio: 516/476
  }

  .deco,
  .float-chip {
    display: flex
  }

  .deco-sq {
    display: block
  }

  .deco-ring {
    display: block
  }
}

@media (min-width:1200px) {
  .about-grid {
    gap: 72px
  }

  .about-content {
    max-width: 588px
  }

  .about-visual {
    flex-basis: 540px
  }
}

/* Why */
.why .container>.sec-head-row {
  margin-bottom: 28px
}

.feature-grid {
  display: grid;
  gap: 12px
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform .2s, box-shadow .2s, border-color .2s
}

.feature-card .iconbadge {
  width: 44px;
  height: 44px;
  border-radius: 12px
}

.feature-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0
}

.feature-body p {
  font-size: 14px;
  color: var(--text-secondary)
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cta-bg);
  font-weight: 700;
  font-size: 14px;
  margin-top: 6px
}

@media (hover:hover) {
  .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
    border-color: var(--accent-amber)
  }
}

@media (min-width:768px) {
  .why .container>.sec-head-row {
    margin-bottom: 40px
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px
  }

  .feature-card {
    flex-direction: column;
    padding: 24px
  }

  .feature-card .iconbadge {
    width: 52px;
    height: 52px;
    border-radius: 14px
  }
}

@media (min-width:1024px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
  }
}

@media (min-width:1200px) {
  .feature-grid {
    gap: 24px
  }

  .why .container>.sec-head-row {
    margin-bottom: 48px
  }
}

/* Investment */
.invest {
  overflow: hidden;
  color: #fff
}

.invest .h2 {
  color: #fff
}

.invest .lead {
  color: var(--text-on-navy)
}

.invest-ring {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 30px solid rgba(245, 165, 36, .18);
  pointer-events: none
}

.invest .container {
  position: relative
}

.invest-grid {
  display: grid;
  gap: 16px;
  margin: 28px 0
}

.invest-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-primary)
}

.invest-card .iconbadge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 8px
}

.invest-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary)
}

.invest-val {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.25;
  color: var(--brand-primary-dark)
}

.invest-sub {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  gap: 6px;
  align-items: center
}

.invest-foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch
}

.invest-foot p {
  font-size: 14px;
  color: var(--text-on-navy);
  display: flex;
  gap: 8px;
  align-items: flex-start
}

.invest-foot p .icon {
  margin-top: 2px
}

@media (min-width:768px) {
  .invest-ring {
    width: 260px;
    height: 260px;
    border-width: 40px
  }

  .invest-grid {
    grid-template-columns: repeat(3, 1fr);
    margin: 40px 0
  }

  .invest-card {
    padding: 24px
  }

  .invest-val {
    font-size: 20px
  }

  .invest-foot {
    flex-direction: row;
    justify-content: space-between;
    align-items: center
  }
}

@media (min-width:1200px) {
  .invest-val {
    font-size: 24px
  }
}

/* Journey */
.timeline {
  display: flex;
  flex-direction: column;
  margin-top: 32px;
  max-width: 520px
}

.step {
  position: relative;
  display: flex;
  gap: 16px;
  padding-bottom: 28px
}

.step:last-child {
  padding-bottom: 0
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 52px;
  bottom: 4px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--accent-amber) 0 8px, transparent 8px 14px)
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  position: relative;
  z-index: 1
}

.step--first .step-num {
  background: var(--cta-bg)
}

.step>div {
  padding-top: 2px
}

.step-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cta-bg)
}

.step-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35;
  color: var(--brand-primary-dark)
}

.journey .note {
  margin-top: 28px
}

@media (min-width:768px) {
  .timeline {
    margin: 40px auto 0
  }
}

@media (min-width:1024px) {
  .timeline {
    flex-direction: row;
    max-width: none;
    margin-top: 56px
  }

  .step {
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 0 8px
  }

  .step:not(:last-child)::after {
    left: 50%;
    right: -50%;
    top: 31px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--accent-amber) 0 8px, transparent 8px 14px)
  }

  .step-num {
    width: 64px;
    height: 64px;
    font-size: 24px;
    box-shadow: 0 0 0 8px #fff, 0 0 0 9px var(--border-default)
  }

  .step>div {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 12px
  }

  .step-title {
    font-size: 18px
  }

  .journey .note {
    margin-top: 48px
  }
}

/* Recognition (review mode only) */
.cond-flag {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1.5px dashed #D9A300;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 14px;
  color: #7A4D00;
  margin-bottom: 32px
}

.rec-grid {
  display: grid;
  gap: 24px
}

.rec-left {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.rating-card,
.review-card {
  background: #fff;
  border: 1.5px dashed #B9AF9D;
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 12px
}

.rating-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 44px;
  color: #9A9488;
  line-height: 1
}

.stars {
  display: flex;
  gap: 2px;
  color: #C9C1B2
}

.rec-reviews {
  display: grid;
  gap: 24px
}

.review-quote {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  color: var(--brand-primary-dark)
}

@media (min-width:1024px) {
  .rec-grid {
    grid-template-columns: 380px 1fr;
    gap: 48px
  }

  .rec-reviews {
    grid-template-columns: 1fr 1fr
  }
}

/* Gallery carousel */
.gallery .sec-head-row {
  margin-bottom: 24px
}

.car-arrows {
  display: none;
  gap: 12px
}

.arrowbtn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border-default);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  transition: background-color .15s, color .15s
}

.arrowbtn:hover {
  background: var(--brand-primary-soft)
}

.arrowbtn--solid {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff
}

.arrowbtn--solid:hover {
  background: var(--brand-primary-dark)
}

.carousel {
  position: relative;
  margin: 0 calc(-1 * var(--gutter))
}

.car-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  padding: 0 var(--gutter) 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain
}

.car-track::-webkit-scrollbar {
  display: none
}

.car-track:focus-visible {
  outline-offset: -3px
}

.g-tile {
  flex: 0 0 72%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0
}

.g-tile img {
  width: 100%;
  aspect-ratio: 282/340;
  object-fit: cover;
  border-radius: 20px;
  background: var(--surface-muted)
}

.g-tile p {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary)
}

.car-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 20px
}

.dots {
  display: flex;
  gap: 4px;
  align-items: center
}

.dots button {
  width: 28px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px
}

.dots button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: #CFCBC2;
  transition: width .2s, background-color .2s
}

.dots button[aria-selected="true"]::before {
  width: 24px;
  background: var(--brand-primary)
}

.dots--center {
  justify-content: center;
  margin-top: 24px
}

.dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #CFCBC2;
  display: block
}

.dots i.on {
  width: 24px;
  border-radius: 8px;
  background: var(--brand-primary)
}

.swipe-hint .icon {
  width: 14px;
  height: 14px
}

@media (min-width:768px) {
  .g-tile {
    flex-basis: calc((100% - 2 * var(--gutter) - 32px) / 2.6)
  }

  .car-arrows {
    display: flex
  }

  .gallery .sec-head-row {
    margin-bottom: 40px
  }
}

@media (min-width:1024px) {
  .carousel {
    margin: 0
  }

  .car-track {
    padding: 0 0 4px;
    scroll-padding: 0;
    gap: 24px
  }

  .g-tile {
    flex-basis: calc((100% - 72px) / 4)
  }

  .swipe-hint {
    display: none
  }
}

/* FAQs */
.faq-grid {
  display: grid;
  gap: 24px
}

.faq-intro {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0
}

.faq {
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  transition: border-color .2s, box-shadow .2s
}

.faq[open] {
  border: 1.5px solid var(--brand-primary);
  box-shadow: var(--shadow-card)
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  min-height: 56px
}

.faq summary::-webkit-details-marker {
  display: none
}

.faq-q {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  color: var(--brand-primary-dark)
}

.faq[open] .faq-q {
  font-weight: 800
}

.faq-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: background-color .2s, color .2s
}

.faq .i-minus {
  display: none
}

.faq[open] .faq-icon {
  background: var(--brand-primary);
  color: #fff
}

.faq[open] .i-minus {
  display: block
}

.faq[open] .i-plus {
  display: none
}

.faq-a {
  padding: 0 18px 18px;
  font-size: 15px;
  color: var(--text-secondary)
}

.still-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.still-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--brand-primary-dark)
}

@media (min-width:768px) {
  .faq summary {
    padding: 20px 24px
  }

  .faq-q {
    font-size: 18px
  }

  .faq-a {
    padding: 0 24px 24px;
    font-size: 16px
  }
}

@media (min-width:1024px) {
  .faq-grid {
    grid-template-columns: 320px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 48px;
    row-gap: 24px;
    align-items: start
  }

  .faq-intro {
    grid-column: 1;
    grid-row: 1
  }

  .still-card {
    grid-column: 1;
    grid-row: 2
  }

  .faq-list {
    grid-column: 2;
    grid-row: 1 / span 2
  }
}

@media (min-width:1200px) {
  .faq-grid {
    grid-template-columns: 360px minmax(0, 1fr);
    column-gap: 72px
  }
}

/* Testimonials (review mode only) */
.testimonials .sec-head-row {
  margin-bottom: 32px
}

.testi-track {
  display: grid;
  gap: 24px;
  background: var(--surface-muted);
  border-radius: var(--radius-lg);
  padding: 16px
}

.testi-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px
}

.testi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px
}

.testi-top .quote {
  color: var(--accent-amber)
}

.testi-quote {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  color: var(--brand-primary-dark)
}

.testi-who {
  display: flex;
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--border-default);
  padding-top: 20px
}

.testi-who b {
  display: block
}

.testi-who small {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 14px;
  color: var(--text-secondary)
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ECE6DB;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7A6E59;
  flex: none
}

@media (min-width:1024px) {
  .testi-track {
    grid-template-columns: 1fr 1fr;
    padding: 24px
  }

  .testi-card {
    padding: 32px
  }

  .testi-quote {
    font-size: 20px
  }
}

/* Final CTA */
.final-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--brand-primary-dark) 0%, var(--brand-primary) 100%);
  color: #fff;
  padding: 48px 0
}

.final-cta .h2 {
  color: #fff
}

.final-cta .lead {
  color: var(--text-on-navy);
  margin-top: 12px
}

.cta-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none
}

.cta-blob--a {
  width: 180px;
  height: 180px;
  right: -60px;
  top: -60px;
  background: rgba(245, 165, 36, .28)
}

.cta-blob--b {
  width: 140px;
  height: 140px;
  right: 40px;
  bottom: -70px;
  border: 24px solid rgba(232, 234, 246, .16);
  display: none
}

.cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px
}

@media (min-width:768px) {
  .final-cta {
    padding: 72px 0
  }

  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap
  }

  .cta-blob--b {
    display: block
  }
}

@media (min-width:1024px) {
  .final-cta {
    padding: 80px 0
  }

  .cta-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px
  }

  .cta-inner>div:first-child {
    max-width: 640px
  }

  .cta-actions {
    flex-wrap: nowrap;
    justify-content: flex-end
  }

  .cta-blob--a {
    width: 220px;
    height: 220px;
    right: 120px;
    top: -80px
  }
}

/* Footer */
.site-footer {
  background: var(--brand-primary-dark);
  color: #fff;
  padding-top: 48px
}

.footer-grid {
  display: grid;
  gap: 32px;
  padding-bottom: 40px
}

.f-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 340px
}

.logo-chip {
  display: inline-flex;
  align-self: flex-start;
  background: #fff;
  border-radius: 12px;
  padding: 6px 12px
}

.logo--footer img {
  width: 140px
}

.f-company {
  font-size: 15px;
  font-weight: 700
}

.f-muted {
  font-size: 14px;
  color: var(--text-footer)
}

.f-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0
}

.f-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px
}

.f-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px
}

.f-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  color: #E6E8F3
}

.f-links a:hover,
.c-list a:hover {
  color: #fff;
  text-decoration: underline
}

.c-list {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.c-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 15px;
  color: #E6E8F3
}

.c-list .icon {
  color: var(--accent-amber)
}

.c-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  word-break: break-word
}

.socials {
  display: flex;
  gap: 10px
}

.socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background-color .15s
}

.socials a:hover {
  background: rgba(255, 255, 255, .2)
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12)
}

.fb-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 13px;
  color: var(--text-footer)
}

.legal {
  display: flex;
  gap: 4px 20px;
  flex-wrap: wrap
}

.legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px
}

.legal a[href]:hover {
  color: #fff;
  text-decoration: underline
}

@media (min-width:768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px
  }

  .fb-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: 64px
  }
}

@media (min-width:1024px) {
  .site-footer {
    padding-top: 72px
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1.3fr) auto;
    gap: 48px;
    padding-bottom: 56px
  }

  .f-links {
    grid-template-columns: 1fr
  }
}

/* Sticky mobile bar */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  gap: 10px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--border-default);
  box-shadow: 0 -6px 20px rgba(31, 42, 92, .08);
  transform: translateY(110%);
  transition: transform .25s ease;
  visibility: hidden
}

.sticky-bar.is-visible {
  transform: none;
  visibility: visible
}

.sticky-bar .btn-primary {
  flex: 1 1 auto
}

.sticky-bar .btn-secondary {
  flex: 0 0 120px;
  background: #fff
}

@media (min-width:1024px) {
  .sticky-bar {
    display: none
  }
}

/* Thank-you page */
.ty-body {
  padding-bottom: 0;
  background: linear-gradient(180deg, var(--surface-cream) 0%, #FFFDF9 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column
}

.ty-main {
  position: relative;
  overflow: hidden;
  flex: 1;
  padding: 40px 0 64px
}

.ty-card {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center
}

.ty-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--state-success-soft);
  color: var(--state-success);
  display: flex;
  align-items: center;
  justify-content: center
}

.ty-check .icon {
  stroke-width: 3
}

.ty-summary {
  width: 100%;
  display: grid;
  gap: 0;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  text-align: left;
  overflow: hidden
}

.ty-summary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-default);
  font-size: 15px
}

.ty-summary div:last-child {
  border-bottom: 0
}

.ty-summary dt {
  color: var(--text-secondary)
}

.ty-summary dd {
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
  word-break: break-word
}

.ty-next {
  width: 100%;
  text-align: left;
  background: var(--surface-cream);
  border-radius: var(--radius-md);
  padding: 20px
}

.ty-next-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--brand-primary-dark);
  margin-bottom: 12px
}

.ty-steps {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.ty-steps li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
  color: var(--brand-primary-dark)
}

.step-num--sm {
  width: 36px;
  height: 36px;
  font-size: 14px
}

.ty-steps li:first-child .step-num {
  background: var(--cta-bg)
}

.ty-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px
}

.ty-footer {
  background: var(--brand-primary-dark);
  color: var(--text-footer);
  font-size: 13px;
  padding: 20px 0
}

@media (min-width:768px) {
  .ty-main {
    padding: 72px 0 96px
  }

  .ty-card {
    padding: 48px
  }

  .ty-actions {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap
  }
}

/* Motion preferences */
@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important
  }

  .car-track {
    scroll-behavior: auto
  }
}