:root {
  --bg: #ffffff;
  --surface: #f8f8f6;
  --border: #e8e8e3;
  --border-dark: #d0d0c8;
  --teal: #00B1B2;
  --teal-light: #e6f7f7;
  --text: #0f0f0e;
  --muted: #6b6b66;
  --amber: #7E49E7;
  --red: #cc2200;
  --grad-start: #E77481;
  --grad-end: #7E49E7;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--bg); color: var(--text); font-family: 'IBM Plex Sans', sans-serif; min-height: 100vh; -webkit-font-smoothing: antialiased; }

/* ─── GRADIENT UTILITY ─── */
/* Wrapper technique: gradient spans the whole element L→R regardless of line breaks */
.g-text {
  display: inline-block;
  background-image: linear-gradient(90deg, #E77481 0%, #7E49E7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.g-text span {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-image: inherit;
}


/* ── Hub press section ── */
.hub-press-section {
  margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border);
}
.hub-press-eyebrow { font-family:'DM Mono',monospace; font-size:11px; text-transform:uppercase; letter-spacing:0.1em; color:var(--muted); margin-bottom:12px; }
.hub-press-badges { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:20px; }
.hub-press-badges a { text-decoration:none; }
.hub-press-stat { font-family:'Playfair Display',serif; font-size:clamp(20px,3.5vw,28px); font-weight:400; color:var(--text); margin-bottom:8px; line-height:1.25; }
.hub-press-sub { font-size:14px; color:var(--muted); line-height:1.6; }

/* ── Hub map section — big separate section ── */
.hub-map-section { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--border); }
.hub-map-header { margin-bottom: 28px; }
.hub-map-eyebrow { font-family:'DM Mono',monospace; font-size:10px; text-transform:uppercase; letter-spacing:0.12em; color:var(--muted); margin-bottom:8px; }
.hub-map-label { font-family:'Playfair Display',serif; font-size:clamp(22px,3.5vw,30px); font-weight:400; color:var(--text); margin-bottom:8px; line-height:1.2; }
.hub-map-sub { font-size:14px; color:var(--muted); line-height:1.6; max-width:600px; }
.hub-map-grid {
  display:grid; grid-template-columns:1.1fr 0.9fr; gap:28px; align-items:stretch;
}
@media(max-width:700px){ .hub-map-grid { grid-template-columns:1fr; } }
.hub-map-box { background:var(--surface); border:1.5px solid var(--border); border-radius:16px; overflow:hidden; height:380px; position:relative; z-index:0; isolation:isolate; }
.hub-map-box .map-bg { width:100%; height:100%; background:#eef1ee; position:relative; overflow:hidden; }
.hub-firms-list { display:flex; flex-direction:column; gap:10px; }
.hub-firm-card {
  background:white; border:1.5px solid var(--border); border-radius:12px;
  padding:12px 16px; display:flex; align-items:center;
  justify-content:space-between; gap:12px; cursor:pointer; transition:all 0.15s;
}
.hub-firm-card:hover { border-color:var(--text); transform:translateY(-1px); box-shadow:0 4px 14px rgba(0,0,0,0.06); }
.hub-firm-left { flex:1; min-width:0; }
.hub-firm-name { font-size:13px; font-weight:600; color:var(--text); margin-bottom:3px; display:flex; align-items:center; gap:6px; }
.hub-firm-loc { font-size:11px; color:var(--muted); }
.hub-firm-right { text-align:right; flex-shrink:0; }
.hub-firm-stars { color:#f5c842; font-size:11px; letter-spacing:1px; }
.hub-firm-rating { font-family:'DM Mono',monospace; font-size:13px; font-weight:700; color:var(--text); }
.hub-firm-reviews { font-size:9px; color:var(--muted); }
.hub-firm-more { font-size:12px; color:var(--muted); padding:10px 0 4px; }

/* press badge (reused from segment pages) */
.press-badge.ft { background:#FFC0CB; color:#0f0f0e; font-weight:700; }

/* ─── NAV ─── */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px); z-index: 200;
}
@media(max-width:700px){ nav { padding: 14px 20px; } }
.nav-logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.logo-mark {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, #1a0a2e 0%, #5E38AD 50%, #00B1B2 100%);
  border-radius: 7px; position: relative; flex-shrink: 0;
}
.logo-mark::before { content:''; position:absolute; top:5px; left:50%; transform:translateX(-50%); width:9px; height:2px; background:#00B1B2; border-radius:2px; }
.logo-mark::after { content:''; position:absolute; top:11px; left:50%; transform:translateX(-50%); width:12px; height:12px; border:2px solid white; border-radius:50%; }
.logo-name { font-size: 15px; font-weight: 600; color: var(--text); }
.logo-sub { font-size: 10px; color: var(--muted); display: block; margin-top: -1px; }
.nav-right { display: flex; align-items: center; gap: 6px; font-family: 'DM Mono', monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.nav-dot { width:5px; height:5px; background:var(--teal); border-radius:50%; animation: blink 2.5s infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0.4} }

/* ─── PAGE TOGGLE ─── */
.page { display: none; }
.page.active { display: block; }

/* ════════════════════════════════════════
   HUB PAGE
════════════════════════════════════════ */
#hub { max-width: 900px; margin: 0 auto; padding: 48px 40px 80px; }
@media(max-width:700px){ #hub { padding: 20px 16px 48px; } }

.hub-hero { display: flex; align-items: flex-start; gap: 40px; margin-bottom: 50px; }
.hub-hero-text { flex: 1; min-width: 0; }
.hub-hero .hub-h1 { font-size: clamp(42px, 6vw, 72px); }
.hub-hero .hub-sub { max-width: 100%; font-size: 17px; }
.hub-mini-map {
  width: 240px; flex-shrink: 0;
  border-radius: 16px; overflow: hidden;
  border: 1.5px solid var(--border);
  pointer-events: none;
  align-self: stretch;
  position: relative;
}
@media(max-width:820px){ .hub-mini-map { display: none; } }
.hub-mini-map-mobile {
  display: none;
  width: 100%; height: 160px;
  border-radius: 12px; overflow: hidden;
  border: 1.5px solid var(--border);
  pointer-events: none;
  margin-bottom: 12px;
  position: relative;
}
@media(max-width:700px){
  .hub-hero { flex-direction: column; gap: 0; margin-bottom: 12px; }
  .hub-hero .hub-h1 { font-size: clamp(36px, 9vw, 52px); }
  .hub-hero .hub-h1 em { font-size: 1em !important; line-height: 1.1 !important; }
  .hub-hero .hub-sub { font-size: 15px; margin-bottom: 12px; }
  .hub-year { font-size: 11px; margin-bottom: 8px; }
  .hub-mini-map-mobile { display: block !important; }
  .seg-title { font-size: 18px; }
  .hub-which { font-size: 20px !important; margin-bottom: 10px !important; }
}

.hub-year {
  font-family: 'DM Mono', monospace;
  font-size: clamp(12px, 1.8vw, 20px); letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 12px;
}
.hub-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 400; line-height: 1.08;
  letter-spacing: -0.02em; color: var(--text);
  margin-bottom: 18px;
}
.hub-sub {
  font-size: clamp(15px, 2vw, 20px); color: var(--muted);
  line-height: 1.6; max-width: 560px;
  margin-bottom: 20px;
}
.hub-sub strong { color: var(--text); }

/* Group labels */
.group-label {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px; display: flex; align-items: center; gap: 12px;
}
.group-label::after { content:''; flex:1; height:1px; background:var(--border); }
.group-label-lg { font-size: 17px; letter-spacing: 0.04em; color: var(--text); font-weight: 500; margin-top: 16px; }

/* Employed card */
.employed-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 16px; padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  cursor: pointer; transition: all 0.18s; margin-bottom: 48px;
}
.employed-card:hover { border-color: var(--text); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.07); }
.employed-left { display:flex; align-items:center; gap:18px; }
.employed-emoji { font-size: 32px; }
.employed-title { font-family:'Playfair Display',serif; font-size:22px; font-weight:400; color:var(--text); }
.employed-sub { font-size:13px; color:var(--muted); margin-top:3px; }
.arrow-btn { width:36px; height:36px; background:var(--text); border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:transform 0.15s; }
.employed-card:hover .arrow-btn { transform: translateX(3px); }

/* Segment grid */
.segment-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
@media(max-width:700px){ .segment-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:440px){ .segment-grid { grid-template-columns: 1fr; } }
.seg-card {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 16px;
  padding: 24px 24px 0; cursor: pointer; transition: all 0.18s; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.seg-card:hover { border-color: var(--text); transform:translateY(-3px); box-shadow:0 10px 32px rgba(0,0,0,0.08); }
.seg-emoji { font-size:26px; margin-bottom:10px; display:block; }
.seg-title { font-family:'Playfair Display',serif; font-size:22px; font-weight:400; color:var(--text); line-height:1.2; margin-bottom:6px; }
.seg-sub { font-size:12px; color:var(--muted); line-height:1.5; margin-bottom:0; flex:1; }
.seg-trust { display:none; }
.seg-cta-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding: 12px 0;
  border-top: 1px solid var(--border);
  font-family: 'IBM Plex Sans', sans-serif; font-size: 12px; font-weight: 600;
  color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase;
  transition: color 0.15s;
}
.seg-cta-bar svg { stroke: var(--muted); transition: all 0.15s; flex-shrink:0; }
.seg-card:hover .seg-cta-bar { color: var(--text); }
.seg-card:hover .seg-cta-bar svg { stroke: var(--text); transform: translateX(3px); }
.seg-arrow { display: none; }

/* ════════════════════════════════════════
   SEGMENT HERO — matches hub page weight/scale
════════════════════════════════════════ */
.seg-hero-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 40px 0;
}
@media(max-width:700px){ .seg-hero-wrap { padding: 20px 16px 0; } }
.seg-hero-inner { display:flex; align-items:flex-start; gap:40px; margin-bottom:50px; }
.seg-hero-text { flex:1; min-width:0; }
.seg-hero-mini-map {
  width:240px; flex-shrink:0;
  border-radius:16px; overflow:hidden;
  border:1.5px solid var(--border);
  pointer-events:none; align-self:stretch;
  position:relative;
}
.seg-hero-mini-map-inner { width:100%; height:100%; }

/* Mobile-only map strip — same as hub */
.seg-hero-mini-map-mobile {
  display:none;
  width:100%; height:160px;
  border-radius:12px; overflow:hidden;
  border:1.5px solid var(--border);
  pointer-events:none;
  margin-bottom:12px;
  position:relative;
}

.seg-map-badge {
  position:absolute; bottom:14px; left:12px; right:12px;
  background:rgba(245,245,243,0.94); color:#0f0f0e; backdrop-filter:blur(6px);
  border:1px solid rgba(0,0,0,0.10);
  font-family:'IBM Plex Sans',sans-serif; font-size:11px; font-weight:500;
  line-height:1.5; padding:10px 12px; border-radius:10px;
  text-align:left; z-index:1000;
}
.seg-map-badge strong { color:#0f0f0e; font-weight:700; }
.seg-map-badge .ai-dot {
  display:inline-block; width:7px; height:7px; border-radius:50%;
  background:#22c55e; margin-right:5px; vertical-align:middle;
  animation:pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.4; transform:scale(0.7); }
}
@media(max-width:820px){ .seg-hero-mini-map { display:none; } }
@media(max-width:700px){
  .seg-hero-inner { flex-direction:column; gap:0; margin-bottom:12px; }
  .seg-hook-h1 { font-size: clamp(34px, 9vw, 50px); }
  .seg-hook-h1 em { font-size: 1em !important; line-height: 1.1 !important; }
  .seg-hook-sub { font-size: 15px; margin-bottom: 16px; }
  .seg-eyebrow { font-size: 11px; margin-bottom: 10px; }
  .seg-hero-mini-map-mobile { display: block !important; }
}
.proof-stat-extra { display:inline; }
@media(max-width:700px){ .proof-stat-extra { display:none; } }
/* proof strip — sandwiched between two clean dividers, 100px breathing room each side */
.seg-proof-strip { padding: 100px 0; margin: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Eyebrow */
.seg-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 13px; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 16px;
}

/* Segment H1 — matches hub weight/scale */
.seg-hook-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 400; line-height: 1.08;
  letter-spacing: -0.02em; color: var(--text);
  margin-bottom: 16px;
}
.seg-hook-sub {
  font-size: 20px; color: var(--muted);
  line-height: 1.6; max-width: 560px;
  margin-bottom: 36px;
}
.seg-hook-sub strong { color: var(--text); font-weight: 600; }

/* Press stat — own hero section below CTA */
.press-stat-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: left;
}
.press-stat-big {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 400; color: var(--text);
  line-height: 1.2; margin-bottom: 8px;
}
.press-stat-mid {
  font-family: 'DM Mono', monospace;
  font-size: 12px; color: var(--muted);
  letter-spacing: 0.06em; margin-bottom: 12px;
}
.press-stat-extra {
  font-size: 14px; color: var(--text); font-weight: 600;
  margin-bottom: 14px; line-height: 1.4;
}
.press-stat-source {
  font-size: 11px; color: var(--muted); opacity: 0.8;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.press-source-link {
  color: var(--muted); text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
  transition: opacity 0.15s;
}
.press-source-link:hover { opacity: 1; color: var(--text); }
.press-badge {
  font-family: 'DM Mono', monospace;
  font-size: 8px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 2px 7px; border-radius: 3px;
  vertical-align: middle; display: inline-block; margin: 0 1px;
}
.press-badge.sky { background: #003b6f; color: white; }
.press-badge.sun { background: #e8000d; color: white; }

/* Income input block */
.income-block { margin-bottom: 24px; }
.income-label-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.income-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text); font-weight: 500;
}
.approx-badge {
  font-size: 11px; color: var(--teal);
  background: var(--teal-light); border: 1px solid rgba(0,177,178,0.25);
  border-radius: 20px; padding: 3px 10px; font-weight: 500;
  white-space: nowrap;
}
.big-input {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 14px; padding: 20px 24px; transition: border-color 0.2s;
}
.big-input:focus-within { border-color: var(--text); }
.amount-row { display: flex; align-items: baseline; gap: 4px; }
.currency { font-family:'Playfair Display',serif; font-size:46px; color:var(--muted); line-height:1; }
.amount-input {
  background: transparent; border: none; outline: none;
  font-family: 'Playfair Display', serif; font-size: 46px;
  color: var(--text); width: 100%; min-width: 0;
}
.amount-input::placeholder { color: #d8d8d4; }

/* CTA button */
.black-btn {
  width: 100%; background: var(--text); color: white;
  border: none; border-radius: 14px; padding: 20px 24px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 17px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; margin-bottom: 14px;
}
.black-btn:hover { background: #2a2a28; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.black-btn:active { transform: none; box-shadow: none; }
.black-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

/* Trust signals */
.trust-row {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap;
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.trust-item { display: flex; align-items: center; gap: 5px; }
.trust-tick { color: var(--teal); font-size: 12px; }

/* Error */
.err-box { background:#fff5f5; border:1px solid #fcc; border-radius:8px; padding:10px 14px; font-size:13px; color:var(--red); margin-bottom:14px; display:none; }

/* Map section below hero */
.seg-map-section {
  max-width: 900px; margin: 0 auto;
  padding: 40px 40px 80px;
}
@media(max-width:700px){ .seg-map-section { padding: 28px 16px 60px; } }
.map-section-label {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 6px;
}
.map-section-hook {
  font-family: 'Playfair Display', serif; font-size: 20px;
  font-weight: 400; color: var(--text); margin-bottom: 16px;
}
.map-box {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 16px; overflow: hidden; height: 300px; position: relative;
}
.map-bg {
  width: 100%; height: 100%; background: #eef1ee;
  position: relative; overflow: hidden;
}
.map-bg::before {
  content:''; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,0.45) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,0.45) 1px,transparent 1px);
  background-size: 48px 48px; pointer-events:none;
}
.uk-svg { position:absolute; left:50%; top:50%; transform:translate(-46%,-52%); width:46%; height:88%; fill:var(--teal); opacity:0.12; pointer-events:none; overflow:visible; }
.map-bar { position:absolute; top:12px; left:56px; right:12px; background:rgba(255,255,255,0.97); border:1px solid var(--border); border-radius:10px; padding:8px 12px; display:flex; align-items:center; gap:8px; z-index:1000; }
.map-bar input { background:transparent; border:none; outline:none; font-family:'IBM Plex Sans',sans-serif; font-size:13px; color:var(--text); flex:1; }
.map-bar input::placeholder { color:var(--muted); }
.map-search-btn { background:var(--text); color:white; border:none; border-radius:6px; padding:5px 12px; font-size:11px; font-weight:600; font-family:'IBM Plex Sans',sans-serif; cursor:pointer; }
.map-count { position:absolute; top:56px; right:12px; background:white; border:1px solid var(--border); border-radius:8px; padding:8px 12px; text-align:center; z-index:1000; box-shadow:0 2px 8px rgba(0,0,0,0.07); }
.map-count-num { font-family:'Playfair Display',serif; font-size:20px; font-weight:700; color:var(--text); line-height:1; }
.map-count-label { font-family:'DM Mono',monospace; font-size:8px; color:var(--muted); margin-top:2px; text-transform:uppercase; letter-spacing:0.08em; }
.mdot { position:absolute; width:10px; height:10px; background:var(--teal); border:2px solid white; border-radius:50%; box-shadow:0 1px 6px rgba(0,177,178,0.4); z-index:5; cursor:pointer; animation:glow 3s ease-in-out infinite; }
@keyframes glow { 0%,100%{box-shadow:0 1px 6px rgba(0,177,178,0.35)}50%{box-shadow:0 1px 12px rgba(0,177,178,0.65),0 0 0 3px rgba(0,177,178,0.1)} }
.mdot:nth-child(3){animation-delay:.4s}.mdot:nth-child(4){animation-delay:.9s}.mdot:nth-child(5){animation-delay:1.4s}.mdot:nth-child(6){animation-delay:.7s}.mdot:nth-child(7){animation-delay:1.2s}.mdot:nth-child(8){animation-delay:.2s}.mdot:nth-child(9){animation-delay:1.7s}.mdot:nth-child(10){animation-delay:.5s}.mdot:nth-child(11){animation-delay:1s}.mdot:nth-child(12){animation-delay:1.5s}.mdot:nth-child(13){animation-delay:.3s}.mdot:nth-child(14){animation-delay:.8s}.mdot:nth-child(15){animation-delay:1.3s}
.map-caption { margin-top:10px; font-size:12px; color:var(--muted); line-height:1.6; }

/* Firm outcome popup */
.firm-outcome-popup .leaflet-popup-content-wrapper {
  border-radius: 12px; padding: 0; border: 1.5px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12); overflow: hidden;
}
.firm-outcome-popup .leaflet-popup-content { margin: 12px 14px; }
.firm-outcome-popup .leaflet-popup-tip-container { display: none; }

/* back link */
.back-lnk { display:inline-flex; align-items:center; gap:4px; font-size:13px; color:var(--muted); cursor:pointer; margin-bottom:28px; transition:color 0.15s; }
.back-lnk:hover { color:var(--text); }

/* ════════════════════════════════════════
   RESULTS PAGE — combined
════════════════════════════════════════ */
.results-wrap { display:none; }
.results-inner { max-width: 680px; margin: 0 auto; padding: 48px 40px 80px; }
@media(max-width:700px){ .results-inner { padding: 32px 20px 60px; } }

/* Losing money banner */
.overpay-banner {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff8e1; border: 1.5px solid #f5c842;
  border-radius: 14px; padding: 16px 20px; margin-bottom: 28px;
}
.ob-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.ob-body {}
.ob-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.ob-sub { font-size: 13px; color: var(--muted); line-height: 1.55; }
.ob-sub a { color: var(--teal); font-weight: 600; text-decoration:none; }

/* Estimate header */
.est-header { text-align: center; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--border); }
.est-label { font-family:'DM Mono',monospace; font-size:10px; letter-spacing:0.14em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.est-amount { font-family:'Playfair Display',serif; font-size:clamp(56px,10vw,88px); font-weight:700; line-height:1; letter-spacing:-0.03em; color:var(--text); margin-bottom:8px; transition:all 0.25s; }
.est-note { font-size:12px; color:var(--muted); margin-bottom:14px; }
.eff-tag { display:inline-flex; align-items:center; gap:6px; background:var(--surface); border:1px solid var(--border); border-radius:20px; padding:6px 14px; font-size:13px; color:var(--muted); }
.eff-rate { font-weight:600; color:var(--text); }

/* Chart area */
.chart-area { display:flex; align-items:center; gap:28px; background:var(--surface); border:1.5px solid var(--border); border-radius:16px; padding:24px 28px; margin-bottom:28px; }
@media(max-width:500px){ .chart-area { flex-direction:column; align-items:flex-start; gap:20px; } }
.chart-wrap { width:130px; height:130px; position:relative; flex-shrink:0; }
.chart-center { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); text-align:center; pointer-events:none; }
.chart-pct { font-family:'Playfair Display',serif; font-size:20px; font-weight:700; color:var(--text); }
.chart-pct-label { font-family:'DM Mono',monospace; font-size:8px; color:var(--muted); margin-top:2px; text-transform:uppercase; letter-spacing:0.08em; line-height:1.4; }
.chart-legend { display:flex; flex-direction:column; gap:12px; }
.leg-item { display:flex; align-items:center; gap:10px; }
.leg-swatch { width:10px; height:10px; border-radius:3px; flex-shrink:0; }
.leg-name { font-size:13px; font-weight:500; color:var(--text); }
.leg-val { font-family:'DM Mono',monospace; font-size:12px; color:var(--muted); }

/* Expense explorer */
.exp-section { background:var(--surface); border:1.5px solid var(--border); border-radius:20px; padding:28px; margin-bottom:28px; }
.exp-section-title { font-family:'Playfair Display',serif; font-size:22px; font-weight:400; color:var(--text); margin-bottom:5px; }
.exp-section-sub { font-size:13px; color:var(--muted); margin-bottom:22px; line-height:1.6; }

/* Saving hero */
.saving-hero { display:none; text-align:center; padding:20px 0 8px; margin-bottom:18px; }
.sh-label { font-family:'DM Mono',monospace; font-size:10px; letter-spacing:0.12em; text-transform:uppercase; color:var(--muted); margin-bottom:6px; }
.sh-amount {
  font-family:'Playfair Display',serif;
  font-size:clamp(40px,7vw,62px);
  font-weight:700; line-height:1.15;
  margin-bottom:5px;
  padding-bottom: 6px; /* prevents gradient clip at descender */
  display: inline-block;
}
.sh-sub { font-size:13px; color:var(--muted); }

/* Tier cards — 3 options showing what's included */
.tier-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:20px; }
@media(max-width:480px){ .tier-cards { grid-template-columns:1fr; gap:8px; } }
.tier-card {
  background:white; border:1.5px solid var(--border); border-radius:14px;
  padding:16px 14px; cursor:pointer; transition:all 0.18s;
  display:flex; flex-direction:column;
}
.tier-card:hover { border-color:var(--text); transform:translateY(-2px); box-shadow:0 6px 20px rgba(0,0,0,0.07); }
.tier-card.selected { border-color:var(--text); background:var(--text); transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,0.12); }

.tc-name { font-family:'Playfair Display',serif; font-size:16px; font-weight:400; color:var(--text); margin-bottom:2px; line-height:1.2; }
.tier-card.selected .tc-name { color:white; }

.tc-desc { font-family:'DM Mono',monospace; font-size:9px; letter-spacing:0.07em; text-transform:uppercase; color:var(--muted); margin-bottom:10px; }
.tier-card.selected .tc-desc { color:rgba(255,255,255,0.55); }

.tc-bill-label { font-family:'DM Mono',monospace; font-size:8px; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); margin-bottom:3px; }
.tier-card.selected .tc-bill-label { color:rgba(255,255,255,0.5); }

.tc-amount { font-family:'Playfair Display',serif; font-size:20px; font-weight:400; color:var(--text); line-height:1; margin-bottom:4px; transition:all 0.25s; }
.tier-card.selected .tc-amount { color:white; }

.tc-save { font-size:12px; font-weight:700; color:var(--teal); margin-bottom:10px; }
.tier-card.selected .tc-save { color:rgba(255,255,255,0.9); }

.tc-tags { display:flex; flex-wrap:wrap; gap:4px; margin-top:auto; padding-top:9px; border-top:1px solid var(--border); }
.tier-card.selected .tc-tags { border-top-color:rgba(255,255,255,0.2); }
.tc-tag { font-size:11px; color:var(--text); background:var(--bg); border-radius:6px; padding:3px 6px; display:inline-block; line-height:1.4; }
.tier-card.selected .tc-tag { background:rgba(255,255,255,0.12); color:rgba(255,255,255,0.9); }

/* File with accountant CTA — below chips */
.file-acct-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-top: 16px;
  background: var(--text); color: white;
  border-radius: 14px; padding: 18px 22px;
  cursor: pointer; transition: all 0.18s;
}
.file-acct-cta:hover { background: #2a2a28; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.14); }
.fac-left {}
.fac-title { font-family:'Playfair Display',serif; font-size:18px; font-weight:400; color:white; margin-bottom:3px; }
.fac-sub { font-size:12px; color:rgba(255,255,255,0.6); }
.fac-arrow { font-size:22px; color:white; opacity:0.7; flex-shrink:0; }

/* Tier disclaimer note */
.tier-disclaimer { font-size:11px; color:var(--muted); font-style:italic; margin-bottom:14px; }
.chip.active .chip-amt { opacity:0.6; }

/* Breakdown */
.breakdown-wrap { margin-bottom:36px; }
.breakdown-toggle { width:100%; background:none; border:none; display:flex; align-items:center; gap:8px; font-family:'DM Mono',monospace; font-size:10px; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); cursor:pointer; padding:14px 0; border-top:1px solid var(--border); transition:color 0.15s; }
.breakdown-toggle:hover { color:var(--text); }
.bd-arrow { transition:transform 0.2s; }
.breakdown-toggle.open .bd-arrow { transform:rotate(90deg); }
.breakdown { border:1.5px solid var(--border); border-radius:14px; overflow:hidden; margin-top:14px; animation:fadeDown 0.2s ease; }
@keyframes fadeDown { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:translateY(0)} }
.br-row { display:flex; justify-content:space-between; align-items:center; padding:13px 20px; border-bottom:1px solid var(--border); }
.br-row:last-child { border-bottom:none; background:var(--surface); }
.br-label { font-size:14px; color:var(--muted); }
.br-val { font-family:'DM Mono',monospace; font-size:14px; font-weight:500; color:var(--text); }
.br-val.credit { color:var(--teal); }
.br-val.deduct { color:var(--amber); }
.br-val.total-val { font-family:'Playfair Display',serif; font-size:18px; font-weight:700; }

/* Accountant section */
.acct-finder { border-top:1px solid var(--border); padding-top:36px; margin-bottom:0; position:relative; overflow:visible; }

/* ── AI match celebration orbs ── */
@keyframes accOrbRise {
  0%   { transform: translateY(0) scale(1);   opacity: 0.65; }
  60%  { transform: translateY(-55px) scale(0.7); opacity: 0.4; }
  100% { transform: translateY(-100px) scale(0.2); opacity: 0; }
}
.acc-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: accOrbRise var(--orb-dur, 2s) ease-out var(--orb-delay, 0s) 1 forwards;
  z-index: 20;
}
.acct-hook-title { font-family:'Playfair Display',serif; font-size:clamp(24px,4vw,34px); font-weight:400; color:var(--text); margin-bottom:8px; line-height:1.2; }
.acct-saving-callout { font-size:15px; color:var(--muted); line-height:1.65; margin-bottom:22px; }
.acct-saving-callout strong { color:var(--text); font-weight:600; }

/* Map in results */
.results-map-box { border:1.5px solid var(--border); border-radius:16px; overflow:hidden; height:320px; position:relative; margin-bottom:18px; z-index:0; isolation:isolate; }
.results-map-inner { width:100%; height:100%; background:#eef1ee; position:relative; overflow:hidden; }
.results-map-inner::before { content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,0.45) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.45) 1px,transparent 1px); background-size:40px 40px; pointer-events:none; }

/* Postcode input */
.pc-wrap { display:flex; gap:0; background:var(--surface); border:1.5px solid var(--border); border-radius:12px; align-items:center; overflow:hidden; margin-bottom:18px; transition:border-color 0.2s; }
.pc-wrap:focus-within { border-color:var(--text); }
.pc-icon { padding:12px 12px 12px 16px; display:flex; align-items:center; }
.pc-input { background:transparent; border:none; outline:none; font-family:'IBM Plex Sans',sans-serif; font-size:14px; color:var(--text); flex:1; padding:14px 8px; }
.pc-input::placeholder { color:var(--muted); }
.pc-btn { background:var(--text); color:white; border:none; padding:14px 20px; font-size:13px; font-weight:600; cursor:pointer; white-space:nowrap; font-family:'IBM Plex Sans',sans-serif; transition:background 0.15s; }
.pc-btn:hover { background:#2a2a28; }

/* Accountant list */
.acc-list { display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.acc-card { background:white; border:1.5px solid var(--border); border-radius:12px; padding:14px 18px; display:flex; align-items:center; justify-content:space-between; gap:14px; cursor:pointer; transition:all 0.15s; }
.acc-card:hover { border-color:var(--text); box-shadow:0 4px 16px rgba(0,0,0,0.06); transform:translateY(-1px); }
.acc-card.selected { border-color:var(--teal); background:var(--teal-light); }
.acc-name { font-size:14px; font-weight:600; color:var(--text); margin-bottom:5px; display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
.acc-ndot { width:6px; height:6px; background:var(--teal); border-radius:50%; flex-shrink:0; }
.acc-cert { font-family:'DM Mono',monospace; font-size:8px; color:var(--muted); background:var(--surface); border:1px solid var(--border); padding:2px 6px; border-radius:4px; letter-spacing:0.06em; text-transform:uppercase; }
.acc-badges { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-bottom:5px; }
.acc-spec-badge { font-family:'DM Mono',monospace; font-size:8px; color:var(--teal); background:var(--teal-light); border:1px solid rgba(0,177,178,0.2); padding:2px 7px; border-radius:4px; letter-spacing:0.06em; text-transform:uppercase; font-weight:500; }
.acc-meta { font-size:12px; color:var(--muted); display:flex; gap:10px; flex-wrap:wrap; }
.acc-right { display:flex; gap:14px; flex-shrink:0; text-align:right; align-items:center; }
.acc-rating-block { text-align:right; }
.acc-stars { color:#f5c842; font-size:13px; line-height:1; margin-bottom:2px; letter-spacing:1px; }
.acc-rating-num { font-family:'DM Mono',monospace; font-size:14px; font-weight:700; color:var(--text); line-height:1; }
.acc-reviews { font-size:9px; color:var(--muted); margin-top:2px; white-space:nowrap; }
.err-box2 { background:#fff5f5; border:1px solid #fcc; border-radius:8px; padding:10px 14px; font-size:13px; color:var(--red); margin-bottom:14px; display:none; }

/* ─── SEND FORM ─── */
.send-form { display:none; border-top:1px solid var(--border); padding-top:32px; margin-top:16px; animation:fadeUp 0.3s ease; }
@keyframes fadeUp { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
.sf-chosen { display:flex; align-items:center; gap:14px; background:var(--teal-light); border:1.5px solid rgba(0,177,178,0.25); border-radius:14px; padding:16px 20px; margin-bottom:28px; }
.sf-chosen-check { width:34px; height:34px; background:white; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; border:1.5px solid rgba(0,177,178,0.3); }
.sf-firm-name { font-weight:600; color:var(--text); font-size:15px; }
.sf-firm-detail { font-size:12px; color:var(--muted); margin-top:2px; }
.sf-change { margin-left:auto; font-size:12px; color:var(--teal); cursor:pointer; font-weight:600; flex-shrink:0; white-space:nowrap; }

.sf-form-title { font-family:'Playfair Display',serif; font-size:clamp(22px,3.5vw,28px); font-weight:400; color:var(--text); margin-bottom:5px; }
.sf-form-sub { font-size:14px; color:var(--muted); margin-bottom:24px; line-height:1.6; }
.sf-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media(max-width:500px){ .sf-row { grid-template-columns:1fr; } }
.sf-field { margin-bottom:14px; }
.sf-field label { font-family:'DM Mono',monospace; font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:var(--muted); display:block; margin-bottom:7px; font-weight:500; }
.sf-opt { font-size:10px; text-transform:none; letter-spacing:0; color:var(--muted); font-family:'IBM Plex Sans',sans-serif; margin-left:4px; font-weight:400; }
.sf-input { width:100%; background:var(--surface); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; font-family:'IBM Plex Sans',sans-serif; font-size:15px; color:var(--text); outline:none; transition:border-color 0.2s; }
.sf-input:focus { border-color:var(--text); }
.sf-input::placeholder { color:var(--muted); }


.notes-field { width:100%; background:var(--surface); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; font-family:'IBM Plex Sans',sans-serif; font-size:13px; color:var(--text); resize:none; outline:none; line-height:1.65; min-height:80px; transition:border-color 0.2s; }
.notes-field::placeholder { color:var(--muted); }
.notes-field:focus { border-color:var(--text); }

/* Security inline (not in grey box) */
.security-inline {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  flex-wrap: wrap;
}
.security-inline svg { flex-shrink: 0; margin-top: 2px; }
.security-inline span { flex: 1; min-width: 0; white-space: normal; word-break: break-word; }
.workiro-inline { color: var(--teal); font-weight: 600; }

.sf-err { display:none; background:#fff5f5; border:1px solid #fcc; border-radius:8px; padding:10px 14px; font-size:13px; color:var(--red); margin-bottom:14px; }
.send-hint { font-size:11px; color:var(--muted); text-align:center; margin-top:8px; }
.send-hint a { color:var(--muted); }

/* ════════════════════════════════════════
   SUCCESS PAGE
════════════════════════════════════════ */
.success-wrap { display:none; max-width:540px; margin:0 auto; padding:60px 40px 80px; text-align:center; animation:fadeUp 0.5s ease; }
@media(max-width:600px){ .success-wrap { padding:48px 20px 60px; } }
.success-icon { width:72px; height:72px; background:var(--teal-light); border:2px solid var(--teal); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 28px; animation:popIn 0.5s cubic-bezier(0.175,0.885,0.32,1.275) both; }
@keyframes popIn { from{opacity:0;transform:scale(0.6)} to{opacity:1;transform:scale(1)} }
.success-wrap h2 { font-family:'Playfair Display',serif; font-size:clamp(24px,4vw,32px); font-weight:400; color:var(--text); margin-bottom:10px; line-height:1.25; }
.success-firm-name { display:inline; overflow-wrap:break-word; word-break:break-word; }
.success-sub { font-size:15px; color:var(--muted); line-height:1.65; margin-bottom:24px; }
.success-summary { background:var(--surface); border:1.5px solid var(--border); border-radius:16px; padding:20px 24px; margin-bottom:20px; text-align:left; }
.ss-row { display:flex; justify-content:space-between; align-items:center; padding:9px 0; font-size:14px; }
.ss-row:not(:last-child) { border-bottom:1px solid var(--border); }
.ss-label { color:var(--muted); }
.ss-value { font-weight:600; color:var(--text); }

/* Share section */
.share-clean { margin-bottom:32px; text-align:center; padding:20px 0; }
.share-clean-title { font-family:'Playfair Display',serif; font-size:clamp(17px,3.5vw,22px); font-weight:400; color:var(--text); margin-bottom:10px; line-height:1.35; }
.share-saving-fig { font-style:italic; color:var(--teal); }
.share-clean-sub { font-size:14px; color:var(--muted); margin-bottom:22px; line-height:1.6; }
.share-wa-btn {
  display:flex; align-items:center; justify-content:center; gap:10px;
  width:100%; background:#25D366; color:white;
  border:none; border-radius:14px; padding:18px 24px;
  font-family:'IBM Plex Sans',sans-serif; font-size:16px; font-weight:700;
  cursor:pointer; transition:all 0.18s; margin-bottom:16px;
  text-decoration:none;
}
.share-wa-btn:hover { background:#1ebe58; transform:translateY(-1px); box-shadow:0 8px 20px rgba(37,211,102,0.25); }
.share-sec-row {
  display:flex; align-items:center; justify-content:center; gap:10px;
  flex-wrap:wrap;
}
.share-sec-link {
  display:inline-flex; align-items:center; gap:5px;
  font-size:13px; color:var(--muted); text-decoration:none;
  background:none; border:none; cursor:pointer;
  font-family:'IBM Plex Sans',sans-serif;
  transition:color 0.15s; padding:4px 0;
}
.share-sec-link:hover { color:var(--text); }
.share-sec-dot { color:var(--border-dark); }
.share-copy-inline { background:none; border:none; cursor:pointer; font-family:'IBM Plex Sans',sans-serif; }
.share-copied-msg { font-size:12px; color:var(--teal); display:none; font-weight:600; margin-left:4px; }
/* Bottom CTAs on success page */
.success-ctas { display:flex; flex-direction:column; gap:14px; border-top:1px solid var(--border); padding-top:24px; margin-bottom:0; }
.workiro-cta-block {
  background:#0f0f0e; color:white; border-radius:16px; padding:22px 24px; text-align:left; overflow:hidden; position:relative;
}
.workiro-cta-heart { font-size:38px; line-height:1; margin-bottom:10px; display:block; filter:drop-shadow(0 0 10px rgba(239,68,68,0.6)); }
.workiro-cta-eyebrow { font-family:'DM Mono',monospace; font-size:9px; letter-spacing:0.12em; text-transform:uppercase; color:rgba(255,255,255,0.45); margin-bottom:8px; }
.workiro-cta-title { font-family:'Playfair Display',serif; font-size:22px; font-weight:400; color:white; margin-bottom:8px; line-height:1.25; }
.workiro-cta-body { font-size:13px; color:rgba(255,255,255,0.6); line-height:1.6; margin-bottom:16px; }
.workiro-cta-industries { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:16px; position:relative; }
.workiro-cta-industries::after {
  content:''; position:absolute; right:0; top:0; bottom:0; width:60px;
  background:linear-gradient(to right,transparent,#0f0f0e);
  pointer-events:none;
}
.workiro-cta-ind {
  font-size:11px; border-radius:100px; padding:4px 12px; font-weight:500; white-space:nowrap;
}
.workiro-cta-ind-a { color:#4ade80; background:rgba(74,222,128,0.12); border:1px solid rgba(74,222,128,0.25); }
.workiro-cta-ind-b { color:#86efac; background:rgba(134,239,172,0.10); border:1px solid rgba(134,239,172,0.22); }
.workiro-cta-ind-c { color:#34d399; background:rgba(52,211,153,0.10); border:1px solid rgba(52,211,153,0.22); }
.workiro-cta-ind-d { color:#6ee7b7; background:rgba(110,231,183,0.10); border:1px solid rgba(110,231,183,0.20); }
.workiro-cta-ind-e { color:#a7f3d0; background:rgba(167,243,208,0.09); border:1px solid rgba(167,243,208,0.18); }
.workiro-cta-link { display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:700; color:white; text-decoration:none; background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.2); border-radius:8px; padding:10px 18px; transition:all 0.18s; }
.workiro-cta-link:hover { background:rgba(255,255,255,0.18); transform:translateY(-1px); }
/* MTD CTA */
.mtd-cta-block {
  background:white; border:1.5px solid var(--border); border-radius:16px; padding:22px 24px; text-align:left;
}
.mtd-cta-eyebrow { font-family:'DM Mono',monospace; font-size:9px; letter-spacing:0.12em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.mtd-cta-badge { display:inline-block; background:var(--text); color:white; font-family:'DM Mono',monospace; font-size:9px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; padding:3px 9px; border-radius:4px; margin-bottom:10px; }
.mtd-cta-title { font-family:'Playfair Display',serif; font-size:19px; font-weight:400; color:var(--text); margin-bottom:8px; line-height:1.25; }
.mtd-cta-body { font-size:13px; color:var(--muted); line-height:1.6; margin-bottom:16px; }
.mtd-cta-pills { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:16px; }
.mtd-cta-pill { font-size:11px; color:var(--text); background:var(--surface); border:1px solid var(--border); border-radius:100px; padding:3px 10px; font-family:'DM Mono',monospace; font-weight:500; }
.mtd-cta-links { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.mtd-cta-primary { display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:700; color:white; text-decoration:none; background:var(--text); border-radius:8px; padding:10px 18px; transition:all 0.18s; }
.mtd-cta-primary:hover { background:#2a2a28; transform:translateY(-1px); }
.mtd-cta-secondary { font-size:12px; color:var(--muted); }
.acct-list-cta-block {
  background:var(--surface); border:1.5px solid var(--border); border-radius:16px; padding:22px 24px; text-align:left;
}
.alc-eyebrow { font-family:'DM Mono',monospace; font-size:9px; letter-spacing:0.12em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.alc-title { font-family:'Playfair Display',serif; font-size:19px; font-weight:400; color:var(--text); margin-bottom:6px; line-height:1.3; }
.alc-body { font-size:13px; color:var(--muted); line-height:1.55; margin-bottom:14px; }
.alc-tags { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:14px; }
.alc-tag { font-size:11px; color:#7c3aed; background:#f5f3ff; border:1px solid #ddd6fe; border-radius:100px; padding:3px 10px; font-family:'DM Mono',monospace; font-weight:500; letter-spacing:0.03em; }
.alc-tag-purple { font-size:11px; color:#7c3aed; background:#f5f3ff; border:1px solid #ddd6fe; border-radius:100px; padding:3px 10px; font-family:'DM Mono',monospace; font-weight:500; letter-spacing:0.03em; }
.alc-link { display:inline-flex; align-items:center; gap:5px; background:var(--text); color:white; font-size:13px; font-weight:600; text-decoration:none; border-radius:8px; padding:10px 18px; transition:all 0.15s; }
.alc-link:hover { background:#2a2a28; transform:translateY(-1px); }
/* Profile mini-form inside accountant CTA */
.alc-form { display:flex; flex-direction:column; gap:8px; margin-bottom:14px; border-top:1px solid var(--border); padding-top:14px; }
.alc-form-row { display:flex; gap:8px; flex-wrap:wrap; }
.alc-form-field { flex:1; min-width:120px; }
.alc-form-label { font-family:'DM Mono',monospace; font-size:9px; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); display:block; margin-bottom:5px; }
.alc-form-input { width:100%; background:white; border:1.5px solid var(--border); border-radius:10px; padding:10px 13px; font-family:'IBM Plex Sans',sans-serif; font-size:13px; color:var(--text); outline:none; transition:border-color 0.2s; box-sizing:border-box; }
.alc-form-input:focus { border-color:#7c3aed; }
.alc-form-hint { font-size:11px; color:var(--muted); margin-top:5px; font-style:italic; }

.start-over { font-size:13px; color:var(--muted); cursor:pointer; text-decoration:underline; transition:color 0.15s; }
.start-over:hover { color:var(--text); }

/* ─── FOOTER ─── */
footer { border-top:1px solid var(--border); padding:18px 40px; display:flex; align-items:center; justify-content:space-between; font-size:12px; color:var(--muted); }
@media(max-width:600px){ footer { flex-direction:column; gap:6px; padding:14px 20px; text-align:center; } }
footer a { color:var(--muted); text-decoration:none; }
footer a:hover { color:var(--text); }
