@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
}

:root {
  --paper: #f6f2e9;
  --paper-deep: #ede7da;
  --white: #fffdf8;
  --ink: #12251a;
  --forest: #173f2b;
  --forest-deep: #0e2b1d;
  --moss: #78946c;
  --accent: #f26b3a;
  --accent-hover: #de5a2a;
  --muted: #5d695f;
  --line: rgba(18, 37, 26, 0.17);
  --line-light: rgba(255, 253, 248, 0.2);
  --danger: #a63226;
  --success: #176a3c;
  --shell: min(1180px, calc(100vw - 48px));
  --radius-sm: 6px;
  --radius-md: 10px;
  --shadow-control:
    0 0 0 1px rgba(18, 37, 26, 0.08),
    0 1px 2px rgba(18, 37, 26, 0.05),
    0 4px 10px rgba(18, 37, 26, 0.05);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Archivo", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body:has(dialog[open]) {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li,
figcaption,
label {
  text-wrap: pretty;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--forest-deep);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform 160ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #ff9a73;
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  background: rgba(246, 242, 233, 0.95);
  transition-property: border-color, box-shadow;
  transition-duration: 160ms;
  transition-timing-function: ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 8px rgba(18, 37, 26, 0.04);
}

@supports (backdrop-filter: blur(12px)) {
  .site-header {
    background: rgba(246, 242, 233, 0.85);
    backdrop-filter: blur(12px);
  }
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 29px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.brand-mark {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.8;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.desktop-nav a,
.language-switch,
.site-footer nav a,
.site-footer nav button {
  color: var(--ink);
  font-size: 14px;
  font-weight: 590;
  text-decoration: none;
  transition: color 140ms ease;
}

.desktop-nav a:hover,
.language-switch:hover,
.site-footer nav a:hover,
.site-footer nav button:hover {
  color: var(--accent-hover);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switch {
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius-sm);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-sm);
  font-weight: 680;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-control);
  transition-property: background-color, color, box-shadow, scale;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.button svg,
.text-action svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button:hover {
  box-shadow:
    0 0 0 1px rgba(18, 37, 26, 0.1),
    0 2px 4px rgba(18, 37, 26, 0.08),
    0 7px 16px rgba(18, 37, 26, 0.08);
}

.button:active {
  scale: 0.96;
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.button-small {
  min-height: 42px;
  padding-inline: 15px;
  font-size: 14px;
}

.button-ink {
  color: var(--white);
  background: var(--forest-deep);
}

.button-ink:hover {
  background: var(--forest);
}

.button-accent {
  color: #2a140d;
  background: var(--accent);
}

.button-accent:hover {
  color: #200d07;
  background: var(--accent-hover);
}

.button-paper {
  color: var(--forest-deep);
  background: var(--white);
}

.button-paper:hover {
  background: #f4ede1;
}

.button-outline-light {
  color: var(--white);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-light);
}

.button-outline-light:hover {
  background: rgba(255, 253, 248, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 253, 248, 0.36);
}

.menu-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 21px;
  height: 2px;
  background: currentColor;
  transition-property: transform;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.menu-toggle span:first-child {
  transform: translate(-50%, calc(-50% - 4px));
}

.menu-toggle span:last-child {
  transform: translate(-50%, calc(-50% + 4px));
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu nav {
  display: grid;
  padding-block: 10px 18px;
}

.mobile-menu a,
.mobile-menu button {
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: none;
  font-weight: 620;
  text-decoration: none;
}

.hero {
  padding: 58px 0 76px;
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-block: 36px;
}

.hero h1 {
  max-width: 10ch;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 7.2vw, 6.2rem);
  font-weight: 760;
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.hero-body {
  max-width: 50ch;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.07rem, 1.5vw, 1.22rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.text-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  color: var(--forest-deep);
  background: none;
  font-weight: 660;
  cursor: pointer;
}

.text-action svg {
  transition: transform 160ms ease-out;
}

.text-action:hover svg,
.text-action:focus-visible svg {
  transform: translateX(3px);
}

.launch-note {
  max-width: 48ch;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.launch-note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--accent-hover);
  stroke-linecap: round;
  stroke-width: 1.8;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--forest);
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 63%, rgba(8, 25, 16, 0.58));
}

.hero-visual picture,
.hero-visual img {
  width: 100%;
  height: 100%;
}

.hero-visual img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 51% center;
}

.hero-visual figcaption {
  position: absolute;
  inset: auto 22px 20px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 253, 248, 0.9);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.section {
  padding-block: clamp(80px, 10vw, 136px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading h2,
.how-layout > h2,
.faq-layout > h2,
.owner-copy h2,
.final-grid h2 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 4.8vw, 4.6rem);
  font-weight: 730;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.section-heading p {
  max-width: 52ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.use-case-list {
  border-top: 1px solid var(--line);
}

.use-case {
  display: grid;
  grid-template-columns: 70px minmax(220px, 0.7fr) minmax(260px, 1fr);
  gap: 34px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.case-number {
  color: var(--accent-hover);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.use-case h3 {
  margin-bottom: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  font-weight: 650;
  letter-spacing: -0.035em;
}

.use-case p {
  max-width: 54ch;
  margin-bottom: 0;
  color: var(--muted);
}

.how {
  color: var(--white);
  background: var(--forest-deep);
}

.how-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: start;
}

.how-layout > h2 {
  position: sticky;
  top: 126px;
  max-width: 10ch;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.steps li {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-light);
}

.steps > li > span {
  color: #fa8a60;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.steps h3 {
  margin-bottom: 8px;
  font-size: 1.55rem;
  font-weight: 660;
  letter-spacing: -0.035em;
}

.steps p {
  max-width: 40ch;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.69);
}

.owner {
  padding-bottom: 0;
}

.owner-panel {
  position: relative;
  min-height: 570px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--forest);
  border-radius: var(--radius-md);
}

.owner-route {
  align-self: stretch;
  min-height: 470px;
  display: grid;
  place-items: center;
  padding: 54px;
  background:
    linear-gradient(rgba(255, 253, 248, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 248, 0.055) 1px, transparent 1px),
    #214b35;
  background-size: 34px 34px;
}

.owner-route svg {
  width: 100%;
  max-width: 520px;
  fill: var(--accent);
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.owner-route path {
  fill: none;
  stroke-width: 4;
  stroke-dasharray: 8 14;
}

.owner-copy {
  padding: clamp(44px, 7vw, 84px);
}

.owner-copy h2 {
  margin-bottom: 24px;
}

.owner-copy > p {
  max-width: 49ch;
  margin-bottom: 30px;
  color: rgba(255, 253, 248, 0.72);
}

.owner-copy ul {
  display: grid;
  gap: 12px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.owner-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 570;
}

.owner-copy li svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #ff9a73;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.platform-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: start;
}

.platform-heading {
  display: block;
  margin: 0;
}

.platform-heading h2 {
  margin-bottom: 26px;
}

.platform-sides {
  border-top: 1px solid var(--line);
}

.platform-sides article {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.platform-sides svg {
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--accent-hover);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.platform-sides h3 {
  margin-bottom: 8px;
  font-size: 1.28rem;
  font-weight: 660;
  letter-spacing: -0.03em;
}

.platform-sides p {
  max-width: 45ch;
  margin-bottom: 0;
  color: var(--muted);
}

.faq {
  padding-top: 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(60px, 10vw, 150px);
}

.faq-layout > h2 {
  max-width: 8ch;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-size: 1.08rem;
  font-weight: 620;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
  transition: transform 180ms ease-out;
}

.faq-list details[open] summary svg {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 60ch;
  margin: -4px 44px 24px 0;
  color: var(--muted);
}

.final-cta {
  padding-block: clamp(76px, 10vw, 124px);
  color: var(--white);
  background: var(--forest-deep);
}

.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 64px;
  align-items: end;
}

.final-grid h2 {
  max-width: 11ch;
  margin-bottom: 24px;
}

.final-grid p {
  max-width: 55ch;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.7);
}

.final-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  padding: 52px 0 24px;
  color: var(--ink);
  background: var(--paper-deep);
}

.footer-top {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 44px;
}

.footer-brand {
  align-self: start;
}

.footer-top > p {
  max-width: 36ch;
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.site-footer nav button {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-bottom a {
  text-decoration-color: rgba(18, 37, 26, 0.35);
  text-underline-offset: 3px;
}

.modal {
  width: min(650px, calc(100vw - 32px));
  max-height: min(820px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--radius-md);
  color: var(--ink);
  background: var(--white);
  box-shadow:
    0 0 0 1px rgba(18, 37, 26, 0.08),
    0 22px 70px rgba(8, 25, 16, 0.26);
  opacity: 0;
  transform: translateY(10px);
  transition-property: opacity, transform, display, overlay;
  transition-duration: 220ms;
  transition-timing-function: var(--ease-out);
  transition-behavior: allow-discrete;
}

.modal[open] {
  opacity: 1;
  transform: translateY(0);
}

@starting-style {
  .modal[open] {
    opacity: 0;
    transform: translateY(10px);
  }
}

.modal::backdrop {
  background: rgba(8, 25, 16, 0.68);
  backdrop-filter: blur(3px);
}

.modal-shell {
  position: relative;
  padding: clamp(28px, 6vw, 48px);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition-property: background-color, scale;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.modal-close:hover {
  background: var(--paper-deep);
}

.modal-close:active {
  scale: 0.96;
}

.modal-close svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.modal-copy {
  padding-right: 42px;
  margin-bottom: 28px;
}

.modal-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 730;
  line-height: 1;
  letter-spacing: -0.055em;
}

.modal-copy p {
  max-width: 49ch;
  margin-bottom: 0;
  color: var(--muted);
}

.role-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.role-picker legend {
  grid-column: 1 / -1;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 650;
}

.role-picker label {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.role-picker input {
  position: absolute;
  opacity: 0;
}

.role-picker span {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(18, 37, 26, 0.22);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 14px;
  font-weight: 570;
  transition-property: border-color, background-color, color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: ease;
}

.role-picker input:checked + span {
  border-color: var(--forest);
  color: var(--forest-deep);
  background: #edf2e9;
  box-shadow: inset 0 0 0 1px var(--forest);
}

.role-picker input:focus-visible + span {
  outline: 3px solid #ff9a73;
  outline-offset: 3px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 620;
}

.field-full {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid rgba(18, 37, 26, 0.24);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--white);
  font-weight: 450;
  outline: none;
  transition-property: border-color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: ease;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: #7b837c;
  opacity: 1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(23, 63, 43, 0.16);
}

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

.checkbox-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin: 20px 0;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--forest);
}

.form-status {
  display: none;
  margin-bottom: 14px;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.45;
}

.form-status:not(:empty) {
  display: block;
}

.form-status[data-state="error"] {
  color: #76251d;
  background: #fae7e2;
}

.form-status[data-state="success"] {
  color: #0f5b31;
  background: #e4f1e7;
}

.submit-button {
  width: 100%;
}

.button-loader {
  width: 16px;
  height: 16px;
  display: none;
  border: 2px solid rgba(42, 20, 13, 0.25);
  border-top-color: #2a140d;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.submit-button.is-loading .button-loader {
  display: block;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.legal-main {
  padding: clamp(72px, 10vw, 128px) 0;
}

.legal-layout {
  max-width: 820px;
}

.legal-layout > header {
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line);
}

.legal-layout h1 {
  max-width: 11ch;
  margin-bottom: 16px;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 750;
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.legal-date {
  margin-bottom: 28px;
  color: var(--accent-hover);
  font-size: 13px;
  font-weight: 650;
}

.legal-intro {
  max-width: 63ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.legal-sections {
  margin-bottom: 42px;
}

.legal-sections section {
  display: grid;
  grid-template-columns: minmax(180px, 0.62fr) minmax(0, 1.38fr);
  gap: 38px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.legal-sections h2 {
  margin-bottom: 0;
  font-size: 1.08rem;
  font-weight: 660;
  letter-spacing: -0.02em;
}

.legal-sections p {
  margin-bottom: 0;
  color: var(--muted);
}

.compact-footer {
  padding-top: 20px;
}

.error-page {
  min-height: 100dvh;
  display: grid;
  background: var(--forest-deep);
  color: var(--white);
}

.error-layout {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr;
  padding-block: 28px 64px;
}

.error-layout .brand {
  color: var(--white);
}

.error-layout > div {
  max-width: 780px;
  align-self: center;
}

.error-code {
  display: block;
  margin-bottom: 22px;
  color: #ff9a73;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.error-layout h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 740;
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.error-layout p {
  margin-bottom: 32px;
  color: rgba(255, 253, 248, 0.7);
  font-size: 1.08rem;
}

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 40px, 780px);
  }

  .site-header {
    background: rgba(246, 242, 233, 0.98);
    backdrop-filter: none;
  }

  .desktop-nav,
  .header-actions > .button-small {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-grid,
  .how-layout,
  .platform-layout,
  .faq-layout,
  .final-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-block: 12px 0;
  }

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

  .hero-visual {
    min-height: clamp(460px, 73vw, 610px);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .how-layout > h2 {
    position: static;
    max-width: 12ch;
  }

  .owner-panel {
    grid-template-columns: 0.82fr 1.18fr;
  }

  .owner-route {
    min-height: 100%;
    padding: 30px;
  }

  .platform-layout,
  .faq-layout {
    gap: 48px;
  }

  .faq-layout > h2 {
    max-width: 12ch;
  }

  .final-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand {
    font-size: 27px;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .hero {
    padding: 24px 0 58px;
  }

  .hero h1 {
    margin-bottom: 20px;
    font-size: clamp(3.15rem, 16vw, 4.9rem);
    line-height: 0.91;
  }

  .hero-body {
    margin-bottom: 24px;
    font-size: 1.04rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .button,
  .final-actions .button {
    width: 100%;
  }

  .launch-note {
    margin-top: 22px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-visual img {
    object-position: 53% center;
  }

  .hero-visual figcaption {
    inset-inline: 16px;
    bottom: 15px;
    flex-direction: column;
    gap: 2px;
  }

  .section {
    padding-block: 78px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .how-layout > h2,
  .faq-layout > h2,
  .owner-copy h2,
  .final-grid h2 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .use-case {
    grid-template-columns: 40px 1fr;
    gap: 8px 18px;
    padding: 24px 0;
  }

  .use-case h3 {
    grid-column: 2;
  }

  .use-case p {
    grid-column: 2;
  }

  .how-layout {
    gap: 40px;
  }

  .steps li {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }

  .owner {
    padding-bottom: 0;
  }

  .owner-panel {
    width: 100%;
    grid-template-columns: 1fr;
    border-radius: 0;
  }

  .owner-route {
    min-height: 320px;
    order: 2;
    padding: 34px 18px;
  }

  .owner-copy {
    padding: 52px 24px 40px;
  }

  .platform-sides article {
    grid-template-columns: 42px 1fr;
    column-gap: 16px;
  }

  .faq-list summary {
    min-height: 72px;
    font-size: 1rem;
  }

  .final-cta {
    padding-block: 72px;
  }

  .final-grid {
    gap: 34px;
  }

  .final-actions {
    display: grid;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .modal {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
  }

  .modal-shell {
    padding: 30px 20px 24px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
  }

  .role-picker,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .legal-sections section {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-height: 620px) and (min-width: 701px) {
  .modal {
    max-height: calc(100dvh - 20px);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: rgba(18, 37, 26, 0.42);
    --muted: #344339;
  }

  .site-header {
    background: var(--paper);
    backdrop-filter: none;
  }
}
