/* ==========================================================================
   IDA — ida.lk
   Early-stage marketing site. Static, no build step.

   Tokens are transcribed from the product design system
   (ui-ux-improvements/ida-ui-kit/assets/ida.css) so the site and the apps read
   as one company. The type scale is the one thing that differs: the web
   display sizes run much larger than the app's.

   Direction: cool fintech neutral. Emerald is the only colour on the page and
   it is spent on exactly three things — the primary button, the step numerals,
   and the "available" segments of an availability strip. Everything else is
   type, whitespace, and 1px borders.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Font
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* neutral ramp — cool slate */
  --n-0: #ffffff;
  --n-25: #fbfcfd;
  --n-50: #f7f9fb;
  --n-100: #eff3f7;
  --n-150: #e5eaf0;
  --n-200: #d8dfe8;
  --n-300: #bfc9d6;
  --n-400: #8695a9;
  --n-500: #64748b;
  --n-600: #4e5c71;
  --n-700: #3a4557;
  --n-800: #28303e;
  --n-900: #171d27;
  --n-950: #0c1119;

  /* brand — emerald */
  --brand-50: #ecfdf5;
  --brand-100: #d3f5e5;
  --brand-200: #a7e9ce;
  --brand-300: #6dd6ae;
  --brand-400: #34bc8c;
  --brand-500: #12a070;
  --brand-600: #04835b;
  --brand-700: #046a4b;
  --brand-800: #06553e;

  --danger-600: #c22626;
  --danger-50: #fef2f2;
  --danger-200: #fbc9c9;

  /* semantic aliases */
  --bg-app: var(--n-50);
  --bg-surface: var(--n-0);
  --bg-subtle: var(--n-100);
  --border: var(--n-200);
  --border-strong: var(--n-300);
  --border-field: var(--n-400);
  --text: var(--n-900);
  --text-secondary: var(--n-600);
  --text-muted: var(--n-500);
  --text-on-fill: #ffffff;
  --focus: #1c5bd6;

  /* type */
  --font-ui: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-display: clamp(2.375rem, 1.55rem + 3.4vw, 3.875rem);
  --fs-h2: clamp(1.625rem, 1.25rem + 1.55vw, 2.375rem);
  --fs-h3: 1.0625rem;
  --fs-lede: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* space — 4px scale */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --wrap: 1120px;
  --band-y: clamp(3.5rem, 7vw, 6.5rem);
}

/* --------------------------------------------------------------------------
   3. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg-app);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-optical-sizing: auto;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p,
figure,
ul,
ol {
  margin: 0;
}

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

a {
  color: var(--brand-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}

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

.skip-link {
  position: absolute;
  left: var(--s4);
  top: var(--s4);
  z-index: 100;
  padding: 10px 16px;
  background: var(--n-900);
  color: var(--text-on-fill);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus-visible {
  transform: none;
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.band {
  padding-block: var(--band-y);
  border-top: 1px solid var(--border);
}

.band--surface {
  background: var(--bg-surface);
}

.band--flush {
  border-top: 0;
}

.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s3);
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 600;
  max-width: 20ch;
  text-wrap: balance;
}

h3 {
  font-size: var(--fs-h3);
  line-height: 1.4;
  letter-spacing: -0.008em;
  font-weight: 600;
}

.lede {
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 62ch;
  margin-top: var(--s4);
}

.band__head {
  max-width: 66ch;
  margin-bottom: var(--s7);
}

.prose p + p {
  margin-top: var(--s4);
}

.prose {
  color: var(--text-secondary);
  max-width: 62ch;
}

/* small spacing utilities — used sparingly, so the markup carries no
   inline styles and the CSP can forbid them */
.mt-4 {
  margin-top: var(--s4);
}
.mt-5 {
  margin-top: var(--s5);
}
.mt-6 {
  margin-top: var(--s6);
}
.mb-5 {
  margin-bottom: var(--s5);
}
.mb-0 {
  margin-bottom: 0;
}
.eyebrow--on-dark {
  color: var(--brand-300);
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 48px;
  padding: 0 var(--s5);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    color 0.15s ease;
}

.btn--primary {
  background: var(--brand-600);
  color: var(--text-on-fill);
}

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

.btn--primary:active {
  background: var(--brand-800);
}

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

.btn--ghost:hover {
  border-color: var(--n-400);
  background: var(--bg-subtle);
}

.btn--sm {
  min-height: 40px;
  padding: 0 var(--s4);
  font-size: var(--fs-sm);
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: default;
}

/* --------------------------------------------------------------------------
   6. Site header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 251, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  min-height: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

.wordmark svg {
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--s6);
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 500;
}

.nav a:hover {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 {
  font-size: var(--fs-display);
  line-height: 1.06;
  letter-spacing: -0.032em;
  font-weight: 600;
  max-width: 15ch;
  text-wrap: balance;
}

.hero .lede {
  max-width: 46ch;
  margin-top: var(--s5);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s4);
  margin-top: var(--s7);
}

.hero__note {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* the lot diagram */
.lot {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s5);
}

.lot__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s3);
  margin-top: var(--s4);
  padding-top: var(--s4);
  border-top: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.lot__caption b {
  color: var(--text-secondary);
  font-weight: 600;
}

.legend {
  display: flex;
  gap: var(--s4);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  border: 1px solid var(--border-strong);
  background: var(--n-150);
}

.legend i.is-open {
  background: var(--brand-100);
  border-color: var(--brand-400);
}

/* --------------------------------------------------------------------------
   8. Cards & grids
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--s4);
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s5);
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.band--surface .card {
  background: var(--bg-app);
}

.card__icon {
  color: var(--n-400);
}

.card__label {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-top: 2px;
}

/* keep the availability strip pinned to the bottom so cards align */
.card > :last-child {
  margin-top: auto;
}

/* 24-hour availability strip */
.strip {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: var(--n-150);
  overflow: hidden;
}

.strip i {
  position: absolute;
  inset-block: 0;
  background: var(--brand-400);
}

/* The availability windows themselves. These are content, but they are fixed
   content, so they live here rather than as inline styles — which lets the
   site ship a CSP with no 'unsafe-inline' at all. Percentages are hour/24. */
.strip--office i {
  left: 75%; /* 18:00 */
  width: 25%; /* 6h */
}
.strip--hotel i:nth-child(1) {
  left: 37.5%; /* 09:00 */
  width: 16.667%; /* 4h */
}
.strip--hotel i:nth-child(2) {
  left: 58.333%; /* 14:00 */
  width: 12.5%; /* 3h */
}
.strip--hotel i:nth-child(3) {
  left: 87.5%; /* 21:00 */
  width: 12.5%; /* 3h */
}
.strip--school i {
  left: 70.833%; /* 17:00 */
  width: 25%; /* 6h */
}
.strip--home i {
  left: 33.333%; /* 08:00 */
  width: 37.5%; /* 9h */
}

.strip__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   9. Steps
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  counter-reset: step;
}

.step {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  padding-top: var(--s5);
  border-top: 2px solid var(--brand-200);
}

.step__n {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--brand-700);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.step p {
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   10. Chips
   -------------------------------------------------------------------------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.chips li {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-surface);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.band--surface .chips li {
  background: var(--bg-app);
}

/* --------------------------------------------------------------------------
   11. Split section (commercial / individual)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.band--surface .panel {
  background: var(--bg-app);
}

.panel h3 {
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}

.panel p {
  color: var(--text-secondary);
  margin-top: var(--s3);
}

/* --------------------------------------------------------------------------
   12. Form
   -------------------------------------------------------------------------- */
.register {
  background: var(--n-900);
  color: var(--n-100);
  border-top: 0;
}

.register h2 {
  color: var(--n-0);
}

.register .lede {
  color: var(--n-300);
}

.register__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.register__aside p {
  color: var(--n-300);
  margin-top: var(--s4);
  max-width: 40ch;
}

.assurance {
  margin-top: var(--s6);
  display: grid;
  gap: var(--s3);
}

.assurance li {
  display: flex;
  gap: var(--s3);
  font-size: var(--fs-sm);
  color: var(--n-300);
  line-height: 1.5;
}

.assurance svg {
  flex: none;
  margin-top: 3px;
  color: var(--brand-400);
}

.form {
  background: var(--n-0);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s4);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--s4);
}

.field > label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
}

.field .hint {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: var(--fs-body);
  color: var(--text);
  background: var(--n-0);
  border: 1px solid var(--border-field);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  min-height: 46px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  resize: vertical;
  min-height: 76px;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%234E5C71' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--n-500);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px var(--brand-100);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

.field[data-invalid="true"] input,
.field[data-invalid="true"] select {
  border-color: var(--danger-600);
}

.field .error {
  font-size: var(--fs-xs);
  color: var(--danger-600);
  min-height: 0;
}

.org-fields {
  border-top: 1px solid var(--border);
  margin-top: var(--s5);
  padding-top: var(--s5);
}

.org-fields[hidden] {
  display: none;
}

.org-fields__title {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s4);
}

.form__footer {
  margin-top: var(--s5);
}

.form__note {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--s4);
  line-height: 1.5;
}

.form__status {
  margin-top: var(--s4);
  font-size: var(--fs-sm);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--danger-50);
  border: 1px solid var(--danger-200);
  color: var(--danger-600);
}

.form__status[hidden] {
  display: none;
}

/* honeypot — kept out of the layout and out of the a11y tree */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* success panel replaces the form in place */
.thanks {
  background: var(--n-0);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  text-align: left;
}

.thanks[hidden] {
  display: none;
}

/* Focus is moved here after a successful submit so screen readers land on the
   confirmation. It is a container, not a control, so it does not draw a ring. */
.thanks:focus,
.thanks:focus-visible {
  outline: none;
}

.thanks h3 {
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  margin-top: var(--s4);
}

.thanks p {
  color: var(--text-secondary);
  margin-top: var(--s3);
  max-width: 46ch;
}

.thanks__mark {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  display: grid;
  place-items: center;
}

/* --------------------------------------------------------------------------
   13. Mobile apps section
   -------------------------------------------------------------------------- */
.mobile__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.phones {
  display: flex;
  gap: var(--s4);
  justify-content: center;
}

.phone-label {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: var(--s3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: var(--s7) var(--s6);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s5);
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer p {
  max-width: 42ch;
  margin-top: var(--s3);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s5);
}

.site-footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

.site-footer__bottom {
  margin-top: var(--s7);
  padding-top: var(--s4);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  justify-content: space-between;
  font-size: var(--fs-xs);
}

/* --------------------------------------------------------------------------
   15. Sticky mobile CTA
   -------------------------------------------------------------------------- */
.mobile-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247, 249, 251, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}

.mobile-cta.is-visible {
  transform: none;
}

/* --------------------------------------------------------------------------
   16. Scroll reveal
   -------------------------------------------------------------------------- */
/* Scoped to .js (set by assets/boot.js in the head). If JavaScript never
   runs, the selector never matches and every section stays visible — a
   reveal animation must not be able to hide the page. */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   17. Legal / prose pages
   -------------------------------------------------------------------------- */
.doc {
  max-width: 68ch;
  padding-block: clamp(3rem, 6vw, 5rem);
}

.doc h1 {
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.028em;
  font-weight: 600;
}

.doc h2 {
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  margin-top: var(--s7);
  max-width: none;
}

.doc p,
.doc li {
  color: var(--text-secondary);
  margin-top: var(--s4);
}

.doc ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.doc li {
  margin-top: var(--s2);
}

.doc .updated {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--s4);
}

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__grid,
  .register__grid,
  .mobile__grid,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero h1 {
    max-width: 18ch;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s5);
  }

  .grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .site-header .btn {
    display: none;
  }
}

@media (max-width: 620px) {
  .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .mobile-cta {
    display: block;
  }

  body {
    padding-bottom: 0;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .lot {
    padding: var(--s4);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .mobile-cta {
    display: none;
  }
}
