/* Crewstra landing. Every colour is defined once below; dark mode overrides the same names. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src:
    url(/fonts/inter-latin-wght-normal.woff2) format("woff2-variations"),
    url(/fonts/inter-latin-wght-normal.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src:
    url(/fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations"),
    url(/fonts/inter-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light dark;
  --bg: #fbfaf8;
  --surface: #ffffff;
  --sunken: #f4f2ef;
  --text: #17140f;
  --text-2: #55504a;
  --text-3: #6f6a63;
  --line: #e6e2dc;
  --line-strong: #d3cdc5;
  --ember: #b65100;
  --on-ember: #fff5ee;
  --ember-hover: #9c4500;
  --ember-text: #a34900;
  --ember-tint: #fdeee0;
  --ok: #17703c;
  --ok-tint: #e3f3e8;
  --info: #1f5fa8;
  --info-tint: #e4eefa;
  --wait: #6f6a63;
  --wait-tint: #efece8;
  --err: #b3261e;
  --focus: #1f5fa8;
  --shadow: #17140f38;
  --font:
    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 1160px;
  --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0c0a;
    --surface: #161310;
    --sunken: #12100d;
    --text: #f4f0ea;
    --text-2: #b4ada4;
    --text-3: #928b82;
    --line: #26221d;
    --line-strong: #38332c;
    --ember: #b65100;
    --on-ember: #fff5ee;
    --ember-hover: #cf5d02;
    --ember-text: #f0903f;
    --ember-tint: #2a1c10;
    --ok: #62cf8d;
    --ok-tint: #12261a;
    --info: #7db2ee;
    --info-tint: #13202f;
    --wait: #a39b92;
    --wait-tint: #211e1a;
    --err: #ff8a80;
    --focus: #7db2ee;
    --shadow: #00000099;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.wrap {
  width: min(var(--max), 100% - 48px);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--text);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 50;
}
.skip:focus {
  top: 12px;
}

/* Buttons and fields */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--ember);
  color: var(--on-ember);
  font: 500 14px/1 var(--font);
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease;
}
.btn:hover {
  background: var(--ember-hover);
}
.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}
.btn.quiet {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn.quiet:hover {
  background: var(--sunken);
}
.btn.sm {
  height: 34px;
  padding: 0 13px;
  font-size: 13.5px;
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand img {
  border-radius: 8px;
}
.top nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.top nav a:not(.btn) {
  display: inline-block;
  padding: 6px 12px;
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
  border-radius: 6px;
}
.top nav a:not(.btn):hover {
  color: var(--text);
}
.top nav li:last-child {
  margin-left: 8px;
}

/* Hero */
.hero {
  padding: 88px 0 0;
  text-align: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-2);
  background: var(--surface);
}
.pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
}
h1 {
  margin: 22px auto 0;
  max-width: 15ch;
  font-size: clamp(2.6rem, 7.4vw, 5.2rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.lede {
  margin: 24px auto 0;
  max-width: 56ch;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-2);
  letter-spacing: -0.011em;
  text-wrap: pretty;
}
.wait {
  margin: 36px auto 0;
  max-width: 460px;
  text-align: left;
}
.wait label.l {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.wait .row {
  display: flex;
  gap: 8px;
  padding: 5px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  transition: border-color 0.15s ease;
}
.wait .row:focus-within {
  border-color: var(--focus);
  outline: 1px solid var(--focus);
}
.wait input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 400 15px/1 var(--font);
}
.wait input[type="email"]:focus-visible {
  outline: none;
}
.wait input::placeholder {
  color: var(--text-3);
}
.wait .btn {
  height: 40px;
  white-space: nowrap;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.msg {
  min-height: 22px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-2);
  text-align: center;
}
.msg.ok {
  color: var(--ok);
}
.msg.err {
  color: var(--err);
}
.fine {
  margin-top: 2px;
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
}

/* Product mock */
.stage {
  margin-top: 64px;
  padding-bottom: 0;
  position: relative;
}
.app {
  width: min(1080px, 100%);
  margin-inline: auto;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 14px 14px 0 0;
  border-bottom: 0;
  box-shadow:
    0 -1px 0 var(--line),
    0 30px 60px -30px var(--shadow);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: -0.005em;
}
.titlebar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--sunken);
}
.dots {
  display: flex;
  gap: 7px;
}
.dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.titlebar .path {
  flex: 1;
  text-align: center;
  color: var(--text-3);
  font-size: 12px;
}
.titlebar .local {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-2);
}
.titlebar .local i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
}
.app-body {
  display: grid;
  grid-template-columns: 216px 1fr;
  min-height: 470px;
}
.side {
  padding: 14px 10px;
  border-right: 1px solid var(--line);
  background: var(--sunken);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.side h4 {
  margin: 0 8px 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
}
.side ul {
  display: grid;
  gap: 1px;
}
.side li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--text-2);
}
.side li.on {
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
  box-shadow: 0 0 0 1px var(--line);
}
.side li b {
  font-weight: 500;
  font-size: 11.5px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.side .you {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
}
.av {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 10.5px;
  font-weight: 600;
  background: var(--wait-tint);
  color: var(--text-2);
  border: 1px solid var(--line-strong);
}
.av.kai {
  background: var(--ember);
  color: var(--on-ember);
  border-color: var(--ember);
}
.main {
  padding: 20px 22px 24px;
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 0;
}
.main-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.main-head h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.main-head span {
  color: var(--text-3);
  font-size: 12px;
}
.kai {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
}
.kai .bubble {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px 12px 12px 12px;
  background: var(--bg);
}
.kai b {
  font-weight: 600;
}
.kai .bubble p + p {
  margin-top: 8px;
}
.plan {
  margin-top: 8px;
  display: grid;
  gap: 5px;
  color: var(--text-2);
  counter-reset: s;
}
.plan li {
  display: flex;
  gap: 8px;
}
.plan li::before {
  counter-increment: s;
  content: counter(s);
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 10px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.crew {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.mate {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
}
.mate + .mate {
  border-top: 1px solid var(--line);
}
.mate .t {
  min-width: 0;
}
.mate .t b {
  font-weight: 500;
}
.mate .t span {
  display: block;
  color: var(--text-3);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}
.chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.chip.run {
  background: var(--info-tint);
  color: var(--info);
}
.chip.done {
  background: var(--ok-tint);
  color: var(--ok);
}
.chip.queued {
  background: var(--wait-tint);
  color: var(--wait);
}
.approval {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--ember);
  border-radius: 10px;
  background: var(--ember-tint);
}
.approval b {
  display: block;
  font-weight: 600;
  color: var(--text);
}
.approval span.sub {
  color: var(--text-2);
  font-size: 12px;
}
.approval .acts {
  display: flex;
  gap: 8px;
  flex: none;
}
.fake {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 7px;
  font-weight: 500;
  font-size: 12.5px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
}
.fake.go {
  background: var(--ember);
  border-color: var(--ember);
  color: var(--on-ember);
}

/* One orchestrated load-in, run once */
@media (prefers-reduced-motion: no-preference) {
  .app,
  .kai,
  .crew .mate,
  .approval {
    opacity: 0;
    transform: translateY(10px);
    animation: in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  }
  .app {
    animation-delay: 0.1s;
  }
  .kai {
    animation-delay: 0.45s;
  }
  .crew .mate:nth-child(1) {
    animation-delay: 0.7s;
  }
  .crew .mate:nth-child(2) {
    animation-delay: 0.82s;
  }
  .crew .mate:nth-child(3) {
    animation-delay: 0.94s;
  }
  .approval {
    animation-delay: 1.2s;
  }
  @keyframes in {
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* Sections */
section.block {
  padding: 128px 0 0;
}
.head {
  max-width: 640px;
}
.head h2 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.head p {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--text-2);
  letter-spacing: -0.011em;
  text-wrap: pretty;
}

/* How it works */
.steps {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  counter-reset: n;
}
.steps li {
  position: relative;
  padding: 28px 28px 8px 0;
  counter-increment: n;
}
.steps li + li {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.steps li::before {
  content: counter(n, decimal-leading-zero);
  display: block;
  margin-bottom: 40px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ember-text);
  font-variant-numeric: tabular-nums;
}
.steps h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.steps p {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 15px;
}

/* Feature grid: hairline-divided, uneven cells with real UI inside */
.feat {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--line);
  gap: 1px;
  overflow: hidden;
}
.cell {
  background: var(--bg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cell.a {
  grid-column: span 4;
}
.cell.b {
  grid-column: span 2;
}
.cell.c {
  grid-column: span 2;
}
.cell.d {
  grid-column: span 4;
}
.cell h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.cell p {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 15px;
  max-width: 46ch;
}
.demo {
  margin-top: auto;
  padding-top: 32px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 13px;
  letter-spacing: -0.005em;
  overflow: hidden;
}
.kv {
  display: grid;
  grid-template-columns: auto 1fr;
}
.kv > * {
  padding: 10px 14px;
}
.kv > :nth-child(n + 3) {
  border-top: 1px solid var(--line);
}
.kv dt {
  color: var(--text-3);
}
.kv dd {
  text-align: right;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
  overflow-wrap: anywhere;
}
.kv dd.good {
  color: var(--ok);
}
.roles {
  display: grid;
}
.roles li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
}
.roles li + li {
  border-top: 1px solid var(--line);
}
.roles span {
  color: var(--text-3);
  font-size: 12px;
}
.roles b {
  font-weight: 500;
}
.phone {
  width: 232px;
  margin-inline: auto;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 30px 30px 0 0;
  border-bottom: 0;
  background: var(--sunken);
}
.phone .scr {
  padding: 16px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 22px 22px 0 0;
  border-bottom: 0;
  background: var(--surface);
  font-size: 12.5px;
  line-height: 1.4;
}
.phone .scr small {
  color: var(--text-3);
  font-size: 11.5px;
}
.phone .scr b {
  display: block;
  margin: 4px 0 12px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.02em;
}
.phone .scr .fake {
  width: 100%;
  justify-content: center;
  height: 36px;
}
.phone .scr .fake + .fake {
  margin-top: 6px;
}
.cell.c .demo {
  padding-top: 24px;
}
.keybox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 12.5px;
}
.keybox span {
  color: var(--text-3);
  font-family: var(--font);
  font-size: 12px;
}
.bill {
  display: grid;
  grid-template-columns: 1fr auto;
}
.bill > * {
  padding: 10px 14px;
}
.bill > :nth-child(n + 3) {
  border-top: 1px solid var(--line);
}
.bill dt {
  color: var(--text-2);
}
.bill dd {
  font-variant-numeric: tabular-nums;
}

/* Pricing */
.plans {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}
.plan-c {
  padding: 28px 24px 28px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.plan-c + .plan-c {
  border-left: 1px solid var(--line);
}
.plan-c.pro {
  background: var(--ember-tint);
  box-shadow: inset 0 2px 0 var(--ember);
}
.plan-c h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.plan-c h3 em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ember-text);
}
.price {
  margin-top: 20px;
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.price.txt {
  font-size: 1.75rem;
  line-height: 1.15;
  padding-top: 6px;
}
.per {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-2);
  min-height: 40px;
  font-variant-numeric: tabular-nums;
}
.plan-c ul {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
}
.plan-c li {
  display: flex;
  gap: 9px;
}
.plan-c li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--ember);
}
.plan-c li a {
  color: var(--ember-text);
  text-underline-offset: 3px;
}
.note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-3);
}
.note a {
  color: var(--text-2);
  text-underline-offset: 3px;
}

/* FAQ */
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
}
.faq {
  border-top: 1px solid var(--line-strong);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--text-3);
  border-bottom: 1.5px solid var(--text-3);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.faq details p {
  padding: 0 32px 22px 0;
  color: var(--text-2);
  max-width: 60ch;
}

/* Final CTA */
.final {
  margin-top: 128px;
  padding: 112px 0;
  border-top: 1px solid var(--line);
  background: var(--sunken);
  text-align: center;
}
.final h2 {
  margin-inline: auto;
  max-width: 16ch;
  font-size: clamp(2.2rem, 5.4vw, 3.75rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.final .lede {
  margin-top: 18px;
}
.final .wait {
  margin-top: 32px;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  font-size: 14px;
  color: var(--text-3);
}
footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
footer .brand {
  color: var(--text);
  font-size: 15px;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}
footer a:not(.brand) {
  color: var(--text-2);
  text-underline-offset: 3px;
}
footer a:not(.brand):hover {
  color: var(--text);
}

/* Legal pages and 404 */
.wrap.narrow {
  width: min(720px, 100% - 48px);
}
.legal {
  padding: 96px 0 40px;
}
.legal h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  line-height: 1.05;
}
.legal .updated {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-3);
}
.legal .intro {
  margin-top: 32px;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--text-2);
  letter-spacing: -0.011em;
}
.legal-body {
  margin-top: 48px;
  border-top: 1px solid var(--line-strong);
}
.legal-body section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.legal-body h2 {
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.legal-body p {
  margin-top: 10px;
  color: var(--text-2);
  max-width: 64ch;
}
.legal-body a {
  color: var(--ember-text);
  text-underline-offset: 3px;
}
.lost {
  padding: 144px 0 160px;
  text-align: center;
}
.lost .code {
  font-size: 14px;
  font-weight: 500;
  color: var(--ember-text);
  font-variant-numeric: tabular-nums;
}
.lost h1 {
  margin-top: 16px;
  font-size: clamp(2.4rem, 6vw, 4rem);
}
.lost .actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Responsive */
@media (max-width: 1020px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
  .plan-c:nth-child(odd) {
    border-left: 0;
  }
  .plan-c:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .plan-c:last-child {
    grid-column: span 2;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .steps li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    margin-top: 28px;
  }
  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 820px) {
  .app-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .side {
    display: none;
  }
  .titlebar .path {
    display: none;
  }
  .titlebar .local {
    margin-left: auto;
  }
  .feat {
    display: block;
  }
  .cell + .cell {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 640px) {
  .wrap {
    width: min(var(--max), 100% - 40px);
  }
  .hero {
    padding-top: 56px;
  }
  section.block {
    padding-top: 88px;
  }
  .top nav li:not(:last-child) {
    display: none;
  }
  .wait .row {
    flex-direction: column;
    padding: 8px;
  }
  .wait .btn {
    width: 100%;
  }
  .stage {
    margin-top: 44px;
  }
  .main {
    padding: 16px 14px 18px;
  }
  .mate {
    grid-template-columns: 24px minmax(0, 1fr);
    row-gap: 6px;
  }
  .mate .chip {
    grid-column: 2;
    justify-self: start;
  }
  .approval {
    flex-direction: column;
    align-items: flex-start;
  }
  .steps,
  .plans {
    grid-template-columns: 1fr;
  }
  .steps li,
  .steps li + li {
    padding: 24px 0 8px;
    border-left: 0;
    margin-top: 0;
  }
  .steps li + li {
    border-top: 1px solid var(--line);
  }
  .steps li::before {
    margin-bottom: 16px;
  }
  .plan-c,
  .plan-c + .plan-c {
    border-left: 0;
  }
  .plan-c + .plan-c {
    border-top: 1px solid var(--line);
  }
  .plan-c:last-child {
    grid-column: auto;
  }
  .cell {
    padding: 24px 20px;
  }
  .legal {
    padding-top: 56px;
  }
  .lost {
    padding: 88px 0 104px;
  }
  .final {
    margin-top: 88px;
    padding: 80px 0;
  }
  .faq details p {
    padding-right: 0;
  }
}
.msg:empty {
  min-height: 0;
  margin-top: 0;
}
.wait .msg:not(:empty) + .fine {
  margin-top: 0;
}
.hero .fine {
  margin-top: 12px;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
