/* Actrand brand tokens (Brand Guideline v2, 2026) */
:root {
  --purple: #572961;
  --purple-dark: #3F1E46;
  --tint: #F5F2F6;
  --white: #FFFFFF;
  --black: #000000;
  --muted: #595959;
  --line: #D9D9D9;
  --blue: #6971E1;
  --coral: #E37373;
  --green: #95D07D;
  --yellow: #F5E855;
  --orchid: #C97AC0;

  --font: "Montserrat", Calibri, Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --radius: 14px;
  --wrap: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Offer-only view (?hide-current=1) */
.only-offer { display: none; }
.hide-current .only-compare { display: none; }
.hide-current .only-offer { display: revert; }
.hide-current .compare-table { min-width: 560px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--purple); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Orbit Field: the mark, oversized, white at 4.5% on dark, off-centre, never rotated */
.orbit-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.orbit-field::before {
  content: "";
  position: absolute;
  width: 120%;
  aspect-ratio: 1;
  right: -45%;
  top: -35%;
  background: var(--white);
  -webkit-mask: url("assets/favicon-t.png") center / contain no-repeat;
          mask: url("assets/favicon-t.png") center / contain no-repeat;
  opacity: .045;
  filter: blur(2px);
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  overflow: hidden;
  padding-bottom: 96px;
}
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.brand img { display: block; width: 120px; }
.nav-link { color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 16px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 999px; }
.nav-link:hover { background: rgba(255,255,255,.12); }
.hero-body { position: relative; padding-top: 56px; max-width: 820px; margin-left: max(24px, calc((100% - var(--wrap)) / 2 + 24px)); margin-right: 24px; padding-left: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 600; opacity: .85; margin: 0 0 16px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.thin { font-weight: 200; }
.lede { font-size: 1.15rem; max-width: 600px; opacity: .92; margin: 0 0 32px; }

.btn { display: inline-block; font-family: var(--font); font-weight: 600; text-decoration: none; padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer; font-size: 1rem; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.btn-light { background: var(--white); color: var(--purple); }

/* Steps */
.steps { padding-top: 72px; padding-bottom: 56px; }
.section-title { font-size: 1.6rem; color: var(--purple); margin-top: 8px; }
.step-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-list li { padding: 24px; border-radius: var(--radius); background: var(--tint); }
.step-num { font-family: var(--mono); color: var(--purple); font-size: .9rem; font-weight: 500; }
.step-list h3 { margin-top: 8px; font-size: 1.1rem; }
.step-list p { margin: 0; color: var(--muted); }

/* Compare */
.compare { background: var(--tint); padding: 64px 0; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.form-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 28px; margin-bottom: 48px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--purple-dark); }
.form-grid input[type=text], .form-grid input[type=number] {
  font: 500 1rem var(--font);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--black);
  width: 100%;
}
.form-grid input[type=number] { font-family: var(--mono); }
.form-grid input:focus { border-color: var(--purple); outline: none; box-shadow: 0 0 0 3px rgba(87,41,97,.18); }
.span-all { grid-column: 1 / -1; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: .88rem; font-weight: 600; color: var(--purple-dark); margin-bottom: 10px; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 20px; }
.checks label { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; color: var(--black); font-size: .95rem; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--purple); }

.table-scroll { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; }
.compare-table thead th { vertical-align: bottom; font-size: .95rem; }
.compare-table thead th.pkg { color: var(--purple); }
.compare-table thead th.current { color: var(--muted); }
.compare-table thead .sub { display: block; font-weight: 500; font-size: .78rem; color: var(--muted); }
.compare-table tbody td:first-child { font-weight: 500; }
.compare-table td.col-current { background: #FAFAFA; }
.compare-table tfoot th { text-align: left; font-weight: 600; }
.compare-table tfoot .sub { display: inline; margin-left: 6px; font-family: var(--mono); font-weight: 400; font-size: .8rem; color: var(--muted); }
.compare-table tfoot tr:first-child > * { border-top: 2px solid var(--purple); }
.compare-table tfoot tr.line > * { font-weight: 500; font-size: .92rem; }
.compare-table tfoot tr.total > * { font-weight: 600; background: var(--tint); }
.compare-table tfoot tr.total td.col-current { background: #EEE9EF; }
.compare-table tfoot tr:last-child > * { border-bottom: 0; }
.cell-input { width: 100%; min-width: 110px; font: 500 .9rem var(--font); padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 8px; text-align: center; }
.cell-input:focus { border-color: var(--purple); outline: none; box-shadow: 0 0 0 3px rgba(87,41,97,.18); }
.cell-check { display: inline-flex; padding: 6px; cursor: pointer; }
.cell-check input { width: 20px; height: 20px; accent-color: var(--purple); cursor: pointer; }
.money { font-family: var(--mono); font-weight: 500; white-space: nowrap; }
.tbc { color: var(--muted); font-size: .85rem; font-family: var(--font); }

/* Yes / no marks: shape and label carry meaning, colour only supports it */
.mark { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; font-size: .9rem; font-weight: 700; }
.mark.yes { background: var(--green); color: var(--black); }
.mark.no { background: var(--line); color: var(--muted); }
.diff-save { background: var(--green); color: var(--black); padding: 2px 10px; border-radius: 999px; }
.diff-more { background: var(--tint); color: var(--purple-dark); padding: 2px 10px; border-radius: 999px; }
.hint { color: var(--muted); margin: -4px 0 16px; }
.muted { color: var(--muted); max-width: 680px; }
.info { padding-top: 64px; }
.info + .info { padding-top: 40px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 20px; }
.band-card { padding: 24px; }
.band-card h3 { color: var(--purple); font-size: 1.05rem; }
.band-table { width: 100%; border-collapse: collapse; }
.band-table th, .band-table td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.band-table th { font-size: .82rem; color: var(--muted); font-weight: 600; }
.band-table th:last-child, .band-table td:last-child { text-align: right; }
.band-table tr:last-child td { border-bottom: 0; }
.extras { margin: 0; }
.extras dt { font-weight: 600; margin-top: 14px; }
.extras dd { margin: 2px 0 0; color: var(--muted); }
.small-print { padding-left: 20px; margin: 14px 0 0; }
.small-print li { margin-bottom: 10px; }
.small-print li::marker { color: var(--purple); }
.note { font-size: .85rem; color: var(--muted); margin-top: 14px; }

/* CTA */
.cta { padding-top: 72px; padding-bottom: 72px; }
.cta-card { position: relative; overflow: hidden; border-radius: 20px; padding: 56px 40px; text-align: center; color: var(--white); background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%); }
.cta-card .orbit-field::before { width: 150%; right: -80%; top: -90%; }
.cta-card > *:not(.orbit-field) { position: relative; }
.cta-card p { opacity: .92; margin: 0 auto 28px; max-width: 520px; }

/* Footer */
.footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer img { width: 90px; }

@media (max-width: 860px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .step-list { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero-body { margin-left: 16px; margin-right: 16px; padding-top: 32px; }
  .form-grid { grid-template-columns: 1fr; padding: 20px; }
  .cta-card { padding: 40px 22px; }
  .footer { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Saved quotes (?quote=<uuid>) */
.quote-banner { padding-top: 48px; }
.banner-card { border-left: 4px solid var(--purple); background: var(--tint); border-radius: var(--radius); padding: 28px 32px; }
.banner-card .eyebrow { color: var(--purple); opacity: 1; margin-bottom: 8px; }
.banner-card h2 { color: var(--purple-dark); font-size: 1.6rem; margin-bottom: 6px; }
.banner-card p { margin: 6px 0 0; }
.banner-contact { color: var(--muted); }
.banner-message { margin-top: 14px !important; max-width: 720px; }
.banner-meta { font-size: .85rem; color: var(--muted); margin-top: 14px !important; }
.is-quote .steps, .is-quote .hint { display: none; }
.is-quote .form-grid input[readonly] { background: var(--tint); border-color: transparent; }
.compare-table .rec { background: rgba(87, 41, 97, .05); }
.compare-table thead th.rec { box-shadow: inset 0 3px 0 var(--purple); }
.rec-tag { display: block; width: max-content; margin: 0 auto 6px; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--white); background: var(--purple); padding: 3px 10px; border-radius: 999px; }
