/* ==========================================================================
  STYLE
   ========================================================================== */

:root {
  /* Colour */
  --color-bg: #0f1b2d;
  --color-bg-panel: #16273d;
  --color-bg-panel-alt: #1c304a;
  --color-text: #f3efe7;
  --color-text-muted: #b9c2cf;
  --color-text-faint: #7c8aa0;
  --color-border: #2a3b52;
  --color-accent: #c89b3c;
  --color-accent-strong: #e0b655;
  --color-alert: #a24437;
  --color-alert-strong: #c2564a;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:
    "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  /* Layout */
  --container-width: 1120px;
  --radius-sm: 3px;
  --radius-md: 6px;
}

[data-theme="light"] {
  --color-bg: #f6f1e7;
  --color-bg-panel: #efe7d3;
  --color-bg-panel-alt: #e6dbbe;
  --color-text: #17223a;
  --color-text-muted: #4c5769;
  --color-text-faint: #6d7893;
  --color-border: #ddd0ac;
  --color-accent: #96701d;
  --color-accent-strong: #7c5c17;
  --color-alert: #a24437;
  --color-alert-strong: #86362c;
}

[data-theme="light"] .btn--primary {
  color: #211a09;
}

[data-theme="light"] .leak-card_icon {
  background: rgba(150, 112, 29, 0.14);
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  height: 100%;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition:
    background-color 200ms ease,
    color 200ms ease;
}

main {
  flex: 1 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

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

a {
  color: inherit;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Focus visibility ------------------------------------------------------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent-strong);
  outline-offset: 3px;
}

/* Typography --------------------------------------------------------------*/

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  color: var(--color-text);
}

p {
  margin: 0 0 1.1em;
  max-width: 62ch;
  color: var(--color-text-muted);
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow-note {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

/* Buttons ------------------------------------------------------------------*/

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.btn--primary {
  background: var(--color-accent);
  color: #16130a;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--color-accent-strong);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--color-accent);
  color: var(--color-accent-strong);
}

.btn--block {
  width: 100%;
  justify-content: center;
}

.btn--large {
  padding: 19px 32px;
  font-size: 1.0625rem;
}

/* Wordmark (used in the mini nav and the footer brand line) -------------*/

.wordmark {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-text);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.wordmark span {
  color: var(--color-accent);
}

/* Mini nav (every page except index.html) -------------------------------*/

.mini-nav {
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.mini-nav_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}

.mini-nav .wordmark {
  font-size: 1.125rem;
}

.mini-nav_links {
  display: flex;
  gap: 4px 22px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.mini-nav_links a {
  text-decoration: none;
  color: var(--color-text-muted);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.mini-nav_links a:hover {
  color: var(--color-accent);
}

.mini-nav_links a[aria-current="page"] {
  color: var(--color-accent-strong);
  border-bottom-color: var(--color-accent);
}

@media (max-width: 520px) {
  .mini-nav_inner {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Hero -----------------------------------------------------------------*/

.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
}

.hero_grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero_eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-alert-strong);
  margin: 0 0 18px;
}

.hero_eyebrow--positive {
  color: var(--color-accent-strong);
}

.hero_title {
  font-size: clamp(2.5rem, 4.2vw + 1rem, 3.25rem);
  letter-spacing: -0.01em;
}

.hero_subtitle {
  margin-top: 22px;
  font-size: 1.1875rem;
  max-width: 46ch;
  color: var(--color-text-muted);
}

.hero_actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.hero_note {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-text-faint);
  margin-top: 22px;
}

.vitals {
  width: 100%;
  height: auto;
}

.vitals path {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2;
  opacity: 0.55;
}

.vitals circle {
  fill: var(--color-accent-strong);
}

@media (max-width: 880px) {
  .hero_grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 56px 0 64px;
  }
}

/* Section rhythm ---------------------------------------------------------*/

.section {
  padding: 84px 0;
}

.section--panel {
  background: var(--color-bg-panel);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section_head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section_head h2 {
  font-size: clamp(1.875rem, 2.4vw + 1rem, 2.5rem);
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }
}

/* Symptom list -------------------------------------------------------------*/

.symptom-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.symptom-list li {
  background: var(--color-bg);
  padding: 24px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.symptom-list i {
  color: var(--color-alert-strong);
  font-size: 1.0625rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.symptom-list p {
  margin: 0;
  color: var(--color-text);
  max-width: 60ch;
}

/* Leak cards --------------------------------------------------------------*/

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.card-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 880px) {
  .card-grid,
  .card-grid--two {
    grid-template-columns: 1fr;
  }
}

.leak-card {
  background: var(--color-bg-panel);
  padding: 32px 28px;
}

.leak-card_icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(200, 155, 60, 0.12);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  margin-bottom: 20px;
}

.leak-card h3 {
  font-size: 1.1875rem;
  margin-bottom: 10px;
}

.leak-card p {
  font-size: 0.9375rem;
  margin: 0;
}

/* Process sequence ----------------------------------------------------------*/

.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

@media (max-width: 880px) {
  .process {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.process_step {
  border-top: 2px solid var(--color-accent);
  padding-top: 20px;
}

.process_index {
  font-family: var(--font-mono);
  color: var(--color-accent);
  font-size: 0.9375rem;
  display: block;
  margin-bottom: 14px;
}

.process_step h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.process_step p {
  font-size: 0.9375rem;
}

/* Pull quote ----------------------------------------------------------------*/

.pull-quote {
  border-left: 2px solid var(--color-accent);
  padding-left: 32px;
  max-width: 760px;
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.6vw + 1rem, 1.875rem);
  color: var(--color-text);
  line-height: 1.4;
  max-width: 38ch;
}

/* CTA band -------------------------------------------------------------------*/

.cta-band {
  background: var(--color-bg-panel-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 72px 0;
  text-align: left;
}

.cta-band_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: clamp(1.75rem, 2.2vw + 1rem, 2.25rem);
  max-width: 20ch;
}

.cta-band p {
  margin-top: 12px;
}

/* Fee / offer summary block -------------------------------------------------*/

.offer-panel {
  background: var(--color-bg-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px;
}

.offer-panel_row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}

.offer-panel_row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.offer-panel_row:first-child {
  padding-top: 0;
}

.offer-panel_label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-text-faint);
}

.offer-panel_value {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  text-align: right;
}

.offer-panel_value--price {
  font-size: 1.75rem;
  color: var(--color-accent);
}

/* Detail lists (what to expect / who it's for / preparation) ---------------*/

.detail-block {
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
}

.detail-block:first-child {
  border-top: none;
  padding-top: 0;
}

.detail-block h3 {
  font-size: 1.3125rem;
  margin-bottom: 18px;
}

.detail-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.detail-block li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--color-text-muted);
}

.detail-block li i {
  color: var(--color-accent);
  margin-top: 5px;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.detail-block li strong {
  color: var(--color-text);
}

/* Steps list (how to secure your slot) --------------------------------------*/

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 20px;
}

.steps li {
  counter-increment: step;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.steps li::before {
  content: counter(step);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-accent);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.steps p {
  margin: 0;
  color: var(--color-text-muted);
}

/* Cross-sell / still-not-sure -------------------------------------------------*/

.contact-band {
  text-align: left;
  padding: 64px 0;
}

.contact-band h2 {
  font-size: 1.625rem;
  margin-bottom: 10px;
}

.contact-band_actions {
  margin-top: 22px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Footer -----------------------------------------------------------------*/

.site-footer {
  padding: 48px 0 32px;
  flex-shrink: 0;
}

.site-footer_grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.site-footer_brand p {
  font-size: 0.9375rem;
  max-width: 34ch;
  margin-top: 10px;
}

.site-footer_contact {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  display: grid;
  gap: 8px;
}

.site-footer_contact a {
  text-decoration: none;
  color: var(--color-text-muted);
}

.site-footer_contact a:hover {
  color: var(--color-accent);
}

.site-footer_contact i {
  width: 16px;
  color: var(--color-accent);
  margin-right: 8px;
}

.site-footer_bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  color: var(--color-text-faint);
}

.site-footer_bottom a {
  text-decoration: none;
  color: var(--color-text-faint);
}

.site-footer_bottom a:hover {
  color: var(--color-accent);
}

/* Extra conotent field     --------------------------*/

.fill-me {
  color: var(--color-alert-strong);
  border-bottom: 1px dashed var(--color-alert-strong);
}
