/* =========================================================================
   HabitsClock design system
   Modern CSS: custom properties, color-mix(), clamp() type scale, grid,
   light + dark themes. No framework, no build step. First-party only.
   ========================================================================= */

/* ----- Self-hosted fonts (Jost + Cormorant Garamond, the pairing used on
   propertyshub.in). Downloaded from Google Fonts, served first-party so no
   external stylesheet / font host is contacted (CSP + ADR-002). ---------- */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/jost-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ----- Design tokens --------------------------------------------------- */
:root {
  color-scheme: light;

  /* Brand — warm bronze-gold (propertyshub.in foundation) */
  --brand-50:  #f3ead9;
  --brand-100: #e9d8b9;
  --brand-300: #d4b483;
  --brand-500: #b8975a;
  --brand-600: #a67c3b;
  --brand-700: #7e5e2c;

  /* Accent — the same bronze, used sparingly for marks / ratings */
  --accent:    #a67c3b;
  --accent-bg: #f3ead9;

  /* Neutrals — warm ivory surfaces, warm ink text */
  --bg:          #f5efe5;
  --surface:     #ffffff;
  --surface-2:   #f2ebdf;
  --border:      rgba(45,38,28,.14);
  --border-strong:rgba(45,38,28,.26);
  --text:        #2b2721;
  --text-muted:  #6e6a62;
  --text-subtle: rgba(43,39,33,.5);

  /* Status */
  --ok:    #12805c;
  --ok-bg: #e6f6ef;
  --warn:  #9a6700;
  --warn-bg:#fdf3d8;
  --danger:#b42318;
  --danger-bg:#fce9e7;
  --info:  #1d63c4;
  --info-bg:#e6f0fc;

  /* Shape & depth */
  --radius-sm: 2px;
  --radius:    4px;
  --radius-lg: 6px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(43,39,33,.06), 0 1px 3px rgba(43,39,33,.05);
  --shadow-md: 0 10px 30px rgba(43,39,33,.08), 0 2px 8px rgba(43,39,33,.05);
  --shadow-lg: 0 24px 64px -16px rgba(43,39,33,.16);
  --ring: 0 0 0 3px color-mix(in srgb, var(--brand-500) 35%, transparent);

  /* Layout */
  --sidebar-w: 264px;
  --topbar-h: 60px;
  --content-max: 1200px;

  /* Type — Jost for UI/body, Cormorant Garamond for display headings */
  --font-sans: "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --step--1: clamp(.78rem, .76rem + .1vw, .82rem);
  --step-0:  clamp(.9rem, .88rem + .12vw, .95rem);
  --step-1:  clamp(1.05rem, 1rem + .3vw, 1.2rem);
  --step-2:  clamp(1.3rem, 1.2rem + .6vw, 1.6rem);
  --step-3:  clamp(1.7rem, 1.5rem + 1vw, 2.3rem);
  --step-4:  clamp(2.2rem, 1.8rem + 2vw, 3.2rem);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg:          #131729;
  --surface:     #181d30;
  --surface-2:   #252b40;
  --border:      rgba(184,151,90,.22);
  --border-strong:rgba(184,151,90,.38);
  --text:        #f4efe6;
  --text-muted:  rgba(244,239,230,.62);
  --text-subtle: rgba(244,239,230,.4);

  --brand-50:  #2a2415;
  --brand-100: #3a3019;
  --accent:    #b8975a;
  --accent-bg: #2a2415;

  --ok-bg: #10241d;
  --warn-bg:#2a2211;
  --danger-bg:#2c1615;
  --info-bg:#111f33;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 12px 32px rgba(0,0,0,.4);
  --shadow-lg: 0 24px 64px -16px rgba(0,0,0,.6);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg:          #131729;
    --surface:     #181d30;
    --surface-2:   #252b40;
    --border:      rgba(184,151,90,.22);
    --border-strong:rgba(184,151,90,.38);
    --text:        #f4efe6;
    --text-muted:  rgba(244,239,230,.62);
    --text-subtle: rgba(244,239,230,.4);
    --brand-50:  #2a2415;
    --brand-100: #3a3019;
    --accent:    #b8975a;
    --accent-bg: #2a2415;
    --ok-bg: #10241d;
    --warn-bg:#2a2211;
    --danger-bg:#2c1615;
    --info-bg:#111f33;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-md: 0 12px 32px rgba(0,0,0,.4);
    --shadow-lg: 0 24px 64px -16px rgba(0,0,0,.6);
  }
}

/* ----- Reset-ish ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.12; font-weight: 400; letter-spacing: 0; }
h1, h2, h3 {
  font-family: var(--font-serif);
  font-feature-settings: "liga" 1, "dlig" 1;
}
h1 { font-size: calc(var(--step-3) * 1.22); font-weight: 300; }
h2 { font-size: calc(var(--step-2) * 1.2); font-weight: 300; }
h3 { font-size: var(--step-1); font-weight: 400; }
/* editorial accent: an italic bronze phrase inside a heading */
h1 em, h2 em, h3 em { font-style: italic; color: var(--brand-600); }
a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--radius-sm); }
[hidden] { display: none !important; }

/* ----- Utilities --------------------------------------------------- */
.container { max-width: var(--content-max); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.stack > * + * { margin-top: var(--stack, 16px); }
.muted { color: var(--text-muted); }
.subtle { color: var(--text-subtle); }
.tiny { font-size: var(--step--1); }
.mono { font-family: var(--font-mono); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.flex { display: flex; gap: 12px; align-items: center; }
.flex-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.grow { flex: 1; }
.hide-sm { }
@media (max-width: 720px) { .hide-sm { display: none !important; } }

.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.auto { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
@media (max-width: 900px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
}

/* ----- App shell ------------------------------------------------------ */
.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 750; font-size: 1.05rem; letter-spacing: -.02em;
  padding: 8px 10px 14px;
}
.brand .mark {
  width: 30px; height: 30px; border-radius: var(--radius-sm);
  background: linear-gradient(150deg, var(--brand-500), var(--brand-700));
  display: grid; place-items: center; color: #fff; font-size: 15px;
  box-shadow: var(--shadow-sm);
}
.nav-label {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .09em;
  color: var(--text-subtle); padding: 14px 12px 6px; font-weight: 600;
}
.nav-link {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 12px; border-radius: 10px;
  color: var(--text-muted); font-weight: 550;
}
.nav-link:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.nav-link.active { background: var(--brand-50); color: var(--brand-700); }
:root[data-theme="dark"] .nav-link.active,
.nav-link.active { }
.nav-link .ic { width: 18px; text-align: center; opacity: .85; }

.main { display: flex; flex-direction: column; min-width: 0; }
.topbar {
  height: var(--topbar-h);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  backdrop-filter: saturate(180%) blur(8px);
  display: flex; align-items: center; gap: 14px;
  padding-inline: clamp(16px, 4vw, 28px);
  position: sticky; top: 0; z-index: 20;
}
.topbar .page-title { font-weight: 650; font-size: 1rem; }
.content { padding: clamp(18px, 3vw, 32px); flex: 1; }
.content-inner { max-width: var(--content-max); margin-inline: auto; }

.menu-toggle { display: none; }
@media (max-width: 940px) {
  .app { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; z-index: 60; width: 84vw; max-width: 320px;
    transform: translateX(-102%); transition: transform .22s ease;
    box-shadow: var(--shadow-lg);
  }
  .sidebar.open { transform: none; }
  .menu-toggle { display: inline-grid; }
  .scrim { position: fixed; inset: 0; background: rgba(10,12,20,.45); z-index: 50; }
}

/* ----- Card --------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.card.pad-lg { padding: 26px; }
.card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 16px;
}
.card-head h3 { font-size: 1rem; }
.card-sub { color: var(--text-muted); font-size: var(--step--1); }

/* ----- Stat tile --------------------------------------------------- */
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.stat::after {
  content: ""; position: absolute; inset: 0 0 auto auto;
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle at 70% 30%, var(--brand-50), transparent 70%);
  pointer-events: none;
}
.stat .k { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-subtle); font-weight: 600; }
.stat .v { font-size: var(--step-3); font-weight: 700; letter-spacing: -.02em; }
.stat .d { font-size: var(--step--1); color: var(--text-muted); }
.stat .trend { font-weight: 600; }
.trend.up { color: var(--ok); }
.trend.down { color: var(--danger); }

/* ----- Buttons --------------------------------------------------- */
.btn {
  --_bg: var(--surface); --_fg: var(--text); --_bd: var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  background: var(--_bg); color: var(--_fg); border: 1px solid var(--_bd);
  font-weight: 500; font-size: var(--step--1); cursor: pointer;
  letter-spacing: .16em; text-transform: uppercase;
  transition: filter .15s ease, transform .05s ease, background .15s ease, border-color .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; filter: brightness(.98); }
.btn:active { transform: translateY(1px); }
.btn.primary { --_bg: var(--brand-500); --_fg: #2b2721; --_bd: transparent; box-shadow: var(--shadow-sm); font-weight: 600; }
.btn.primary:hover { --_bg: var(--brand-600); filter: none; }
.btn.ghost { --_bg: transparent; --_bd: transparent; color: var(--text-muted); }
.btn.ghost:hover { --_bg: var(--surface-2); color: var(--text); }
.btn.sm { padding: 10px 18px; font-size: 10px; }
.btn.block { width: 100%; }
.btn.icon { padding: 8px; width: 36px; height: 36px; letter-spacing: normal; }

/* ----- Badges / pills --------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: var(--radius-pill);
  font-size: var(--step--1); font-weight: 600; line-height: 1.6;
  background: var(--surface-2); color: var(--text-muted);
  border: 1px solid var(--border);
}
.badge.ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.badge.warn { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.badge.danger { background: var(--danger-bg); color: var(--danger); border-color: transparent; }
.badge.info { background: var(--info-bg); color: var(--info); border-color: transparent; }
.badge.brand { background: var(--brand-50); color: var(--brand-700); border-color: transparent; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ----- Progress -------------------------------------------------- */
.progress {
  height: 8px; border-radius: var(--radius-pill);
  background: var(--surface-2); overflow: hidden; border: 1px solid var(--border);
}
.progress > span {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-700));
}
.progress.warn > span { background: linear-gradient(90deg, #f0b429, #9a6700); }
.progress.tall { height: 12px; }

.ring {
  --size: 128px; --val: 0; --track: var(--surface-2);
  width: var(--size); height: var(--size); border-radius: 50%;
  display: grid; place-items: center;
  background:
    radial-gradient(closest-side, var(--surface) 78%, transparent 79% 100%),
    conic-gradient(var(--brand-600) calc(var(--val) * 1%), var(--track) 0);
}
.ring .ring-v { font-size: var(--step-2); font-weight: 750; }
.ring .ring-k { font-size: var(--step--1); color: var(--text-muted); }

/* ----- Table --------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: var(--step-0); }
table.data th, table.data td { padding: 11px 14px; text-align: left; }
table.data thead th {
  background: var(--surface-2); color: var(--text-muted);
  font-size: var(--step--1); text-transform: uppercase; letter-spacing: .05em;
  font-weight: 600; border-bottom: 1px solid var(--border);
}
table.data tbody tr + tr td { border-top: 1px solid var(--border); }
table.data tbody tr:hover td { background: var(--surface-2); }

/* ----- List rows --------------------------------------------- */
.rows { display: flex; flex-direction: column; }
.row-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 4px;
}
.row-item + .row-item { border-top: 1px solid var(--border); }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--brand-50); color: var(--brand-700);
  display: grid; place-items: center; font-weight: 700; font-size: .82rem;
}
.avatar.lg { width: 44px; height: 44px; font-size: 1rem; }

/* ----- Forms ------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: var(--step--1); }
.input, .field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--border-strong); border-radius: 10px;
  background: var(--surface); color: var(--text);
}
.field .help { color: var(--text-subtle); font-size: var(--step--1); }
.field .err { color: var(--danger); font-size: var(--step--1); }
.errorlist { color: var(--danger); font-size: var(--step--1); list-style: none; padding: 0; }

/* ----- Flash messages -------------------------------------- */
.flash-stack { position: fixed; top: 16px; right: 16px; z-index: 90; display: grid; gap: 10px; max-width: min(92vw, 380px); }
.flash {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 4px solid var(--brand-500);
  border-radius: var(--radius-sm); padding: 12px 14px; box-shadow: var(--shadow-md);
  font-size: var(--step-0);
}
.flash.success { border-left-color: var(--ok); }
.flash.error { border-left-color: var(--danger); }
.flash.warning { border-left-color: var(--warn); }

/* ----- Auth card ----------------------------------------- */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: 100%; max-width: 400px; }
.auth-card .brand { justify-content: center; }

/* ----- Section header ---------------------------------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.section-head p { color: var(--text-muted); }

/* ----- Empty / placeholder ---------------------------- */
.placeholder {
  border: 1px dashed var(--border-strong); border-radius: var(--radius);
  padding: 28px; text-align: center; color: var(--text-muted);
  background: repeating-linear-gradient(45deg, transparent, transparent 10px,
    color-mix(in srgb, var(--border) 30%, transparent) 10px, color-mix(in srgb, var(--border) 30%, transparent) 11px);
}
.placeholder .ph-badge { margin-bottom: 8px; }

/* ----- Org switcher --------------------------------- */
.orgswitch { position: relative; }
.orgswitch summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface); font-weight: 600; font-size: var(--step--1);
}
.orgswitch summary::-webkit-details-marker { display: none; }
.orgswitch[open] > summary { box-shadow: var(--ring); }
.orgswitch .menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 40;
  min-width: 240px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 6px;
}
.orgswitch .menu button {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 9px 10px; border-radius: 8px; display: flex; flex-direction: column;
}
.orgswitch .menu button:hover { background: var(--surface-2); }
.orgswitch .menu button.current { background: var(--brand-50); color: var(--brand-700); }

/* ----- Landing page ------------------------------- */
.landing-nav {
  position: sticky; top: 0; z-index: 30;
  background: #131729;
  border-bottom: 1px solid rgba(184,151,90,.12);
}
.landing-nav .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.landing-nav .brand { color: #fff; text-decoration: none; }
.landing-nav .brand:hover { text-decoration: none; }
.landing-nav .brand .mark { background: var(--brand-500); color: #131729; box-shadow: none; }
.brand-logo { height: 40px; width: auto; display: block; flex: none; }
.landing-nav .btn.ghost { color: rgba(244,239,230,.6); }
.landing-nav .btn.ghost:hover { color: #fff; background: rgba(255,255,255,.08); }
.landing-nav .btn.sm:not(.primary) { color: rgba(244,239,230,.7); border-color: rgba(184,151,90,.3); background: transparent; }
.landing-nav .btn.sm:not(.primary):hover { color: #fff; border-color: var(--brand-500); }
/* ----- Landing: hero (dark, clarity-style) -------- */
.hero {
  position: relative; overflow: hidden;
  background: #131729; color: rgba(244,239,230,.9);
  padding: clamp(64px, 10vw, 130px) 0 0;
}
.scroll-hint {
  position: absolute; left: clamp(16px, 4vw, 40px); bottom: 26px; z-index: 5;
  display: flex; align-items: center; gap: 10px; pointer-events: none;
}
.scroll-hint-line {
  width: 1px; height: 48px;
  background: linear-gradient(var(--brand-500), transparent);
  animation: hc-scroll-pulse 3s ease infinite;
}
.scroll-hint-text {
  font-size: 8px; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(244,239,230,.28);
  writing-mode: vertical-rl; transform: rotate(180deg);
}
@keyframes hc-scroll-pulse {
  0%, 100% { opacity: .3; transform: translateY(0); }
  50%      { opacity: 1;  transform: translateY(8px); }
}
@media (max-width: 900px) { .scroll-hint { display: none; } }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 6vw, 80px); align-items: stretch;
}
.hero-copy {
  min-width: 0; align-self: center;
  padding-bottom: clamp(40px, 7vw, 88px);
}

.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 34px; }
.hero-eyebrow-line { width: 36px; height: 1px; background: var(--brand-500); }
.hero-eyebrow-text {
  font-size: 9px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--brand-300); font-weight: 500;
}
.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.9rem, 2rem + 3.4vw, 4.8rem);
  font-weight: 300; color: #fff; line-height: 1.03;
  letter-spacing: 0; margin-bottom: 26px; max-width: 17ch;
}
.hero-h1 em { display: block; font-style: italic; color: var(--brand-500); margin-top: 8px; }
.hero-p {
  font-size: 15px; font-weight: 300; color: rgba(244,239,230,.5);
  line-height: 1.85; max-width: 460px; margin-bottom: 46px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-gold {
  background: var(--brand-500); color: #131729;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  padding: 17px 34px; display: inline-block; border-radius: var(--radius-sm);
  transition: background .2s, transform .2s;
}
.btn-gold:hover { background: var(--brand-300); text-decoration: none; transform: translateY(-1px); }
.btn-outline {
  border: 1px solid rgba(244,239,230,.22); color: rgba(244,239,230,.6);
  font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  padding: 16px 26px; display: inline-block; border-radius: var(--radius-sm);
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--brand-500); color: #fff; text-decoration: none; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 40px;
  margin-top: 56px; padding-top: 34px;
  border-top: 1px solid rgba(244,239,230,.08);
}
.stat-num {
  font-family: var(--font-serif); font-size: 38px; font-weight: 300;
  color: #fff; line-height: 1; margin-bottom: 6px;
}
.stat-num sup { font-size: 18px; color: var(--brand-500); }
.stat-label {
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(244,239,230,.32);
}

.hero-media { display: flex; flex-direction: column; min-width: 0; }
.hero-clip {
  margin: 0; flex: 0 0 auto;
  border: 1px solid rgba(244,239,230,.1); border-radius: var(--radius-sm);
  overflow: hidden; background: #1b2036;
}
.hero-clip video {
  display: block; width: 100%; height: auto;
  background: #1b2036;
}
.hero-why { padding: 24px 2px 4px; }
.hero-why + .hero-why { padding-top: 18px; }
.hero-why-lead {
  font-size: 13px; font-weight: 400; color: rgba(244,239,230,.72);
  margin-bottom: 16px;
  animation: hc-fade-up .6s ease both;
}
.hero-why-list {
  list-style: none; display: grid; gap: 10px;
  position: relative; padding-left: 26px;
}
/* the vertical gold rail */
.hero-why-list::before {
  content: ""; position: absolute; left: 6px; top: 3px; bottom: 3px; width: 1px;
  background: linear-gradient(var(--brand-500), color-mix(in srgb, var(--brand-500) 12%, transparent));
  transform: scaleY(0); transform-origin: top;
  animation: hc-rail-draw .8s .15s ease forwards;
}
.hero-why-list li {
  position: relative;
  font-size: 13px; font-weight: 300; color: rgba(244,239,230,.5); line-height: 1.5;
  opacity: 0;
  animation: hc-fade-up .5s ease forwards;
}
.hero-why-list li:nth-child(1) { animation-delay: .30s; }
.hero-why-list li:nth-child(2) { animation-delay: .40s; }
.hero-why-list li:nth-child(3) { animation-delay: .50s; }
.hero-why-list li:nth-child(4) { animation-delay: .60s; }
.hero-why-list li:nth-child(5) { animation-delay: .70s; }
/* marker sitting on the rail */
.hero-why-list li::before {
  content: ""; position: absolute; left: -26px; top: .62em;
  width: 13px; height: 1px; background: var(--brand-500);
}
.hero-why--goal .hero-why-list li { color: rgba(244,239,230,.72); }
.hero-why--goal .hero-why-list li::before {
  content: "\2713"; left: -24px; top: 0; width: auto; height: auto;
  background: none; color: var(--brand-500); font-size: 11px; line-height: 1.7;
}
@keyframes hc-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hc-rail-draw {
  to { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-why-lead, .hero-why-list li { animation: none; opacity: 1; transform: none; }
  .hero-why-list::before { animation: none; transform: scaleY(1); }
}

.hero-badge-strip {
  margin-top: auto;
  /* full-bleed the right edge out to the viewport, like the reference */
  margin-right: calc(-1 * (max(100vw - var(--content-max), 0px) / 2) - clamp(16px, 4vw, 32px));
  display: flex; align-items: center; justify-content: center; gap: 24px;
  padding: 16px 28px; background: var(--brand-500);
}
.hero-badge-strip span:not(.divider) {
  font-size: 9px; letter-spacing: .22em; text-transform: uppercase;
  color: #131729; font-weight: 600;
}
.hero-badge-strip .divider { width: 1px; height: 14px; background: rgba(24,24,23,.25); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; }
  .hero-badge-strip { margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-clip video { display: none; }
  .hero-clip { min-height: 160px; background: linear-gradient(135deg, #1b2036, #131729); }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
  padding: 0; background: none;
  color: var(--brand-600);
  font-weight: 500; font-size: 10px;
  letter-spacing: .3em; text-transform: uppercase;
}
.eyebrow .dot {
  width: 32px; height: 1px; border-radius: 0;
  background: var(--brand-500);
}
.feature-grid { margin-top: clamp(40px, 8vw, 80px); gap: 1px; background: var(--border); }
.feature {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 44px 38px 46px;
  border-radius: 0;
  border: 0;
  background: var(--surface);
  color: var(--text);
  transition: transform .3s ease, box-shadow .3s ease, z-index 0s;
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  z-index: 1;
}
.feature .fi {
  width: 46px; height: 46px; border-radius: 0; margin-bottom: 22px;
  background: none; border: 0;
  color: var(--brand-600); display: grid; place-items: start; font-size: 26px;
  font-family: var(--font-serif);
}
.feature h3 { font-family: var(--font-serif); font-size: var(--step-2); font-weight: 400; margin-bottom: 12px; color: var(--text); }
.feature p { color: var(--text-muted); font-size: var(--step-0); line-height: 1.8; }
/* running bronze light along the bottom edge */
.feature::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    color-mix(in srgb, var(--brand-500) 25%, transparent) 30%,
    var(--brand-500) 50%,
    color-mix(in srgb, var(--brand-500) 25%, transparent) 70%,
    transparent 100%);
  background-size: 220% 100%;
  animation: feature-runline 2.8s linear infinite;
}
.feature:nth-child(2)::after { animation-delay: -.45s; }
.feature:nth-child(3)::after { animation-delay: -.9s; }
.feature:nth-child(4)::after { animation-delay: -1.35s; }
.feature:nth-child(5)::after { animation-delay: -1.8s; }
.feature:nth-child(6)::after { animation-delay: -2.25s; }
.feature:nth-child(7)::after { animation-delay: -2.7s; }
.feature:nth-child(8)::after { animation-delay: -3.15s; }
@keyframes feature-runline {
  from { background-position: 120% 0; }
  to   { background-position: -120% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .feature::after { animation: none; background-position: 50% 0; }
}

/* ----- Landing: framework band (light, sits between the two dark bands) --- */
.framework { padding: clamp(56px, 10vw, 104px) 0; background: var(--bg); }
.framework .section-head { margin-bottom: clamp(28px, 4vw, 40px); }
.framework-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.fwcard {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 34px 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.fwcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-300); }
.fwcard-i {
  font-size: 26px; line-height: 1; margin-bottom: 20px;
  display: inline-flex;
}
.fwcard-i.fw-ok     { color: var(--ok); }
.fwcard-i.fw-info   { color: var(--info); }
.fwcard-i.fw-accent { color: var(--accent); }
.fwcard h3 {
  font-family: var(--font-serif); font-size: var(--step-1); font-weight: 400;
  margin-bottom: 14px; color: var(--text);
}
.fwcard p {
  color: var(--text-muted); font-size: var(--step-0); line-height: 1.7;
}
.fwcard p + p { margin-top: 12px; }
@media (max-width: 860px) {
  .framework-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

.persona-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.persona-strip .badge { background: var(--surface); }

.mock {
  margin-top: clamp(36px, 6vw, 64px);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow-lg); padding: clamp(14px, 3vw, 26px);
  overflow: hidden;
}
.mock .mock-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock .mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }

/* ----- Philosophy band (markup lives inside .statband) --- */
.philosophy-inner { text-align: center; max-width: 940px; margin-inline: auto; }
.statband h2 {
  font-size: var(--step-4); letter-spacing: -.03em; max-width: 20ch;
  margin: 14px auto 0;
}
.philosophy-lede {
  font-size: var(--step-1); color: var(--text-muted);
  max-width: 60ch; margin: 18px auto 0; line-height: 1.6;
}
.philosophy-lede .u-mark {
  color: var(--text); font-weight: 650;
  text-decoration: underline; text-decoration-color: var(--brand-500);
  text-decoration-thickness: 2px; text-underline-offset: 3px;
}
.philosophy-pill {
  display: inline-block; margin: 26px auto 0;
  padding: 9px 20px; border-radius: var(--radius-pill);
  background: var(--brand-50); color: var(--brand-700);
  border: 1px solid var(--brand-100);
  font-size: var(--step-0); box-shadow: var(--shadow-sm);
}
.philosophy-pill strong { color: var(--brand-700); font-weight: 700; }
.philosophy-grid {
  margin-top: clamp(40px, 7vw, 72px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  text-align: left;
}
.pcard {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 26px;
  box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pcard-i {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 20px;
  display: grid; place-items: center; font-size: 22px;
}
.pcard-i.pi-brand { background: var(--brand-50); color: var(--brand-700); }
.pcard-i.pi-ok    { background: var(--ok-bg);    color: var(--ok); }
.pcard-i.pi-warn  { background: var(--warn-bg);  color: var(--warn); }
.pcard h3 { font-size: var(--step-1); margin-bottom: 8px; }
.pcard p { color: var(--text-muted); font-size: var(--step-0); line-height: 1.6; }
@media (max-width: 860px) {
  .philosophy-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

/* ----- Landing: top-nav links -------------------- */
.landing-nav-links { display: flex; gap: 38px; margin-inline: auto; }
.landing-nav-links a {
  color: rgba(244,239,230,.55); font-weight: 500; font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
}
.landing-nav-links a:hover { color: var(--brand-300); text-decoration: none; }

/* ----- Landing: philosophy band on warm charcoal --- */
.statband {
  padding: clamp(64px, 11vw, 128px) 0;
  border-block: 1px solid rgba(184,151,90,.14);
  background: #131729;
  color: rgba(244,239,230,.9);
}
.statband .eyebrow { background: none; color: var(--brand-300); }
.statband .eyebrow .dot { background: var(--brand-300); }
.statband h2 { color: #fff; }
.statband h2 em { color: var(--brand-300); }
.statband .philosophy-lede { color: rgba(244,239,230,.5); }
.statband .philosophy-lede .u-mark { color: #fff; text-decoration-color: var(--brand-500); }
.statband .philosophy-pill {
  background: rgba(184,151,90,.1); color: rgba(244,239,230,.85);
  border-color: rgba(184,151,90,.3); box-shadow: none;
}
.statband .philosophy-pill strong { color: var(--brand-300); }
.statband .philosophy-grid {
  text-align: left; gap: 22px; background: none;
  counter-reset: pcard;
}
.statband .pcard {
  counter-increment: pcard;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
  padding: 40px 34px 42px;
  border: 1px solid rgba(184,151,90,.22); border-radius: var(--radius-lg);
  background:
    radial-gradient(130% 120% at 0% 0%, rgba(184,151,90,.12), transparent 55%),
    linear-gradient(180deg, #1a2038, #131729 70%);
  box-shadow: 0 20px 44px -24px rgba(0,0,0,.7);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  opacity: 0; animation: hc-fade-up .55s ease forwards;
}
.statband .pcard:nth-child(2) { animation-delay: .1s; }
.statband .pcard:nth-child(3) { animation-delay: .2s; }
.statband .pcard::before {
  content: counter(pcard, decimal-leading-zero);
  position: absolute; top: 18px; right: 24px; z-index: -1;
  font-family: var(--font-serif); font-size: 76px; font-weight: 300;
  color: rgba(184,151,90,.12); line-height: 1;
}
.statband .pcard::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-500), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.statband .pcard:hover {
  transform: translateY(-6px);
  border-color: rgba(184,151,90,.55);
  box-shadow: 0 34px 60px -26px rgba(0,0,0,.8), 0 0 0 1px rgba(184,151,90,.15);
}
.statband .pcard:hover::after { transform: scaleX(1); }
.statband .pcard-i {
  width: 46px; height: 46px; border-radius: var(--radius-sm); margin-bottom: 22px;
  display: grid; place-items: center; font-size: 22px;
  color: var(--brand-300);
  background: rgba(184,151,90,.1); border: 1px solid rgba(184,151,90,.28);
}
.statband .pcard h3 {
  color: #fff; font-weight: 400; font-size: var(--step-1);
  margin-bottom: 12px; line-height: 1.2;
}
.statband .pcard p { color: rgba(244,239,230,.55); font-size: var(--step-0); line-height: 1.75; }
@media (prefers-reduced-motion: reduce) {
  .statband .pcard { animation: none; opacity: 1; }
}

/* ----- Landing: platform explorer (left nav / right cards) ---- */
.explore { padding: clamp(56px, 10vw, 104px) 0; }
.explore .section-head { margin-bottom: clamp(24px, 4vw, 36px); }
.explore-layout {
  display: grid; grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 44px); align-items: start;
}
.explore-nav { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 84px; }
.explore-tab {
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: left; cursor: pointer;
  padding: 18px 18px; border: 2px solid transparent; border-radius: 16px;
  background: var(--surface); color: var(--text);
  font-weight: 700; font-size: var(--step-0);
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}
.explore-tab:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.explore-tab.is-active {
  border-color: var(--brand-600);
  background: linear-gradient(180deg, var(--brand-50), var(--surface));
  color: var(--brand-700);
  box-shadow: var(--shadow-md);
}
.explore-tab .et-i {
  flex: none; width: 26px; height: 26px;
  display: grid; place-items: center; font-size: 17px;
  color: var(--text-subtle);
}
.explore-tab.is-active .et-i { color: var(--brand-600); }
.explore-tab .et-l { flex: 1 1 auto; line-height: 1.3; }
.explore-tab .et-c {
  flex: none; font-size: 18px; color: var(--brand-600);
  opacity: 0; transform: translateX(-4px);
  transition: opacity .18s ease, transform .18s ease;
}
.explore-tab.is-active .et-c { opacity: 1; transform: translateX(0); }

.explore-panels { min-width: 0; }
.explore-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.explore-panel[hidden] { display: none; }

.xcard {
  display: flex; flex-direction: column; gap: 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-md);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.xcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand-300); }
.xcard-i {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; font-size: 21px;
  background: var(--brand-50); color: var(--brand-700);
}
.xcard-body { display: flex; flex-direction: column; gap: 8px; }
.xcard-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.xcard-rate { color: var(--accent); letter-spacing: 1px; font-size: var(--step--1); }
.xcard h3 { font-size: var(--step-1); }
.xcard p { color: var(--text-muted); font-size: var(--step-0); line-height: 1.6; }
.xcard .btn { align-self: flex-start; margin-top: 4px; }

@media (max-width: 900px) {
  .explore-layout { grid-template-columns: 1fr; }
  .explore-nav {
    position: static; flex-direction: row; flex-wrap: wrap;
    gap: 8px; margin-bottom: 8px;
  }
  .explore-tab { width: auto; }
}
@media (max-width: 620px) {
  .explore-panel { grid-template-columns: 1fr; }
}

/* ----- Landing: five-step journey --------------- */
.journey { padding: clamp(48px, 9vw, 96px) 0; background: linear-gradient(180deg, var(--surface-2), var(--bg)); border-block: 1px solid var(--border); }
.journey-steps {
  list-style: none; padding: 0; margin: clamp(24px, 4vw, 36px) 0 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  counter-reset: jstep;
}
.jstep {
  counter-increment: jstep;
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  padding: 28px 22px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  opacity: 0; animation: hc-fade-up .5s ease forwards;
}
.jstep:nth-child(2) { animation-delay: .08s; }
.jstep:nth-child(3) { animation-delay: .16s; }
.jstep:nth-child(4) { animation-delay: .24s; }
.jstep:nth-child(5) { animation-delay: .32s; }
.jstep::before {
  content: counter(jstep, decimal-leading-zero);
  position: absolute; top: 12px; right: 16px; z-index: -1;
  font-family: var(--font-serif); font-size: 60px; font-weight: 300; line-height: 1;
  color: color-mix(in srgb, var(--brand-500) 14%, transparent);
}
.jstep::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-500), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.jstep:hover {
  transform: translateY(-5px); border-color: var(--brand-300);
  box-shadow: var(--shadow-lg);
}
.jstep:hover::after { transform: scaleX(1); }
.jstep .js-n {
  position: relative;
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  background: var(--brand-50); border: 1px solid var(--brand-100);
  color: var(--brand-700); font-family: var(--font-serif);
  font-weight: 600; font-size: 17px; margin-bottom: 16px;
}
.jstep:not(:last-child) .js-n::after {
  content: ""; position: absolute; left: calc(100% + 12px); top: 50%;
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--brand-500), transparent);
}
.jstep h3 { font-family: var(--font-sans); font-weight: 600; font-size: var(--step-0); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; color: var(--text); }
.jstep p { color: var(--text-muted); font-size: var(--step--1); line-height: 1.6; }
@media (max-width: 900px) {
  .journey-steps { grid-template-columns: repeat(2, 1fr); }
  .jstep:not(:last-child) .js-n::after { display: none; }
}
@media (max-width: 520px) { .journey-steps { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .jstep { animation: none; opacity: 1; }
}

footer.site {
  border-top: 1px solid var(--border); margin-top: clamp(48px, 10vw, 100px);
  padding: 32px 0; color: var(--text-muted); font-size: var(--step--1);
}

/* ----- Landing: dark multi-column footer (clarity-style) --- */
.lp-footer { background: #131729; color: rgba(244,239,230,.45); margin-top: 0; }
.lp-footer-top {
  padding-block: clamp(48px, 7vw, 76px) clamp(36px, 5vw, 56px);
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 56px;
  border-bottom: 1px solid rgba(244,239,230,.06);
}
.lp-footer-brand .brand { margin-bottom: 20px; font-weight: 700; }
.lp-footer-brand .brand .mark { background: var(--brand-500); color: #131729; box-shadow: none; }
.lp-footer-brand .brand-logo { height: 64px; }
.lp-footer-tagline {
  font-size: 12px; font-weight: 300; line-height: 1.75;
  color: rgba(244,239,230,.34); margin-bottom: 24px; max-width: 42ch;
}
.lp-footer-item { display: flex; gap: 12px; font-size: 12px; margin-bottom: 10px; }
.lp-footer-item span:first-child {
  flex: none; min-width: 58px; padding-top: 1px;
  font-size: 9px; letter-spacing: .15em; text-transform: uppercase; color: var(--brand-500);
}
.lp-footer-item span:last-child { color: rgba(244,239,230,.42); }
.lp-footer-item a { color: rgba(244,239,230,.42); }
.lp-footer-item a:hover { color: var(--brand-300); }
.lp-footer-install {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; padding: 0; margin: 0;
  font: inherit; font-size: 12px; color: rgba(244,239,230,.42); cursor: pointer;
}
.lp-footer-install:hover { color: var(--brand-300); }
.lp-footer-install[hidden] { display: none; }
.lp-footer-install:not([hidden]) ~ .lp-footer-install-fallback { display: none; }
.lp-footer-col h4 {
  font-family: var(--font-sans);
  font-size: 9px; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(244,239,230,.3); margin-bottom: 18px; font-weight: 500;
}
.lp-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.lp-footer-col a { font-size: 12px; color: rgba(244,239,230,.45); transition: color .2s; }
.lp-footer-col a:hover { color: var(--brand-300); text-decoration: none; }
.lp-footer-bottom {
  padding-block: 22px; display: flex; justify-content: space-between;
  align-items: center; gap: 12px; flex-wrap: wrap;
}
.lp-footer-bottom p { font-size: 11px; letter-spacing: .04em; color: rgba(244,239,230,.22); }
.lp-footer-lic { font-size: 10px; letter-spacing: .1em; color: rgba(244,239,230,.2); }
@media (max-width: 860px) {
  .lp-footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 520px) {
  .lp-footer-top { grid-template-columns: 1fr; }
  .lp-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ----- prefers-reduced-motion ------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
