:root {
  --bg: #faf8f4;
  --bg-2: #f2eee5;
  --surface: #ffffff;
  --glass: #ffffff;
  --glass-strong: #ffffff;
  --glass-border: #e9e4d9;

  --ink: #13263a;
  --ink-soft: #4a5a6b;
  --ink-faint: #5f6e7e;

  --line: #e6e1d6;
  --line-strong: #d6cfbf;

  --primary: #12324f;
  --primary-2: #1d4a73;
  --navy-deep: #0b2238;
  --accent: #c9a44c;
  --accent-dark: #7d6312;
  --gold-soft: #f6eedb;

  --danger: #c0392b;
  --danger-bg: #fbe9e7;
  --ok-bg: #e5f4ec;
  --success: #1e7a4c;

  --radius: 22px;
  --radius-sm: 14px;

  --gradient-brand: linear-gradient(135deg, #12324f 0%, #1d4a73 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(18,50,79,.05), rgba(201,164,76,.08));
  --gradient-text: linear-gradient(120deg, #12324f, #1d4a73);

  --shadow-sm: 0 4px 14px -6px rgba(19, 38, 58, 0.14);
  --shadow: 0 22px 50px -22px rgba(19, 38, 58, 0.30);
  --shadow-lg: 0 36px 80px -30px rgba(19, 38, 58, 0.40);
  --glow-primary: 0 10px 24px -10px rgba(18, 50, 79, 0.55);

  --stage-new-bg: #e3ebf5; --stage-new-ink: #1d4a73;
  --stage-waiting-bg: #fbf0d4; --stage-waiting-ink: #8a6512;
  --stage-progress-bg: #e1f1ef; --stage-progress-ink: #0f6b5f;
  --stage-action-bg: #fbe6df; --stage-action-ink: #9a3412;
  --stage-success-bg: #e2f4e8; --stage-success-ink: #166534;
  --stage-failed-bg: #fbe3e1; --stage-failed-ink: #991b1b;

  --font-display: 'DM Sans', 'Segoe UI', Arial, sans-serif;
  --font-body: 'DM Sans', -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--bg);
  --bs-link-color: var(--primary);
  --bs-link-hover-color: var(--primary-2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 1400px) { .container-xxl { max-width: 1440px; } }
.container-xxl { padding-left: 24px; padding-right: 24px; }

h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.trust-bar :focus-visible, .who-band :focus-visible, .cta-band-inner :focus-visible, .site-footer :focus-visible, .price-card-featured :focus-visible { outline-color: var(--accent); }
img { max-width: 100%; }
picture { display: block; }

.eyebrow {
  font-size: .9rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  margin: 0 0 14px; display: inline-flex; align-items: center; gap: 10px; color: var(--accent-dark);
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--accent); display: inline-block; }
.eyebrow-light { color: var(--accent); }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--primary); }
.logo-mark { width: 46px; height: 46px; color: var(--primary); display: inline-flex; flex-shrink: 0; }
.logo-word { font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: -.03em; color: var(--primary); line-height: 1; }
.logo-it { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn-pill {
  display: inline-flex; align-items: center; gap: 12px; border-radius: 999px; font-family: inherit;
  font-weight: 700; font-size: 1.1rem; line-height: 1.2; padding: 14px 26px; text-decoration: none;
  cursor: pointer; border: 2px solid transparent; white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn-pill:hover { transform: translateY(-2px); }
.btn-pill:active { transform: translateY(0); }
.btn-lg-pill { font-size: 1.2rem; padding: 18px 32px; }
.btn-pill .pill-arrow {
  width: 34px; height: 34px; margin-right: -14px; border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; font-size: 1.1rem; transition: transform .18s ease;
}
.btn-lg-pill .pill-arrow { width: 40px; height: 40px; margin-right: -18px; }
.btn-pill:hover .pill-arrow { transform: translateX(3px); }

.btn-pill-solid { background: var(--primary); color: #fff; box-shadow: var(--glow-primary); }
.btn-pill-solid:hover { background: var(--primary-2); color: #fff; }
.btn-pill-solid .pill-arrow { background: var(--accent); color: var(--navy-deep); }

.btn-pill-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-pill-outline:hover { background: var(--primary); color: #fff; }

.btn-pill-gold { background: var(--accent); color: var(--navy-deep); }
.btn-pill-gold:hover { background: #d8b45c; color: var(--navy-deep); }
.btn-pill-gold .pill-arrow { background: var(--navy-deep); color: #fff; }

.btn-pill-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-pill-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

.text-link { font-weight: 700; color: var(--primary); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.text-link:hover { color: var(--primary-2); }

/* ---------- Nav ---------- */
.site-nav {
  background: rgba(250, 248, 244, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); padding: 18px 0; z-index: 1030;
}
.site-nav .navbar-brand { padding: 0; margin-right: 32px; }
.site-nav .navbar-nav .nav-link {
  font-size: 1.2rem; font-weight: 500; color: var(--ink); padding: 10px 20px; border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.site-nav .navbar-nav .nav-link:hover { color: var(--primary); background: var(--bg-2); }
.site-nav .navbar-nav .nav-link.active { color: var(--primary); background: #e6edf4; font-weight: 600; }
.site-nav .nav-actions { display: flex; align-items: center; gap: 14px; }
.site-nav .navbar-toggler { border: 2px solid var(--primary); border-radius: 12px; padding: 8px 10px; }
.site-nav .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(201,164,76,.45); }
@media (max-width: 1399.98px) {
  .site-nav .navbar-nav .nav-link { font-size: 1.05rem; padding: 10px 11px; white-space: nowrap; }
  .site-nav .navbar-brand { margin-right: 16px; }
}
@media (max-width: 1199.98px) {
  .site-nav { padding: 12px 0; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-word { font-size: 1.65rem; }
  .site-nav .navbar-collapse { padding-top: 16px; }
  .site-nav .navbar-nav .nav-link { font-size: 1.2rem; padding: 12px 14px; }
  .site-nav .nav-actions { flex-wrap: wrap; padding: 14px 0 6px; border-top: 1px solid var(--line); margin-top: 10px; }
}

.profile-menu { position: relative; display: none; }
.profile-circle {
  width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff;
  border: 2px solid var(--accent); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.profile-dropdown {
  display: none; position: absolute; top: calc(100% + 10px); right: 0; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  min-width: 190px; padding: 6px; z-index: 10;
}
@media (max-width: 1199.98px) { .profile-dropdown { right: auto; left: 0; } }
.profile-dropdown.open { display: block; }
.profile-dropdown button, .profile-dropdown a {
  display: block; width: 100%; text-align: left; background: none; border: none; padding: 11px 12px; border-radius: 9px;
  font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--ink); cursor: pointer; text-decoration: none;
}
.profile-dropdown button:hover, .profile-dropdown a:hover { background: var(--bg-2); }
.profile-dropdown .dropdown-divider { height: 1px; background: var(--line); margin: 5px 4px; border: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 72px 0 96px;
  background:
    radial-gradient(700px 420px at 92% 10%, rgba(201,164,76,.16), transparent 70%),
    radial-gradient(700px 500px at 0% 100%, rgba(18,50,79,.07), transparent 70%),
    var(--bg);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; background: var(--gold-soft); color: var(--primary);
  border: 1px solid #ead9ad; padding: 8px 18px; border-radius: 999px; font-size: 1rem; font-weight: 700; margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(201,164,76,.25); }
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.08; margin: 0 0 26px; font-weight: 700; letter-spacing: -0.035em; color: var(--primary);
}
.hero h1 .hl { color: var(--accent-dark); }
.hero-pen { margin: 0 0 22px; font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 600; line-height: 1.5; color: var(--primary); }
.pen-line { display: block; }
.pen-line mark {
  color: inherit; padding: 0 .2em; margin: 0 -.2em; border-radius: .2em;
  background: linear-gradient(104deg, rgba(201,164,76,0) .9%, rgba(201,164,76,.45) 2.4%, rgba(222,190,110,.38) 92%, rgba(201,164,76,0) 98%);
  background-repeat: no-repeat; background-size: 0% 62%; background-position: 0 88%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: penSweep .7s cubic-bezier(.6,.1,.3,1) forwards;
}
.pen-line:nth-child(1) mark { animation-delay: .5s; }
.pen-line:nth-child(2) mark { animation-delay: 1.25s; }
.pen-line:nth-child(3) mark { animation-delay: 2s; }
@keyframes penSweep { to { background-size: 100% 62%; } }
.hero-lead strong { color: var(--primary); }

.stamp-photo { position: relative; margin: 0; container-type: inline-size; }
.stamp-photo .section-photo { aspect-ratio: 4 / 3; }
.overdue-stamp {
  position: absolute; top: 55.5%; left: 51%;
  font-size: 5.2cqw; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1;
  color: #b3261e; border: .1em solid #b3261e; border-radius: .12em; padding: .16em .38em .12em .48em;
  mix-blend-mode: multiply; opacity: .85;
  transform: translate(-50%, -50%) rotate(-12deg);
}
.reveal-ready .overdue-stamp { opacity: 0; }
.reveal-ready .is-visible .overdue-stamp { animation: stampDown .5s cubic-bezier(.2,.9,.3,1.25) .35s both; }

.reveal-ready [data-pop].is-visible { animation: cardPop 1.1s cubic-bezier(.3,.7,.3,1) .2s both; }
@keyframes cardPop {
  0%, 100% { scale: 1; }
  45% { scale: 1.07; }
}
@keyframes stampDown {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(2.4); }
  70% { opacity: .92; }
  100% { opacity: .85; transform: translate(-50%, -50%) rotate(-12deg) scale(1); }
}

.hero-lead { font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.5; color: var(--ink); font-weight: 500; margin: 0 0 16px; max-width: 34em; }
.hero-sub { font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 34px; max-width: 36em; }
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero-photo { position: relative; margin: 0; padding: 0 0 24px 24px; }
.hero-photo.hero-photo-left img { object-position: 45% center; }
.hero-photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: center 40%; border-radius: 28px; box-shadow: var(--shadow-lg); display: block;
}
.hero-photo::before {
  content: ''; position: absolute; left: 0; bottom: 0; width: 55%; height: 60%; border-radius: 28px;
  background: var(--accent); opacity: .25; z-index: -1;
}
.hero-float {
  position: absolute; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 18px;
  padding: 16px 22px; box-shadow: var(--shadow); font-size: .98rem; line-height: 1.3; color: var(--ink-soft); font-weight: 500;
}
.hero-float-num { font-size: 2rem; font-weight: 800; color: var(--primary); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-float-price { left: 0; bottom: 56px; }
.hero-trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--ink-soft); font-size: 1.05rem; font-weight: 500; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-proof a { display: inline-flex; align-items: center; gap: 12px; min-height: 76px; padding: 6px 14px 6px 8px; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--primary); font-weight: 700; line-height: 1.3; text-decoration: none; }
.hero-proof a:hover { border-color: var(--primary); }
.hero-proof svg { flex-shrink: 0; margin: 0 5px; color: var(--accent-dark); }
.hero-proof small { display: block; font-size: .9rem; font-weight: 500; color: var(--ink-soft); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust li::before { content: '✓'; color: var(--accent-dark); font-weight: 800; }
@media (max-width: 991.98px) {
  .hero { padding: 48px 0 64px; }
  }
@media (max-width: 575.98px) {
  .hero-photo { padding: 0 0 16px 0; }
  .hero-float { padding: 12px 16px; font-size: .88rem; }
  .hero-float-num { font-size: 1.5rem; }
  .hero-float-price { left: 10px; bottom: 30px; }
          .btn-lg-pill { font-size: 1.08rem; padding: 16px 26px; width: 100%; justify-content: center; }
}

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--primary); color: #fff; padding: 40px 0; }
.trust-item { display: flex; align-items: center; gap: 16px; }
@media (min-width: 768px) { .trust-item { justify-content: center; } }
.trust-item svg { color: var(--accent); flex-shrink: 0; width: 38px; height: 38px; }
.trust-item strong { display: block; font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.trust-item span { display: block; color: rgba(255,255,255,.75); font-size: 1rem; }
@media (max-width: 575.98px) { .trust-item { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
@media (max-width: 767.98px) { .section { padding: 72px 0; } }
.section-tint { background: var(--bg-2); }
.section-head { max-width: 760px; margin-bottom: 52px; }
h2.section-title { font-size: clamp(2.1rem, 3.6vw, 3.1rem); font-weight: 700; line-height: 1.12; margin: 0 0 22px; letter-spacing: -.03em; color: var(--primary); }
.section-lead { font-size: clamp(1.18rem, 1.5vw, 1.35rem); line-height: 1.6; color: var(--ink); margin: 0 0 18px; font-weight: 500; }
.section-head .section-lead { margin-bottom: 0; }
.section-text { font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 18px; }
.section-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); display: block; }
.section-cta { margin-top: 48px; display: flex; justify-content: center; }

.light-zone { position: relative; background: var(--bg-2); }
.light-zone > .section { background: transparent; }
.flow-lines-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.light-zone .container-xxl { position: relative; z-index: 1; }

/* ---------- Scroll animations (only when JS has run) ---------- */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.reveal-ready [data-stagger] > * {
  opacity: 0; transform: translateY(36px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 180ms);
}
.reveal-ready [data-stagger] .step > * {
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
  transition-delay: calc(var(--i, 0) * 180ms + 280ms + var(--j, 0) * 90ms);
}
.reveal-ready [data-stagger].is-visible > *,
.reveal-ready [data-stagger].is-visible .step > * { opacity: 1; transform: none; }

.check-list { list-style: none; padding: 0; margin: 26px 0 0; }
.check-list li { position: relative; padding: 12px 0 12px 44px; font-size: 1.15rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.check-list li:first-child { border-top: none; }
.check-list li strong { color: var(--ink); }
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 12px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold-soft); color: var(--accent-dark); font-weight: 800; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
}
.check-list-light li { color: rgba(255,255,255,.88); border-color: rgba(255,255,255,.14); }
.check-list-light li::before { background: rgba(201,164,76,.22); color: var(--accent); }

/* ---------- Cards / steps ---------- */
.step {
  height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 34px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.step .step-num { display: block; font-size: 3rem; font-weight: 800; line-height: 1; color: var(--accent); margin-bottom: 18px; letter-spacing: -.03em; }
.step h3 { font-size: 1.5rem; margin: 0 0 12px; font-weight: 700; color: var(--primary); }
.step p { margin: 0; font-size: 1.1rem; color: var(--ink-soft); line-height: 1.6; }
.step .check-list { margin-top: 10px; }


/* ---------- Pricing ---------- */
.price-card {
  height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 34px;
  display: flex; flex-direction: column; position: relative;
}
.price-card h3 { font-size: 1.35rem; margin: 0 0 10px; color: var(--ink-soft); font-weight: 600; }
.price-big { font-size: 2.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin: 0 0 18px; line-height: 1.1; }
.price-big small { font-size: 1.1rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; }
.price-list { list-style: none; padding: 0; margin: 0 0 8px; flex: 1; }
.price-list li { padding: 11px 0 11px 30px; position: relative; font-size: 1.1rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.price-list li::before { content: '–'; position: absolute; left: 4px; color: var(--ink-faint); font-weight: 700; }
.price-card-featured {
  background: var(--primary); border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-14px);
}
@media (max-width: 991.98px) { .price-card-featured { transform: none; } }
.price-card-featured h3 { color: rgba(255,255,255,.8); }
.price-card-featured .price-big { color: #fff; font-size: 3.6rem; }
.price-card-featured .price-big small { color: var(--accent); }
.price-card-featured .price-list { margin-bottom: 28px; }
.price-card-featured .price-list li { color: rgba(255,255,255,.88); border-color: rgba(255,255,255,.14); }
.price-card-featured .price-list li::before { content: '✓'; color: var(--accent); left: 0; }
.price-tag {
  position: absolute; top: -16px; left: 34px; background: var(--accent); color: var(--navy-deep);
  font-weight: 800; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px;
}

/* ---------- Who we help ---------- */
.who-band {
  color: #fff;
  background: linear-gradient(100deg, rgba(11,34,56,.94) 0%, rgba(11,34,56,.8) 45%, rgba(18,50,79,.35) 100%), url('/img/brisbane-story-bridge.jpg') center 60% / cover no-repeat;
  background-image: linear-gradient(100deg, rgba(11,34,56,.94) 0%, rgba(11,34,56,.8) 45%, rgba(18,50,79,.35) 100%), image-set(url('/img/brisbane-story-bridge.webp') type('image/webp'), url('/img/brisbane-story-bridge.jpg') type('image/jpeg'));
}
.who-band h2.section-title { color: #fff; }
.who-band .section-lead { color: rgba(255,255,255,.88); }
.industry-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.industry-chips span {
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.07); border-radius: 999px;
  padding: 9px 18px; font-size: 1.02rem; font-weight: 500;
}
.eligibility { background: rgba(11,34,56,.62); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 38px 34px; backdrop-filter: blur(6px); }
.eligibility h3 { color: #fff; font-size: 1.5rem; margin: 0; }
.eligibility .check-list { margin-bottom: 28px; }

/* ---------- Form section ---------- */
.form-section { background: var(--bg); }

.panel {
  max-width: 820px; margin: 0 auto; border: 1px solid var(--line); border-radius: 26px; padding: 44px;
  background: #fff; box-shadow: var(--shadow); border-top: 6px solid var(--accent);
}
@media (max-width: 575.98px) { .panel { padding: 28px 20px; border-radius: 20px; } }
.panel .panel-head { margin-bottom: 28px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.panel .panel-head h2 { margin: 0 0 8px; font-size: 2rem; letter-spacing: -.02em; font-weight: 700; color: var(--primary); }
.panel .panel-head p { margin: 0; color: var(--ink-soft); font-size: 1.08rem; }
@media (max-width: 560px) { .panel .panel-head { flex-direction: column; } }

.save-status { flex-shrink: 0; font-size: .95rem; font-weight: 700; color: var(--success); opacity: 0; transition: opacity .3s ease; white-space: nowrap; }
.save-status.visible { opacity: 1; }

.draft-restored-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px; margin-bottom: 18px; font-size: 1rem; color: var(--ink-soft);
}
.draft-restored-bar #clearDraftBtn {
  background: none; border: none; color: var(--danger); font-weight: 700; font-size: .95rem;
  cursor: pointer; font-family: inherit; padding: 4px 6px; border-radius: 6px; white-space: nowrap;
}
.draft-restored-bar #clearDraftBtn:hover { background: var(--danger-bg); }

.toast-stack {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%);
  z-index: 1090; display: flex; flex-direction: column; gap: 10px; align-items: center;
  pointer-events: none; width: min(92vw, 440px);
}
.app-toast {
  pointer-events: auto; width: 100%; text-align: center; padding: 15px 22px; border-radius: 14px;
  background: var(--primary); color: #fff; font-size: 1rem; font-weight: 600; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(12px) scale(.97); transition: opacity .25s ease, transform .25s ease;
}
.app-toast.show { opacity: 1; transform: translateY(0) scale(1); }
.app-toast.app-toast-error { background: var(--danger); }

.form-fields-wrap { position: relative; }
.form-lock {
  display: none; position: absolute; inset: -6px; border-radius: var(--radius); cursor: pointer;
  background: rgba(250, 248, 244, .86); backdrop-filter: blur(6px); z-index: 5;
  flex-direction: column; align-items: center; justify-content: flex-start; gap: 16px; padding: 72px 20px 20px; text-align: center;
}
.form-lock p { margin: 0; font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.enquiry-lock { cursor: default; gap: 10px; background: rgba(250, 248, 244, .6); backdrop-filter: blur(2px); }
.enquiry-lock .btn-pill { margin-top: 8px; }
.enquiry-lock-sub { color: var(--ink-soft); }
.enquiry-lock-icon {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--primary); color: var(--accent);
}

/* ---------- Form fields ---------- */
.field { margin-bottom: 20px; }
.field label, .field .field-label { display: block; font-size: 1.02rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field .hint { display: block; font-weight: 400; font-size: .92rem; color: var(--ink-faint); margin-top: 6px; }
.field label .field-tip, .field .field-label .field-tip { cursor: help; color: var(--accent-dark); margin-left: 2px; }

input[type=text], input[type=number], input[type=date], input[type=tel], input[type=email], input[type=password],
textarea, select {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: 12px; font-size: 1.05rem;
  font-family: inherit; color: var(--ink); background: #fff; line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease;
}
select { cursor: pointer; }
textarea { resize: vertical; min-height: 96px; }
input[data-amount], input[data-settle] { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(18,50,79,.12); }

.field-invalid { border-color: var(--danger) !important; }
.field-invalid:focus { box-shadow: 0 0 0 4px var(--danger-bg) !important; }
.contact-list.field-invalid { border: 1.5px solid var(--danger); border-radius: 12px; padding: 8px; }
.file-input.field-invalid::file-selector-button,
.file-input.field-invalid::-webkit-file-upload-button { border-color: var(--danger); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-row > * { min-width: 0; }
@media (max-width: 575.98px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.contact-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.contact-row { display: flex; gap: 10px; align-items: center; }
.contact-row input { flex: 1; }
.contact-row .remove-x {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid var(--line-strong);
  background: #fff; color: var(--danger); cursor: pointer; font-size: 1.2rem; line-height: 1; font-family: inherit;
}
.contact-row .remove-x:hover { background: var(--danger-bg); border-color: var(--danger); }
.add-contact-btn {
  background: none; border: 1.5px solid var(--line-strong); border-radius: 12px; color: var(--primary);
  font-weight: 700; font-size: 1rem; padding: 10px 16px; cursor: pointer; font-family: inherit;
}
.add-contact-btn:hover { background: var(--bg-2); border-color: var(--primary); }

.toggle-yn { display: flex; gap: 10px; margin-bottom: 4px; }
.toggle-yn button {
  flex: 1; padding: 12px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff;
  font-weight: 700; font-size: 1rem; cursor: pointer; color: var(--ink-soft); font-family: inherit;
}
.toggle-yn button.active { border-color: var(--primary); color: var(--primary); background: #e6edf4; }

.invoice-row {
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); padding: 24px; margin-bottom: 18px;
  background: var(--bg); transition: border-color .15s ease;
}
.invoice-row:focus-within { border-color: var(--primary); }
.invoice-row-head { display: flex; align-items: center; margin-bottom: 16px; }
.invoice-row-head .num {
  width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff;
  font-size: .9rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-right: 12px;
}
.invoice-row-head strong { font-size: 1.1rem; }
.invoice-row-head .spacer { flex: 1; }
.link-btn {
  background: none; border: none; color: var(--danger); font-size: .98rem; cursor: pointer; padding: 6px 10px;
  font-weight: 700; border-radius: 8px; font-family: inherit;
}
.link-btn:hover { background: var(--danger-bg); }
.file-input { font-size: 1rem; width: 100%; color: var(--ink-soft); }
.file-input::file-selector-button,
.file-input::-webkit-file-upload-button {
  font-family: inherit; font-size: .98rem; font-weight: 700; color: var(--primary);
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: 10px;
  padding: 10px 16px; margin-right: 12px; cursor: pointer;
}

.add-btn {
  width: 100%; padding: 16px; border: 1.5px dashed var(--primary); border-radius: 14px;
  background: none; color: var(--primary); font-weight: 700; font-size: 1.08rem; cursor: pointer; margin-bottom: 24px; font-family: inherit;
}
.add-btn:hover { background: #e6edf4; }

.submit-btn {
  width: 100%; padding: 18px; border: none; border-radius: 999px; background: var(--primary);
  color: #fff; font-weight: 700; font-size: 1.15rem; cursor: pointer; font-family: inherit;
  transition: transform .18s ease, background .18s ease; box-shadow: var(--glow-primary);
}
.submit-btn:hover:not(:disabled) { transform: translateY(-2px); background: var(--primary-2); }
.submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

.msg { border-radius: 12px; padding: 14px 16px; font-size: 1.02rem; margin-bottom: 18px; display: none; font-weight: 600; }
.msg.error { background: var(--danger-bg); color: var(--danger); display: block; }
.msg.ok { background: var(--ok-bg); color: var(--success); display: block; }

/* ---------- Enquiry form ---------- */
.enquiry-card [hidden] { display: none !important; }
.enquiry-card fieldset { border: none; margin: 0; padding: 0; min-width: 0; }
.sr-only, .hp-field {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.req-star { color: var(--danger); font-weight: 700; }
.label-row { display: flex; align-items: center; margin-bottom: 8px; }
.field .label-row label { margin: 0; }
.field-error { display: block; margin-top: 6px; font-size: .92rem; font-weight: 600; color: var(--danger); }
.field-error:empty { display: none; }
.email-verify-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.email-verify-row + .email-verify-row { margin-top: 12px; }
.email-verify-row[hidden] { display: none; }
.email-verify-row input { width: 180px; }
.email-verify .hint { margin: 0; }
.email-verified { margin: 0; color: var(--success); font-weight: 700; }
.enquiry-card .submit-btn:disabled { opacity: .5; }
.info-tip {
  position: relative; display: inline-flex; align-items: center; justify-content: center; vertical-align: -3px;
  width: 18px; height: 18px; margin-left: 6px; border-radius: 50%; cursor: help; color: var(--ink-soft);
}
.info-tip svg { width: 18px; height: 18px; }
.info-tip:hover, .info-tip:focus { color: var(--primary); }
.btn-spinner {
  display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: btnSpin .7s linear infinite;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }
.info-tip:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.info-tip-bubble {
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); z-index: 20;
  width: max-content; max-width: 240px; padding: 10px 14px; border-radius: 10px;
  background: var(--primary); color: #fff; font-size: .9rem; font-weight: 500; font-style: normal; line-height: 1.4;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .15s ease, visibility .15s ease;
  pointer-events: none;
}
.info-tip-bubble::after {
  content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: var(--primary);
}
.info-tip:hover .info-tip-bubble, .info-tip:focus .info-tip-bubble { opacity: 1; visibility: visible; }
.form-section .submit-btn { margin-top: 4px; }
.check-line { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; color: var(--ink); margin: 4px 0 14px; cursor: pointer; }
.check-line input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--primary); flex-shrink: 0; }
.enquiry-fine-print { font-size: .92rem; color: var(--ink-faint); line-height: 1.55; margin: 0 0 20px; }
.enquiry-login { text-align: center; font-size: 1rem; color: var(--ink-soft); margin: 18px 0 0; }
.enquiry-login-btn { background: none; border: none; padding: 0; font: inherit; font-weight: 700; color: var(--primary); cursor: pointer; text-decoration: underline; }
.enquiry-done { text-align: center; padding: 10px 0 6px; }
.enquiry-done-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center;
  background: var(--ok-bg); color: var(--success); font-size: 1.8rem; font-weight: 800;
}
.enquiry-done h3 { margin: 0 0 10px; font-size: 1.6rem; color: var(--primary); }
.enquiry-done p { margin: 0 auto; max-width: 44ch; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.6; }
.id-check .btn-pill { display: inline-flex; }
.id-check .hint { margin-top: 10px; }
.id-check-again { display: block; margin-top: 10px; padding: 0; background: none; border: 0; color: var(--primary); font-weight: 600; text-decoration: underline; cursor: pointer; }
.id-check-done { margin: 0; padding: 12px 16px; background: var(--ok-bg); color: var(--success); border-radius: var(--radius-sm); font-weight: 700; }
.char-count { display: block; text-align: right; font-size: .88rem; color: var(--ink-faint); margin-top: 4px; font-variant-numeric: tabular-nums; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 980px; }
.faq-item { border-bottom: 1px solid var(--line-strong); padding: 26px 0; }
.faq-item:first-child { border-top: 1px solid var(--line-strong); }
.faq-q {
  display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: none; text-align: left; cursor: pointer; padding: 0; font-family: inherit;
  color: var(--primary); font-size: 1.3rem; font-weight: 700;
}
.faq-q .plus {
  color: var(--primary); background: var(--gold-soft); border-radius: 50%;
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; transition: transform .25s ease, background .25s ease; flex-shrink: 0;
}
.faq-item[data-open="true"] .plus { transform: rotate(135deg); background: var(--accent); }
.faq-a { margin: 16px 0 0; color: var(--ink-soft); font-size: 1.15rem; line-height: 1.7; max-width: 70ch; display: none; }
.faq-item[data-open="true"] .faq-a { display: block; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 110px; background: var(--bg); }
.section-tint + .cta-band { padding-top: 110px; }
.cta-band-inner {
  background: var(--primary); color: #fff; border-radius: 32px; padding: 64px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  background-image: radial-gradient(600px 300px at 100% 0%, rgba(201,164,76,.25), transparent 70%);
}
.cta-band-inner h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 0 0 12px; }
.cta-band-inner p { color: rgba(255,255,255,.82); font-size: 1.2rem; margin: 0; max-width: 40em; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 767.98px) { .cta-band-inner { padding: 40px 26px; border-radius: 24px; } .cta-band { padding-bottom: 72px; } .section-tint + .cta-band { padding-top: 72px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.82); padding: 80px 0 0; }
.site-footer .foot-brand { text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.site-footer .logo-word { color: #fff; }
.site-footer .logo-mark { color: #1d4a73; }
.foot-tagline { margin: 18px 0 0; font-size: 1.05rem; line-height: 1.65; color: rgba(255,255,255,.7); max-width: 36ch; }
.foot-social { display: flex; gap: 12px; margin-top: 24px; }
.site-footer .foot-social a:not(.foot-brand) {
  width: 44px; height: 44px; flex: 0 0 44px; padding: 0; margin: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #fff; transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.site-footer .foot-social a:not(.foot-brand):hover { background: var(--accent); border-color: var(--accent); color: var(--navy-deep); text-decoration: none; }
.foot-heading { margin: 0 0 18px; font-size: .9rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.site-footer a:not(.foot-brand) { display: block; font-size: 1.08rem; color: rgba(255,255,255,.85); text-decoration: none; margin-bottom: 12px; width: fit-content; }
.site-footer a:not(.foot-brand):hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); }
.foot-note { display: block; margin-top: 4px; font-size: .95rem; color: rgba(255,255,255,.55); }
.footer-top { padding-bottom: 56px; }
.footer-bottom {
  padding: 24px 0; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 10px 30px;
  flex-wrap: wrap; font-size: .95rem; color: rgba(255,255,255,.55);
}

.foot-legal { max-width: 760px; }

/* ---------- Privacy Policy and Terms ---------- */
.legal-page .container-xxl > * { max-width: 760px; }
.legal-page h2 { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin: 36px 0 12px; }
.legal-page p, .legal-page li { font-size: 1.08rem; line-height: 1.65; color: var(--ink); }
.legal-page p { margin: 0 0 14px; }
.legal-page ul { margin: 0 0 14px; padding-left: 22px; }
.legal-page li { margin-bottom: 8px; }
.legal-page mark { background: var(--gold-soft); color: var(--ink); padding: 1px 4px; border-radius: 4px; }
.legal-page .page-head p { font-size: 1.05rem; color: var(--ink-soft); }
.legal-draft { background: var(--gold-soft); border-left: 4px solid var(--accent); border-radius: 8px; padding: 14px 18px; }

/* ---------- Modals ---------- */
.modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(11, 34, 56, .6); backdrop-filter: blur(4px);
  z-index: 1080; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-card {
  background: #fff; border-radius: var(--radius); padding: 36px; width: 100%; max-width: 460px;
  box-shadow: var(--shadow-lg); border-top: 6px solid var(--accent);
}
.modal-title { margin: 0 0 8px; font-size: 1.6rem; font-weight: 700; color: var(--primary); }
.modal-sub { margin: 4px 0 20px; font-size: 1.02rem; color: var(--ink-soft); }
.modal-close { display: block; margin: 12px auto 0; }

/* ---------- Dashboard ---------- */
main { padding: 64px 0 100px; position: relative; z-index: 1; }
.page-head { margin-bottom: 36px; }
.page-head h1 { font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight: 700; margin: 0 0 10px; color: var(--primary); }
.page-head p { margin: 0; color: var(--ink-soft); font-size: 1.15rem; }
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }

.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 32px; }
.dash-stats[hidden] { display: none; }
.dash-stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 26px;
  box-shadow: var(--shadow-sm); border-left: 5px solid var(--accent);
}
.dash-stat-num { display: block; font-size: 2rem; font-weight: 700; color: var(--primary); letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.dash-stat-label { display: block; margin-top: 4px; font-size: .95rem; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 767.98px) { .dash-stats { grid-template-columns: 1fr; gap: 12px; } }

.dash-list { display: flex; flex-direction: column; gap: 18px; }
.invoice-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, border-color .2s ease;
}
.invoice-item:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }
.invoice-item[data-open="true"] { border-color: var(--line-strong); box-shadow: var(--shadow); }
.invoice-summary {
  width: 100%; background: none; border: none; cursor: pointer; font: inherit; color: inherit; text-align: left;
  display: grid; grid-template-columns: minmax(0, 1fr) auto 260px 40px; align-items: center; gap: 16px 28px;
  padding: 26px 30px;
}
.invoice-item .invoice-name { font-weight: 700; font-size: 1.3rem; color: var(--primary); margin-bottom: 4px; overflow-wrap: anywhere; }
.invoice-item .invoice-meta { font-size: 1rem; color: var(--ink-soft); }
.invoice-item .invoice-amount { font-size: 1.5rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.invoice-status { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.dash-bar { width: 100%; height: 6px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.dash-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.dash-bar-label { font-size: .88rem; color: var(--ink-faint); font-weight: 600; }
.invoice-item .chevron {
  width: 40px; height: 40px; border-radius: 50%; background: var(--bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center; transition: transform .25s ease, background .2s ease;
}
.invoice-summary:hover .chevron { background: var(--gold-soft); }
.invoice-item[data-open="true"] .chevron { transform: rotate(180deg); background: var(--gold-soft); }
@media (max-width: 991.98px) {
  .invoice-summary { grid-template-columns: minmax(0, 1fr) 40px; padding: 22px; }
  .invoice-summary .invoice-amount, .invoice-summary .invoice-status { grid-column: 1; }
  .invoice-summary .chevron { grid-row: 1; grid-column: 2; }
}

.invoice-detail { display: none; padding: 0 30px 30px; }
.invoice-item[data-open="true"] .invoice-detail { display: block; }
.invoice-detail > *:first-child { padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 991.98px) { .invoice-detail { padding: 0 22px 24px; } }
.detail-line { color: var(--ink); }

.dash-callout {
  display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border-radius: var(--radius-sm);
  border-left: 5px solid; margin-bottom: 24px; font-size: 1.02rem;
}
.dash-callout + .dash-callout { margin-top: -12px; }
.dash-callout strong { font-weight: 700; }
.dash-callout span { color: var(--ink-soft); }
.dash-callout-ok { background: var(--ok-bg); border-color: var(--success); color: var(--success); }
.dash-callout-action { background: var(--gold-soft); border-color: var(--accent); color: var(--accent-dark); }
.dash-callout-info { background: #e6edf4; border-color: var(--primary-2); color: var(--primary); }
.dash-callout-muted { background: var(--bg-2); border-color: var(--line-strong); color: var(--ink); }

.dash-detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px 48px; }
@media (max-width: 991.98px) { .dash-detail-grid { grid-template-columns: 1fr; } }
.dash-subhead {
  font-size: .9rem; font-weight: 700; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .1em;
  margin: 0 0 14px;
}
.dash-subhead:not(:first-child) { margin-top: 28px; }
.dash-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin: 0; }
@media (max-width: 575.98px) { .dash-fields { grid-template-columns: 1fr; } }
.dash-field dt { font-size: .9rem; font-weight: 600; color: var(--ink-faint); margin-bottom: 3px; }
.dash-field dd { margin: 0; font-size: 1.08rem; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.dash-background {
  margin: 0; padding: 16px 18px; background: var(--bg); border-radius: var(--radius-sm);
  font-size: 1.05rem; line-height: 1.6; color: var(--ink-soft); overflow-wrap: anywhere;
}
.dash-files { display: flex; flex-wrap: wrap; gap: 10px; }
.dash-file {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line-strong);
  border-radius: 12px; background: #fff; color: var(--primary); font-weight: 600; font-size: 1rem; text-decoration: none;
  max-width: 100%; transition: border-color .15s ease, background .15s ease;
}
.dash-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-file svg { flex-shrink: 0; color: var(--accent-dark); }
.dash-file:hover { border-color: var(--primary); background: var(--bg); color: var(--primary); }
.dash-progress-col { background: var(--bg); border-radius: var(--radius-sm); padding: 22px 24px 8px; align-self: start; }

.dash-actions { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.dash-actions:empty { display: none; }

.edit-form { padding-top: 4px; }
.edit-actions { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.edit-actions .submit-btn { width: auto; padding: 12px 26px; }

.stage-timeline { display: flex; flex-direction: column; margin: 0 0 12px; }
.timeline-row { display: flex; align-items: flex-start; gap: 14px; }
.timeline-marker { display: flex; flex-direction: column; align-items: center; align-self: stretch; }
.timeline-dot {
  width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: transparent; font-size: .8rem;
}
.timeline-line { width: 2px; flex: 1; min-height: 14px; background: var(--line-strong); }
.timeline-row:last-child .timeline-line { display: none; }
.timeline-row.is-done .timeline-dot { background: var(--primary); border-color: transparent; color: #fff; }
.timeline-row.is-done .timeline-line { background: var(--primary); }
.timeline-row.is-current .timeline-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(201,164,76,.22); }
.timeline-label { font-size: 1rem; color: var(--ink-faint); padding: 1px 0 14px; }
.timeline-row.is-current .timeline-label { color: var(--ink); font-weight: 700; }
.timeline-row.is-done .timeline-label { color: var(--ink-soft); }

.stage-pill {
  display: inline-block; background: var(--bg-2); color: var(--ink-soft);
  font-size: .88rem; font-weight: 700; letter-spacing: .02em; padding: 7px 16px; border-radius: 999px; white-space: nowrap;
}
.stage-new { background: var(--stage-new-bg); color: var(--stage-new-ink); }
.stage-waiting { background: var(--stage-waiting-bg); color: var(--stage-waiting-ink); }
.stage-progress { background: var(--stage-progress-bg); color: var(--stage-progress-ink); }
.stage-action { background: var(--stage-action-bg); color: var(--stage-action-ink); }
.stage-success { background: var(--stage-success-bg); color: var(--stage-success-ink); }
.stage-failed { background: var(--stage-failed-bg); color: var(--stage-failed-ink); }
.empty-state {
  text-align: center; padding: 56px 24px; background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius);
  color: var(--ink-soft); font-size: 1.08rem;
}
.empty-state h3 { margin: 0 0 8px; font-size: 1.5rem; color: var(--primary); }
.empty-state p { margin: 0 0 24px; }

/* ---------- About ---------- */
.about-story p { font-size: 1.25rem; line-height: 1.75; color: var(--ink-soft); margin: 0 0 24px; }
.about-story p:first-child { font-size: 1.45rem; color: var(--ink); font-weight: 500; }
.about-story strong { color: var(--primary); }
.role-card h3, .value-card h3 { font-size: 1.45rem; }
.value-card { border-top: 5px solid var(--accent); }
.team-card { text-align: center; }
.team-avatar {
  width: 120px; height: 120px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
  font-weight: 700; font-size: 2.4rem; border: 4px solid var(--gold-soft); box-shadow: 0 0 0 2px var(--accent);
}
img.team-avatar { object-fit: cover; }
.step .team-role { font-size: 1rem; font-weight: 700; color: var(--accent-dark); margin: -4px 0 14px; text-transform: uppercase; letter-spacing: .08em; }
