.public-home {
  --home-ink: #17201b;
  --home-muted: #647068;
  --home-soft: #f4f6f2;
  --home-paper: #fbfcf8;
  --home-line: #dce3dd;
  --home-line-soft: #e9eeea;
  --home-green: #07835c;
  --home-green-dark: #075f45;
  --home-green-soft: #e8f7ee;
  --home-motion-enter: 650ms;
  --home-motion-delay: 90ms;
  --home-motion-stagger: 75ms;
  --home-motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Grok-clean button tokens + Zimla green */
  --btn-h: 2.5rem;
  --btn-h-sm: 2.125rem;
  --btn-h-lg: 2.75rem;
  --btn-px: 1.05rem;
  --btn-px-sm: 0.85rem;
  --btn-radius: 0.625rem;
  --btn-font: 0.8125rem;
  --btn-font-sm: 0.75rem;
  --btn-weight: 500;
  --btn-track: -0.011em;
  --btn-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --btn-primary: #0c6b4f;
  --btn-primary-hover: #0a5a42;
  --btn-primary-active: #084a37;
  --btn-ink: #1a221d;
  --btn-ghost-border: #d5ddd7;
  --btn-ghost-hover: #f3f6f3;
  min-height: 100vh;
  /* overflow:hidden on this ancestor kills position:sticky for the header.
     Clip only the x-axis so hero/webgl can't spill sideways. */
  overflow-x: clip;
  overflow-y: visible;
  background: var(--home-paper);
  color: var(--home-ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-kerning: normal;
}

html:has(.public-home) {
  scroll-behavior: smooth;
  /* Matches sticky header mid-compact height for anchor jumps */
  scroll-padding-top: 4.35rem;
}

.public-home [id] {
  scroll-margin-top: 4.35rem;
}

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

.public-home a,
.public-home button,
.public-home input {
  -webkit-tap-highlight-color: transparent;
}

.public-home__container {
  width: min(100% - 3rem, 76rem);
  margin-inline: auto;
}

.public-home__header {
  /* 0 = full height at top, 1 = compact while scrolled */
  --header-t: 0;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(23, 32, 27, calc(0.05 + var(--header-t) * 0.06));
  background: rgba(251, 252, 248, calc(0.78 + var(--header-t) * 0.18));
  backdrop-filter: saturate(1.15) blur(calc(12px + var(--header-t) * 10px));
  -webkit-backdrop-filter: saturate(1.15) blur(calc(12px + var(--header-t) * 10px));
  box-shadow:
    0 calc(var(--header-t) * 0.5px) 0 rgba(23, 32, 27, calc(var(--header-t) * 0.06)),
    0 calc(var(--header-t) * 10px) calc(var(--header-t) * 28px) calc(var(--header-t) * -20px) rgba(20, 35, 26, calc(var(--header-t) * 0.1));
}

/* Guarantee sticky is not defeated by older mobile overrides */
.public-home > .public-home__header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

/* Stacking inside .public-home:
   header 50 (sticky) > main 1. Flying logo is reparented to <body>
   with z-index 9999 so it is never trapped under main/header. */
.public-home__main {
  position: relative;
  z-index: 1;
}

.public-home__nav {
  display: grid;
  min-height: calc(3.65rem - var(--header-t) * 0.55rem);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: calc(1.5rem - var(--header-t) * 0.25rem);
  padding-block: 0;
  transition: none;
}

.public-home__brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: calc(0.62rem - var(--header-t) * 0.1rem);
  border-radius: 0.55rem;
  color: var(--home-ink);
  font-size: calc(1.28rem - var(--header-t) * 0.12rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
  transition: opacity 140ms ease, color 140ms ease;
}

.public-home__brand:hover {
  color: var(--home-ink);
  opacity: 0.92;
}

.public-home__brand > span:last-child > span {
  color: inherit;
  opacity: 1;
}

.public-home__brand-mark {
  display: grid;
  grid-template-columns: repeat(2, calc(0.5rem - var(--header-t) * 0.08rem));
  gap: calc(0.15rem - var(--header-t) * 0.02rem);
  flex-shrink: 0;
}

.public-home__brand-mark span {
  width: calc(0.5rem - var(--header-t) * 0.08rem);
  height: calc(0.5rem - var(--header-t) * 0.08rem);
  border-radius: 45% 55% 52% 48%;
  background: var(--home-ink);
}

.public-home__brand-mark span:nth-child(even) {
  background: #10b981;
}

.public-home__nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(0.2rem - var(--header-t) * 0.05rem);
  color: #5c675f;
  font-size: calc(0.8125rem - var(--header-t) * 0.03rem);
}

.public-home__nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: calc(2.15rem - var(--header-t) * 0.15rem);
  border-radius: 0.55rem;
  padding: 0 calc(0.7rem - var(--header-t) * 0.08rem);
  color: #4a544d;
  font-weight: 500;
  letter-spacing: -0.014em;
  text-decoration: none;
  transition:
    color 140ms ease,
    background-color 140ms ease;
}

.public-home__nav-links a:hover {
  color: #141a16;
  background: rgba(23, 32, 27, 0.045);
}

.public-home__nav-links a:focus-visible {
  outline: 2px solid rgba(15, 61, 47, 0.3);
  outline-offset: 2px;
}

.public-home__nav-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.public-home__header .public-home__login {
  display: inline-flex;
  align-items: center;
  min-height: calc(2.15rem - var(--header-t) * 0.15rem);
  border-radius: 0.55rem;
  padding: 0 calc(0.7rem - var(--header-t) * 0.06rem);
  color: #3f4a43;
  font-size: calc(0.8125rem - var(--header-t) * 0.03rem);
  font-weight: 500;
  letter-spacing: -0.014em;
  text-decoration: none;
  transition:
    color 140ms ease,
    background-color 140ms ease;
}

.public-home__header .public-home__login:hover {
  color: #141a16;
  background: rgba(23, 32, 27, 0.045);
}

/* Nav CTA — same Grok language as hero primary, compact */
.public-home__header .public-home__button--small {
  height: calc(2.15rem - var(--header-t) * 0.2rem);
  min-height: calc(2.15rem - var(--header-t) * 0.2rem);
  gap: 0.3rem;
  border-color: #0f3d2f;
  border-radius: 0.65rem;
  background: #0f3d2f;
  padding-inline: calc(0.85rem - var(--header-t) * 0.08rem);
  color: #f4faf7;
  font-size: calc(0.8125rem - var(--header-t) * 0.03rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.public-home__header .public-home__button--small:hover {
  border-color: #145a44;
  background: #145a44;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transform: none;
}

.public-home__header .public-home__button--small:active {
  border-color: #0c3227;
  background: #0c3227;
  transform: scale(0.985);
}

.public-home__header .public-home__button--small:focus-visible {
  outline: 2px solid rgba(15, 61, 47, 0.35);
  outline-offset: 2px;
}

.public-home__nav-links a,
.public-home__login,
.public-home__text-link,
.public-home__footer a {
  transition: color 140ms ease, background-color 140ms ease;
}

.public-home__text-link:hover,
.public-home__footer a:hover {
  color: var(--home-green);
}

.public-home__login:hover {
  color: #141a16;
}

.public-home__hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.public-home__login {
  display: inline-flex;
  align-items: center;
  min-height: var(--btn-h-sm);
  padding-inline: 0.55rem;
  border-radius: var(--btn-radius);
  color: #465148;
  font-size: var(--btn-font-sm);
  font-weight: var(--btn-weight);
  letter-spacing: var(--btn-track);
  transition:
    color 140ms var(--btn-ease),
    background-color 140ms var(--btn-ease);
}

.public-home__login:hover {
  color: var(--home-ink);
  background: rgba(23, 32, 27, 0.04);
}

/* ── Buttons: Grok-clean geometry, Zimla green ───────────────────── */
.public-home__button {
  display: inline-flex;
  height: var(--btn-h);
  min-height: var(--btn-h);
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: var(--btn-radius);
  background: var(--btn-primary);
  padding: 0 var(--btn-px);
  color: #f7fbf8;
  font-size: var(--btn-font);
  font-weight: var(--btn-weight);
  letter-spacing: var(--btn-track);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none;
  transition:
    background-color 140ms var(--btn-ease),
    border-color 140ms var(--btn-ease),
    color 140ms var(--btn-ease),
    box-shadow 140ms var(--btn-ease),
    transform 120ms var(--btn-ease),
    opacity 140ms var(--btn-ease);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.public-home__button:hover {
  background: var(--btn-primary-hover);
  box-shadow: none;
  transform: none;
  color: #fff;
}

.public-home__button:active {
  background: var(--btn-primary-active);
  transform: scale(0.985);
}

.public-home__button:disabled,
.public-home__button[aria-disabled="true"] {
  cursor: default;
  opacity: 0.55;
  pointer-events: none;
}

.public-home__button--small {
  height: var(--btn-h-sm);
  min-height: var(--btn-h-sm);
  padding-inline: var(--btn-px-sm);
  font-size: var(--btn-font-sm);
}

.public-home__button--ghost {
  border-color: var(--btn-ghost-border);
  background: rgba(255, 255, 255, 0.72);
  color: var(--btn-ink);
  box-shadow: none;
}

.public-home__button--ghost:hover {
  border-color: #c5cfc8;
  background: var(--btn-ghost-hover);
  color: var(--home-ink);
  box-shadow: none;
}

.public-home__button--ghost:active {
  background: #e9eee9;
  transform: scale(0.985);
}

.public-home__button--ink {
  border-color: transparent;
  background: var(--btn-ink);
  color: #f6f8f6;
}

.public-home__button--ink:hover {
  background: #0f1612;
  color: #fff;
}

.public-home__button--ink:active {
  background: #0a0f0c;
}

.public-home__button .material-symbols-outlined {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.92;
  transition: transform 160ms var(--btn-ease), opacity 140ms var(--btn-ease);
}

.public-home__button:hover .material-symbols-outlined {
  opacity: 1;
}

.public-home__button:hover .material-symbols-outlined:last-child {
  transform: translateX(0.1rem);
}

.public-home__button--small .material-symbols-outlined {
  font-size: 0.95rem;
}

.public-home__hero {
  --hero-grid-x: 72%;
  --hero-grid-y: 50%;
  --hero-grid-active: 0;
  position: relative;
  isolation: isolate;
  overflow: clip;
  border-bottom: 1px solid var(--home-line);
  background:
    radial-gradient(ellipse 70% 55% at 78% 42%, rgba(232, 247, 238, 0.55), transparent 62%),
    radial-gradient(ellipse 45% 40% at 18% 70%, rgba(244, 246, 242, 0.9), transparent 55%),
    var(--home-paper);
}

/* WebGL blueprint field */
.public-home__webgl {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 700ms var(--home-motion-ease);
}

.public-home__hero.has-webgl .public-home__webgl {
  opacity: 1;
}

.public-home__hero-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(251, 252, 248, 0.62) 0%, transparent 16%, transparent 80%, rgba(251, 252, 248, 0.78) 100%),
    linear-gradient(90deg, rgba(251, 252, 248, 0.58) 0%, transparent 26%, transparent 62%, rgba(251, 252, 248, 0.18) 100%),
    radial-gradient(ellipse 55% 50% at 78% 48%, rgba(251, 252, 248, 0.2), transparent 70%);
}

/* CSS fallback grid when WebGL unavailable / reduced motion */
.public-home__hero.is-static-field::before,
.public-home__hero:not(.has-webgl):not(.is-static-field)::before,
.public-home__hero.is-static-field::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 32, 27, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 27, 0.034) 1px, transparent 1px);
  background-position: center;
  background-size: 42px 42px;
}

.public-home__hero.is-static-field::before,
.public-home__hero:not(.has-webgl):not(.is-static-field)::before {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.public-home__hero.is-static-field::after {
  background-image:
    linear-gradient(rgba(7, 131, 92, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 131, 92, 0.14) 1px, transparent 1px),
    radial-gradient(ellipse 40% 35% at 72% 48%, rgba(232, 247, 238, 0.65), transparent 70%);
  background-size: 42px 42px, 42px 42px, 100% 100%;
  opacity: 1;
}

.public-home__hero.has-webgl::before,
.public-home__hero.has-webgl::after {
  content: none;
}

.public-home__hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: min(36rem, calc(100svh - 4rem));
  grid-template-columns: minmax(18rem, 0.78fr) minmax(22rem, 1.22fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(7.5rem, 11vw, 10.5rem) clamp(3.5rem, 6vw, 5.5rem);
}

/* Interactive plan stage (replaces project-window mock) */
.public-home__plan-stage {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  justify-items: stretch;
  gap: 0.85rem;
  min-height: min(28rem, 62svh);
  min-width: 0;
  padding: 0.25rem 0 0.5rem;
  pointer-events: auto;
  user-select: none;
}

/* Textetiketter i planritningen — skapas av scriptet, positioneras i px
   via samma transform som shadern. Under hero-innehållet, över canvasen. */
.public-home__plan-labels {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.public-home__plan-label {
  position: absolute;
  display: grid;
  gap: 0.04rem;
  justify-items: center;
  transform: translate(-50%, -50%);
  color: #2c362f;
  text-align: center;
  transition: color 160ms ease;
}

.public-home__plan-label strong {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  transition: color 160ms ease;
}

.public-home__plan-label small {
  color: #78827a;
  font-size: 0.55rem;
  font-variant-numeric: tabular-nums;
}

.public-home__plan-label--muted {
  opacity: 0.6;
}

.public-home__plan-label--dim {
  color: #8a938b;
  font-size: 0.53rem;
  letter-spacing: 0.07em;
  font-variant-numeric: tabular-nums;
}

.public-home__plan-label--vertical {
  transform: translate(-50%, -50%) rotate(-90deg);
}

.public-home__plan-label.is-active strong {
  color: #047857;
}

.public-home__plan-label.is-active small {
  color: #4d7a63;
}

/* Sammanfattningen skrivs direkt på ritningsarket: ingen platta, ingen
   skugga, ingen ram — bara bläck på papper. En mjuk pappers-wash bakom
   håller texten läsbar över det tryckta rutnätet. */
.public-home__plan-card {
  position: relative;
  width: min(100%, 14.5rem);
  justify-self: end;
  border: 0;
  background: rgba(251, 251, 246, 0.9);
  padding: 0.7rem 0.35rem 0.55rem;
  animation: public-home-rise 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Rumsbyte: innehallet glider in mjukt i stället för att snäppa */
@keyframes public-home-card-swap {
  from { opacity: 0.2; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}

.public-home__plan-card.is-swapping {
  animation: public-home-card-swap 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.public-home__plan-card[hidden] {
  display: none;
}

.public-home__plan-card-head {
  display: grid;
  gap: 0.18rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(52, 64, 58, 0.5);
}

.public-home__plan-card-head strong {
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.public-home__plan-card-head small {
  color: #718078;
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
}

.public-home__plan-moments {
  display: grid;
  gap: 0;
  margin: 0.45rem 0 0;
  padding: 0;
  list-style: none;
}

.public-home__plan-moments li {
  display: flex;
  align-items: center;
  min-height: 1.52rem;
  color: #57635b;
  font-size: 0.72rem;
}

.public-home__plan-moments li span {
  order: 1;
}

/* Ledarlinje som i en specifikation: Rivning ······· 4 350 kr */
.public-home__plan-moments li::after {
  content: "";
  order: 2;
  flex: 1;
  margin: 0.45em 0.45rem 0;
  border-bottom: 1px dotted rgba(87, 99, 91, 0.45);
}

.public-home__plan-moments li strong {
  order: 3;
  color: #344139;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.public-home__plan-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.55rem;
  padding-top: 0.5rem;
  border-top: 3px double rgba(52, 64, 58, 0.65);
  color: #667169;
  font-size: 0.68rem;
}

.public-home__plan-total > span {
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.public-home__plan-total strong {
  color: var(--home-green-dark);
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-size: 1.15rem;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.public-home__plan-rooms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-self: end;
  max-width: 22rem;
  counter-reset: planrum;
}

/* Ritningslegend: numrerade poster, skarpa hörn, hårlinjer */
.public-home__plan-rooms button {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 1.95rem;
  border: 1px solid rgba(52, 64, 58, 0.26);
  border-radius: 2px;
  background: rgba(253, 253, 249, 0.9);
  padding: 0.28rem 0.66rem 0.28rem 0.52rem;
  color: #465148;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  counter-increment: planrum;
  transition:
    border-color 140ms ease,
    background-color 140ms ease,
    color 140ms ease,
    box-shadow 140ms ease;
}

.public-home__plan-rooms button::before {
  content: counter(planrum, decimal-leading-zero);
  color: #8a938b;
  font-size: 0.56rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  transition: color 140ms ease;
}

.public-home__plan-rooms button:hover {
  border-color: rgba(52, 64, 58, 0.55);
  background: #fff;
  color: var(--home-ink);
}

.public-home__plan-rooms button.is-active {
  border-color: #34403a;
  background: #fff;
  color: var(--home-ink);
  box-shadow: inset 0 0 0 1px rgba(52, 64, 58, 0.1);
}

.public-home__plan-rooms button.is-active::before {
  color: var(--home-green-dark);
  font-weight: 600;
}

.public-home__plan-rooms button:focus-visible {
  outline: 2px solid rgba(12, 107, 79, 0.45);
  outline-offset: 2px;
}

/* Hero-CTA: samma ritningsvärld — skarpa hörn, ghost med bläckhårlinje */
/* Hero CTAs — Grok geometry (quiet, dense) + Zimla green primary */
.public-home__hero-actions .public-home__button {
  --hero-btn-h: 2.625rem;
  height: var(--hero-btn-h);
  min-height: var(--hero-btn-h);
  gap: 0.45rem;
  border-radius: 0.75rem;
  padding: 0 1.05rem 0 1.15rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  box-shadow: none;
}

.public-home__hero-actions .public-home__button:not(.public-home__button--ghost) {
  border-color: #0f3d2f;
  background: #0f3d2f;
  color: #f4faf7;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 1px 2px rgba(15, 61, 47, 0.12);
}

.public-home__hero-actions .public-home__button:not(.public-home__button--ghost):hover {
  border-color: #145a44;
  background: #145a44;
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 1px 2px rgba(15, 61, 47, 0.14);
  transform: none;
}

.public-home__hero-actions .public-home__button:not(.public-home__button--ghost):active {
  border-color: #0c3227;
  background: #0c3227;
  transform: scale(0.985);
  box-shadow: none;
}

.public-home__hero-actions .public-home__button--ghost {
  border-color: rgba(23, 32, 27, 0.12);
  background: rgba(255, 255, 253, 0.55);
  color: #1a221d;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: none;
}

.public-home__hero-actions .public-home__button--ghost:hover {
  border-color: rgba(23, 32, 27, 0.18);
  background: rgba(23, 32, 27, 0.04);
  color: #121814;
  box-shadow: none;
  transform: none;
}

.public-home__hero-actions .public-home__button--ghost:active {
  background: rgba(23, 32, 27, 0.07);
  transform: scale(0.985);
}

.public-home__hero-actions .public-home__button .material-symbols-outlined {
  font-size: 1.05rem;
  opacity: 0.72;
  transition:
    transform 180ms cubic-bezier(0.25, 0.1, 0.25, 1),
    opacity 160ms ease;
}

.public-home__hero-actions .public-home__button:hover .material-symbols-outlined {
  opacity: 1;
  transform: translateX(0.14rem);
}

.public-home__hero-actions .public-home__button:focus-visible {
  outline: 2px solid rgba(15, 61, 47, 0.35);
  outline-offset: 2px;
}

.public-home__hero.has-plan-interact .public-home__plan-stage {
  /* Large invisible hit target over plan */
  min-height: min(30rem, 68svh);
  grid-template-rows: 1fr auto;
  align-content: stretch;
}

.public-home__hero.has-plan-interact .public-home__plan-card {
  align-self: center;
}

.public-home__hero-copy {
  max-width: 34rem;
  animation: public-home-rise 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.public-home__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--home-green);
  font-size: 0.59rem;
  font-weight: 650;
  letter-spacing: 0.17em;
  line-height: 1.2;
  text-transform: uppercase;
}

.public-home__eyebrow > span {
  width: 1.55rem;
  height: 1px;
  border-radius: 0;
  background: #69b497;
  box-shadow: none;
}

.public-home__hero h1,
.public-home__section-intro h2,
.public-home__split-copy h2,
.public-home__beta-copy h2 {
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.public-home__flow-lead .public-home__section-intro h2 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 4vw, 3.85rem);
}

.public-home__hero h1 {
  max-width: 13.6ch;
  margin-top: 1.2rem;
  font-size: clamp(3rem, 4.25vw, 3.8rem);
  line-height: 0.96;
}

.public-home__hero h1 span {
  display: block;
  white-space: nowrap;
}

.public-home__lead {
  max-width: 31rem;
  margin-top: 1.6rem;
  color: var(--home-muted);
  font-size: 0.83rem;
  line-height: 1.65;
}

.public-home__hero-actions {
  gap: 1.25rem;
  margin-top: 1.85rem;
}

.public-home__hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 28rem;
  margin-top: 2.15rem;
  border-top: 1px solid rgba(220, 227, 221, 0.9);
  animation: public-home-rise 800ms cubic-bezier(0.22, 1, 0.36, 1) 140ms both;
}

.public-home__hero-metrics li {
  display: grid;
  gap: 0.28rem;
  padding: 0.95rem 0.85rem 0 0;
  border-right: 1px solid rgba(220, 227, 221, 0.75);
}

.public-home__hero-metrics li:last-child {
  border-right: 0;
  padding-right: 0;
}

.public-home__hero-metrics li:first-child {
  padding-left: 0;
}

.public-home__hero-metrics strong {
  color: var(--home-ink);
  font-size: 0.68rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.public-home__hero-metrics span {
  color: var(--home-muted);
  font-size: 0.62rem;
  line-height: 1.4;
}

.public-home__text-link {
  display: inline-flex;
  height: var(--btn-h);
  min-height: var(--btn-h);
  align-items: center;
  gap: 0.35rem;
  border: 1px solid transparent;
  border-radius: var(--btn-radius);
  background: transparent;
  padding: 0 0.7rem;
  color: #3f4a43;
  font-size: var(--btn-font);
  font-weight: var(--btn-weight);
  letter-spacing: var(--btn-track);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 140ms var(--btn-ease),
    background-color 140ms var(--btn-ease),
    border-color 140ms var(--btn-ease);
}

.public-home__text-link:hover {
  color: var(--home-ink);
  background: rgba(23, 32, 27, 0.04);
}

.public-home__text-link .material-symbols-outlined {
  font-size: 0.95rem;
  opacity: 0.75;
  transition: transform 160ms var(--btn-ease), opacity 140ms var(--btn-ease);
}

.public-home__text-link:hover .material-symbols-outlined {
  opacity: 1;
  transform: translateX(0.12rem);
}

.public-home__product-stage {
  position: relative;
  min-width: 0;
  isolation: isolate;
  animation: public-home-rise 800ms cubic-bezier(0.22, 1, 0.36, 1) 90ms both;
}

.public-home__stage-grid {
  position: absolute;
  z-index: -2;
  inset: -2.8rem -2rem -2.45rem -3.2rem;
  background-image:
    linear-gradient(rgba(79, 96, 84, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 96, 84, 0.055) 1px, transparent 1px),
    linear-gradient(26deg, transparent 47.8%, rgba(79, 96, 84, 0.045) 48%, rgba(79, 96, 84, 0.045) 48.25%, transparent 48.4%),
    linear-gradient(154deg, transparent 51%, rgba(79, 96, 84, 0.035) 51.2%, rgba(79, 96, 84, 0.035) 51.45%, transparent 51.6%);
  background-position: 0 0, 0 0, center, center;
  background-size: 2.9rem 2.9rem, 2.9rem 2.9rem, 100% 100%, 100% 100%;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  pointer-events: none;
}

.public-home__stage-grid::after {
  content: "";
  position: absolute;
  inset: 8% 7% 5% 10%;
  border: 1px solid rgba(79, 96, 84, 0.05);
  transform: rotate(-7deg);
}

.public-home__dimension {
  position: absolute;
  z-index: -1;
  color: rgba(78, 91, 81, 0.31);
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-size: 0.66rem;
  font-style: italic;
  line-height: 1;
  pointer-events: none;
}

.public-home__dimension::before,
.public-home__dimension::after {
  content: "";
  position: absolute;
  background: rgba(78, 91, 81, 0.17);
}

.public-home__dimension--width {
  top: -2rem;
  left: 2.25rem;
  right: 1rem;
  border-top: 1px solid rgba(78, 91, 81, 0.17);
  text-align: center;
}

.public-home__dimension--width::before,
.public-home__dimension--width::after {
  top: -0.35rem;
  width: 1px;
  height: 0.7rem;
}

.public-home__dimension--width::before { left: 0; }
.public-home__dimension--width::after { right: 0; }

.public-home__dimension--width {
  padding-top: 0.35rem;
}

.public-home__dimension--height {
  top: -0.85rem;
  bottom: 1.1rem;
  left: -2.25rem;
  border-left: 1px solid rgba(78, 91, 81, 0.17);
  padding-left: 0.38rem;
  writing-mode: vertical-rl;
  text-align: center;
}

.public-home__dimension--height::before,
.public-home__dimension--height::after {
  left: -0.35rem;
  width: 0.7rem;
  height: 1px;
}

.public-home__dimension--height::before { top: 0; }
.public-home__dimension--height::after { bottom: 0; }

.public-home__project-window {
  --mock-row-h: 1.42rem;
  --mock-rows: 6;
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto minmax(13.4rem, 1fr) auto;
  width: 100%;
  min-width: 0;
  min-height: 24.5rem;
  overflow: hidden;
  border: 1px solid rgba(220, 228, 222, 0.95);
  border-radius: 0.95rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 253, 251, 0.96));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65) inset,
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 30px 64px -36px rgba(20, 35, 26, 0.4),
    0 10px 24px -18px rgba(7, 131, 92, 0.1),
    0 2px 8px rgba(20, 35, 26, 0.04);
  contain: layout;
}

.public-home__product-stage::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 10% 6% -4% 10%;
  border-radius: 1.5rem;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(7, 131, 92, 0.09), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.public-home__project-topbar {
  display: flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem 0.55rem;
  border-bottom: 1px solid #eef2ef;
  background: linear-gradient(180deg, #fcfdfb, #f8faf8);
}

.public-home__project-topbar > div,
.public-home__board-head > div {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.public-home__project-topbar strong {
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 550;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-home__micro-label {
  color: #7a857c;
  font-size: 0.48rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.public-home__status {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.32rem;
  border-radius: 999px;
  background: #edf7f1;
  padding: 0.3rem 0.55rem;
  color: #3f6d56;
  font-size: 0.5rem;
  font-weight: 550;
}

.public-home__status i {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.public-home__mock-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.4vw, 1.2rem);
  min-height: 1.85rem;
  overflow: hidden;
  border-bottom: 1px solid #eef2ef;
  padding: 0 1rem;
  color: #7a857c;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  background: #fbfcfb;
}

.public-home__mock-nav span:first-child,
.public-home__mock-nav span.is-on {
  position: relative;
  color: var(--home-ink);
}

.public-home__mock-nav span.is-on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.42rem;
  height: 1.5px;
  border-radius: 999px;
  background: var(--home-green);
}

.public-home__mock-rooms {
  display: grid;
  grid-template-columns: 1.08fr repeat(3, 1fr) 2.15rem;
  gap: 0.4rem;
  align-items: stretch;
  padding: 0.55rem 1rem 0.6rem;
  background: #fff;
}

.public-home__mock-rooms > span,
.public-home__mock-rooms > button {
  position: relative;
  display: grid;
  min-width: 0;
  height: 2.55rem;
  align-content: center;
  gap: 0.06rem;
  border: 1px solid #e5ebe7;
  border-radius: 0.4rem;
  background: #fbfcfb;
  padding: 0.3rem 0.48rem 0.3rem 0.7rem;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.public-home__mock-rooms > button:hover {
  border-color: #c9d4cc;
  background: #fff;
}

.public-home__mock-rooms > button:focus-visible {
  outline: 2px solid rgba(7, 131, 92, 0.32);
  outline-offset: 1px;
}

.public-home__mock-rooms strong {
  overflow: hidden;
  font-size: 0.55rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-home__mock-rooms small {
  color: #768279;
  font-size: 0.48rem;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

/* Active: fixed padding + left bar — no layout shift */
.public-home__mock-rooms .is-active {
  border-color: rgba(11, 144, 103, 0.45);
  background: #f4fbf7;
  box-shadow:
    inset 2.5px 0 0 #0b9067,
    0 0 0 1px rgba(11, 144, 103, 0.05);
}

.public-home__mock-rooms .is-active strong {
  color: #0f3d2d;
}

.public-home__mock-rooms .is-active i {
  display: none;
}

.public-home__mock-rooms .is-add {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #8a948c;
  font-size: 0.95rem;
  cursor: default;
  border-style: dashed;
  background: transparent;
}

.public-home__mock-section-head small {
  color: #718078;
  font-size: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.public-home__mock-ai {
  border-radius: 999px !important;
  background: #eef7f2 !important;
  padding: 0.28rem 0.52rem !important;
  color: #48705b !important;
}

/* Fixed workspace height so room switches never move the hero */
.public-home__mock-workspace {
  display: grid;
  grid-template-columns: minmax(10rem, 0.9fr) minmax(12rem, 1.1fr);
  height: 13.6rem;
  min-height: 13.6rem;
  max-height: 13.6rem;
  margin-inline: 0.85rem;
  border: 1px solid #edf1ee;
  border-radius: 0.55rem;
  background: #fff;
  overflow: hidden;
}

.public-home__mock-plan,
.public-home__mock-calculation {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 0.65rem 0.7rem 0.55rem;
}

.public-home__mock-plan {
  border-right: 1px solid #edf1ee;
  background:
    linear-gradient(180deg, rgba(248, 250, 248, 0.65), transparent 40%);
}

.public-home__mock-section-head {
  display: grid;
  gap: 0.12rem;
  min-height: 1.7rem;
  max-height: 1.7rem;
  align-content: start;
}

.public-home__mock-section-head strong {
  overflow: hidden;
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-size: 0.76rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-home__mock-section-head small {
  overflow: hidden;
  color: #718078;
  font-size: 0.5rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-home__mock-plan svg {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin-top: 0.15rem;
  color: #c9d2cc;
  align-self: stretch;
}

.public-home__mock-calculation {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.public-home__mock-calculation ul {
  display: grid;
  grid-template-rows: repeat(var(--mock-rows), var(--mock-row-h));
  height: calc(var(--mock-rows) * var(--mock-row-h));
  min-height: calc(var(--mock-rows) * var(--mock-row-h));
  max-height: calc(var(--mock-rows) * var(--mock-row-h));
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.public-home__mock-calculation li {
  display: grid;
  height: var(--mock-row-h);
  min-height: var(--mock-row-h);
  max-height: var(--mock-row-h);
  grid-template-columns: 0.45rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid #f1f4f2;
  color: #57635b;
  font-size: 0.52rem;
}

.public-home__mock-calculation li.is-empty {
  border-bottom-color: transparent;
  opacity: 0;
  pointer-events: none;
}

.public-home__mock-calculation li.is-updated {
  animation: public-home-mock-row 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.public-home__mock-calculation li i {
  width: 0.4rem;
  height: 0.4rem;
  border: 1px solid #7dc6a1;
  border-radius: 0.1rem;
  background: #eef9f3;
}

.public-home__mock-calculation li strong {
  color: #344139;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.public-home__mock-total {
  display: flex;
  height: 2.15rem;
  min-height: 2.15rem;
  max-height: 2.15rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.15rem;
  border-top: 1px solid #eef2ef;
  padding-top: 0.35rem;
  font-size: 0.54rem;
  color: #667169;
}

.public-home__mock-total strong {
  color: var(--home-green-dark);
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-size: 1.02rem;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  transition: opacity 160ms ease;
}

.public-home__mock-footer {
  display: flex;
  min-height: 2.1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #eef2ef;
  padding: 0 1rem;
  color: #89938c;
  font-size: 0.48rem;
  background: #fbfcfb;
}

.public-home__mock-footer span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.public-home__mock-footer i {
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid #cbd4ce;
  border-radius: 50%;
}

@keyframes public-home-mock-row {
  from {
    opacity: 0.35;
    transform: translateY(0.15rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.public-home__mock-footer span:last-child {
  border-radius: 999px;
  background: #eef7f2;
  padding: 0.32rem 0.5rem;
  color: #48705b;
}

/* (hero button sizing lives with hero CTA block above) */

.public-home__fit {
  overflow: hidden;
  border-bottom: 1px solid var(--home-line);
  background:
    repeating-linear-gradient(0deg, rgba(52, 64, 58, 0.028) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(52, 64, 58, 0.028) 0 1px, transparent 1px 44px),
    #fdfdf9;
  padding-block: 1.35rem 1.55rem;
}

.public-home__fit p {
  color: #8a948c;
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

/* Måttkedja: verksamhetstyper som segmentetiketter på en hårlinje med
   45-gradersticks — samma formspråk som planritningens mått. */
.public-home__fit-chain {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.05rem;
  padding: 0;
  gap: 0.55rem 2.4rem;
  list-style: none;
}

.public-home__fit-chain::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  border-top: 1px solid rgba(52, 64, 58, 0.22);
}

.public-home__fit-chain li {
  position: relative;
  padding-inline: 0.85rem;
  background: #fdfdf9;
  color: #737b75;
  font-size: clamp(0.72rem, 1.1vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.75rem;
}

/* 45-graderstick i varje skarv */
.public-home__fit-chain li::before,
.public-home__fit-chain li:last-child::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -1.2rem;
  width: 1px;
  height: 0.7rem;
  background: rgba(52, 64, 58, 0.45);
  transform: translateY(-50%) rotate(45deg);
}

.public-home__fit-chain li:last-child::after {
  right: -1.2rem;
  left: auto;
}

.public-home__fit-chain li:nth-child(2),
.public-home__fit-chain li:nth-child(5) {
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-size: clamp(0.85rem, 1.25vw, 1.02rem);
  font-weight: 500;
  letter-spacing: 0;
}

.public-home__fit-chain li:nth-child(2) i,
.public-home__fit-chain li:nth-child(5) i,
.public-home__fit-chain li:nth-child(6) i {
  font-size: 0.92em;
  font-style: italic;
  font-weight: 400;
}

.public-home__fit-chain li:nth-child(4) {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: clamp(0.66rem, 0.95vw, 0.8rem);
}

.public-home__fit-chain li:nth-child(6) {
  font-weight: 650;
  letter-spacing: 0.035em;
}

.public-home__fit-chain li:nth-child(7) {
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(0.68rem, 1vw, 0.82rem);
}

.public-home__section {
  padding-block: clamp(5rem, 9vw, 8.5rem);
}

.public-home__product-scroll {
  --product-progress: 0;
  position: relative;
  min-height: clamp(57rem, 122vh, 72rem);
  overflow: clip;
  border-bottom: 1px solid var(--home-line-soft);
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.82), transparent 36rem),
    linear-gradient(180deg, #eef4ef 0%, #f8f8f3 78%);
  padding-block: clamp(5rem, 8vw, 7rem) clamp(4rem, 7vw, 6rem);
  perspective: 1400px;
}

.public-home__product-intro {
  position: relative;
  z-index: 2;
  max-width: 50rem;
  margin-inline: auto;
  text-align: center;
}

.public-home__product-intro .public-home__eyebrow {
  justify-content: center;
}

.public-home__product-intro h2 {
  margin: 1rem 0 0;
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.public-home__product-intro > p:last-child {
  max-width: 39rem;
  margin: 1.2rem auto 0;
  color: var(--home-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.public-home__product-stage {
  position: sticky;
  top: calc(4.5rem + 2vh);
  z-index: 1;
  margin-top: clamp(2.75rem, 5vw, 4rem);
  transform-style: preserve-3d;
}

.public-home__product-window {
  border-radius: 1.2rem;
  background: transparent;
  box-shadow: 0 26px 52px -38px rgba(19, 49, 30, 0.34);
  transform:
    translateY(calc(3.75rem - (var(--product-progress) * 3.75rem)))
    rotateX(calc(13deg - (var(--product-progress) * 13deg)))
    scale(calc(0.875 + (var(--product-progress) * 0.125)));
  transform-origin: 50% 0;
  will-change: transform;
}

.public-home__product-window-clip {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(27, 49, 35, 0.2);
  border-radius: inherit;
  background: #f9fbf8;
  isolation: isolate;
  transform: translateZ(0);
}

.public-home__gradual-blur {
  position: fixed;
  z-index: 40;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6rem;
  overflow: hidden;
  isolation: isolate;
  opacity: 1;
  pointer-events: none;
}

.public-home__gradual-blur > span {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.public-home__gradual-blur > span:nth-child(1) {
  -webkit-backdrop-filter: blur(0.167rem);
  backdrop-filter: blur(0.167rem);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 40%, transparent 60%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 40%, transparent 60%);
}

.public-home__gradual-blur > span:nth-child(2) {
  -webkit-backdrop-filter: blur(0.332rem);
  backdrop-filter: blur(0.332rem);
  -webkit-mask-image: linear-gradient(to bottom, transparent 20%, #000 40%, #000 60%, transparent 80%);
  mask-image: linear-gradient(to bottom, transparent 20%, #000 40%, #000 60%, transparent 80%);
}

.public-home__gradual-blur > span:nth-child(3) {
  -webkit-backdrop-filter: blur(0.65rem);
  backdrop-filter: blur(0.65rem);
  -webkit-mask-image: linear-gradient(to bottom, transparent 40%, #000 60%, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 40%, #000 60%, #000 80%, transparent 100%);
}

.public-home__gradual-blur > span:nth-child(4) {
  -webkit-backdrop-filter: blur(1.2rem);
  backdrop-filter: blur(1.2rem);
  -webkit-mask-image: linear-gradient(to bottom, transparent 60%, #000 80%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 60%, #000 80%, #000 100%);
}

.public-home__gradual-blur > span:nth-child(5) {
  -webkit-backdrop-filter: blur(1.65rem);
  backdrop-filter: blur(1.65rem);
  -webkit-mask-image: linear-gradient(to bottom, transparent 80%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 80%, #000 100%);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .public-home__gradual-blur {
    background: linear-gradient(to bottom, transparent, rgba(249, 251, 248, 0.9));
  }
}

.public-home__product-bar {
  display: grid;
  min-height: 3.1rem;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  border-bottom: 1px solid #e2e7e3;
  background: #f8faf7;
  padding-inline: 0.9rem;
}

.public-home__window-dots {
  display: flex;
  gap: 0.32rem;
}

.public-home__window-dots i {
  width: 0.5rem;
  height: 0.5rem;
  border: 1px solid #c6cec8;
  border-radius: 50%;
}

.public-home__window-address {
  justify-self: center;
  min-width: 12rem;
  border: 1px solid #dce3dd;
  border-radius: 0.48rem;
  background: rgba(255, 255, 255, 0.48);
  padding: 0.34rem 1.2rem;
  color: #879089;
  font-size: 0.6rem;
  text-align: center;
}

.public-home__window-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--home-green);
  font-size: 0.62rem;
}

.public-home__window-status::before {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #0dbb7d;
  content: "";
}

.public-home__calc-preview {
  display: grid;
  min-height: 32rem;
  grid-template-columns: 14.5rem minmax(0, 1fr);
  background: #fcfdf9;
}

.public-home__calc-rail {
  border-right: 1px solid #e2e7e3;
  background: #fafbf8;
  padding: 1rem;
}

.public-home__calc-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.9rem;
}

.public-home__calc-rail-head strong {
  font-size: 0.76rem;
  font-weight: 600;
}

.public-home__calc-rail-head span {
  color: #8b958e;
  font-size: 0.58rem;
}

.public-home__calc-group {
  overflow: hidden;
  margin-bottom: 0.65rem;
  border: 1px solid #e0e5e1;
  border-radius: 0.66rem;
  background: #fff;
}

.public-home__calc-group > strong {
  display: block;
  border-bottom: 1px solid #e6eae7;
  padding: 0.58rem 0.65rem;
  color: #667269;
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-home__calc-group span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eef1ef;
  padding: 0.48rem 0.65rem;
  color: #48534c;
  font-size: 0.6rem;
}

.public-home__calc-group span:last-child {
  border-bottom: 0;
}

.public-home__calc-group i {
  color: #919b94;
  font-size: 0.54rem;
  font-style: normal;
}

.public-home__calc-main {
  min-width: 0;
  padding: 1.05rem 1.15rem 1.3rem;
}

.public-home__calc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.public-home__calc-head > div > span,
.public-home__calc-total small {
  display: block;
  color: #8a948d;
  font-size: 0.58rem;
}

.public-home__calc-head h3 {
  margin: 0.2rem 0 0;
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.public-home__calc-head h3 small {
  color: #77827a;
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.64rem;
  font-weight: 500;
}

.public-home__calc-total {
  text-align: right;
}

.public-home__calc-total strong {
  color: var(--home-green);
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  white-space: nowrap;
}

@keyframes public-home-total-update {
  50% { opacity: 0.58; transform: translateY(-1px); }
}

.public-home__calc-total strong.is-updated {
  animation: public-home-total-update 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.public-home__calc-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-top: 1rem;
  border: 1px solid #91c9ae;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 28px -24px rgba(7, 95, 69, 0.55);
  padding: 0.34rem 0.38rem 0.34rem 0.85rem;
}

.public-home__calc-composer span {
  overflow: hidden;
  color: #768179;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-home__calc-composer button {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--home-green);
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 160ms ease, transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.public-home__calc-composer button:hover {
  background: var(--home-green-dark);
  transform: rotate(10deg);
}

.public-home__calc-composer button:active {
  transform: scale(0.92);
}

.public-home__calc-composer button:focus-visible,
.public-home__moment-toggle:focus-visible,
.public-home__moment-options button:focus-visible,
.public-home__stepper button:focus-visible {
  outline: 2px solid rgba(7, 131, 92, 0.42);
  outline-offset: 2px;
}

.public-home__calc-composer.is-analyzing button {
  animation: public-home-composer-turn 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes public-home-composer-turn {
  to { transform: rotate(180deg); }
}

.public-home__calc-tabs {
  display: flex;
  gap: 0.2rem;
  margin-top: 0.8rem;
  overflow: hidden;
  border-bottom: 1px solid #e4e9e5;
  padding-bottom: 0.45rem;
  white-space: nowrap;
}

.public-home__calc-tabs span {
  border-radius: 999px;
  padding: 0.4rem 0.62rem;
  color: #747f77;
  font-size: 0.59rem;
}

.public-home__calc-tabs .is-active {
  background: #edf6f1;
  color: var(--home-green-dark);
  font-weight: 600;
}

.public-home__moment-table {
  margin-top: 0.75rem;
  overflow: hidden;
  border: 1px solid #dfe5e0;
  border-radius: 0.7rem;
}

.public-home__moment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafbf9;
  padding: 0.62rem 0.7rem;
  font-size: 0.62rem;
  font-weight: 600;
}

.public-home__moment-row {
  display: grid;
  min-height: 2.42rem;
  grid-template-columns: 11rem minmax(0, 1fr) auto;
  align-items: center;
  border-top: 1px solid #e8ece9;
  font-size: 0.59rem;
}

.public-home__moment-toggle {
  align-self: stretch;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
  border-right: 1px solid #e2e7e3;
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding-inline: 0.68rem;
  font: inherit;
  font-weight: 500;
  text-align: left;
  transition: background-color 150ms ease;
}

.public-home__moment-row.is-active > .public-home__moment-toggle {
  border-left: 3px solid #0dbb7d;
  background: #eef6f1;
}

.public-home__moment-row:not(.is-active) > .public-home__moment-toggle:hover {
  background: #f7faf8;
}

.public-home__moment-check {
  display: grid;
  width: 1rem;
  height: 1rem;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #9cbcaf;
  border-radius: 50%;
  color: var(--home-green);
  font-size: 0.55rem;
  font-style: normal;
}

.public-home__moment-row.is-active .public-home__moment-check {
  border-color: var(--home-green);
  background: var(--home-green);
  color: #fff;
}

.public-home__moment-options {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.35rem;
  overflow: hidden;
  padding-inline: 0.65rem;
  white-space: nowrap;
}

.public-home__moment-options button {
  border: 1px solid #d8dfda;
  border-radius: 0.42rem;
  background: #fff;
  padding: 0.3rem 0.48rem;
  color: #657067;
  cursor: pointer;
  font: inherit;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.public-home__moment-options button:hover {
  border-color: #b7c8bd;
  color: #344139;
}

.public-home__moment-options button.is-selected {
  border-color: #91c9ae;
  background: #edf8f2;
  color: var(--home-green-dark);
}

.public-home__stepper {
  display: inline-grid;
  overflow: hidden;
  grid-template-columns: 1.45rem minmax(2.7rem, auto) 1.45rem;
  align-items: stretch;
  margin-right: 0.6rem;
  border: 1px solid #d8dfda;
  border-radius: 0.42rem;
  background: #fff;
  color: #657067;
  white-space: nowrap;
}

.public-home__stepper button {
  border: 0;
  background: transparent;
  color: #536057;
  cursor: pointer;
  font: inherit;
  transition: background-color 140ms ease, color 140ms ease;
}

.public-home__stepper button:hover {
  background: #edf6f1;
  color: var(--home-green-dark);
}

.public-home__stepper output {
  display: grid;
  min-width: 0;
  place-items: center;
  border-inline: 1px solid #edf0ed;
  padding-inline: 0.25rem;
  font-variant-numeric: tabular-nums;
}

.public-home__flow-section {
  padding-block: clamp(3.8rem, 6vw, 5.5rem);
}

.public-home__section-intro {
  max-width: 43rem;
}

.public-home__flow-lead {
  display: grid;
  grid-template-columns: minmax(19rem, 0.66fr) minmax(30rem, 1.34fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.public-home__workday-media {
  position: relative;
  overflow: hidden;
  min-height: 18rem;
  margin: 0;
  border: 1px solid #d8ded8;
  border-radius: 0.35rem;
  background: #ecece6;
}

.public-home__workday-media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.public-home__workday-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center 56%;
  filter: saturate(0.84) contrast(0.98);
}

.public-home__section-intro h2,
.public-home__split-copy h2,
.public-home__beta-copy h2 {
  margin-top: 0.85rem;
  font-size: clamp(2.65rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.public-home__section-intro > p:last-child,
.public-home__split-copy > p {
  max-width: 38rem;
  margin-top: 1.25rem;
  color: var(--home-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.public-home__flow {
  --flow-scroll-progress: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3.6rem;
  border-top: 1px solid #bcc7bf;
}

.public-home__flow::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -1px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--home-green);
  transform: scaleX(var(--flow-scroll-progress));
  transform-origin: left center;
  will-change: transform;
}

.public-home__flow li {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.5rem 0 0;
}

.public-home__flow button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: transform 220ms cubic-bezier(0.25, 1, 0.5, 1);
}

.public-home__flow button:hover {
  transform: translateY(-3px);
}

@keyframes public-home-flow-step-in {
  from {
    opacity: 0.58;
    transform: translateY(0.45rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.public-home__flow li.is-active button {
  animation: public-home-flow-step-in 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.public-home__flow li::before {
  content: "";
  position: absolute;
  top: -0.28rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid var(--home-paper);
  border-radius: 999px;
  background: var(--home-green);
  box-shadow: 0 0 0 1px var(--home-green);
}

.public-home__flow li button > span {
  color: #8f9991;
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-size: 0.92rem;
}

.public-home__flow li.is-active::before {
  width: 0.7rem;
  height: 0.7rem;
  top: -0.36rem;
  background: var(--home-paper);
  box-shadow: 0 0 0 2px var(--home-green), 0 0 0 6px rgba(16, 185, 129, 0.1);
}

.public-home__flow li.is-active h3 {
  color: var(--home-green-dark);
}

.public-home__flow h3 {
  margin-top: 1.75rem;
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.public-home__flow p {
  max-width: 16rem;
  margin-top: 0.65rem;
  color: var(--home-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.public-home__flow-response {
  --flow-progress: 0.25;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(5rem, 12rem);
  align-items: center;
  gap: 0.85rem;
  margin-top: 2.4rem;
  border-block: 1px solid var(--home-line);
  padding-block: 1rem;
}

.public-home__flow-response > .material-symbols-outlined {
  color: var(--home-green);
  font-size: 1.15rem;
}

.public-home__flow-response > div {
  display: grid;
  gap: 0.2rem;
}

.public-home__flow-response strong {
  font-size: 0.8rem;
  font-weight: 550;
}

.public-home__flow-response p {
  color: var(--home-muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.public-home__flow-progress {
  position: relative;
  height: 2px;
  overflow: hidden;
  background: #dce3dd;
}

.public-home__flow-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--home-green);
  transform: scaleX(var(--flow-progress));
  transform-origin: left center;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.public-home__flow-response.is-updated > .material-symbols-outlined,
.public-home__flow-response.is-updated > div {
  animation: public-home-text-update 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.public-home__control-section {
  border-block: 1px solid var(--home-line);
  background: #f1f5f0;
}

.public-home__split,
.public-home__customer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(34rem, 1.22fr);
  align-items: center;
  gap: clamp(3.5rem, 7vw, 7rem);
}

.public-home__benefit-list {
  margin-top: 2.4rem;
  border-top: 1px solid #cbd5cd;
}

.public-home__benefit-list li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.8rem;
  border-bottom: 1px solid #d9e0da;
  padding-block: 1rem;
}

.public-home__benefit-list .material-symbols-outlined {
  color: var(--home-green);
  font-size: 1rem;
}

.public-home__benefit-list strong,
.public-home__benefit-list p {
  display: block;
}

.public-home__benefit-list strong {
  font-size: 0.84rem;
  font-weight: 550;
}

.public-home__benefit-list p {
  margin-top: 0.25rem;
  color: var(--home-muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.public-home__board {
  overflow: hidden;
  border: 1px solid #cfd8d1;
  border-radius: 1.25rem;
  background: #fbfcfa;
  box-shadow: 0 26px 65px -54px rgba(20, 35, 26, 0.65);
}

.public-home__board-head {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--home-line-soft);
  padding: 0.9rem 1rem;
}

.public-home__board-head strong {
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
}

.public-home__board-head > span {
  color: #758078;
  font-size: 0.64rem;
}

.public-home__board-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.public-home__board-columns > div {
  min-width: 0;
  padding: 0.8rem;
}

.public-home__board-columns > div + div {
  border-left: 1px solid var(--home-line-soft);
}

.public-home__board-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #536057;
  font-size: 0.62rem;
}

.public-home__board-label i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: #aab4ad;
}

.public-home__board-label i.is-green { background: #10b981; }
.public-home__board-label i.is-blue { background: #3b82f6; }

.public-home__board-label b {
  display: inline-flex;
  min-width: 1.1rem;
  height: 1.1rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eef2ef;
  color: #68736b;
  font-size: 0.55rem;
  font-weight: 550;
}

.public-home__board article {
  display: grid;
  min-height: 5.65rem;
  margin-top: 0.6rem;
  border: 1px solid var(--home-line-soft);
  border-radius: 0.7rem;
  background: white;
  padding: 0.7rem;
  box-shadow: 0 10px 24px -25px rgba(20, 35, 26, 0.7);
}

.public-home__board article strong,
.public-home__board article small,
.public-home__board article span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-home__board article strong {
  font-size: 0.67rem;
  font-weight: 550;
}

.public-home__board article small {
  color: #7b877e;
  font-size: 0.57rem;
}

.public-home__board article span {
  align-self: end;
  color: #344139;
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-size: 0.88rem;
  font-weight: 550;
}

.public-home__customer-grid {
  grid-template-columns: minmax(33rem, 1.16fr) minmax(0, 0.84fr);
}

.public-home__quote-preview {
  overflow: hidden;
  border: 1px solid #d3dbd5;
  border-radius: 1.25rem;
  background: #fffefa;
  box-shadow: 0 30px 70px -60px rgba(20, 35, 26, 0.7);
}

.public-home__quote-company {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--home-line-soft);
  padding: 0.9rem 1rem;
}

.public-home__quote-mark {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  background: #123b2d;
  color: white;
  font-size: 0.68rem;
  font-weight: 650;
}

.public-home__quote-company > div {
  display: grid;
  gap: 0.15rem;
}

.public-home__quote-company strong {
  font-size: 0.75rem;
  font-weight: 550;
}

.public-home__quote-company small {
  color: #7a857c;
  font-size: 0.58rem;
}

.public-home__verified {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid #bddfc9;
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  color: #387052;
  font-size: 0.58rem;
}

.public-home__verified .material-symbols-outlined {
  font-size: 0.82rem;
}

.public-home__quote-body {
  padding: 2.2rem 2.4rem 1.7rem;
}

.public-home__quote-body > span {
  color: var(--home-green);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.public-home__quote-body h3 {
  max-width: 19ch;
  margin-top: 0.75rem;
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.public-home__quote-body > p {
  max-width: 35rem;
  margin-top: 0.9rem;
  color: #707b72;
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.55;
}

.public-home__quote-body dl {
  margin-top: 1.8rem;
  border-top: 1px solid #dfe5df;
}

.public-home__quote-body dl > div {
  display: flex;
  min-height: 2.45rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #e6ebe7;
  color: #566159;
  font-size: 0.7rem;
}

.public-home__quote-body dd {
  color: var(--home-ink);
  font-variant-numeric: tabular-nums;
}

.public-home__quote-body dl > div:last-child {
  min-height: 3.4rem;
  color: var(--home-ink);
  font-size: 0.8rem;
}

.public-home__quote-body dl > div:last-child dd {
  color: var(--home-green-dark);
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-size: 1.7rem;
  font-weight: 550;
}

.public-home__quote-action {
  display: flex;
  min-height: 3.65rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: #0d6d4d;
  color: white;
  font-size: 0.72rem;
}

.public-home__quote-action .material-symbols-outlined {
  font-size: 0.9rem;
}

.public-home__quote-action strong {
  font-weight: 550;
}

.public-home__split-copy--customer {
  max-width: 31rem;
}

.public-home__quiet-points {
  display: grid;
  margin-top: 2rem;
  border-top: 1px solid var(--home-line);
}

.public-home__quiet-points span {
  border-bottom: 1px solid var(--home-line-soft);
  padding-block: 0.8rem;
  color: #465148;
  font-size: 0.78rem;
}

.public-home__beta-section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.public-home__beta-panel {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 0.82fr) minmax(25rem, 1.18fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  border-radius: 1.5rem;
  background:
    radial-gradient(ellipse 55% 70% at 88% 18%, rgba(16, 185, 129, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 50% at 12% 88%, rgba(7, 131, 92, 0.22), transparent 50%),
    linear-gradient(145deg, #0f3428 0%, #123b2d 42%, #0d2f24 100%);
  padding: clamp(2rem, 5vw, 4.5rem);
  color: white;
  box-shadow: 0 30px 60px -40px rgba(15, 52, 40, 0.65);
}

.public-home__beta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.public-home__beta-panel::after {
  content: "";
  position: absolute;
  top: -12rem;
  right: -8rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, 0.018), 0 0 0 8rem rgba(255, 255, 255, 0.012);
  pointer-events: none;
}

.public-home__beta-copy,
.public-home__notify-form {
  position: relative;
  z-index: 1;
}

.public-home__eyebrow--light {
  color: #8be7b5;
}

.public-home__beta-copy h2 {
  font-size: clamp(2.7rem, 5vw, 4.25rem);
}

.public-home__beta-copy > p:last-child {
  max-width: 34rem;
  margin-top: 1.15rem;
  color: #c6d8cf;
  font-size: 0.92rem;
  line-height: 1.7;
}

.public-home__notify-form {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.075);
  padding: 0.65rem;
}

.public-home__notify-form > label {
  display: block;
  padding: 0.2rem 0.35rem 0.6rem;
  color: #b8cfc4;
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.public-home__notify-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.55rem;
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.35rem;
}

.public-home__notify-control > .material-symbols-outlined {
  margin-left: 0.5rem;
  color: var(--home-green);
  font-size: 1.15rem;
}

.public-home__notify-control input {
  min-width: 0;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--home-ink);
  font-size: 0.9rem;
  outline: 0;
}

.public-home__notify-control input::placeholder {
  color: #929d95;
}

.public-home__notify-control button {
  display: inline-flex;
  height: var(--btn-h);
  min-height: var(--btn-h);
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid transparent;
  border-radius: calc(var(--btn-radius) - 0.05rem);
  background: var(--btn-primary);
  padding: 0 0.95rem;
  color: #f7fbf8;
  font-size: var(--btn-font-sm);
  font-weight: var(--btn-weight);
  letter-spacing: var(--btn-track);
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  transition:
    background-color 140ms var(--btn-ease),
    transform 120ms var(--btn-ease),
    opacity 140ms var(--btn-ease);
}

.public-home__notify-control button:hover {
  background: var(--btn-primary-hover);
}

.public-home__notify-control button:active {
  background: var(--btn-primary-active);
  transform: scale(0.985);
}

.public-home__notify-control button:disabled {
  cursor: default;
  opacity: 0.55;
  transform: none;
}

.public-home__notify-control button .material-symbols-outlined {
  font-size: 0.95rem;
  opacity: 0.92;
  transition: transform 160ms var(--btn-ease);
}

.public-home__notify-control button:hover .material-symbols-outlined {
  transform: translateX(0.1rem);
}

.public-home__form-note,
.public-home__form-message {
  padding-inline: 0.35rem;
  font-size: 0.66rem;
  line-height: 1.5;
}

.public-home__form-note {
  margin-top: 0.6rem;
  color: #9eb9ac;
}

.public-home__form-message {
  min-height: 1rem;
  margin-top: 0.35rem;
}

.public-home__form-message.is-success { color: #8be7b5; }
.public-home__form-message.is-error { color: #fecaca; }

.public-home__footer {
  border-top: 1px solid var(--home-line);
  background: white;
}

.public-home__footer-grid {
  display: grid;
  min-height: 8.5rem;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 3rem;
}

.public-home__footer-grid > div > p,
.public-home__footer-grid > p {
  color: #78827a;
  font-size: 0.68rem;
}

.public-home__footer-grid > div > p {
  margin-top: 0.65rem;
}

.public-home__footer nav {
  display: flex;
  gap: 1.4rem;
  color: #526057;
  font-size: 0.72rem;
}

.public-home__footer-links a {
  display: inline-flex;
  align-items: center;
}

.public-inner-page {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
}

.public-inner-page > .public-home__footer {
  margin-top: auto;
}

.public-inner-hero {
  max-width: 52rem;
  padding-block: clamp(4rem, 8vw, 7rem) 3rem;
}

.public-inner-hero h1,
.public-login__context h1 {
  margin-top: 0.9rem;
  max-width: 13ch;
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.public-inner-hero > p:last-child,
.public-login__context > p:last-of-type {
  max-width: 38rem;
  margin-top: 1.3rem;
  color: var(--home-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.public-inner-hero--compact {
  max-width: none;
  padding-bottom: 2.25rem;
}

.public-inner-hero--compact h1 {
  max-width: none;
  font-size: clamp(2.8rem, 6vw, 4.7rem);
}

.public-pricing {
  padding-bottom: clamp(5rem, 8vw, 8rem);
}

.public-pricing__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.38fr);
  align-items: end;
  gap: clamp(2.5rem, 7vw, 7rem);
  padding-block: clamp(4.5rem, 9vw, 8rem) clamp(4rem, 7vw, 6.5rem);
}

.public-pricing__hero h1 {
  max-width: 12ch;
  margin-top: 0.9rem;
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.88;
}

.public-pricing__lead {
  max-width: 39rem;
  margin-top: 1.5rem;
  color: var(--home-muted);
  font-size: clamp(0.96rem, 1.4vw, 1.08rem);
  line-height: 1.7;
}

.public-pricing__hero-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: 1.75rem;
}

.public-pricing__hero-actions > span {
  max-width: 15rem;
  color: #6f7b73;
  font-size: 0.7rem;
  line-height: 1.5;
}

.public-pricing__beta-card {
  position: relative;
  overflow: hidden;
  border-block: 1px solid #a5c9b3;
  padding: 1.5rem 0.25rem 1.5rem 1.5rem;
}

.public-pricing__beta-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.2rem;
  background: var(--home-green);
  content: "";
}

.public-pricing__beta-card > strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--home-green-dark);
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-size: 4.2rem;
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.public-pricing__beta-card > p { margin-top: 0.3rem; color: #647068; font-size: 0.74rem; }
.public-pricing__beta-card ul { display: grid; gap: 0.65rem; margin-top: 1.35rem; }
.public-pricing__beta-card li { display: flex; align-items: center; gap: 0.55rem; color: #465149; font-size: 0.76rem; }
.public-pricing__beta-card li span { color: var(--home-green); }

.public-pricing__use-cases,
.public-pricing__after-beta,
.public-pricing__faq {
  border-top: 1px solid var(--home-line);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.public-pricing__section-intro { max-width: 42rem; }
.public-pricing__section-intro h2 {
  margin-top: 0.75rem;
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.public-pricing__section-intro > p:last-child,
.public-pricing__section-intro--row > p { margin-top: 1rem; color: var(--home-muted); font-size: 0.9rem; line-height: 1.7; }

.public-pricing__section-intro--row {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.55fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: 2rem;
}

.public-pricing__capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2.5rem; border-block: 1px solid var(--home-line); }
.public-pricing__capabilities article { min-width: 0; padding: 1.5rem; }
.public-pricing__capabilities article + article { border-left: 1px solid var(--home-line); }
.public-pricing__capabilities article > span { color: #849087; font-size: 0.66rem; letter-spacing: 0.12em; }
.public-pricing__capabilities h3 { margin-top: 2rem; font-family: Newsreader, ui-serif, Georgia, serif; font-size: 1.6rem; font-weight: 500; }
.public-pricing__capabilities p { margin-top: 0.65rem; color: var(--home-muted); font-size: 0.78rem; line-height: 1.65; }

.public-pricing__faq { display: grid; grid-template-columns: minmax(16rem, 0.55fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 7rem); }
.public-pricing__faq-list { border-top: 1px solid var(--home-line); }
.public-pricing__faq-list details { border-bottom: 1px solid var(--home-line); padding-block: 1rem; }
.public-pricing__faq-list summary { display: flex; justify-content: space-between; gap: 1rem; cursor: pointer; font-family: Newsreader, ui-serif, Georgia, serif; font-size: 1.2rem; list-style: none; }
.public-pricing__faq-list summary::after { color: var(--home-green); content: "+"; }
.public-pricing__faq-list details[open] summary::after { content: "−"; }
.public-pricing__faq-list p { max-width: 42rem; padding: 0.8rem 2rem 0 0; color: var(--home-muted); font-size: 0.8rem; line-height: 1.65; }

.public-pricing__billing-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0.5rem 0 1.5rem 50%;
  border: 1px solid #cbd8cf;
  border-radius: 999px;
  background: #eaf1ec;
  padding: 0.22rem;
  transform: translateX(-50%);
}

.public-pricing__billing-switch label {
  position: relative;
  display: flex;
  min-height: 2.35rem;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  color: #637068;
  cursor: pointer;
  font-size: 0.72rem;
  transition: background-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.public-pricing__billing-switch label.is-selected {
  background: #fff;
  color: var(--home-green-dark);
  box-shadow: 0 5px 16px -12px rgba(5, 85, 60, 0.6);
}

.public-pricing__billing-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.public-pricing__billing-switch label:has(input:focus-visible) {
  outline: 3px solid rgba(16, 185, 129, 0.3);
  outline-offset: 2px;
}

.public-pricing__billing-switch small {
  border-radius: 999px;
  background: #d6eadc;
  padding: 0.18rem 0.42rem;
  color: #076446;
  font-size: 0.56rem;
  white-space: nowrap;
}

.public-pricing__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 1rem;
}

.public-pricing-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 32rem;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d5ddd7;
  border-radius: 1.35rem;
  background: #fbfbf7;
  padding: 1.5rem;
  box-shadow: 0 22px 46px -40px rgba(22, 52, 39, 0.35);
}

.public-pricing-card--beta {
  background:
    linear-gradient(rgba(9, 113, 77, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 113, 77, 0.025) 1px, transparent 1px),
    #fbfbf7;
  background-size: 1.65rem 1.65rem;
}

.public-pricing-card--primary {
  border-color: #0a4f39;
  background: #073d2d;
  color: #f5f8f2;
  box-shadow: 0 28px 58px -38px rgba(5, 70, 49, 0.78);
  transform: translateY(-0.45rem);
}

.public-pricing-card--primary::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(114, 213, 161, 0.18), transparent 29%),
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: auto, 2rem 2rem, 2rem 2rem;
  content: "";
  pointer-events: none;
}

.public-pricing-card--primary > * {
  position: relative;
}

.public-pricing-card--team {
  border-color: #c5d9cb;
  background: #eff6f1;
}

.public-pricing-card__topline {
  display: flex;
  min-height: 1.7rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.public-pricing-card__topline h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 550;
  letter-spacing: -0.015em;
}

.public-pricing-card__badge {
  border: 1px solid #bfd4c6;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  color: #176348;
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.public-pricing-card--primary .public-pricing-card__badge {
  border-color: rgba(207, 238, 218, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #d8f3e1;
}

.public-pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-variant-numeric: tabular-nums;
}

.public-pricing-card__price strong {
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-size: clamp(2.8rem, 4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.95;
  white-space: nowrap;
}

.public-pricing-card__price > span {
  color: #748078;
  font-size: 0.7rem;
}

.public-pricing-card--primary .public-pricing-card__price > span {
  color: #abc7b7;
}

.public-pricing-card__description {
  min-height: 3.25rem;
  margin-top: 0.8rem;
  color: #667169;
  font-size: 0.75rem;
  line-height: 1.55;
}

.public-pricing-card--primary .public-pricing-card__description {
  color: #b8cbbf;
}

.public-pricing-card__features {
  display: grid;
  gap: 0.72rem;
  margin-top: 1.3rem;
}

.public-pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #455149;
  font-size: 0.72rem;
  line-height: 1.45;
}

.public-pricing-card__features li > span {
  display: grid;
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  place-items: center;
  margin-top: 0.03rem;
  border-radius: 999px;
  background: #dcefe3;
  color: #087552;
  font-size: 0.63rem;
}

.public-pricing-card--primary .public-pricing-card__features li {
  color: #d7e5db;
}

.public-pricing-card--primary .public-pricing-card__features li > span {
  background: rgba(134, 224, 172, 0.14);
  color: #9be2b8;
}

.public-pricing-card__team-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.2rem;
  border-top: 1px solid #d3e2d7;
  padding-top: 1rem;
}

.public-pricing-card__team-control > label {
  color: #5f6d63;
  font-size: 0.68rem;
}

.public-pricing__stepper {
  display: grid;
  grid-template-columns: 2.15rem 2.6rem 2.15rem;
  overflow: hidden;
  border: 1px solid var(--btn-ghost-border);
  border-radius: var(--btn-radius);
  background: white;
}

.public-pricing__stepper button,
.public-pricing__stepper input {
  height: var(--btn-h-sm);
  border: 0;
  background: transparent;
  text-align: center;
}

.public-pricing__stepper button {
  color: var(--btn-ink);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 140ms var(--btn-ease), color 140ms var(--btn-ease);
}

.public-pricing__stepper button:hover {
  background: var(--btn-ghost-hover);
  color: var(--btn-primary);
}

.public-pricing__stepper button:active {
  background: #e9eee9;
}

.public-pricing__stepper input {
  min-width: 0;
  color: var(--home-ink);
  font-size: var(--btn-font-sm);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.public-pricing__stepper input::-webkit-inner-spin-button { appearance: none; }

.public-pricing-card__team-total {
  display: grid;
  gap: 0.18rem;
  margin-top: 0.85rem;
  color: #647168;
  font-size: 0.64rem;
}

.public-pricing-card__team-total strong {
  color: var(--home-green-dark);
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.public-pricing-card__team-total small {
  color: #66736a;
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
}

.public-pricing-card__action {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  border: 1px solid #cbd6ce;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.66);
  color: var(--home-green-dark);
  font-size: 0.72rem;
  font-weight: 550;
  transition: border-color 170ms ease, background-color 170ms ease, color 170ms ease, transform 170ms ease;
}

.public-pricing-card__action:hover {
  border-color: #81b79a;
  background: #fff;
  transform: translateY(-1px);
}

.public-pricing-card__action span {
  font-size: 0.95rem;
  transition: transform 170ms ease;
}

.public-pricing-card__action:hover span {
  transform: translateX(0.16rem);
}

.public-pricing-card__action--primary {
  border-color: #f2f7f1;
  background: #f2f7f1;
  color: #073d2d;
}

.public-pricing-card__action--primary:hover {
  border-color: #fff;
  background: #fff;
}

.public-pricing__billing-note {
  max-width: 46rem;
  margin: 1.35rem auto 0;
  color: #68746c;
  font-size: 0.68rem;
  line-height: 1.55;
  text-align: center;
}

.public-legal {
  padding-bottom: clamp(5rem, 8vw, 8rem);
}

.public-legal__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15rem;
  grid-template-areas: "article aside";
  align-items: start;
  gap: clamp(2.5rem, 7vw, 7rem);
  border-top: 1px solid var(--home-line);
  padding-top: 2rem;
}

.public-legal__article {
  grid-area: article;
  max-width: 47rem;
}

.public-legal__article section {
  display: grid;
  grid-template-columns: minmax(9rem, 0.34fr) minmax(0, 1fr);
  gap: 1.5rem;
  border-bottom: 1px solid var(--home-line-soft);
  padding-block: 1.6rem;
}

.public-legal__article section:first-child { padding-top: 0; }

.public-legal__article h2 {
  margin: 0;
  color: var(--home-ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 550;
  line-height: 1.45;
}

.public-legal__article p {
  margin: 0;
  color: #56625a;
  font-size: 0.82rem;
  line-height: 1.78;
}

.public-legal__article a,
.public-legal__aside a {
  color: var(--home-green-dark);
  text-decoration: underline;
  text-decoration-color: #a8d9bf;
  text-underline-offset: 0.2rem;
}

.public-legal__aside {
  grid-area: aside;
  position: sticky;
  top: 6rem;
  border-left: 1px solid var(--home-line);
  padding-left: 1.25rem;
}

.public-legal__aside nav {
  display: grid;
  margin-top: 0.65rem;
}

.public-legal__aside nav a {
  border-bottom: 1px solid var(--home-line-soft);
  padding-block: 0.65rem;
  color: #67736b;
  font-size: 0.72rem;
  text-decoration: none;
}

.public-legal__aside nav a[aria-current="page"] {
  color: var(--home-green-dark);
  font-weight: 550;
}

.public-legal__aside > div {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.25rem;
}

.public-legal__aside small { color: #7b867e; font-size: 0.65rem; }
.public-legal__aside > div a { overflow-wrap: anywhere; font-size: 0.72rem; }

.public-login-page { background: #f4f6f2; }

.public-login {
  display: grid;
  min-height: calc(100svh - 4.75rem);
  grid-template-columns: minmax(0, 1fr) minmax(21rem, 27rem);
  align-items: center;
  gap: clamp(3rem, 9vw, 9rem);
  padding-block: 4rem;
}

.public-login__context {
  max-width: 42rem;
}

.public-login__project {
  display: grid;
  max-width: 34rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  border-block: 1px solid #cfd8d1;
  padding-block: 1rem;
}

.public-login__project > div { display: grid; gap: 0.25rem; }
.public-login__project > div strong { font-family: Newsreader, ui-serif, Georgia, serif; font-size: 1.3rem; font-weight: 500; }
.public-login__project > .material-symbols-outlined { color: var(--home-green); }
.public-login__project dl { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.public-login__project dl > div { display: grid; gap: 0.15rem; border-right: 1px solid #dfe5e0; }
.public-login__project dl > div:last-child { border-right: 0; }
.public-login__project dt { color: #7b867e; font-size: 0.6rem; }
.public-login__project dd { font-size: 0.72rem; }

.public-login__form {
  border: 1px solid var(--home-line);
  border-radius: 1rem;
  background: white;
  padding: 1.5rem;
  box-shadow: 0 28px 55px -48px rgba(27, 43, 34, 0.45);
}

.public-login__form > div:first-child > p:last-child {
  margin-top: 0.45rem;
  color: #748078;
  font-size: 0.72rem;
  line-height: 1.5;
}

.public-login__social { display: grid; gap: 0.5rem; margin-top: 1.25rem; }
.public-login__social a {
  display: flex;
  height: var(--btn-h);
  min-height: var(--btn-h);
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--btn-ghost-border);
  border-radius: var(--btn-radius);
  background: rgba(255, 255, 255, 0.8);
  color: var(--btn-ink);
  font-size: var(--btn-font-sm);
  font-weight: var(--btn-weight);
  letter-spacing: var(--btn-track);
  transition:
    border-color 140ms var(--btn-ease),
    background-color 140ms var(--btn-ease),
    color 140ms var(--btn-ease);
}
.public-login__social a:hover {
  border-color: #c5cfc8;
  background: var(--btn-ghost-hover);
  color: var(--home-ink);
}
.public-login__social a:active {
  background: #e9eee9;
  transform: scale(0.99);
}
.public-login__social a > span { font-size: 0.9rem; opacity: 0.9; }
.public-login__separator { display: flex; align-items: center; gap: 0.65rem; margin-block: 1rem; color: #8a958c; font-size: 0.62rem; }
.public-login__separator::before,
.public-login__separator::after { content: ""; flex: 1; height: 1px; background: var(--home-line-soft); }

.public-login__fields { display: grid; gap: 1rem; margin-top: 1.4rem; }
.public-login__fields label { display: grid; gap: 0.38rem; }
.public-login__fields label > span { color: #667169; font-size: 0.68rem; font-weight: 500; }
.public-login__fields input {
  width: 100%;
  height: var(--btn-h-lg);
  border: 1px solid var(--btn-ghost-border);
  border-radius: var(--btn-radius);
  background: white;
  padding-inline: 0.85rem;
  color: var(--home-ink);
  font-size: 0.875rem;
  outline: 0;
  transition: border-color 140ms var(--btn-ease), box-shadow 140ms var(--btn-ease);
}
.public-login__fields input:focus {
  border-color: rgba(12, 107, 79, 0.45);
  box-shadow: 0 0 0 3px rgba(12, 107, 79, 0.1);
}
.public-login__reset {
  justify-self: start;
  min-height: var(--btn-h-sm);
  display: inline-flex;
  align-items: center;
  border-radius: var(--btn-radius);
  padding-inline: 0.35rem;
  color: var(--btn-primary);
  font-size: var(--btn-font-sm);
  font-weight: var(--btn-weight);
  letter-spacing: var(--btn-track);
  transition: background-color 140ms var(--btn-ease), color 140ms var(--btn-ease);
}
.public-login__reset:hover {
  background: rgba(12, 107, 79, 0.06);
  color: var(--btn-primary-hover);
}
.public-login__fields .public-home__button {
  width: 100%;
  height: var(--btn-h-lg);
  min-height: var(--btn-h-lg);
  margin-top: 0.15rem;
  cursor: pointer;
}
.public-login__error { border-left: 3px solid #dc6969; background: #fff5f5; padding: 0.75rem; color: #8f3535; font-size: 0.72rem; line-height: 1.5; }
.public-login__beta { margin-top: 1.2rem; color: #748078; font-size: 0.68rem; text-align: center; }
.public-login__beta a { color: var(--home-green-dark); text-decoration: underline; text-decoration-color: #a8d9bf; text-underline-offset: 0.2rem; }

.public-home :is(a, button, input):focus-visible {
  outline: 2px solid rgba(12, 107, 79, 0.45);
  outline-offset: 2px;
}

.public-home__button:focus-visible,
.public-home__text-link:focus-visible,
.public-home__login:focus-visible,
.public-home__notify-control button:focus-visible {
  outline: 2px solid rgba(12, 107, 79, 0.5);
  outline-offset: 2px;
}

@keyframes public-home-rise {
  from { opacity: 0; transform: translateY(0.8rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes public-home-text-update {
  0% { opacity: 0.35; transform: translateY(0.2rem); }
  100% { opacity: 1; transform: translateY(0); }
}

.public-home [data-reveal].will-reveal {
  opacity: 0;
  transform: translateY(1.15rem);
  transition:
    opacity var(--home-motion-enter) var(--home-motion-ease),
    transform var(--home-motion-enter) var(--home-motion-ease);
  transition-delay: var(--home-motion-delay);
}

.public-home [data-reveal].will-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.public-home [data-reveal="settle"].will-reveal {
  transform: translateY(0.8rem) scale(0.985);
}

.public-home [data-reveal="settle"].will-reveal.is-visible {
  transform: translateY(0) scale(1);
}

.public-home [data-reveal-group].will-reveal > .reveal-child {
  opacity: 0;
  transform: translateY(1.15rem);
  transition:
    opacity var(--home-motion-enter) var(--home-motion-ease),
    transform var(--home-motion-enter) var(--home-motion-ease);
  transition-delay: calc(var(--home-motion-delay) + var(--reveal-order, 0) * var(--home-motion-stagger));
}

.public-home [data-reveal-group].will-reveal.is-visible > .reveal-child {
  opacity: 1;
  transform: translateY(0);
}

.public-home [data-reveal-group="split"].will-reveal > .reveal-child:first-child {
  transform: translate(-1.25rem, 0.35rem);
}

.public-home [data-reveal-group="split"].will-reveal > .reveal-child:last-child {
  transform: translate(1.25rem, 0.35rem);
}

.public-home [data-reveal-group="split"].will-reveal.is-visible > .reveal-child {
  transform: translate(0, 0);
}

.public-home [data-reveal-group="settle"].will-reveal > .reveal-child {
  transform: translateY(0.75rem) scale(0.985);
}

.public-home [data-reveal-group="settle"].will-reveal.is-visible > .reveal-child {
  transform: translateY(0) scale(1);
}

.public-home [data-reveal-group="fade"].will-reveal > .reveal-child {
  transform: none;
}

@media (max-width: 1023px) {
  .public-home__container { width: min(100% - 9rem, 76rem); }
  .public-home__nav { gap: 1rem; }
  .public-home__nav-links {
    gap: 0.1rem;
    font-size: 0.78rem;
  }
  .public-home__nav-links a {
    min-height: 2rem;
    padding-inline: 0.55rem;
  }
  .public-home__nav-actions { gap: 0.3rem; }
  .public-home__header .public-home__login {
    font-size: 0.78rem;
    min-height: 2rem;
    padding-inline: 0.55rem;
  }
  .public-home__header .public-home__button--small {
    height: 2rem;
    min-height: 2rem;
    padding-inline: 0.75rem;
    font-size: 0.78rem;
    border-radius: 0.6rem;
  }

  .public-home__split,
  .public-home__customer-grid,
  .public-home__beta-panel {
    grid-template-columns: 1fr;
  }

  .public-home__calc-preview { grid-template-columns: 12rem minmax(0, 1fr); }
  .public-home__moment-row { grid-template-columns: 9.5rem minmax(0, 1fr) auto; }

  .public-home__mock-rooms > span,
  .public-home__mock-rooms > button { height: 2.35rem; }

  .public-home__hero-grid {
    min-height: 28rem;
    grid-template-columns: minmax(20.8rem, 0.95fr) minmax(24rem, 1.05fr);
    align-items: start;
    gap: 1rem;
    padding-block: 5.25rem 3.25rem;
  }

  .public-home__hero-copy { max-width: 31rem; }
  .public-home__hero h1 { max-width: none; font-size: 2.8rem; }
  .public-home__lead { max-width: 22rem; margin-top: 1.2rem; font-size: 0.58rem; line-height: 1.65; }
  .public-home__hero-actions { margin-top: 1.45rem; }
  .public-home__hero-actions .public-home__button {
    --hero-btn-h: 2.4rem;
    height: var(--hero-btn-h);
    min-height: var(--hero-btn-h);
    padding-inline: 0.95rem;
    font-size: 0.8125rem;
    border-radius: 0.7rem;
  }
  .public-home__text-link {
    height: var(--btn-h-sm);
    min-height: var(--btn-h-sm);
    font-size: var(--btn-font-sm);
  }
  .public-home__project-topbar { min-height: 3rem; }
  .public-home__mock-nav { min-height: 1.65rem; }
  .public-home__mock-rooms { gap: 0.35rem; padding-block: 0.4rem 0.5rem; }
  .public-home__project-window {
    --mock-row-h: 1.28rem;
    min-height: 22.5rem;
  }
  .public-home__mock-workspace {
    height: 12.2rem;
    min-height: 12.2rem;
    max-height: 12.2rem;
  }
  .public-home__mock-total {
    height: 1.95rem;
    min-height: 1.95rem;
    max-height: 1.95rem;
  }
  .public-home__mock-footer { min-height: 1.9rem; }
  .public-home__mock-nav { gap: 0.62rem; }
  .public-home__flow-section { padding-block: 2.5rem 4rem; }
  .public-home__flow-lead { grid-template-columns: minmax(14rem, 0.65fr) minmax(24rem, 1.35fr); gap: 2.5rem; }
  .public-home__flow-lead .public-home__section-intro { position: relative; top: 0.65rem; }
  .public-home__flow-lead .public-home__section-intro h2 { font-size: 1.85rem; }
  .public-home__flow-lead .public-home__section-intro > p:last-child { max-width: 15rem; margin-top: 0.85rem; font-size: 0.62rem; line-height: 1.6; }
  .public-home__workday-media { top: -1rem; width: 27.6rem; height: 8.8rem; min-height: 8.8rem; margin-left: 0.5rem; justify-self: start; }
  .public-home__flow { margin-top: 2.35rem; }
  .public-home__split-copy,
  .public-home__split-copy--customer { max-width: 42rem; }
  .public-home__board { width: 100%; }
  .public-home__customer-grid { gap: 3.5rem; }
  .public-home__quote-preview { width: min(100%, 43rem); }
  .public-home__beta-panel { gap: 2.5rem; }
  .public-home__footer-grid { grid-template-columns: 1fr auto; }
  .public-home__footer-grid > p { grid-column: 1 / -1; padding-bottom: 1.4rem; }
  .public-pricing__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .public-pricing-card--primary { transform: none; }
  .public-pricing-card--team { grid-column: 1 / -1; min-height: 27rem; }
  .public-login { grid-template-columns: 1fr minmax(20rem, 25rem); gap: 3rem; }
}

@media (max-width: 860px) {
  .public-home__nav-links { display: none; }
  .public-home__nav { grid-template-columns: 1fr auto; }

  .public-home__hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .public-home__flow-lead { grid-template-columns: 1fr; }
  .public-home__flow-lead .public-home__section-intro { top: 0; }
  .public-home__workday-media { top: 0; width: 100%; min-height: 18rem; margin-left: 0; }
  .public-home__hero-copy { max-width: 38rem; }
  .public-home__hero-metrics { max-width: 100%; }
  .public-home__plan-stage {
    min-height: 22rem;
    justify-items: stretch;
  }
  .public-home__plan-card {
    justify-self: stretch;
    width: 100%;
  }
  .public-home__plan-rooms {
    justify-self: start;
    max-width: none;
  }

  .public-home__calc-preview { grid-template-columns: 1fr; }
  .public-home__calc-rail { display: none; }
}

@media (max-width: 767px) {
  .public-home__fit-chain::before { display: none; }
  .public-home__fit-chain { gap: 0.5rem 1.9rem; }

  .public-home__container { width: min(100% - 2.25rem, 76rem); }
  /* Keep sticky on landing; compact via --header-t */
  .public-home__header,
  .public-home > .public-home__header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
  }
  .public-home__nav {
    min-height: calc(3.55rem - var(--header-t) * 0.4rem);
    gap: 0.75rem;
  }
  .public-home__brand {
    font-size: calc(1.22rem - var(--header-t) * 0.08rem);
    gap: calc(0.55rem - var(--header-t) * 0.06rem);
  }
  .public-home__brand-mark {
    grid-template-columns: repeat(2, calc(0.46rem - var(--header-t) * 0.05rem));
    gap: calc(0.14rem - var(--header-t) * 0.02rem);
  }
  .public-home__brand-mark span {
    width: calc(0.46rem - var(--header-t) * 0.05rem);
    height: calc(0.46rem - var(--header-t) * 0.05rem);
  }
  .public-home__nav-actions { gap: 0.3rem; }
  .public-home__header .public-home__login {
    font-size: calc(0.84rem - var(--header-t) * 0.03rem);
    min-height: calc(2.25rem - var(--header-t) * 0.15rem);
  }
  .public-home__header .public-home__button--small {
    height: calc(2.25rem - var(--header-t) * 0.18rem);
    min-height: calc(2.25rem - var(--header-t) * 0.18rem);
    padding-inline: calc(0.85rem - var(--header-t) * 0.06rem);
    font-size: calc(0.8125rem - var(--header-t) * 0.02rem);
    border-radius: 0.65rem;
  }
  .public-home__hero::before {
    -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.72) 68%, transparent);
    mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.72) 68%, transparent);
  }
  .public-home__hero::after { display: none; }
  .public-home__hero-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding-block: 1.15rem 1.35rem;
  }
  .public-home__hero-copy { max-width: 100%; }
  .public-home__product-scroll {
    min-height: auto;
    overflow: hidden;
    padding-block: 4.5rem 4rem;
    perspective: none;
  }
  .public-home__product-intro { text-align: left; }
  .public-home__product-intro .public-home__eyebrow { justify-content: flex-start; }
  .public-home__product-intro h2 {
    font-size: clamp(2.65rem, 12vw, 3.65rem);
    line-height: 0.96;
  }
  .public-home__product-intro > p:last-child {
    margin: 1rem 0 0;
    font-size: 0.92rem;
    line-height: 1.62;
  }
  .public-home__product-stage {
    position: relative;
    top: auto;
    width: min(100% - 1rem, 76rem);
    margin-top: 2.35rem;
  }
  .public-home__product-window {
    border-radius: 0.85rem;
    box-shadow: 0 30px 60px -46px rgba(19, 49, 30, 0.7);
    transform: none;
    will-change: auto;
  }
  .public-home__gradual-blur { height: 4.5rem; }
  .public-home__product-bar { min-height: 2.55rem; padding-inline: 0.7rem; }
  .public-home__window-address { min-width: 0; padding-inline: 0.7rem; font-size: 0.52rem; }
  .public-home__window-status { font-size: 0.55rem; }
  .public-home__calc-preview { min-height: 24rem; }
  .public-home__calc-main { padding: 0.8rem 0.65rem 0.95rem; }
  .public-home__calc-head h3 { font-size: 1.25rem; }
  .public-home__calc-total strong { font-size: 1.12rem; }
  .public-home__calc-composer { margin-top: 0.75rem; }
  .public-home__calc-composer span { font-size: 0.62rem; }
  .public-home__calc-tabs span { padding-inline: 0.45rem; }
  .public-home__moment-row { grid-template-columns: minmax(7.75rem, 0.85fr) minmax(4rem, 1fr) auto; }
  .public-home__moment-toggle { gap: 0.35rem; padding-inline: 0.48rem; }
  .public-home__moment-options { padding-inline: 0.4rem; }
  .public-home__moment-options button:not(:first-child) { display: none; }
  .public-home__stepper {
    grid-template-columns: 1.3rem minmax(2.4rem, auto) 1.3rem;
    margin-right: 0.4rem;
  }
  .public-home__hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
    margin-top: 1rem;
    gap: 0;
  }
  .public-home__hero-metrics li {
    border-right: 1px solid rgba(220, 227, 221, 0.85);
    border-bottom: 0;
    padding: 0.55rem 0.45rem 0 0;
    gap: 0.15rem;
  }
  .public-home__hero-metrics li:last-child {
    border-right: 0;
    padding-right: 0;
  }
  .public-home__hero-metrics strong {
    font-size: 0.62rem;
    line-height: 1.2;
  }
  .public-home__hero-metrics span {
    font-size: 0.58rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .public-home__eyebrow {
    max-width: 100%;
    gap: 0.5rem;
    font-size: 0.62rem;
    line-height: 1.3;
  }
  .public-home__hero h1 {
    margin-top: 0.75rem;
    font-size: clamp(2.35rem, 10.5vw, 2.95rem);
    line-height: 0.98;
  }
  .public-home__hero h1 span { white-space: nowrap; }
  .public-home__lead {
    max-width: 28rem;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.55;
  }
  .public-home__hero-actions {
    margin-top: 1rem;
    gap: 0.35rem 0.55rem;
  }
  .public-home__hero-actions .public-home__button:not(.public-home__button--ghost) {
    width: auto;
    flex: 1 1 auto;
    max-width: 100%;
    --hero-btn-h: 2.55rem;
    height: var(--hero-btn-h);
    min-height: var(--hero-btn-h);
    padding-inline: 1.05rem;
    font-size: 0.85rem;
    border-radius: 0.75rem;
  }
  /* Secondary as quiet text-link on mobile */
  .public-home__hero-actions .public-home__button--ghost,
  .public-home__hero-actions .public-home__hero-secondary {
    width: auto;
    height: 2.4rem;
    min-height: 2.4rem;
    border-color: transparent;
    background: transparent;
    padding-inline: 0.45rem;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: #3f4a43;
    font-size: 0.82rem;
  }
  .public-home__hero-actions .public-home__button--ghost:hover,
  .public-home__hero-actions .public-home__hero-secondary:hover {
    background: rgba(23, 32, 27, 0.04);
    border-color: transparent;
    color: #141a16;
  }
  .public-home__hero-actions .public-home__text-link,
  .public-home__workday-media,
  .public-home__board,
  .public-home__quote-preview { display: none; }
  .public-home__plan-stage {
    display: grid;
    min-height: min(44svh, 22rem);
    margin-top: 0.35rem;
    gap: 0.55rem;
    align-content: stretch;
  }
  .public-home__plan-card {
    width: min(100%, 100%);
    justify-self: stretch;
    padding: 0.55rem 0.25rem 0.4rem;
  }
  .public-home__plan-card-head {
    padding-bottom: 0.45rem;
  }
  .public-home__plan-card-head strong {
    font-size: 1.02rem;
  }
  .public-home__plan-card-head small {
    font-size: 0.62rem;
  }
  .public-home__plan-moments li {
    min-height: 1.28rem;
    font-size: 0.66rem;
  }
  .public-home__plan-moments li:nth-child(n + 4) {
    display: none; /* compact card: first 3 moments */
  }
  .public-home__plan-total {
    margin-top: 0.35rem;
    padding-top: 0.4rem;
  }
  .public-home__plan-total strong {
    font-size: 1.05rem;
  }
  .public-home__plan-rooms {
    justify-self: stretch;
    max-width: none;
  }
  .public-home__mock-footer { padding-inline: 0.75rem; }
  .public-home__fit { padding-block: 1.35rem 1.5rem; }
  .public-home__fit p { max-width: 21rem; margin-inline: auto; font-size: 0.66rem; line-height: 1.55; }

  .public-home__section { padding-block: 3.85rem; }
  .public-home__flow-section { padding-block: 3.85rem 3.4rem; }
  .public-home__flow-lead { display: block; }
  .public-home__flow-lead .public-home__section-intro h2,
  .public-home__split-copy h2 { font-size: clamp(2.3rem, 10.5vw, 3.1rem); line-height: 1; }
  .public-home__flow-lead .public-home__section-intro > p:last-child,
  .public-home__split-copy > p { margin-top: 1.2rem; font-size: 1rem; line-height: 1.7; }
  .public-home__flow-lead .public-home__section-intro > p:last-child { max-width: 31rem; }
  .public-home__flow { grid-template-columns: 1fr; margin-top: 2.35rem; border-top: 0; border-left: 1px solid #bcc7bf; }
  .public-home__flow::after {
    top: 0;
    right: auto;
    bottom: 0;
    left: -1px;
    width: 1px;
    height: auto;
    transform: scaleY(var(--flow-scroll-progress));
    transform-origin: center top;
  }
  .public-home__flow li { padding: 0 0 1.8rem 1.35rem; }
  .public-home__flow li:last-child { padding-bottom: 0; }
  .public-home__flow li::before { top: 0.28rem; left: -0.29rem; }
  .public-home__flow h3 { margin-top: 0.35rem; font-size: 1.3rem; }
  .public-home__flow p { max-width: 28rem; margin-top: 0.45rem; font-size: 0.94rem; line-height: 1.6; }
  .public-home__flow-response {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    margin-top: 1.75rem;
    padding-block: 1rem;
  }
  .public-home__flow-response strong { font-size: 0.94rem; }
  .public-home__flow-response p { margin-top: 0.15rem; font-size: 0.86rem; line-height: 1.55; }
  .public-home__flow-progress { grid-column: 1 / -1; width: 100%; }
  .public-home__board-columns { grid-template-columns: 1fr; }
  .public-home__board-columns > div + div { border-top: 1px solid var(--home-line-soft); border-left: 0; }
  .public-home__board-columns > div:nth-child(3) article { margin-bottom: 0; }
  .public-home__verified { display: none; }
  .public-home__quote-body { padding: 1.5rem 1.15rem 1.2rem; }
  .public-home__quote-body h3 { font-size: 1.7rem; }
  .public-home__quote-body > p { font-size: 0.85rem; }
  .public-home__control-section { background: #f3f6f2; }
  .public-home__split,
  .public-home__customer-grid { display: block; }
  .public-home__benefit-list { margin-top: 1.9rem; }
  .public-home__benefit-list li { gap: 0.9rem; padding-block: 1rem; }
  .public-home__benefit-list strong { font-size: 0.98rem; }
  .public-home__benefit-list p { margin-top: 0.35rem; font-size: 0.9rem; line-height: 1.6; }
  .public-home__quiet-points { margin-top: 1.75rem; }
  .public-home__quiet-points span { padding-block: 0.9rem; font-size: 0.9rem; }
  .public-home__beta-section { padding-block: 3.5rem; }
  .public-home__beta-panel { gap: 1.75rem; padding: 1.75rem 1.35rem; border-radius: 1.2rem; }
  .public-home__beta-copy h2 { font-size: clamp(2.3rem, 10vw, 2.9rem); line-height: 1; }
  .public-home__beta-copy > p:last-child { font-size: 0.96rem; line-height: 1.65; }
  .public-home__notify-form { border: 0; background: transparent; padding: 0; }
  .public-home__notify-form > label { padding-bottom: 0.7rem; font-size: 0.68rem; }
  .public-home__notify-control { grid-template-columns: auto minmax(0, 1fr); }
  .public-home__notify-control input { font-size: 1rem; }
  .public-home__notify-control button {
    grid-column: 1 / -1;
    width: 100%;
    height: 2.75rem;
    min-height: 2.75rem;
    font-size: 0.875rem;
  }
  .public-home__form-note,
  .public-home__form-message { font-size: 0.8rem; line-height: 1.55; }
  .public-home__footer-grid { grid-template-columns: 1fr; gap: 1.25rem; padding-block: 1.75rem 1.25rem; }
  .public-home__footer-grid > div > p,
  .public-home__footer-grid > p { font-size: 0.8rem; line-height: 1.55; }
  .public-home__footer nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--home-line-soft);
  }
  .public-home__footer-links a {
    min-height: 3rem;
    border-bottom: 1px solid var(--home-line-soft);
    font-size: 0.88rem;
  }
  .public-home__footer-links a:nth-child(even) { padding-left: 0.9rem; }
  .public-home__footer-grid > p { grid-column: auto; padding: 0.1rem 0 0; }
  .public-inner-hero { padding-block: 3.2rem 2rem; }
  .public-inner-hero h1 { font-size: clamp(2.65rem, 12vw, 3.45rem); }
  .public-login__context h1 { max-width: 12ch; font-size: clamp(2.4rem, 11vw, 3.15rem); }
  .public-pricing { padding-bottom: 4rem; }
  .public-pricing__hero { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3.5rem 3rem; }
  .public-pricing__hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .public-pricing__hero-actions { align-items: flex-start; flex-direction: column; }
  .public-pricing__beta-card { padding-left: 1.25rem; }
  .public-pricing__section-intro--row,
  .public-pricing__faq { grid-template-columns: 1fr; gap: 1.75rem; }
  .public-pricing__capabilities { grid-template-columns: 1fr; }
  .public-pricing__capabilities article + article { border-top: 1px solid var(--home-line); border-left: 0; }
  .public-pricing__capabilities h3 { margin-top: 1rem; }
  .public-pricing__cards { grid-template-columns: 1fr; }
  .public-pricing-card,
  .public-pricing-card--team { grid-column: auto; min-height: auto; padding: 1.25rem; }
  .public-pricing-card__description { min-height: 0; }
  .public-pricing-card__action { margin-top: 1.75rem; }
  .public-pricing-card__team-control { align-items: flex-start; flex-direction: column; }
  .public-pricing__billing-switch { max-width: 100%; }
  .public-pricing__stepper { align-self: stretch; grid-template-columns: 2.5rem 1fr 2.5rem; }
  .public-legal__layout { grid-template-columns: 1fr; grid-template-areas: "aside" "article"; gap: 1.75rem; }
  .public-legal__article section { grid-template-columns: 1fr; gap: 0.55rem; }
  .public-legal__aside { position: static; border-block: 1px solid var(--home-line); border-left: 0; padding-block: 0.9rem; padding-left: 0; }
  .public-legal__aside nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .public-legal__aside nav a { min-height: 2.6rem; padding: 0.75rem; border: 1px solid var(--home-line-soft); border-radius: 0.55rem; }
  .public-legal__aside > div { margin-top: 0.9rem; }
  .public-login { min-height: auto; grid-template-columns: 1fr; gap: 2rem; padding-block: 2.75rem; }
  .public-login-page .public-home__button--small,
  .public-login__context { display: none; }
  .public-login {
    display: block;
    width: min(100% - 2.25rem, 30rem);
    padding-block: 2rem 3.25rem;
  }
  .public-login__form {
    width: 100%;
    margin-inline: auto;
    padding: 1.35rem;
  }
  .public-login__form > div:first-child > p:last-child { font-size: 0.9rem; line-height: 1.6; }
  .public-login__social { margin-top: 1.35rem; }
  .public-login__social a {
    height: 2.75rem;
    min-height: 2.75rem;
    font-size: 0.875rem;
  }
  .public-login__separator { font-size: 0.78rem; }
  .public-login__fields { gap: 1.05rem; margin-top: 1.45rem; }
  .public-login__fields label { gap: 0.45rem; }
  .public-login__fields label > span { font-size: 0.82rem; }
  .public-login__fields input { height: 2.85rem; font-size: 1rem; }
  .public-login__reset { min-height: 2.25rem; display: inline-flex; align-items: center; font-size: 0.82rem; }
  .public-login__fields .public-home__button {
    height: 2.85rem;
    min-height: 2.85rem;
    font-size: 0.875rem;
  }
  .public-login__error { font-size: 0.88rem; }
  .public-login__beta { margin-top: 1.35rem; font-size: 0.82rem; line-height: 1.5; }
}

@media (max-width: 374px) {
  .public-home__nav-actions .public-home__login { display: none; }
  .public-login-page .public-home__nav-actions .public-home__login { display: inline-flex; }
  .public-home__container { width: min(100% - 1.75rem, 76rem); }
  .public-home__hero h1 { font-size: clamp(2.45rem, 12.5vw, 2.95rem); }
  .public-home__hero h1 span { white-space: normal; }
  .public-home__hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .public-home__hero-actions .public-home__button:not(.public-home__button--ghost) {
    width: 100%;
  }
  .public-home__hero-actions .public-home__button--ghost {
    width: 100%;
    justify-content: flex-start;
  }
  .public-home__hero-metrics {
    grid-template-columns: 1fr;
  }
  .public-home__hero-metrics li {
    border-right: 0;
    border-bottom: 1px solid rgba(220, 227, 221, 0.75);
    padding: 0.5rem 0;
  }
  .public-home__hero-metrics li:last-child {
    border-bottom: 0;
  }
  .public-home__plan-stage {
    min-height: min(40svh, 18.5rem);
  }
  .public-login { width: min(100% - 1.75rem, 30rem); }
  .public-login__form { padding: 1.15rem; }
  .public-home__mock-workspace { margin-inline: 0.55rem; }
  .public-home__mock-plan,
  .public-home__mock-calculation { padding-inline: 0.35rem; }
  .public-home__mock-section-head strong { font-size: 0.7rem; }
  .public-home__mock-calculation li { gap: 0.2rem; font-size: 0.44rem; }
  .public-pricing__billing-switch label { padding-inline: 0.65rem; }
  .public-pricing__billing-switch small { display: none; }
  .public-pricing-card__price strong { font-size: 2.6rem; }
  .public-legal__aside nav { grid-template-columns: 1fr; gap: 0.45rem; }
  .public-home__quote-body dl > div { align-items: flex-start; flex-direction: column; gap: 0.2rem; padding-block: 0.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.public-home) { scroll-behavior: auto; }
  .public-home__product-stage {
    position: relative;
    top: auto;
  }
  .public-home__product-window {
    transform: none;
    will-change: auto;
  }
  .public-home__hero-copy,
  .public-home__plan-card,
  .public-home__plan-card.is-swapping,
  .public-home__hero-metrics,
  .public-home [data-reveal].will-reveal,
  .public-home [data-reveal].will-reveal.is-visible,
  .public-home [data-reveal-group].will-reveal > .reveal-child,
  .public-home [data-reveal-group].will-reveal.is-visible > .reveal-child {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .public-home__mock-calculation li.is-updated {
    animation: none;
  }
  .public-home__flow li.is-active button {
    animation: none;
  }
  .public-home *,
  .public-home *::before,
  .public-home *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .public-home__button:hover,
  .public-home__button:active,
  .public-home__notify-control button:active,
  .public-login__social a:active {
    transform: none;
  }
}

@media (max-width: 860px) {
  .public-home__hero-metrics {
    max-width: 100%;
  }
}


.public-home__hero-intro { display: none; }

/* ── Mobil hero: logo-dans → flyger upp till header-brand ─────────────
   CSS: prickar + andning. JS (FLIP): placerar loggan i topbaren.
   Ingen WebGL / plan-split på mobil. */
@media (max-width: 767px) {
  .public-home__hero {
    display: grid;
    /* Headern (~3.6rem) ligger ovanför — dra av den så hela akten ryms i vyn */
    min-height: calc(100svh - 3.625rem);
    padding-block: 0;
    align-items: center;
    background:
      repeating-linear-gradient(0deg, rgba(52, 64, 58, 0.03) 0 1px, transparent 1px 44px),
      repeating-linear-gradient(90deg, rgba(52, 64, 58, 0.03) 0 1px, transparent 1px 44px),
      #f9faf6;
  }

  .public-home__hero::before,
  .public-home__hero::after,
  .public-home__hero-veil,
  .public-home__hero .public-home__eyebrow,
  .public-home__hero .public-home__lead,
  .public-home__hero .public-home__hero-metrics {
    display: none !important;
  }

  /* Sammanfattningen ligger på arket under ritningen — utanför flödet så
     den inte rubbar intro-centreringen, och tonas in sist i sekvensen. */
  .public-home__hero .public-home__plan-stage,
  .public-home__hero.has-plan-interact .public-home__plan-stage {
    position: absolute;
    left: 50%;
    bottom: max(1.2svh, 0.8rem);
    z-index: 3;
    display: grid;
    width: min(92%, 21rem);
    min-height: 0;
    padding: 0;
    gap: 0.45rem;
    justify-items: stretch;
    grid-template-rows: none;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1) 950ms;
  }

  .public-home.is-plan-revealed .public-home__hero .public-home__plan-stage {
    opacity: 1;
    pointer-events: auto;
  }

  .public-home__hero .public-home__plan-card,
  .public-home__hero.has-plan-interact .public-home__plan-card {
    width: 100%;
    justify-self: stretch;
    align-self: auto;
    padding: 0.5rem 0.3rem 0.4rem;
  }

  .public-home__hero .public-home__plan-moments li {
    min-height: 1.3rem;
    font-size: 0.67rem;
  }

  .public-home__hero .public-home__plan-card-head {
    padding-bottom: 0.4rem;
  }

  .public-home__hero .public-home__plan-card-head strong {
    font-size: 1rem;
  }

  .public-home__hero .public-home__plan-total {
    margin-top: 0.35rem;
    padding-top: 0.35rem;
  }

  .public-home__hero .public-home__plan-rooms {
    justify-self: center;
    max-width: none;
    gap: 0.3rem;
  }

  .public-home__hero .public-home__plan-rooms button {
    min-height: 1.75rem;
    padding: 0.2rem 0.5rem 0.2rem 0.4rem;
    font-size: 0.65rem;
  }

  /* Akt 2: planritningen väntar dold och tonas in när copyn glidit upp.
     Sammanfattningen (plan-stage) förblir dold på mobil.
     Obs: .has-webgl-varianten krävs — basregeln .public-home__hero.has-webgl
     .public-home__webgl { opacity: 1 } slår annars döljningen direkt vid GL-init. */
  .public-home__hero .public-home__webgl,
  .public-home__hero.has-webgl .public-home__webgl,
  .public-home__hero .public-home__plan-labels {
    opacity: 0;
    pointer-events: none;
    transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1) 250ms;
  }

  .public-home.is-plan-revealed .public-home__hero .public-home__webgl,
  .public-home.is-plan-revealed .public-home__hero .public-home__plan-labels {
    opacity: 1;
  }

  .public-home__hero-grid {
    display: grid;
    justify-items: center;
    padding-block: 0;
    /* Statisk sa att sammanfattningens absolute ankrar mot HERON, inte griden */
    position: static;
  }

  .public-home__hero-copy {
    display: grid;
    max-width: 100%;
    justify-items: center;
    animation: none;
    transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .public-home.is-plan-revealed .public-home__hero-copy {
    transform: translateY(-21svh);
  }

  /* Header brand hidden until handoff lands */
  .public-home.is-awaiting-logo .public-home__header .public-home__brand {
    opacity: 0;
    pointer-events: none;
  }

  .public-home.is-logo-settled .public-home__header .public-home__brand {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 140ms ease;
  }

  /* Horizontal logo unit — dance pose only (JS takes over for flight) */
  .public-home__hero-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    transform: translateY(8svh);
    animation: ph-intro-breath 620ms cubic-bezier(0.34, 1.15, 0.64, 1) 1050ms backwards;
  }

  /* Flight: on <body>, inline styles set transform. Kill all CSS motion. */
  .public-home__hero-intro.is-flying {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 9999 !important;
    margin: 0 !important;
    animation: none !important;
    transition: none !important;
    pointer-events: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
    will-change: transform;
  }

  /* DOM-flytten till body nollställer barnens CSS-animationer — utan detta
     spelar prickarna/ordmärket om sina intron (opacity 0 + delay) under
     flygningen och logotypen ser ut att försvinna längs banan. */
  .public-home__hero-intro.is-flying .public-home__brand-mark span,
  .public-home__hero-intro.is-flying .public-home__hero-intro-word {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .public-home__hero-intro.is-done {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    animation: none !important;
  }

  .public-home__hero-intro .public-home__brand-mark {
    grid-template-columns: repeat(2, 1.2rem);
    gap: 0.34rem;
  }

  .public-home__hero-intro .public-home__brand-mark span {
    width: 1.2rem;
    height: 1.2rem;
    animation: ph-dot-pop 500ms cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  }

  .public-home__hero-intro .public-home__brand-mark span:nth-child(1) { animation-delay: 100ms; }
  .public-home__hero-intro .public-home__brand-mark span:nth-child(2) { animation-delay: 200ms; }
  .public-home__hero-intro .public-home__brand-mark span:nth-child(4) { animation-delay: 300ms; }
  .public-home__hero-intro .public-home__brand-mark span:nth-child(3) { animation-delay: 400ms; }

  .public-home__hero-intro-word {
    color: var(--home-ink);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    animation: ph-fade-up 480ms ease-out 560ms backwards;
  }

  .public-home__hero-intro-word span {
    opacity: 1;
  }

  /* Title/actions after logo has settled in the bar */
  .public-home__hero h1 {
    margin-top: 1.35rem;
    text-align: center;
    font-size: clamp(2.45rem, 11vw, 3.1rem);
    line-height: 0.98;
    opacity: 0;
  }

  .public-home__hero-actions {
    justify-content: center;
    margin-top: 1.25rem;
    opacity: 0;
  }

  .public-home.is-logo-settled .public-home__hero h1,
  .public-home.is-logo-settled .public-home__hero-actions {
    animation: ph-fade-up 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .public-home.is-logo-settled .public-home__hero-actions {
    animation-delay: 90ms;
  }

  .public-home__hero-actions .public-home__button:not(.public-home__button--ghost) {
    width: min(100%, 18rem);
  }

  .public-home__hero-actions .public-home__button--ghost,
  .public-home__hero-actions .public-home__hero-secondary {
    width: auto;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
}

@keyframes ph-dot-pop {
  0% { transform: scale(0); opacity: 0; }
  62% { transform: scale(1.28); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes ph-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes ph-intro-breath {
  0%, 100% { transform: translateY(8svh) scale(1); }
  45% { transform: translateY(7svh) scale(1.045); }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .public-home__hero-copy,
  .public-home__hero .public-home__webgl,
  .public-home__hero .public-home__plan-labels,
  .public-home__hero .public-home__plan-stage {
    transition: none !important;
  }
  .public-home.is-awaiting-logo .public-home__header .public-home__brand,
  .public-home.is-logo-settled .public-home__header .public-home__brand {
    opacity: 1;
    pointer-events: auto;
  }

  .public-home__hero-intro {
    display: none;
  }

  .public-home__hero h1,
  .public-home__hero-actions {
    opacity: 1;
    animation: none;
    transform: none;
  }
}


@media (max-width: 767px) {
  /* Måttkedjan och arbetsdagsbilden är desktopdetaljer */
  .public-home__fit,
  .public-home__workday-media {
    display: none;
  }

  /* Flödesstegen komprimeras — svarspanelen bär beskrivningen */
  .public-home__flow li button div p {
    display: none;
  }

}
