/* ============================================================================
   DINEO FINANCE — Homepage stylesheet
   ----------------------------------------------------------------------------
   Contents
   01  Fonts
   02  Design tokens
   03  Reset & base
   04  Layout primitives
   05  Typography
   06  Buttons & icons
   07  Header & navigation
   08  Hero + trust strip
   09  Intro / value proposition
   10  How it works
   11  Calculator
   12  Backed, not judged
   13  Use cases
   14  Promises
   15  Stories (testimonial placeholders)
   16  Final CTA
   17  Footer
   18  Motion & reduced-motion
   19  Relief Symbol outline device
   ========================================================================== */


/* 01  FONTS
   --------------------------------------------------------------------------
   Gilroy is a licensed typeface and is not bundled with this repository.

   TO ACTIVATE GILROY:
   1. Place the licensed web font files in /assets/fonts/ as:
        gilroy-semibold.woff2, gilroy-bold.woff2, gilroy-extrabold.woff2
   2. Uncomment the three `src` url() lines below.

   Until then the `local()` sources pick up a system-installed Gilroy, and any
   other visitor falls back through the family stack to Montserrat. The design
   system is unchanged either way — only the display face substitutes.
   ------------------------------------------------------------------------ */
@font-face {
  font-family: "Gilroy";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local("Gilroy SemiBold"), local("Gilroy-SemiBold");
  /* src: local("Gilroy SemiBold"), url("../fonts/gilroy-semibold.woff2") format("woff2"); */
}
@font-face {
  font-family: "Gilroy";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Gilroy Bold"), local("Gilroy-Bold");
  /* src: local("Gilroy Bold"), url("../fonts/gilroy-bold.woff2") format("woff2"); */
}
@font-face {
  font-family: "Gilroy";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: local("Gilroy ExtraBold"), local("Gilroy-ExtraBold");
  /* src: local("Gilroy ExtraBold"), url("../fonts/gilroy-extrabold.woff2") format("woff2"); */
}


/* 02  DESIGN TOKENS
   ------------------------------------------------------------------------ */
:root {
  /* Brand colour */
  --rust:       #BC5500;
  --dark-rust:  #8A3A20;
  --yellow:     #E3A008;
  --deep-gold:  #B37D06;
  --near-black: #2A1E18;
  --charcoal:   #4A4744;
  --cream:      #F6EEDD;
  --white:      #FFFDF9;

  /* Derived surfaces & lines */
  --cream-soft:   #FBF6EC;
  --line:         rgba(42, 30, 24, 0.08);
  --line-strong:  rgba(42, 30, 24, 0.14);
  /* Borders on interactive controls — meets the 3:1 non-text contrast minimum. */
  --line-ui:      rgba(42, 30, 24, 0.62);
  --line-light:   rgba(246, 238, 221, 0.16);
  --tint-rust:    rgba(188, 85, 0, 0.08);
  --tint-gold:    rgba(227, 160, 8, 0.12);

  /* Type */
  --font-display: "Gilroy", "Montserrat", Arial, sans-serif;
  --font-body:    "Montserrat", "Helvetica Neue", Arial, sans-serif;

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  0.875rem;
  --space-md:  1.25rem;
  --space-lg:  2rem;
  --space-xl:  3rem;
  --space-2xl: clamp(3.5rem, 6vw, 5.5rem);
  --space-3xl: clamp(4.5rem, 9vw, 8rem);

  /* Radii */
  --r-sm:   12px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   28px;
  --r-2xl:  36px;
  --r-pill: 999px;

  /* Elevation — deliberately restrained */
  --shadow-sm: 0 1px 2px rgba(42, 30, 24, 0.04);
  --shadow-md: 0 10px 30px -18px rgba(42, 30, 24, 0.28);
  --shadow-lg: 0 26px 60px -34px rgba(42, 30, 24, 0.34);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 180ms;
  --t-base: 260ms;
  --t-slow: 400ms;

  /* Layout */
  --shell-max: 1280px;
  --shell-pad: clamp(1.25rem, 5vw, 2.5rem);
  --header-h: 68px;
}

@media (min-width: 1024px) {
  :root { --header-h: 84px; }
}


/* 03  RESET & BASE
   ------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

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

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

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--near-black);
  text-wrap: balance;
}

fieldset { margin: 0; padding: 0; border: 0; }
legend { padding: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Focus — always clearly visible */
:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible,
.backed :focus-visible,
.site-footer :focus-visible { outline-color: var(--yellow); }

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 200;
  transform: translate(-50%, -140%);
  padding: 0.75rem 1.25rem;
  background: var(--near-black);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: transform var(--t-fast) var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

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


/* 04  LAYOUT PRIMITIVES
   ------------------------------------------------------------------------ */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}

.section { padding-block: var(--space-3xl); }
.section--cream { background: var(--cream); }

.section-head { max-width: 46rem; margin-bottom: var(--space-2xl); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__lede {
  margin-top: 1rem;
  font-size: clamp(1rem, 0.4vw + 0.94rem, 1.125rem);
  color: var(--charcoal);
  max-width: 40rem;
}
.section-head--center .section-head__lede { margin-inline: auto; }

.br-lg { display: none; }
@media (min-width: 768px) { .br-lg { display: inline; } }


/* 05  TYPOGRAPHY
   ------------------------------------------------------------------------ */
.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark-rust);
}
.eyebrow--light { color: var(--yellow); }

.h2 {
  font-size: clamp(2rem, 3.6vw + 0.9rem, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.h3 { font-size: clamp(1.125rem, 0.6vw + 1rem, 1.3125rem); }

.lede {
  font-size: clamp(1.0625rem, 0.5vw + 0.97rem, 1.1875rem);
  line-height: 1.7;
  color: var(--charcoal);
}

.note {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--charcoal);
  max-width: 44rem;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-pill);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: rgba(42, 30, 24, 0.03);
}


/* 06  BUTTONS & ICONS
   ------------------------------------------------------------------------ */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  --btn-bg: var(--rust);
  --btn-fg: var(--white);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.875rem 1.6rem;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-md);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform var(--t-base) var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary { box-shadow: 0 8px 20px -14px rgba(188, 85, 0, 0.9); }
.btn--primary:hover { --btn-bg: var(--dark-rust); }
.btn--primary:active { --btn-bg: var(--dark-rust); transform: translateY(1px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--near-black);
  --btn-bd: var(--line-ui);
}
.btn--ghost:hover { --btn-bg: rgba(42, 30, 24, 0.05); --btn-bd: var(--near-black); }
.btn--ghost:active { transform: translateY(1px); }

.btn--sm { min-height: 44px; padding: 0.6rem 1.15rem; font-size: 0.9375rem; border-radius: 12px; }
.btn--block { display: flex; width: 100%; }

.btn[aria-disabled="true"], .btn:disabled {
  opacity: 0.45; cursor: not-allowed; pointer-events: none;
}


/* 07  HEADER & NAVIGATION
   ------------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
}
@media (min-width: 1024px) { .header__inner { gap: var(--space-md); } }

.header__brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.header__brand img { width: auto; height: 30px; }
@media (min-width: 1024px) { .header__brand img { height: 38px; } }

.nav { display: none; margin-inline: auto; }
@media (min-width: 1024px) { .nav { display: block; } }

.nav__list { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.25rem); }

.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.nav__link:hover { color: var(--near-black); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.is-current { color: var(--near-black); font-weight: 600; }
.nav__link.is-current::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
@media (min-width: 1024px) { .header__actions { margin-left: 0; } }

/* Keep the primary CTA in the header on phones — it is the main conversion path. */
.header__cta { padding: 0.55rem 0.9rem; font-size: 0.875rem; white-space: nowrap; }
@media (max-width: 419px) { .header__cta .icon { display: none; } }
@media (max-width: 319px) { .header__cta { display: none; } }
@media (min-width: 1024px) { .header__cta { padding: 0.6rem 1.15rem; font-size: 0.9375rem; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  padding: 0;
  background: transparent;
  border: 1.5px solid var(--line-ui);
  border-radius: 12px;
  color: var(--near-black);
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.nav-toggle:hover { background: rgba(42, 30, 24, 0.04); }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding-block: var(--space-md) var(--space-lg);
  max-height: calc(100svh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav[hidden] { display: none; }

.mobile-nav__list { margin-bottom: var(--space-md); }
.mobile-nav__list a {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--near-black);
  text-decoration: none;
}
.mobile-nav__list a:hover { color: var(--rust); }

.mobile-nav__note {
  margin: var(--space-md) 0 0;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark-rust);
  font-weight: 600;
}


/* 08  HERO
   ------------------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--cream);
  padding-bottom: var(--space-2xl);
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-xl);
  padding-block: var(--space-2xl) var(--space-xl);
  align-items: center;
}

.hero__content { max-width: 34rem; }

.hero__title {
  margin: 0 0 1.1rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-size: clamp(2.5rem, 12vw, 4rem);
}
.hero__title span { display: block; }
.hero__title-a { color: var(--near-black); }
.hero__title-b { color: var(--rust); }

.hero__lede {
  max-width: 30rem;
  margin-bottom: var(--space-lg);
  font-size: clamp(1.0625rem, 0.5vw + 0.97rem, 1.1875rem);
  line-height: 1.65;
  color: var(--charcoal);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__actions .btn { flex: 1 1 auto; min-width: 10rem; }
@media (min-width: 480px) { .hero__actions .btn { flex: 0 0 auto; } }

.hero__reassure {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: var(--space-lg) 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--charcoal);
}
.hero__reassure .icon { width: 1.15rem; height: 1.15rem; margin-top: 0.12rem; color: var(--dark-rust); }

.hero__figure { margin: 0; }
.hero__figure img,
.hero__figure picture {
  width: 100%;
  border-radius: var(--r-xl);
}
.hero__figure img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 62% 28%;
  box-shadow: var(--shadow-md);
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: clamp(2rem, 4vw, 4rem);
    max-width: none;
    padding-left: max(var(--shell-pad), (100vw - var(--shell-max)) / 2 + var(--shell-pad));
    padding-right: 0;
    min-height: clamp(30rem, calc(100svh - var(--header-h) - 11rem), 41rem);
  }
  .hero__figure img {
    aspect-ratio: auto;
    height: clamp(26rem, calc(100svh - var(--header-h) - 15rem), 36rem);
    border-radius: var(--r-2xl) 0 0 var(--r-2xl);
    object-position: 58% 30%;
  }
  .hero__figure img, .hero__figure picture { border-radius: var(--r-2xl) 0 0 var(--r-2xl); }
}

/* Hero trust strip */
.trust-strip {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 0;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 1024px) { .trust-strip { margin-top: -3.25rem; } }

.trust-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.95rem clamp(0.5rem, 1.4vw, 1.25rem);
  border-bottom: 1px solid var(--line);
}
.trust-strip__item:last-child { border-bottom: 0; }

.trust-strip__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--tint-rust);
  color: var(--rust);
}
.trust-strip__icon .icon { width: 22px; height: 22px; }

.trust-strip__title {
  margin: 0 0 0.2rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  color: var(--near-black);
}
.trust-strip__item p { margin: 0; font-size: 0.8125rem; line-height: 1.5; color: var(--charcoal); }

@media (min-width: 600px) {
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip__item { border-bottom: 0; }
  .trust-strip__item:nth-child(odd) { border-right: 1px solid var(--line); }
  .trust-strip__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (min-width: 1024px) {
  .trust-strip { grid-template-columns: repeat(4, 1fr); }
  .trust-strip__item:nth-child(n) { border-bottom: 0; border-right: 1px solid var(--line); }
  .trust-strip__item:last-child { border-right: 0; }
}


/* 09  INTRO / VALUE PROPOSITION
   ------------------------------------------------------------------------ */
.intro { background: var(--white); }

.intro__grid { display: grid; gap: var(--space-xl); }
@media (min-width: 900px) {
  .intro__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); }
  .intro__lead { position: sticky; top: calc(var(--header-h) + var(--space-lg)); align-self: start; }
}

.value-list { margin-top: var(--space-xl); display: grid; gap: var(--space-md); }
.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.value-list__icon {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--rust);
}
.value-list__icon .icon { width: 20px; height: 20px; }
.value-list h3 {
  margin: 0 0 0.15rem;
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 700; letter-spacing: 0;
  color: var(--near-black);
}
.value-list p { margin: 0; font-size: 0.9375rem; line-height: 1.6; }


/* 10  HOW IT WORKS
   ------------------------------------------------------------------------ */
.steps { display: grid; gap: var(--space-md); }
@media (min-width: 640px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); } }

.step {
  position: relative;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.step__num {
  display: inline-block;
  margin-bottom: 1.1rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--rust);
}
.step__num::after {
  content: "";
  display: block;
  width: 28px; height: 2px;
  margin-top: 0.55rem;
  border-radius: 2px;
  background: var(--yellow);
}
.step__title { margin: 0 0 0.4rem; font-size: 1.25rem; }
.step p { margin: 0; font-size: 0.9375rem; line-height: 1.6; }


/* 11  CALCULATOR
   ------------------------------------------------------------------------ */
.calc {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.calc-watermark {
  position: absolute;
  left: -4%;
  bottom: -10%;
  width: min(580px, 35vw);
  height: auto;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 900px) {
  .calc-watermark {
    left: -10%;
    bottom: -5%;
    width: min(450px, 55vw);
    opacity: 0.08;
  }
}

.calc__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 900px) {
  .calc__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); }
}

.tick-list { margin-top: var(--space-lg); display: grid; gap: 0.7rem; }
.tick-list li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.9375rem; line-height: 1.55;
}
.tick-list .icon { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; color: var(--rust); stroke-width: 2.25; }

.calc__card {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg);
}

.calc__badge {
  display: inline-block;
  margin: 0 0 var(--space-md);
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-pill);
  background: var(--tint-gold);
  color: #6E4C03;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field { margin-bottom: var(--space-lg); }
.field__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.field__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.field__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--near-black);
}
.field__hint {
  display: flex; justify-content: space-between;
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  color: var(--charcoal);
}

/* Range slider */
.slider {
  --fill: 8%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 30px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.slider::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: var(--r-pill);
  background: linear-gradient(to right, var(--rust) var(--fill), rgba(42,30,24,0.12) var(--fill));
}
.slider::-moz-range-track {
  height: 8px;
  border-radius: var(--r-pill);
  background: rgba(42,30,24,0.12);
}
.slider::-moz-range-progress { height: 8px; border-radius: var(--r-pill); background: var(--rust); }
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px; height: 28px;
  margin-top: -10px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 3px 10px -3px rgba(42,30,24,0.5);
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 3px 10px -3px rgba(42,30,24,0.5);
}
.slider:hover::-webkit-slider-thumb { transform: scale(1.08); background: var(--dark-rust); }
.slider:active::-webkit-slider-thumb { transform: scale(0.96); }
.slider:focus-visible { outline: none; }
.slider:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--rust); }
.slider:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--rust); }

/* Term chips */
.field--term .field__label { display: block; margin-bottom: 0.75rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { flex: 1 1 auto; }
.chip input {
  position: absolute; width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}
.chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.6rem 0.9rem;
  background: var(--white);
  border: 1.5px solid var(--line-ui);
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}
.chip:hover span { border-color: var(--near-black); }
.chip input:checked + span {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--white);
}
.chip input:focus-visible + span { outline: 3px solid var(--rust); outline-offset: 3px; }

.calc__results {
  display: grid;
  gap: 1px;
  margin-bottom: var(--space-md);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (min-width: 480px) { .calc__results { grid-template-columns: 1fr 1fr; } }

.calc__result {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
}
.calc__result--lead { background: var(--near-black); }
.calc__result-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.calc__result--lead .calc__result-label { color: rgba(246,238,221,0.72); }
.calc__result-figure {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--near-black);
  font-variant-numeric: tabular-nums;
}
.calc__result--lead .calc__result-figure { color: var(--cream); }

.calc__disclaimer {
  margin-bottom: var(--space-md);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--charcoal);
}


/* 12  BACKED, NOT JUDGED
   ------------------------------------------------------------------------ */
.backed {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--near-black);
  color: var(--cream);
}
.backed h2 { color: var(--white); }

.relief--backed {
  left: -30%;
  top: -22%;
  width: min(760px, 116vw);
  color: var(--yellow);
  opacity: 0.6;
}

.backed__inner { position: relative; z-index: 1; display: grid; gap: var(--space-xl); }
@media (min-width: 900px) {
  .backed__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); align-items: center; }
  .relief--backed { left: -16%; top: -38%; width: min(780px, 50vw); opacity: 0.65; }
}
.backed__body p { font-size: clamp(1.0625rem, 0.5vw + 0.97rem, 1.1875rem); line-height: 1.7; color: rgba(246,238,221,0.86); }

.pillars { margin-top: var(--space-lg); display: grid; gap: 0; }
.pillars li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line-light);
}
.pillars li:last-child { border-bottom: 1px solid var(--line-light); }
.pillars__key {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--yellow);
}
.pillars__desc { font-size: 0.9375rem; color: rgba(246,238,221,0.8); }


/* 13  USE CASES
   ------------------------------------------------------------------------ */
.uses {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: 180px;
}
@media (min-width: 900px) {
  .uses {
    padding-bottom: 340px;
  }
}
.uses .shell {
  position: relative;
  z-index: 1;
}

.uses-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
@media (min-width: 900px) {
  .uses-curve {
    height: 320px;
  }
}

.relief--uses {
  left: 50%;
  bottom: -60px;
  transform: translateX(-50%);
  width: 3500px;
  opacity: 0.55;
}

.use-grid { display: grid; gap: var(--space-md); }
@media (min-width: 600px)  { .use-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .use-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); } }

.use-card {
  padding: clamp(1.1rem, 2vw, 1.35rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.use-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.use-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  margin-bottom: 1.15rem;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--cream);
}
.use-card__media img,
.use-card__media picture {
  width: 100%;
  height: 100%;
}
.use-card__media img {
  object-fit: cover;
  transform: scale(1.001);            /* avoids a hairline gap on some zoom levels */
  transition: transform var(--t-slow) var(--ease);
}
.use-card:hover .use-card__media img { transform: scale(1.03); }
.use-card__media img.person-crop {
  object-position: center top;
}

/* Still waiting on approved photography */
.use-card__media--placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed var(--line-strong);
  color: var(--dark-rust);
}
.use-card__media--placeholder .icon { width: 30px; height: 30px; opacity: 0.4; stroke-width: 1.5; }
.use-card__media--placeholder::after {
  content: attr(data-placeholder);
  position: absolute;
  left: 0; right: 0; bottom: 0.85rem;
  text-align: center;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(74, 71, 68, 0.85);
}

.use-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.1875rem;
}
.use-card p { margin: 0; font-size: 0.9375rem; line-height: 1.6; }


/* 14  PROMISES
   ------------------------------------------------------------------------ */
.promises {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--white);
}
.promises .shell { position: relative; z-index: 1; }



.promise-grid { display: grid; gap: var(--space-md); }
@media (min-width: 640px)  { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .promise-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); } }

.promise {
  position: relative;
  padding: clamp(1.5rem, 2.6vw, 2rem) clamp(1.4rem, 2.4vw, 1.75rem);
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.promise:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.promise::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--rust), var(--yellow));
}
.promise__index {
  display: block;
  margin-bottom: 0.9rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(188, 85, 0, 0.5);
}
.promise__title { margin: 0 0 0.35rem; font-size: 1.125rem; }
.promise p { margin: 0; font-size: 0.9375rem; line-height: 1.6; }


/* 15  STORIES (testimonial placeholders)
   ------------------------------------------------------------------------ */
.story-grid { display: grid; gap: var(--space-md); }
@media (min-width: 700px)  { .story-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .story-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); } }

.story {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  min-height: 15rem;
}
.story.is-placeholder { border-style: dashed; border-color: var(--line-strong); background: rgba(255,253,249,0.6); }
.story__mark { width: 28px; height: 28px; color: var(--yellow); stroke-width: 1.5; }
.story__quote {
  flex: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}
.story__meta { margin: 0; }


/* 16  FINAL CTA
   ------------------------------------------------------------------------ */
.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--space-3xl);
  background:
    radial-gradient(120% 90% at 50% 120%, rgba(227,160,8,0.16), transparent 62%),
    var(--cream);
  text-align: center;
}
/* Sized in px, not vw, so the closing message sits inside the stroke band at
   every width: the inner curve clears the headline, the outer curve sweeps
   below the buttons. The device carries the copy rather than crossing it. */
.relief--cta {
  left: 50%;
  bottom: -60px;
  transform: translateX(-50%);
  width: 3000px;
  opacity: 0.55;
}
.final-cta__inner { position: relative; z-index: 1; max-width: 44rem; }
.final-cta .lede { margin-top: 1rem; }
.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: var(--space-lg);
}
.final-cta__actions .btn { flex: 1 1 auto; min-width: 11rem; }
@media (min-width: 480px) { .final-cta__actions .btn { flex: 0 0 auto; } }


/* 17  FOOTER
   ------------------------------------------------------------------------ */
.site-footer {
  padding-block: var(--space-2xl) var(--space-lg);
  background: var(--near-black);
  color: rgba(246, 238, 221, 0.78);
  font-size: 0.9375rem;
}

.footer__top { display: grid; gap: var(--space-xl); padding-bottom: var(--space-xl); }
@media (min-width: 900px) {
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2.5rem, 5vw, 5rem); }
}

.footer__brand img { width: auto; height: 42px; margin-bottom: 1.25rem; }
.footer__line {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.footer__blurb { margin: 0; font-size: 0.875rem; color: rgba(246,238,221,0.62); }

.footer__nav { display: grid; gap: var(--space-lg); }
@media (min-width: 560px) { .footer__nav { grid-template-columns: repeat(3, 1fr); gap: var(--space-md); } }

.footer__heading {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}
.footer__col ul { display: grid; gap: 0.4rem; }
.footer__col a {
  display: inline-block;
  padding-block: 0.3rem;
  color: rgba(246,238,221,0.82);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.footer__col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.footer__contact li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; color: rgba(246,238,221,0.62); }
.footer__contact .icon { width: 1.05rem; height: 1.05rem; margin-top: 0.22rem; color: var(--yellow); opacity: 0.8; }

.footer__col .footer__social { display: flex; gap: 0.5rem; margin-top: var(--space-md); }
.footer__social a {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  color: var(--cream);
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.footer__social a:hover { background: rgba(246,238,221,0.08); border-color: rgba(246,238,221,0.3); }
.footer__social .icon { width: 19px; height: 19px; }

.footer__regulatory {
  padding: 1rem 1.15rem;
  border: 1px dashed var(--line-light);
  border-radius: var(--r-md);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(246,238,221,0.6);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line-light);
  font-size: 0.8125rem;
  color: rgba(246,238,221,0.6);
}
.footer__bottom p { margin: 0; }


/* 18  MOTION
   ------------------------------------------------------------------------ */
/* Reveal is opt-in: only a scripted document hides content first, so a page
   without JavaScript renders everything immediately. */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@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;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover .icon { transform: none; }
  .step:hover, .use-card:hover, .promise:hover { transform: none; }
  .use-card:hover .use-card__media img { transform: none; }
}


/* 19  RELIEF SYMBOL OUTLINE DEVICE
   --------------------------------------------------------------------------
   The Smile Outline Device from the brand guide, traced from the supplied
   artwork (`bg-design.png`) into a single vector path. It lives once in the
   sprite at the top of index.html as `#relief-outline` and is referenced four
   times with <use>, so there is no extra request and no raster to rescale.

   The source render carries a soft neon glow; that glow is deliberately not
   reproduced. What ships is the centreline of the outline, drawn as a stroke —
   so with `vector-effect: non-scaling-stroke` the line keeps the same hairline
   weight whether the device is 700px or 3000px wide. Contrast against the
   ground is handled with `opacity` alone.

   `fill="currentColor"` means each placement takes its colourway from `color`,
   so any approved outline colour (rust, dark rust, yellow, deep gold,
   near-black, charcoal, cream, white) is a one-line change.

   Used large and confident, cropped by the section frame, always behind the
   content and never strong enough to compete with copy or photography.
   ------------------------------------------------------------------------ */
.relief {
  position: absolute;
  z-index: 0;
  height: auto;
  aspect-ratio: 1536 / 1024;
  max-width: none;
  color: var(--rust);
  stroke-width: 2;
  pointer-events: none;
}

/* 20  ERROR 404 PAGE
   ------------------------------------------------------------------------ */
.error-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--cream);
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: var(--space-3xl);
}
.error-page__inner {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  margin-inline: auto;
}
.error-page__title {
  margin-top: 0.5rem;
  font-size: clamp(2.25rem, 5vw + 1rem, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--charcoal);
}
.error-page__lede {
  margin-top: 1rem;
  margin-bottom: var(--space-xl);
  color: var(--charcoal);
  opacity: 0.85;
}
.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.relief--error {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2000px;
  opacity: 0.22;
}
