/* ── Travel Hack 2.0 — subpage shell styles ──────── */

/* Enforce [hidden] — Chrome UA sheet omits !important so inline-flex beats it */
[hidden] { display: none !important; }

.subpage-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(40px,8vh,80px)) var(--gutter) 80px;
}

.subpage-main h1 {
  font-weight: 500;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.subpage-main h1 em {
  color: var(--amber-text);
}

.subpage-lead {
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: clamp(28px, 5vh, 48px);
}

.subpage-nav-simple {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 var(--gutter);
  background: var(--nav-scrolled);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  overflow: hidden;
}

.whatsapp-line {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-dim);
}

.whatsapp-line a {
  color: var(--teal);
  text-decoration: underline;
}

/* ── Mobile: keep CTA visible in subpage nav ─────── */
@media (max-width: 680px) {
  .subpage-nav-simple .nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 11px;
    white-space: nowrap;
  }
}

/* ── Iframe card wrapper ─────────────────────────── */
.embed-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background: var(--card);
}

/* ════════════════════════════════════════════════════
   INTAKE FORM STYLES — reusable for any form subpage
   ════════════════════════════════════════════════════ */

/* ── Intake layout ───────────────────────────────── */
.intake-main {
  max-width: 720px;
}

/* ── Progress indicator ──────────────────────────── */
.intake-progress {
  margin-bottom: 28px;
}

.intake-step-counter {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.intake-progress-track {
  height: 3px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
}

.intake-progress-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 99px;
  transition: width 0.4s ease;
}

/* ── Form card ───────────────────────────────────── */
.intake-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 5vw, 48px);
  box-shadow: var(--card-shadow);
}

/* ── Step title ──────────────────────────────────── */
.step-title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: var(--text);
}

/* ── Form fields layout ──────────────────────────── */
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* strip native fieldset chrome (used as semantic grouping only) */
fieldset.field-group {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

fieldset.field-group > legend {
  padding: 0;
  margin-bottom: 6px;
}

.field-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.field-hint {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.field-required {
  color: var(--amber-text);
}

/* ── Text / number / date / email / tel inputs ───── */
.field-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  -webkit-appearance: none;
}

.field-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.field-input::placeholder {
  color: var(--text-dim);
  opacity: 0.6;
}

.field-input:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.field-input--short {
  max-width: 140px;
}

/* ── Select ──────────────────────────────────────── */
.field-select {
  width: 100%;
  padding: 12px 40px 12px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231F6480' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.field-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

:root[data-theme="night"] .field-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234E91AD' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

/* ── Textarea ────────────────────────────────────── */
.field-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  resize: vertical;
  min-height: 90px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.field-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.field-textarea::placeholder {
  color: var(--text-dim);
  opacity: 0.6;
}

/* ── Inline errors ───────────────────────────────── */
.field-error {
  font-size: 13px;
  color: #C0392B;
  min-height: 18px;
  transition: opacity 0.2s ease;
}

:root[data-theme="night"] .field-error {
  color: #FF7B6B;
}

.submit-error {
  margin-top: 12px;
}

.submit-error a {
  color: var(--teal);
  text-decoration: underline;
}

/* ── Choice cards (radio/checkbox pill grid) ─────── */
.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-grid--compact {
  gap: 8px;
}

.choice-label {
  cursor: pointer;
}

.choice-label input[type="radio"],
.choice-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.choice-card {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 14px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.choice-label input:checked + .choice-card {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.choice-label input:focus-visible + .choice-card {
  box-shadow: 0 0 0 3px var(--focus-ring);
}

/* ── Checkboxes (custom styled) ──────────────────── */
.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.checkbox-label input:checked ~ .checkbox-custom {
  border-color: var(--teal);
  background: var(--teal);
}

.checkbox-label input:checked ~ .checkbox-custom::after {
  content: '';
  display: block;
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.checkbox-label input:focus-visible ~ .checkbox-custom {
  box-shadow: 0 0 0 3px var(--focus-ring);
}

/* ── Checkbox grid (travel styles) ──────────────── */
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px 16px;
}

/* ── Plan cards ──────────────────────────────────── */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.plan-card-label {
  cursor: pointer;
}

.plan-card-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.plan-card-label input:checked + .plan-card {
  border-color: var(--teal);
  background: var(--bg);
  box-shadow: 0 0 0 2px var(--teal);
}

.plan-card-label input:focus-visible + .plan-card {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.plan-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--amber);
  border-radius: 99px;
  padding: 2px 8px;
  width: fit-content;
  margin-bottom: 4px;
}

.plan-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.plan-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--teal);
  font-family: var(--font-serif);
  font-style: italic;
}

.plan-desc {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.4;
}

/* ── Step actions (nav buttons) ──────────────────── */
.step-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ── Success panel ───────────────────────────────── */
.success-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(32px, 6vw, 64px) clamp(24px, 5vw, 48px);
  box-shadow: var(--card-shadow);
  text-align: center;
  max-width: 560px;
}

.success-icon {
  font-size: 40px;
  line-height: 1;
  color: var(--teal);
  margin-bottom: 16px;
}

.success-panel h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.success-panel p {
  color: var(--text-dim);
  max-width: 400px;
  margin: 0 auto 20px;
}

.success-extra {
  font-size: 13px;
  font-style: italic;
}

/* ── Wizard step visibility ──────────────────────── */
/* reset the global landing-page `section` padding (clamp 90–160px) that would
   otherwise leak onto the wizard `<section>` and push the step title down */
.wizard-step {
  padding: 0;
}

.wizard-step[hidden] {
  display: none;
}

.wizard-step:focus {
  outline: none;
}

/* ════════════════════════════════════════════════════
   WIZARD COMPONENTS — premium 5-step intake controls
   Token-based · both themes · ≥320px · ≥44px targets
   ════════════════════════════════════════════════════ */

/* ── Stepper header (decorative, 5 labeled steps) ── */
.wizard-stepper {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 18px;
}

.wizard-stepper-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1 1 0;
  position: relative;
  text-align: center;
  min-width: 0;
}

/* connector line between badges */
.wizard-stepper-item::before {
  content: '';
  position: absolute;
  top: 15px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}

.wizard-stepper-item:first-child::before { display: none; }

.wizard-stepper-item.is-done::before,
.wizard-stepper-item.is-current::before {
  background: var(--teal);
}

.wizard-stepper-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--bg);
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.wizard-stepper-item.is-current .wizard-stepper-badge {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.wizard-stepper-item.is-done .wizard-stepper-badge {
  border-color: var(--teal);
  background: var(--bg);
  color: var(--teal);
}

.wizard-stepper-item.is-done .wizard-stepper-badge::after {
  content: '✓';
  font-size: 15px;
  line-height: 1;
}

.wizard-stepper-item.is-done .wizard-stepper-num { display: none; }

.wizard-stepper-label {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  line-height: 1.2;
}

.wizard-stepper-item.is-current .wizard-stepper-label {
  color: var(--text);
  font-weight: 600;
}

/* compact counter: SR-only on desktop, visible compact ≤640px.
   Kept in the a11y tree at all widths (it is the announced source of truth). */
.wizard-stepper-compact {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .wizard-stepper { display: none; }
  .wizard-stepper-compact {
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 8px;
    clip: auto;
    overflow: visible;
    display: block;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .wizard-stepper-badge {
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  }
  .wizard-stepper-item::before {
    transition: background 0.4s ease;
  }
}

/* ── Step note (muted sub-line under a title) ─────── */
.step-note {
  font-size: 14px;
  color: var(--text-dim);
  margin: -18px 0 24px;
  line-height: 1.45;
}

/* ── Chip group (radio/checkbox pills) ────────────── */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

/* visually-hidden real input */
.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.chip-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 9px 16px;
  border: 1.5px solid var(--line);
  border-radius: 99px;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
}

/* No marker until checked — keeps unchecked chips clean (premium look).
   When checked, a ✓ glyph appears. Marker is decorative; the real
   radio/checkbox remains the semantic source of truth. */
.chip-pill::before {
  content: '';
  display: none;
  align-items: center;
  justify-content: center;
  width: 14px;
  flex-shrink: 0;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

/* checked chips: amber fill, dark readable text in BOTH themes */
.chip input:checked + .chip-pill {
  border-color: var(--amber);
  background: var(--amber);
  color: #13233D;
}

.chip input:checked + .chip-pill::before {
  content: '✓';
  display: inline-flex;
  color: #13233D;
}

.chip input:focus-visible + .chip-pill {
  box-shadow: 0 0 0 3px var(--focus-ring);
  border-color: var(--teal);
}

@media (prefers-reduced-motion: no-preference) {
  .chip-pill {
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.12s ease;
  }
  .chip input:active + .chip-pill,
  .chip input:checked + .chip-pill {
    transform: scale(1.04);
  }
  .chip input:checked + .chip-pill {
    transform: scale(1);
  }
}

/* ── Segmented control (connected single-choice) ──── */
.segmented {
  display: flex;
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
}

.segmented .seg {
  flex: 1 1 0;
  position: relative;
  display: flex;
  cursor: pointer;
  min-width: 0;
}

.segmented .seg:not(:first-child) {
  border-left: 1.5px solid var(--line);
}

.segmented .seg input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.seg-label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  padding: 10px 8px;
  font-size: 13px;
  color: var(--text);
  background: var(--bg);
  cursor: pointer;
  line-height: 1.2;
}

.segmented .seg input:checked + .seg-label {
  background: var(--amber);
  color: #13233D;
  font-weight: 600;
}

:root[data-theme="night"] .segmented .seg input:checked + .seg-label {
  color: #13233D;
}

.segmented .seg input:focus-visible + .seg-label {
  box-shadow: inset 0 0 0 2px var(--teal);
}

@media (prefers-reduced-motion: no-preference) {
  .seg-label { transition: background 0.2s ease, color 0.2s ease; }
}

@media (max-width: 480px) {
  .seg-label { font-size: 12px; padding: 10px 4px; }
}

/* ── Range slider field ──────────────────────────── */
.range-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 30px;
  position: relative;
}

.range-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: var(--line);
  outline: none;
  cursor: pointer;
  margin: 8px 0;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid var(--bg-2);
  box-shadow: 0 1px 4px rgba(19, 35, 61, 0.25);
  cursor: pointer;
}

.range-input::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid var(--bg-2);
  box-shadow: 0 1px 4px rgba(19, 35, 61, 0.25);
  cursor: pointer;
}

.range-input:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 5px var(--focus-ring);
}
.range-input:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 5px var(--focus-ring);
}

.range-bubble {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-50%);
  padding: 3px 10px;
  background: #1F6480;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 99px;
  white-space: nowrap;
  pointer-events: none;
}

:root[data-theme="night"] .range-bubble {
  background: #163A4A;
  color: #F4F1EA;
}

.range-caps {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .range-input::-webkit-slider-thumb { transition: box-shadow 0.15s ease; }
}

/* ── Stepper (− value +) ─────────────────────────── */
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
  width: fit-content;
}

.stepper-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--bg);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  font-family: var(--font-sans);
}

.stepper-btn:hover:not(:disabled) { background: var(--card-hover); }

.stepper-btn:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--teal);
}

.stepper-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.stepper-value {
  min-width: 56px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  border-left: 1.5px solid var(--line);
  border-right: 1.5px solid var(--line);
  padding: 0 8px;
  line-height: 44px;
}

@media (prefers-reduced-motion: no-preference) {
  .stepper-btn { transition: background 0.15s ease; }
  .stepper-value.bump { animation: stepper-bump 0.18s ease; }
  @keyframes stepper-bump {
    0% { transform: scale(1); }
    50% { transform: scale(1.18); }
    100% { transform: scale(1); }
  }
}

/* ── Toggle switch (checkbox role=switch) ─────────── */
.toggle-switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  min-height: 44px;
  color: var(--text);
  font-size: 15px;
}

.toggle-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.toggle-track {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 28px;
  border-radius: 99px;
  background: var(--line);
  border: 1px solid var(--line);
}

.toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-2);
  box-shadow: 0 1px 3px rgba(19, 35, 61, 0.3);
}

.toggle-switch input:checked + .toggle-track {
  background: var(--amber);
  border-color: var(--amber);
}

.toggle-switch input:checked + .toggle-track .toggle-knob {
  left: auto;
  right: 2px;
}

.toggle-switch input:focus-visible + .toggle-track {
  box-shadow: 0 0 0 3px var(--focus-ring);
}

@media (prefers-reduced-motion: no-preference) {
  .toggle-track { transition: background 0.2s ease, border-color 0.2s ease; }
  .toggle-knob { transition: left 0.2s ease, right 0.2s ease; }
}

/* ── Conditional reveal blocks ───────────────────── */
.conditional {
  margin-top: 4px;
}

.conditional[hidden] { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .conditional:not([hidden]) {
    animation: cond-reveal 0.28s ease;
  }
  @keyframes cond-reveal {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ════════════════════════════════════════════════════
   PROSE — shared by privacy.html + terms.html
   ════════════════════════════════════════════════════ */

.prose-main {
  max-width: 760px;
}

.prose h2 {
  margin: 32px 0 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.prose p,
.prose li {
  color: var(--text-dim);
  line-height: 1.7;
}

.prose ul {
  padding-left: 1.4rem;
  margin: 6px 0 12px;
}

.prose li {
  margin-bottom: 6px;
}

.prose a {
  color: var(--teal);
  text-decoration: underline;
}

/* ════════════════════════════════════════════════════
   CORPORATE PAGE — corporate.html
   ════════════════════════════════════════════════════ */

/* ── Pain point grid ─────────────────────────────── */
.corp-pain-section {
  margin: clamp(32px, 5vh, 56px) 0;
}

.corp-pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.corp-pain-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.corp-pain-problem {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.corp-pain-solution {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ── How it works ────────────────────────────────── */
.corp-hiw-section {
  margin: clamp(40px, 6vh, 72px) 0;
}

.corp-section-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--text);
}

.corp-section-sub {
  color: var(--text-dim);
  margin-bottom: 28px;
}

.corp-steps {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.corp-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.corp-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.corp-step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.corp-step-body p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ── HR stat quote ───────────────────────────────── */
.corp-hr-quote {
  margin: clamp(32px, 5vh, 56px) 0;
  padding: 28px 32px;
  border-left: 3px solid var(--amber);
  background: var(--card);
  border-radius: 0 16px 16px 0;
  box-shadow: var(--card-shadow);
}

.corp-hr-quote p {
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 500;
  color: var(--text);
  font-style: italic;
  margin: 0 0 8px;
}

.corp-hr-quote footer {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ── Pricing ─────────────────────────────────────── */
.corp-pricing-section {
  margin: clamp(40px, 6vh, 72px) 0;
}

.corp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.corp-pricing-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.corp-pricing-card--featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px var(--teal), var(--card-shadow);
}

.corp-pricing-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--amber);
  color: #13233D;
  border-radius: 99px;
  padding: 3px 10px;
  width: fit-content;
  margin-bottom: 4px;
}

.corp-pricing-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.corp-pricing-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--teal);
  font-family: var(--font-serif);
  font-style: italic;
  margin: 4px 0 0;
}

.corp-pricing-period {
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  color: var(--text-dim);
}

.corp-pricing-scope {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0 0 8px;
}

.corp-pricing-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.corp-pricing-list li {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.4;
  padding-left: 18px;
  position: relative;
}

.corp-pricing-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ── Offerings (three) ───────────────────────────── */
.corp-offer-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.corp-offer-card--lead {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px var(--teal), var(--card-shadow);
}

.corp-offer-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--amber);
  color: #13233D;
  border-radius: 99px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.corp-offer-card .corp-pain-problem {
  font-size: 18px;
}

/* ── Sample callout ──────────────────────────────── */
.corp-sample-callout {
  margin: clamp(32px, 5vh, 56px) 0;
  padding: 28px 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.corp-sample-title {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 6px;
}

.corp-sample-text {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 52ch;
}

.corp-sample-text strong {
  color: var(--text);
}

/* ── CTA block ───────────────────────────────────── */
.corp-cta-block {
  margin: clamp(40px, 6vh, 72px) 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.corp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
