/* ==========================================================================
   Only Plans — onlyplans.au
   Design tokens, base styles and component styles for the one-page site.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap");

:root {
  /* Brand palette — do not introduce additional accent colours */
  --brand-blue: #1E3A66;
  --brand-blue-hover: #163054;
  --ink: #1C1C1A;
  --canvas: #FAFAF7;
  --white: #FFFFFF;
  --reverse: #16181C;
  --line: #D8DAD8;

  /* Derived tints, restrained use only */
  --brand-blue-tint-10: rgba(30, 58, 102, 0.1);
  --brand-blue-tint-06: rgba(30, 58, 102, 0.06);
  --reverse-tint-line: rgba(255, 255, 255, 0.14);
  --ink-muted: #55554F;

  /* Type */
  --font-heading: "Manrope", "Sora", "DM Sans", system-ui, sans-serif;
  --font-body: "Inter", "Source Sans 3", system-ui, sans-serif;

  /* Radii + spacing */
  --radius-card: 16px;
  --radius-control: 10px;
  --shadow-card: 0 1px 2px rgba(28, 28, 26, 0.06), 0 8px 24px rgba(28, 28, 26, 0.06);
  --shadow-card-hover: 0 4px 10px rgba(28, 28, 26, 0.08), 0 16px 32px rgba(28, 28, 26, 0.08);
  --container-width: 1180px;

  --header-height: 76px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .container { padding-inline: 32px; }
}

section {
  padding-block: 64px;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

@media (min-width: 1024px) {
  section { padding-block: 96px; }
}

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 14px;
}

.lede {
  font-size: 1.1rem;
  color: var(--ink-muted);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--brand-blue);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-control);
  z-index: 1000;
  transition: top 0.15s ease;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Background motifs ---------- */
.motif-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.35;
  pointer-events: none;
}

.motif-contours {
  position: absolute;
  pointer-events: none;
  opacity: 0.55;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--brand-blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand-blue-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.btn-secondary:hover {
  background: var(--brand-blue-tint-06);
}

.btn-on-dark {
  background: var(--brand-blue);
  color: var(--white);
}

.btn-on-dark:hover {
  background: var(--brand-blue-hover);
}

.btn-ghost-on-dark {
  background: transparent;
  color: var(--white);
  border-color: var(--reverse-tint-line);
}

.btn-ghost-on-dark:hover {
  border-color: var(--white);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

/* Phone-enquiry buttons (secondary to the quote buttons) */
.btn-call svg {
  flex: none;
  width: 18px;
  height: 18px;
}

.hero__call-note {
  margin-bottom: 0;
}

.reassurance {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin-top: 14px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  height: var(--header-height);
  transition: box-shadow 0.15s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 10px rgba(28, 28, 26, 0.06);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-blue);
}

.header-cta {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-control);
  border: 1px solid var(--line);
  background: var(--white);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close { display: none; }

.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: var(--canvas);
  z-index: 490;
  padding: 24px 20px 32px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.mobile-nav a {
  display: block;
  padding: 14px 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 56px 48px;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 1024px) {
  .hero { padding-block: 88px 72px; }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
}

.hero__copy h1 {
  margin-bottom: 20px;
}

.hero__trust {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--ink-muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 12px 14px;
  margin: 22px 0 28px;
}

.hero__trust svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--brand-blue);
  margin-top: 1px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero__visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(155deg, var(--white) 0%, var(--brand-blue-tint-06) 70%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.hero__visual-frame {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
}

.hero__visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ==========================================================================
   Fast facts strip
   ========================================================================== */
.fast-facts {
  padding-block: 40px;
  border-bottom: 1px solid var(--line);
}

.fast-facts__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .fast-facts__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .fast-facts__grid { grid-template-columns: repeat(4, 1fr); }
}

.fact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px;
}

.fact-card svg {
  width: 26px;
  height: 26px;
  color: var(--brand-blue);
  margin-bottom: 12px;
}

.fact-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.fact-card p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin: 0;
}

/* ==========================================================================
   What is it
   ========================================================================== */
.what-it-is__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .what-it-is__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.callout {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  font-size: 1.02rem;
  margin-block: 22px;
}

.name-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.name-chip {
  background: var(--brand-blue-tint-06);
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 7px 14px;
  border-radius: 999px;
}

.boundary-note {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px 22px;
}

.boundary-note h3 {
  font-size: 1rem;
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.boundary-note p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin: 0;
}

.boundary-note p a {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: underline;
}

.boundary-note p a:hover {
  color: var(--brand-blue-hover);
}

.plan-sample-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  max-width: 380px;
  width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

/* The example plan image has a thin dark line baked into its own edges. It is
   cropped (1px per side) inside the clipped frame so the wrapper's border is
   the only visible frame and looks the same at the straight edges and the
   rounded upper corners. */
.plan-sample-card img {
  display: block;
  width: calc(100% + 2px);
  max-width: none;
  height: auto;
  margin: -1px;
}

.plan-sample-card figcaption {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--ink-muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

.plan-sample-card__trigger {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: calc(var(--radius-card) - 1px) calc(var(--radius-card) - 1px) 0 0;
}

.plan-sample-card__zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  box-shadow: 0 1px 4px rgba(28, 28, 26, 0.15);
}

.plan-sample-card__zoom-hint svg {
  width: 18px;
  height: 18px;
}

/* ---------- Plan sample lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 24, 28, 0.82);
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(900px, 92vw);
  max-height: 90vh;
  background: var(--canvas);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.lightbox__scroll {
  overflow: auto;
  padding: 64px 20px 20px;
}

.lightbox__scroll img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  background: var(--white);
  cursor: zoom-in;
}

.lightbox__toolbar {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.lightbox__zoom-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__zoom-btn svg {
  width: 20px;
  height: 20px;
}

.lightbox__zoom-btn:hover {
  background: var(--canvas);
}

.lightbox__zoom-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__close svg {
  width: 20px;
  height: 20px;
}

.lightbox__close:hover {
  background: var(--canvas);
}

/* ---------- Aerial-to-plan comparison slider ---------- */
.plan-compare-wrap {
  max-width: 546px;
  width: 100%;
  margin-inline: auto;
}

.plan-compare {
  position: relative;
  width: 100%;
  aspect-ratio: 1609 / 2238;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
  touch-action: none;
  user-select: none;
}

.plan-compare img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

/* The after layer is always the full frame size (position: absolute; inset: 0;
   width/height: 100%, inherited from ".plan-compare img") — identical to the
   before layer. The reveal is done entirely with clip-path, which is a
   paint-time visual clip: it never changes this element's or its image's own
   layout box, so the image is never resampled at a different size as the
   handle moves. Do not reintroduce a width-based reveal here. */
.plan-compare__after {
  position: absolute;
  inset: 0;
  z-index: 1;
  clip-path: inset(0 50% 0 0);
}

.plan-compare__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 2;
  width: 3px;
  background: var(--brand-blue);
  transform: translateX(-50%);
  pointer-events: none;
}

.plan-compare__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid var(--brand-blue);
  border-radius: 50%;
  background: var(--white);
  color: var(--brand-blue);
  box-shadow: 0 2px 8px rgba(28, 28, 26, 0.25);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.plan-compare__handle svg {
  width: 24px;
  height: 24px;
}

.plan-compare__label {
  position: absolute;
  top: 14px;
  z-index: 4;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(22, 24, 28, 0.82);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}

.plan-compare__label--before {
  left: 14px;
}

.plan-compare__label--after {
  right: 14px;
}

.plan-compare__range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: ew-resize;
  opacity: 0;
}

.plan-compare__range:focus-visible {
  outline: none;
}

/* The range input is the only focusable element in .plan-compare, so
   :focus-within reliably means the range itself is focused, regardless of
   DOM order relative to the (non-focusable) handle it should highlight. */
.plan-compare:focus-within .plan-compare__handle {
  outline: 3px solid var(--brand-blue);
  outline-offset: 3px;
}

/* ==========================================================================
   Slider (aerial-to-plan)
   ========================================================================== */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   When you need one — project cards
   ========================================================================== */
.project-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .project-grid { grid-template-columns: repeat(3, 1fr); }
}

.project-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.project-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.project-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-blue-tint-06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.project-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--brand-blue);
}

.project-card h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.project-card p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin: 0;
  flex: 1;
}

.reassurance-panel {
  margin-top: 28px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Inclusions
   ========================================================================== */
.inclusions-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .inclusions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .inclusions-grid { grid-template-columns: repeat(4, 1fr); }
}

.inclusion-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px;
}

.inclusion-card h3 {
  font-size: 0.98rem;
  margin-bottom: 6px;
  color: var(--brand-blue);
}

.inclusion-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0;
}

.scope-note {
  margin-top: 28px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   How it works — stepper
   ========================================================================== */
.steps {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  counter-reset: step;
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
}

.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px 20px 20px;
}

.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0;
}

.chat-preview {
  margin-top: 32px;
  background: var(--brand-blue);
  border-radius: var(--radius-card);
  padding: 24px;
  color: var(--white);
  display: grid;
  gap: 18px;
  align-items: center;
}

@media (min-width: 768px) {
  .chat-preview {
    grid-template-columns: 1fr auto;
  }
}

.chat-preview__bubble {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.95rem;
  max-width: 480px;
}

.chat-preview p {
  margin: 0 0 10px;
  color: var(--white);
}

.chat-preview .btn-on-dark {
  background: var(--white);
  color: var(--brand-blue);
}

.chat-preview .btn-on-dark:hover {
  background: var(--canvas);
}

/* ==========================================================================
   Turnaround
   ========================================================================== */
.turnaround-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .turnaround-grid { grid-template-columns: repeat(2, 1fr); }
}

.turnaround-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px;
}

.turnaround-card--priority {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-card);
}

.turnaround-card__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.turnaround-card h3 {
  margin-bottom: 10px;
}

.turnaround-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 20px;
}

.turnaround-card li {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.turnaround-card li svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--brand-blue);
  margin-top: 2px;
}

/* ==========================================================================
   About / founder
   ========================================================================== */
.about-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.founder-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 5;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% 45%;
}

.founder-quote {
  margin-top: 22px;
  padding-left: 18px;
  border-left: 3px solid var(--brand-blue);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--brand-blue);
  font-style: normal;
}

/* ==========================================================================
   Why Only Plans
   ========================================================================== */
.why-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}

.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px;
}

.why-card h3 {
  font-size: 1.02rem;
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.94rem;
  color: var(--ink-muted);
  margin: 0;
}

/* Reserved slot for a future customer-reviews section */
.reviews-slot {
  display: none;
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}

/* Native <details>/<summary>: opens and closes without JavaScript */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  margin-bottom: 10px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  line-height: normal;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  content: "";
}

.faq-question:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: -3px;
  border-radius: var(--radius-card);
}

.faq-question__title {
  margin: 0;
  font: inherit;
  letter-spacing: normal;
  color: inherit;
}

.faq-question__icon {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--brand-blue);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question__icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 20px;
  font-size: 0.96rem;
  color: var(--ink-muted);
}

.faq-answer a {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: underline;
}

.faq-answer a:hover {
  color: var(--brand-blue-hover);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
  background: var(--reverse);
  color: var(--white);
  text-align: center;
}

.final-cta h2 {
  color: var(--white);
}

.final-cta .lede {
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
  margin-inline: auto;
}

.final-cta__actions {
  margin-top: 30px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.final-cta .btn-primary {
  font-size: 1.1rem;
  padding: 18px 40px;
}

.final-cta .btn-ghost-on-dark {
  font-size: 1.1rem;
  padding: 18px 32px;
  border-color: rgba(255, 255, 255, 0.55);
}

.final-cta .btn-ghost-on-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--reverse);
  color: rgba(255, 255, 255, 0.72);
  padding-block: 44px 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer__identity p {
  margin: 6px 0 0;
  font-size: 0.9rem;
}

.site-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer__nav a {
  text-decoration: none;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__nav a:hover {
  color: var(--white);
}

.site-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__legal p {
  margin: 0 0 10px;
}

.site-footer__copyright {
  margin-top: 14px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   Sticky mobile CTA bar
   ========================================================================== */
.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 400;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(28, 28, 26, 0.08);
  display: flex;
  gap: 10px;
}

.mobile-cta-bar .btn-primary {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

.mobile-cta-bar__call {
  flex: none;
  padding-inline: 18px;
}

@media (min-width: 1024px) {
  .mobile-cta-bar { display: none; }
}

@media (max-width: 1023px) {
  body.has-mobile-cta-bar {
    padding-bottom: 76px;
  }
}

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 480;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--brand-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(28, 28, 26, 0.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background-color 0.15s ease;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top:hover {
  background: var(--brand-blue-hover);
}

.back-to-top:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 3px;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Keep it clear of the sticky mobile "Start a Quote" bar */
@media (max-width: 1023px) {
  .back-to-top {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px) + 16px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity 0.001ms, visibility 0.001ms;
  }
}

/* ==========================================================================
   Privacy page
   ========================================================================== */
.legal-page {
  max-width: 780px;
}

.legal-page h2 {
  margin-top: 2em;
}

.legal-page ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 1em;
}

.legal-page li {
  margin-bottom: 6px;
}

.legal-page h3 {
  margin-top: 1.6em;
}

.legal-page p a,
.legal-page li a {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.legal-page p a:hover,
.legal-page li a:hover {
  color: var(--brand-blue-hover);
}

.legal-meta {
  color: var(--ink-muted);
  margin-bottom: 1.5em;
}

/* Terms of Trade: numbered clauses read as section.clause (e.g. 1.6) */
.terms-page {
  counter-reset: terms-section;
}

.terms-page h2 {
  counter-increment: terms-section;
}

.terms-clauses {
  counter-reset: terms-clause;
  margin-bottom: 1em;
}

.terms-clauses > li {
  counter-increment: terms-clause;
  position: relative;
  padding-left: 3em;
  margin-bottom: 10px;
}

.terms-clauses > li::before {
  content: counter(terms-section) "." counter(terms-clause);
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--brand-blue);
  font-variant-numeric: tabular-nums;
}

.terms-clauses ul {
  margin-top: 8px;
}

/* Provider table: scrolls sideways inside its wrapper on narrow screens */
.legal-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 1.5em;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.legal-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
}

.legal-table th,
.legal-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal-table th {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: var(--canvas);
  white-space: nowrap;
}

.legal-table tbody tr:last-child td {
  border-bottom: 0;
}

.legal-table th:nth-child(1),
.legal-table td:nth-child(1) {
  width: 28%;
}

.legal-table th:nth-child(2),
.legal-table td:nth-child(2) {
  width: 22%;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: none;
  margin-bottom: 24px;
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-page {
  max-width: 780px;
}

.contact-page__cta {
  margin: 8px 0 32px;
}

.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px 26px;
}

.contact-panel h2 {
  font-size: 1.35rem;
  margin-bottom: 0.35em;
}

.contact-panel p:last-child {
  margin-bottom: 0;
}

.contact-panel__phone {
  margin-bottom: 0.75em;
}

.contact-panel__phone a {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: none;
  white-space: nowrap;
}

.contact-panel__phone a:hover {
  color: var(--brand-blue-hover);
  text-decoration: underline;
}

.contact-form-section {
  padding-top: 0;
}

/* Tally embed: transparent, full width, height set by Tally's dynamic-height script */
.tally-embed {
  width: 100%;
  max-width: 100%;
  margin-top: 20px;
  overflow: hidden;
}

.tally-embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
  background: transparent;
}
