/* =============================================================================
   AXIOM FORMS — FRONTEND (end-user form rendering)
   Scoped under .axff — must survive arbitrary host themes.
   Theme-agnostic: explicit fonts, colors, sizes, line-heights, resets.
   ========================================================================== */

.axff, .axff * { box-sizing: border-box; }
.axff {
  --f-blue-50:  #EEF2FF;
  --f-blue-100: #DBE3FE;
  --f-blue-500: #3B6BF6;
  --f-blue-600: #2563EB;
  --f-blue-700: #1D4FD7;
  --f-ink-950: #0B1220;
  --f-ink-900: #111827;
  --f-ink-700: #2F3849;
  --f-ink-500: #5E687E;
  --f-ink-400: #8A93A6;
  --f-ink-300: #B0B7C3;
  --f-ink-200: #DEE2EC;
  --f-ink-100: #EFF1F6;
  --f-ink-50:  #F7F8FB;
  --f-ok:      #10B981;
  --f-ok-50:   #ECFDF5;
  --f-warn:    #F59E0B;
  --f-err:     #EF4444;
  --f-err-50:  #FEF2F2;
  --f-radius:  10px;
  --f-radius-lg: 14px;

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
  color: var(--f-ink-900);
}
.axff button { font: inherit; cursor: pointer; }
.axff input, .axff select, .axff textarea { font: inherit; color: inherit; }
.axff label { display: block; }
.axff svg { display: block; }

/* === FORM SHELL === */
.axff-form {
  background: #fff;
  border-radius: var(--f-radius-lg);
  border: 1px solid var(--f-ink-100);
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 12px 32px rgba(15,23,42,.06);
  padding: 36px;
  max-width: 560px;
  width: 100%;
}
.axff-form--inline { box-shadow: none; padding: 28px; }
.axff-form--wide { max-width: 720px; }

.axff-form__head { margin-bottom: 28px; }
.axff-form__title {
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
  margin: 0 0 6px; color: var(--f-ink-950); line-height: 1.2;
}
.axff-form__sub {
  font-size: 15px; color: var(--f-ink-500); margin: 0; line-height: 1.5;
}

/* === FIELD === */
.axff-field { margin-bottom: 20px; position: relative; }
/* Conditional fields render pre-hidden (no-JS-safe); the frontend script
   removes this class when the field's rule is satisfied. */
.axff-field--hidden { display: none !important; }
.axff-field__label {
  display: flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; color: var(--f-ink-900);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.axff-field__req { color: var(--f-err); font-weight: 600; }
.axff-field__hint {
  display: block; font-size: 12.5px; color: var(--f-ink-500);
  margin-top: 6px;
}
.axff-field__error {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--f-err);
  margin-top: 6px; font-weight: 500;
}
.axff-field__error svg { width: 13px; height: 13px; flex-shrink: 0; }
.axff-field__success {
  position: absolute; right: 12px; top: 38px;
  color: var(--f-ok); pointer-events: none;
}
.axff-field__success svg { width: 18px; height: 18px; }

.axff-input, .axff-select, .axff-textarea {
  width: 100%;
  height: 46px;
  padding: 10px 14px;
  border-radius: var(--f-radius);
  border: 1.5px solid var(--f-ink-200);
  background: #fff;
  color: var(--f-ink-900);
  font-size: 15px;
  line-height: 1.4;
  transition: border-color .12s ease, box-shadow .12s ease, background .12s ease;
}
.axff-input::placeholder, .axff-textarea::placeholder { color: var(--f-ink-400); }
.axff-input:hover, .axff-select:hover, .axff-textarea:hover {
  border-color: var(--f-ink-300);
}
.axff-input:focus, .axff-select:focus, .axff-textarea:focus {
  outline: 0; border-color: var(--f-blue-600);
  box-shadow: 0 0 0 4px rgba(37,99,235,.14);
}
.axff-input--err, .axff-textarea--err, .axff-select--err {
  border-color: var(--f-err);
  background: var(--f-err-50);
}
.axff-input--err:focus { box-shadow: 0 0 0 4px rgba(239,68,68,.16); }
.axff-input--ok { border-color: var(--f-ok); padding-right: 40px; }
.axff-input:disabled {
  background: var(--f-ink-50); color: var(--f-ink-400); cursor: not-allowed;
}
.axff-input--loading { padding-right: 40px; }

.axff-textarea { height: auto; min-height: 110px; resize: vertical; padding: 12px 14px; }

.axff-select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%235E687E' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Input affix (currency, units, etc.) */
.axff-input-wrap { position: relative; }
.axff-input-wrap__prefix, .axff-input-wrap__suffix {
  position: absolute; top: 0; bottom: 0;
  display: flex; align-items: center;
  color: var(--f-ink-400); font-size: 14px;
  pointer-events: none;
}
.axff-input-wrap__prefix { left: 14px; }
.axff-input-wrap__suffix { right: 14px; }
.axff-input-wrap input.axff-input--with-prefix { padding-left: 38px; }

/* Radio & Checkbox groups */
.axff-options { display: flex; flex-direction: column; gap: 8px; }
.axff-options--row { flex-direction: row; flex-wrap: wrap; }
.axff-opt {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--f-ink-200); border-radius: var(--f-radius);
  cursor: pointer;
  transition: border-color .12s ease, background .12s ease;
  flex: 1;
  min-width: 0;
}
.axff-opt:hover { border-color: var(--f-blue-500); background: var(--f-blue-50); }
.axff-opt input { display: none; }
.axff-opt__mark {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--f-ink-300);
  flex-shrink: 0;
  position: relative; top: 1px;
  transition: border-color .12s ease;
}
.axff-opt__mark::after {
  content: ""; position: absolute; inset: 3px;
  border-radius: 50%; background: var(--f-blue-600);
  transform: scale(0); transition: transform .12s ease;
}
.axff-opt--checkbox .axff-opt__mark { border-radius: 5px; }
.axff-opt--checkbox .axff-opt__mark::after { border-radius: 2px; background: var(--f-blue-600); inset: 2px; }
.axff-opt input:checked + .axff-opt__mark { border-color: var(--f-blue-600); }
.axff-opt input:checked + .axff-opt__mark::after { transform: scale(1); }
.axff-opt input:checked ~ .axff-opt__body .axff-opt__label { color: var(--f-blue-700); }
.axff-opt:has(input:checked) {
  border-color: var(--f-blue-600);
  background: var(--f-blue-50);
}
.axff-opt__body { flex: 1; min-width: 0; }
.axff-opt__label { font-size: 14.5px; font-weight: 500; color: var(--f-ink-900); }
.axff-opt__desc { font-size: 13px; color: var(--f-ink-500); margin-top: 2px; line-height: 1.45; }

/* Submit button */
.axff-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  height: 52px;
  background: var(--f-blue-600); color: #fff;
  font-size: 15.5px; font-weight: 600;
  border: 0; border-radius: var(--f-radius);
  cursor: pointer;
  transition: background .12s ease, transform .06s ease, box-shadow .12s ease;
  box-shadow: 0 2px 4px rgba(37,99,235,.18), 0 8px 24px -8px rgba(37,99,235,.4);
  letter-spacing: -0.005em;
}
.axff-submit:hover { background: var(--f-blue-700); box-shadow: 0 4px 6px rgba(37,99,235,.22), 0 12px 28px -8px rgba(37,99,235,.5); }
.axff-submit:active { transform: translateY(1px); }
.axff-submit:disabled { background: var(--f-ink-300); box-shadow: none; cursor: not-allowed; }
.axff-submit svg { width: 18px; height: 18px; }
.axff-submit--secondary {
  background: #fff; color: var(--f-ink-900);
  border: 1.5px solid var(--f-ink-200); box-shadow: none;
}
.axff-submit--secondary:hover { background: var(--f-ink-50); border-color: var(--f-ink-300); box-shadow: none; }

.axff-actions { display: flex; gap: 10px; }
.axff-actions .axff-submit { flex: 1; }

.axff-spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff;
  animation: axff-spin 0.8s linear infinite;
}
.axff-spinner--ink { border-color: rgba(15,23,42,.2); border-top-color: var(--f-ink-700); }
@keyframes axff-spin { to { transform: rotate(360deg); } }

/* Privacy / consent */
.axff-privacy {
  font-size: 12.5px; color: var(--f-ink-500);
  text-align: center; margin-top: 14px; line-height: 1.5;
}
.axff-privacy a { color: var(--f-blue-600); text-decoration: none; }
.axff-privacy a:hover { text-decoration: underline; }

.axff-consent {
  display: flex; gap: 10px; padding: 12px 14px;
  border: 1px solid var(--f-ink-200); border-radius: var(--f-radius);
  background: var(--f-ink-50);
  font-size: 13px; color: var(--f-ink-700); line-height: 1.45;
}
.axff-consent input { margin-top: 2px; }

/* Powered by footer */
.axff-poweredby {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--f-ink-100);
  font-size: 11.5px; color: var(--f-ink-400);
}
.axff-poweredby__logo {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 600; color: var(--f-ink-500);
}
.axff-poweredby__logo::before {
  content: ""; width: 12px; height: 12px; border-radius: 3px;
  background: linear-gradient(135deg, var(--f-blue-600), var(--f-blue-700));
  display: inline-block;
}

/* === MULTI-STEP === */
.axff-steps { display: flex; align-items: center; gap: 0; margin-bottom: 28px; }
.axff-step {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--f-ink-400); font-weight: 500;
  flex-shrink: 0;
}
.axff-step__num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--f-ink-100); color: var(--f-ink-500);
  display: grid; place-items: center;
  font-size: 12.5px; font-weight: 600;
  border: 1.5px solid transparent;
}
.axff-step--active { color: var(--f-ink-900); }
.axff-step--active .axff-step__num { background: var(--f-blue-600); color: #fff; }
.axff-step--done .axff-step__num { background: var(--f-ok); color: #fff; }
.axff-step--done { color: var(--f-ink-700); }
.axff-step__line { flex: 1; height: 2px; background: var(--f-ink-200); margin: 0 14px; }
.axff-step--done + .axff-step__line { background: var(--f-ok); }

/* === SECTION DIVIDER (long forms) === */
.axff-section {
  margin: 32px 0 18px;
  padding: 14px 0 6px;
  border-top: 1px solid var(--f-ink-100);
}
.axff-section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.axff-section__num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; font-weight: 600; color: var(--f-blue-600);
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px;
}
.axff-section__title {
  font-size: 17px; font-weight: 700; color: var(--f-ink-950);
  margin: 0 0 4px; letter-spacing: -0.015em;
}
.axff-section__sub { font-size: 13.5px; color: var(--f-ink-500); margin: 0; }

/* === SECURE UPLOAD (the hero field) === */
.axff-secure {
  position: relative;
  border: 1.5px solid var(--f-blue-200);
  background: linear-gradient(180deg, var(--f-blue-50) 0%, #fff 65%);
  border-radius: var(--f-radius-lg);
  padding: 18px;
  overflow: hidden;
}
.axff-secure::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--f-blue-600), #0EA5E9);
}
.axff-secure__head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.axff-secure__icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(180deg, var(--f-blue-600), var(--f-blue-700));
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 4px 12px -2px rgba(37,99,235,.4);
}
.axff-secure__icon svg { width: 18px; height: 18px; }
.axff-secure__title {
  font-size: 14.5px; font-weight: 600; color: var(--f-ink-950);
  display: flex; align-items: center; gap: 8px;
}
.axff-secure__badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 7px;
  background: #fff; border: 1px solid var(--f-blue-200);
  color: var(--f-blue-700);
  font-size: 10.5px; font-weight: 700;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.axff-secure__sub {
  font-size: 12.5px; color: var(--f-ink-500); margin-top: 2px;
}
.axff-secure__drop {
  border: 1.5px dashed var(--f-blue-200);
  background: #fff;
  border-radius: var(--f-radius);
  padding: 22px 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color .12s ease, background .12s ease;
}
.axff-secure__drop:hover { border-color: var(--f-blue-500); background: var(--f-blue-50); }
.axff-secure__drop-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--f-blue-50); color: var(--f-blue-600);
  display: grid; place-items: center;
  margin: 0 auto 8px;
}
.axff-secure__drop-icon svg { width: 18px; height: 18px; }
.axff-secure__drop-main { font-size: 14px; color: var(--f-ink-900); font-weight: 500; }
.axff-secure__drop-main strong { color: var(--f-blue-700); font-weight: 600; }
.axff-secure__drop-sub { font-size: 12px; color: var(--f-ink-500); margin-top: 4px; }
.axff-secure__file {
  display: grid; grid-template-columns: 36px 1fr auto; gap: 12px;
  padding: 10px 12px;
  background: #fff; border: 1px solid var(--f-ink-200);
  border-radius: var(--f-radius);
  align-items: center;
  margin-bottom: 8px;
}
.axff-secure__file:last-of-type { margin-bottom: 0; }
.axff-secure__file-icon {
  width: 36px; height: 36px; border-radius: 7px;
  background: var(--f-blue-50); color: var(--f-blue-700);
  display: grid; place-items: center;
}
.axff-secure__file-icon svg { width: 16px; height: 16px; }
.axff-secure__file-name { font-size: 13.5px; font-weight: 500; color: var(--f-ink-900); }
.axff-secure__file-meta { font-size: 11.5px; color: var(--f-ink-500); margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.axff-secure__file-meta svg { width: 11px; height: 11px; color: var(--f-ok); }
.axff-secure__file-bar {
  height: 4px; background: var(--f-ink-100); border-radius: 2px;
  margin-top: 6px; overflow: hidden;
}
.axff-secure__file-bar-fill {
  height: 100%; background: linear-gradient(90deg, var(--f-blue-600), #0EA5E9);
  border-radius: 2px;
}
.axff-secure__file-action { color: var(--f-ink-400); cursor: pointer; padding: 4px; background: none; border: 0; }
.axff-secure__file-action:hover { color: var(--f-ink-700); }
.axff-secure__trust {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--f-blue-100);
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: 11.5px; color: var(--f-ink-500);
}
.axff-secure__trust-item { display: flex; align-items: center; gap: 5px; }
.axff-secure__trust-item svg { width: 12px; height: 12px; color: var(--f-blue-600); }

/* === SCHEDULING PICKER FIELD === */
.axff-sched {
  border: 1.5px solid var(--f-ink-200);
  border-radius: var(--f-radius);
  background: #fff;
  padding: 14px;
}
.axff-sched__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.axff-sched__title { font-size: 13.5px; font-weight: 600; color: var(--f-ink-900); }
.axff-sched__nav { display: flex; gap: 4px; }
.axff-sched__nav button { width: 24px; height: 24px; border: 1px solid var(--f-ink-200); border-radius: 5px; background: #fff; color: var(--f-ink-500); display: grid; place-items: center; cursor: pointer; }
.axff-sched__nav button svg { width: 12px; height: 12px; }
.axff-sched__nav button:hover { color: var(--f-ink-900); border-color: var(--f-ink-300); }
.axff-sched__cal {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
  margin-bottom: 12px;
}
.axff-sched__dayhead {
  font-size: 10.5px; color: var(--f-ink-400); text-align: center;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 4px 0;
}
.axff-sched__day {
  aspect-ratio: 1; display: grid; place-items: center;
  font-size: 13px; color: var(--f-ink-700);
  border-radius: 6px; cursor: pointer;
  border: 1px solid transparent;
}
.axff-sched__day:hover { background: var(--f-blue-50); }
.axff-sched__day--off { color: var(--f-ink-300); cursor: not-allowed; }
.axff-sched__day--off:hover { background: transparent; }
.axff-sched__day--sel { background: var(--f-blue-600); color: #fff; font-weight: 600; }
.axff-sched__day--dot { position: relative; }
.axff-sched__day--dot::after { content: ""; position: absolute; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: var(--f-blue-500); }
.axff-sched__day--sel.axff-sched__day--dot::after { background: #fff; }
.axff-sched__times {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  padding-top: 12px; border-top: 1px solid var(--f-ink-100);
}
.axff-sched__time {
  padding: 7px 8px;
  border: 1px solid var(--f-ink-200);
  border-radius: 6px; background: #fff;
  font-size: 12.5px; font-weight: 500; color: var(--f-ink-900);
  cursor: pointer; font-variant-numeric: tabular-nums;
  text-align: center;
}
.axff-sched__time:hover { border-color: var(--f-blue-500); color: var(--f-blue-700); }
.axff-sched__time--sel { background: var(--f-blue-600); color: #fff; border-color: var(--f-blue-600); }

/* === RATING / NPS === */
.axff-stars { display: flex; gap: 6px; }
.axff-stars button {
  width: 36px; height: 36px; border: 0; background: none;
  cursor: pointer; color: var(--f-ink-200);
  display: grid; place-items: center;
  transition: color .12s ease, transform .06s ease;
}
.axff-stars button:hover { transform: scale(1.1); }
.axff-stars button.is-on { color: var(--f-warn); }
.axff-stars button svg { width: 28px; height: 28px; fill: currentColor; }

.axff-nps { display: grid; grid-template-columns: repeat(11, 1fr); gap: 4px; }
.axff-nps__num {
  height: 38px; display: grid; place-items: center;
  border: 1.5px solid var(--f-ink-200); border-radius: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--f-ink-700);
  cursor: pointer; background: #fff;
  font-variant-numeric: tabular-nums;
}
.axff-nps__num:hover { border-color: var(--f-blue-500); color: var(--f-blue-700); }
.axff-nps__num--sel { background: var(--f-blue-600); color: #fff; border-color: var(--f-blue-600); }
.axff-nps__labels { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--f-ink-500); margin-top: 8px; }

/* === SIGNATURE === */
.axff-sig {
  border: 1.5px dashed var(--f-ink-200);
  background:
    repeating-linear-gradient(0deg, transparent, transparent 26px, var(--f-ink-100) 26px, var(--f-ink-100) 27px);
  border-radius: var(--f-radius);
  height: 120px; position: relative;
  display: flex; align-items: flex-end; padding: 12px;
}
.axff-sig__hint { color: var(--f-ink-400); font-size: 12.5px; font-style: italic; }
.axff-sig__signed {
  font-family: 'Brush Script MT', 'Snell Roundhand', cursive;
  font-size: 36px; color: var(--f-ink-900);
  position: absolute; left: 24px; top: 36px;
  transform: rotate(-3deg);
}
.axff-sig__clear {
  position: absolute; top: 8px; right: 8px;
  background: #fff; border: 1px solid var(--f-ink-200);
  color: var(--f-ink-700); border-radius: 6px;
  padding: 3px 9px; font-size: 11.5px; cursor: pointer; font-weight: 500;
}

/* === SUCCESS STATE === */
.axff-success {
  text-align: center; padding: 36px 24px;
}
.axff-success__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--f-ok-50); color: var(--f-ok);
  display: grid; place-items: center;
  margin: 0 auto 20px;
  position: relative;
}
.axff-success__icon svg { width: 28px; height: 28px; stroke-width: 2.5; }
.axff-success__icon::before {
  content: ""; position: absolute; inset: -8px;
  border-radius: 50%; border: 2px solid var(--f-ok-50);
  opacity: .6;
}
.axff-success__title { font-size: 22px; font-weight: 700; color: var(--f-ink-950); margin: 0 0 8px; letter-spacing: -0.015em; }
.axff-success__sub { font-size: 15px; color: var(--f-ink-500); margin: 0; line-height: 1.55; }
.axff-success__redirect {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  font-size: 12.5px; color: var(--f-ink-500);
}

/* === ERROR STATE === */
.axff-banner {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; margin-bottom: 20px;
  background: var(--f-err-50);
  border: 1px solid #FECACA;
  border-radius: var(--f-radius);
  font-size: 13.5px; color: #991B1B;
}
.axff-banner svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--f-err); margin-top: 2px; }

/* === MOBILE === */
.axff-form--mobile { padding: 24px 20px; box-shadow: none; border-radius: 0; max-width: 100%; }
.axff-form--mobile .axff-form__title { font-size: 22px; }
.axff-form--mobile .axff-form__sub { font-size: 14px; }
.axff-form--mobile .axff-input, .axff-form--mobile .axff-select { height: 48px; font-size: 16px; }
.axff-form--mobile .axff-submit { height: 50px; }

/* === MODAL (popup form) === */
.axff-modal-shell {
  background: rgba(15,23,42,.55);
  padding: 40px 24px;
  display: grid; place-items: center;
  min-height: 100%;
  border-radius: 12px;
}
.axff-modal {
  background: #fff; border-radius: 16px;
  max-width: 480px; width: 100%;
  box-shadow: 0 24px 56px -12px rgba(15,23,42,.4);
  overflow: hidden;
  position: relative;
}
.axff-modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--f-ink-50); color: var(--f-ink-500);
  display: grid; place-items: center; cursor: pointer;
  border: 0;
  z-index: 1;
}
.axff-modal__close svg { width: 16px; height: 16px; }
.axff-modal__close:hover { background: var(--f-ink-100); }
.axff-modal__inner { padding: 32px 32px 28px; }

/* === HOST PAGE PREVIEW (frame around the form) === */
.axff-hostframe {
  background: #FAF8F4;
  border-radius: 14px;
  border: 1px solid var(--f-ink-100);
  padding: 28px;
  overflow: hidden;
  position: relative;
}
.axff-hostframe__header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.axff-hostframe__logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px; font-weight: 700; color: #1F1611; letter-spacing: -0.01em;
}
.axff-hostframe__nav {
  display: flex; gap: 18px; font-size: 13px; color: #5C4D40; font-weight: 500;
}
.axff-hostframe__hero {
  font-family: Georgia, serif;
  font-size: 28px; font-weight: 700; color: #1F1611;
  text-align: center; margin: 8px 0 4px; letter-spacing: -0.01em;
}
.axff-hostframe__lede {
  font-size: 14px; color: #5C4D40; text-align: center;
  margin: 0 0 24px; max-width: 480px; margin-left: auto; margin-right: auto;
}

/* Browser-y chrome around mobile frames */
.axff-mobile-chrome {
  width: 375px;
  background: #fff;
  border-radius: 32px;
  border: 8px solid #0B1220;
  overflow: hidden;
  box-shadow: 0 32px 64px -16px rgba(15,23,42,.25);
  position: relative;
}
.axff-mobile-chrome__notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px; background: #0B1220;
  border-radius: 0 0 14px 14px; z-index: 2;
}
.axff-mobile-chrome__statusbar {
  height: 38px; padding: 12px 26px 4px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 600; color: #0B1220;
  font-variant-numeric: tabular-nums;
}
.axff-mobile-chrome__body { padding: 0; }

/* Date picker (popover style) */
.axff-datepick { display: inline-grid; grid-template-columns: repeat(7, 38px); gap: 2px; padding: 12px; background: #fff; border: 1px solid var(--f-ink-200); border-radius: var(--f-radius); }
.axff-datepick__dh { font-size: 10.5px; color: var(--f-ink-400); text-align: center; padding: 4px 0; text-transform: uppercase; letter-spacing: .06em; }
.axff-datepick__d { width: 38px; height: 36px; display: grid; place-items: center; font-size: 13px; color: var(--f-ink-700); border-radius: 6px; cursor: pointer; border: 1px solid transparent; }
.axff-datepick__d:hover { background: var(--f-blue-50); color: var(--f-blue-700); }
.axff-datepick__d--off { color: var(--f-ink-300); }
.axff-datepick__d--sel { background: var(--f-blue-600); color: #fff; }
.axff-datepick__d--today { border-color: var(--f-blue-200); }

