/* Sogliya marketing — Threshold tokens */
:root {
  --charcoal: #2B2B2B;
  --terracotta: #C46B4A;
  --off-white: #F7F5F2;
  --white: #FFFFFF;
  --soft-gray: #E8E6E3;
  --muted: #5C5A58;
  --owner-slate: #3D4550;
  --hairline: #D4D0CA;
  --hover-wash: #EFECE7;
  --selected-wash: #E8EEF2;
  --later-ground: #F0EBE6;
  --panel-shadow: 0 18px 48px rgba(43, 43, 43, 0.12), 0 4px 12px rgba(43, 43, 43, 0.06);
  --pill-shadow: 0 8px 28px rgba(43, 43, 43, 0.10), 0 2px 6px rgba(43, 43, 43, 0.04);
  --font: Inter, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 68rem;
  --radius: 0.75rem;
  --space: clamp(1.25rem, 4vw, 2rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 160ms;
  --danger: #A85A4A;
  --danger-wash: #F5EBE7;
  --danger-border: #D4A090;
  --focus-ring: 0 0 0 2px var(--off-white), 0 0 0 4px var(--terracotta);
  --radius-pill: 999px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--charcoal);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--terracotta);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--charcoal);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--charcoal);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: var(--space);
  top: 0.5rem;
}

.wrap {
  width: min(100% - 2 * var(--space), var(--max));
  margin-inline: auto;
}

/* Floating pill nav (marketing-nav-v1) */
.nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 40;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 var(--space);
  margin-bottom: -8px;
}

.nav-wrap > * { pointer-events: auto; }

.pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  box-shadow: var(--pill-shadow);
  padding: 7px 14px 7px 18px;
  max-width: calc(100vw - 32px);
}

.pill a {
  color: inherit;
  text-decoration: none;
}

.pill button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

/* Federico T-49: all pill nav labels one size (buttons were inheriting body 1.0625rem via font shorthand) */
.pill .pill-trigger,
.pill .pill-link-simple,
.pill .pill-cta,
.pill .pill-quiet {
  font-size: 12px;
  line-height: 1.2;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 2px;
  border-radius: 999px;
  margin-right: 8px;
  flex-shrink: 0;
  line-height: 0;
}

.mark:hover,
.mark:focus-visible {
  background: var(--hover-wash);
  outline: none;
}

.mark-lockup {
  height: 1.375rem;
  width: auto;
  display: block;
}

.mark-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}

.pill-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pill-item { position: static; }

.pill-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--owner-slate);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
}

.pill-trigger:hover,
.pill-trigger:focus-visible,
.pill-item.is-open > .pill-trigger {
  background: var(--hover-wash);
  color: var(--charcoal);
  outline: none;
}

.pill-trigger:focus-visible {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--terracotta);
}

.pill-trigger .chev {
  width: 10px;
  height: 10px;
  opacity: 0.55;
  transition: transform var(--dur) var(--ease);
}

.pill-item.is-open > .pill-trigger .chev { transform: rotate(180deg); }

.pill-link-simple {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--owner-slate);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.pill-link-simple:hover,
.pill-link-simple:focus-visible {
  background: var(--hover-wash);
  color: var(--charcoal);
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--terracotta);
}

.pill-cta {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.2;
  color: #fff !important;
  background: var(--charcoal);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.pill-cta:hover,
.pill-cta:focus-visible {
  background: var(--terracotta);
  color: #fff !important;
  outline: none;
}

.pill-cta:focus-visible {
  box-shadow: var(--focus-ring);
}

.pill-quiet {
  display: none;
  margin-left: 4px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.2;
  color: var(--muted);
  border-radius: 999px;
  text-decoration: none;
}

.pill-quiet:hover,
.pill-quiet:focus-visible {
  color: var(--owner-slate);
  background: var(--hover-wash);
  outline: none;
}

@media (min-width: 1280px) {
  .pill-quiet { display: inline-flex; }
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  color: var(--owner-slate);
}

.burger:hover,
.burger:focus-visible {
  background: var(--hover-wash);
  outline: none;
}

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

/* Mega panels */
.mega {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  transform: translateX(-50%) translateY(6px);
  width: min(860px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  box-shadow: var(--panel-shadow);
  padding: 22px 22px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  z-index: 45;
}

.pill-item.is-open > .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-lede-wrap {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
}

.mega-eyebrow {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 6px;
}

.mega-lede {
  margin: 0;
  font-size: 14.5px;
  color: var(--owner-slate);
  max-width: 640px;
  line-height: 1.45;
}

.mega-grid {
  display: grid;
  gap: 10px;
}

.mega-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.mega-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.mega-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

.product-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  text-align: left;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.product-item:hover,
.product-item:focus-visible {
  background: var(--hover-wash);
  border-color: var(--hairline);
  outline: none;
  color: inherit;
}

.product-item:focus-visible {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--terracotta);
}

.pi-thumb {
  height: 72px;
  border-radius: 8px;
  background: linear-gradient(135deg, #EFECE7, #E8EEF2);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: flex-end;
  padding: 8px;
  overflow: hidden;
  position: relative;
}

.pi-thumb .motif {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.pi-thumb.entry { background: linear-gradient(145deg, #EDE8E2 0%, #E2E8ED 100%); }
.pi-thumb.parcels { background: linear-gradient(145deg, #E8EEE8 0%, #EDE8E2 100%); }
.pi-thumb.amenities { background: linear-gradient(145deg, #EDE9E4 0%, #F0EBE6 100%); }
.pi-thumb.elevators { background: linear-gradient(145deg, #E6EAF0 0%, #EDE8E2 100%); }
.pi-thumb.service { background: linear-gradient(145deg, #EFECE7 0%, #E8EEF2 100%); }
.pi-thumb.cameras { background: linear-gradient(145deg, #E8E6E2 0%, #DCE3EA 100%); }
.pi-thumb.lobby { background: linear-gradient(145deg, #EDE8E2 0%, #E4E0DA 100%); }
.pi-thumb.app { background: linear-gradient(145deg, #E8EEF2 0%, #EFECE7 100%); }
.pi-thumb.unlock { background: linear-gradient(145deg, #E6F0EA 0%, #EDE8E2 100%); }
.pi-thumb.edge {
  height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
}

.pi-thumb.edge .edge-n {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--terracotta);
}

.pi-title {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--charcoal);
  margin: 0;
}

.pi-desc {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

.mega-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.mega-foot p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

.later-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 650;
  color: var(--terracotta);
  background: var(--later-ground);
  border: 1px solid #E4D5CC;
  padding: 3px 9px;
  border-radius: 999px;
}

.hovered-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--owner-slate);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  text-decoration: none;
}

.hovered-link:hover,
.hovered-link:focus-visible {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
  outline: none;
}

.offer-callout {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--off-white);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--owner-slate);
  line-height: 1.45;
}

.offer-callout strong {
  display: block;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

/* Mobile sheet — Soft flat (marketing-mobile-flat-v1): always-expanded sections, Soft air kept */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(43, 43, 43, 0.28);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
}

.sheet-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -12px 40px rgba(43, 43, 43, 0.14);
  max-height: min(92vh, 760px);
  display: flex;
  flex-direction: column;
  transform: translateY(105%);
  transition: transform 220ms var(--ease);
}

.sheet.is-open { transform: translateY(0); }

.sheet a {
  color: inherit;
  text-decoration: none;
}

.sheet button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.sheet-handle {
  width: 36px;
  height: 4px;
  background: var(--hairline);
  border-radius: 999px;
  margin: 12px auto 6px;
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 16px;
  border-bottom: 1px solid var(--hairline);
}

.sheet-head .mark-name { font-size: 15px; }

.sheet-close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--owner-slate);
}

.sheet-close:hover,
.sheet-close:focus-visible {
  background: var(--hover-wash);
  outline: none;
}

.sheet-body {
  overflow-y: auto;
  padding: 14px 16px 32px;
  -webkit-overflow-scrolling: touch;
}

.sheet-sec {
  border-bottom: 1px solid var(--hairline);
}

.sheet-sec-title {
  width: 100%;
  display: block;
  margin: 0;
  padding: 18px 12px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--charcoal);
  text-align: left;
  box-sizing: border-box;
}

a.sheet-sec-title:hover,
a.sheet-sec-title:focus-visible {
  background: var(--hover-wash);
  outline: none;
  border-radius: 10px;
}

.sheet-sec-body {
  display: block;
  padding: 4px 8px 18px;
}

.acc-lede {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 10px 14px;
}

.acc-card {
  display: block;
  padding: 14px 12px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.acc-card:hover,
.acc-card:focus-visible {
  background: var(--hover-wash);
  outline: none;
}

.acc-card .t {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--charcoal);
  display: block;
}
.acc-card .d {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  display: block;
  margin-top: 6px;
}

.acc-foot {
  margin: 12px 10px 4px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.sheet-contact {
  border-bottom: 1px solid var(--hairline);
}

.sheet-cta-row {
  padding: 20px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sheet-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.2;
  color: #fff !important;
  background: var(--charcoal);
  transition: background var(--dur) var(--ease);
}

.sheet-cta:hover,
.sheet-cta:focus-visible {
  background: var(--terracotta);
  color: #fff !important;
  outline: none;
}

.sheet-cta:focus-visible {
  box-shadow: var(--focus-ring);
}

.sheet-quiet {
  text-align: center;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--muted);
  padding: 10px 8px;
  line-height: 1.3;
}

.sheet-quiet:hover { color: var(--owner-slate); }

.anchor-alias {
  display: block;
  position: relative;
  top: -5.5rem;
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
}

@media (max-width: 900px) {
  .pill-links,
  .pill-cta,
  .pill-quiet { display: none; }
  .burger { display: inline-flex; }
  .pill {
    padding: 6px 8px 6px 12px;
    width: 100%;
    max-width: 480px;
    justify-content: space-between;
  }
  .mega { display: none !important; }
}

@media (min-width: 901px) {
  .sheet,
  .sheet-backdrop { display: none !important; }
}

@media (max-width: 720px) {
  .mega-grid.cols-3,
  .mega-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 10vw, 6rem) 0 clamp(3.5rem, 9vw, 5.5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -35% 40%;
  height: min(70vw, 28rem);
  background:
    radial-gradient(ellipse 55% 70% at 50% 100%,
      color-mix(in srgb, var(--terracotta) 18%, transparent) 0%,
      transparent 70%),
    radial-gradient(ellipse 45% 60% at 50% 100%,
      color-mix(in srgb, var(--charcoal) 10%, transparent) 0%,
      transparent 72%);
  pointer-events: none;
}

.hero::after {
  /* Abstract threshold arch — welcome entry, not logo */
  content: "";
  position: absolute;
  right: max(4%, calc(50% - 22rem));
  bottom: 8%;
  width: min(42vw, 14rem);
  height: min(52vw, 17rem);
  border: 3px solid color-mix(in srgb, var(--charcoal) 14%, transparent);
  border-bottom: none;
  border-radius: 999px 999px 0 0;
  pointer-events: none;
  opacity: 0.9;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.hero .lede {
  margin: 0 0 1.5rem;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  color: var(--muted);
  max-width: 38rem;
}

.hero .origin {
  margin: 0 0 2rem;
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

/* ========== Soft Threshold button primitives (threshold-buttons-v1) ==========
   Soft gallery: messaging/previews/threshold-buttons-soft.html
   Primary Soft: charcoal → terracotta. Aliases keep legacy single-dash classes. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 550;
  line-height: 1;
  letter-spacing: -0.01em;
  border-radius: var(--radius-pill, 999px);
  border: 1px solid transparent;
  padding: 10px 18px;
  min-height: 40px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  background: transparent;
  transition:
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    opacity var(--dur) var(--ease),
    transform 100ms var(--ease);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn:focus { outline: none; }
.btn:focus-visible {
  box-shadow: var(--focus-ring);
}
.btn:active:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]) {
  transform: translateY(0.5px);
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
.btn[aria-busy="true"] {
  cursor: wait;
  pointer-events: none;
}
.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Soft BEM variants */
.btn--primary {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
}
.btn--primary:hover:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]) {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
}
.btn--primary:active:not(:disabled):not([aria-disabled="true"]) {
  background: #B05E40;
  border-color: #B05E40;
}

.btn--secondary {
  background: #fff;
  color: var(--owner-slate);
  border-color: var(--hairline);
}
.btn--secondary:hover:not(:disabled):not([aria-disabled="true"]) {
  background: var(--hover-wash);
  border-color: #C8C3BC;
  color: var(--charcoal);
}
.btn--secondary:active:not(:disabled):not([aria-disabled="true"]) {
  background: #E8E4DE;
}

.btn--ghost {
  background: transparent;
  color: var(--owner-slate);
  border-color: transparent;
  font-weight: 500;
}
.btn--ghost:hover:not(:disabled):not([aria-disabled="true"]) {
  background: var(--hover-wash);
  color: var(--charcoal);
}
.btn--ghost:active:not(:disabled):not([aria-disabled="true"]) {
  background: #E8E4DE;
}

.btn--destructive {
  background: var(--danger-wash);
  color: var(--danger);
  border-color: var(--danger-border);
}
.btn--destructive:hover:not(:disabled):not([aria-disabled="true"]) {
  background: #EED9D2;
  border-color: #C48A78;
  color: #8F4A3C;
}
.btn--destructive:active:not(:disabled):not([aria-disabled="true"]) {
  background: #E5CBC2;
}
.btn--destructive.btn--destructive-solid {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}
.btn--destructive.btn--destructive-solid:hover:not(:disabled):not([aria-disabled="true"]) {
  background: #8F4A3C;
  border-color: #8F4A3C;
  color: #fff;
}

.btn--icon {
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 10px;
  background: #fff;
  color: var(--owner-slate);
  border-color: var(--hairline);
}
.btn--icon.btn--icon-round {
  border-radius: 999px;
}
.btn--icon:hover:not(:disabled):not([aria-disabled="true"]) {
  background: var(--hover-wash);
  color: var(--charcoal);
  border-color: #C8C3BC;
}
.btn--icon:active:not(:disabled):not([aria-disabled="true"]) {
  background: #E8E4DE;
}
.btn--icon svg { width: 18px; height: 18px; }

.btn__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: soft-btn-spin 0.7s linear infinite;
  flex-shrink: 0;
}
.btn--icon .btn__spinner { width: 14px; height: 14px; }
@keyframes soft-btn-spin {
  to { transform: rotate(360deg); }
}

/* Segmented group (CSS-only unless IA already has a toggle) */
.seg,
.btn-group {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  padding: 2px;
  gap: 0;
}
.seg__btn,
.btn-group > .btn,
.btn-group > [role="radio"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--owner-slate);
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  min-height: 34px;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.seg__btn:focus,
.btn-group > .btn:focus,
.btn-group > [role="radio"]:focus { outline: none; }
.seg__btn:focus-visible,
.btn-group > .btn:focus-visible,
.btn-group > [role="radio"]:focus-visible {
  box-shadow: var(--focus-ring);
  position: relative;
  z-index: 1;
}
.seg__btn:hover:not([aria-checked="true"]):not(:disabled),
.btn-group > .btn:hover:not([aria-checked="true"]):not([aria-pressed="true"]):not(:disabled),
.btn-group > [role="radio"]:hover:not([aria-checked="true"]):not(:disabled) {
  background: var(--hover-wash);
  color: var(--charcoal);
}
.seg__btn[aria-checked="true"],
.btn-group > .btn[aria-checked="true"],
.btn-group > .btn[aria-pressed="true"],
.btn-group > [role="radio"][aria-checked="true"] {
  background: var(--selected-wash);
  color: var(--charcoal);
  font-weight: 600;
}
.seg__btn:disabled,
.btn-group > .btn:disabled,
.btn-group > [role="radio"]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Legacy single-dash aliases → Soft (intentional primary flip charcoal→terracotta) */
.btn-primary {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
}
.btn-primary:hover:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]) {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
}
.btn-primary:active:not(:disabled):not([aria-disabled="true"]) {
  background: #B05E40;
  border-color: #B05E40;
}
.btn-ghost {
  background: transparent;
  color: var(--owner-slate);
  border-color: transparent;
  font-weight: 500;
}
.btn-ghost:hover:not(:disabled):not([aria-disabled="true"]) {
  background: var(--hover-wash);
  color: var(--charcoal);
}
.btn-secondary {
  background: #fff;
  color: var(--owner-slate);
  border-color: var(--hairline);
}
.btn-secondary:hover:not(:disabled):not([aria-disabled="true"]) {
  background: var(--hover-wash);
  border-color: #C8C3BC;
  color: var(--charcoal);
}


/* Sections */
section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  scroll-margin-top: 5.5rem;
}

.section-head {
  margin: 0 0 2rem;
  max-width: 34rem;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

/* Cards — 2×2-friendly on tablet; 3+2 on wide desktop; stack on mobile */
.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

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

@media (min-width: 960px) {
  .cards {
    grid-template-columns: repeat(6, 1fr);
  }

  .cards .card {
    grid-column: span 2;
  }

  /* Fifth card centers under the top row of three */
  .cards .card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .cards .card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--soft-gray);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.45rem;
}

.card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: var(--off-white);
  color: var(--terracotta);
  font-size: 0.8rem;
  font-weight: 650;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 620;
  letter-spacing: -0.01em;
}

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

.soft-line {
  margin: 1.75rem 0 0;
  max-width: 40rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Optional V1 path — secondary to hero / edges */
.path {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.path-callout {
  background: var(--white);
  border: 1px solid var(--soft-gray);
  border-radius: calc(var(--radius) + 0.15rem);
  padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.25rem, 3.5vw, 2rem);
  max-width: 52rem;
  width: 100%;
  margin-inline: auto;
}

.path-label {
  display: inline-block;
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.path-callout > h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.path-lede {
  margin: 0 0 0.75rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1rem;
}

.path-note {
  margin: 0 0 1.75rem;
  max-width: 38rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

.path-how-head {
  margin-bottom: 1.25rem;
}

.path-how-head h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.path-how-head p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* How it works — steps inside optional path */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.step {
  position: relative;
  padding: 0.25rem 0 0.25rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 650;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 620;
}

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

/* Company arc — light post-V1 directions */
.arc {
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.arc .section-head {
  margin-bottom: 1.25rem;
}

.arc .section-head h2 {
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
}

.arc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 44rem;
}

.arc-list li {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--soft-gray);
  background: var(--white);
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

/* CTA */
.cta {
  text-align: center;
}

.cta-panel {
  background: var(--charcoal);
  color: var(--white);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -40%;
  transform: translateX(-50%);
  width: min(60%, 16rem);
  height: 70%;
  border: 2px solid color-mix(in srgb, var(--terracotta) 55%, transparent);
  border-bottom: none;
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}

.cta-panel h2 {
  position: relative;
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.cta-panel p {
  position: relative;
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  color: color-mix(in srgb, var(--white) 78%, transparent);
  font-size: 1rem;
}

.cta-panel .btn-primary {
  position: relative;
}

.cta-panel a.mail {
  position: relative;
  display: inline-block;
  margin-top: 1rem;
  color: color-mix(in srgb, var(--white) 85%, transparent);
  font-size: 0.9rem;
}

.cta-panel a.mail:hover {
  color: var(--white);
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--soft-gray);
  font-size: 0.875rem;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: baseline;
}

.site-footer strong {
  color: var(--charcoal);
  font-weight: 620;
}

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

.site-footer a:hover {
  color: var(--terracotta);
}

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

  .mega,
  .pill-trigger,
  .pill-cta,
  .product-item,
  .sheet,
  .sheet-backdrop,
  .pill-trigger .chev {
    transition: none !important;
  }
}
