:root {
  --fg: #18181b;
  --fg-2: #313131;
  --muted: #52525b;
  --line: #e4e4e7;
  --bg: #fff;
  --bg-2: #f4f4f5;
  --btn: #27272a;
  --btn-fg: rgba(255, 255, 255, 0.88);
  --rose: #e11d48;
  --font: Inter, "Inter Fallback", system-ui, sans-serif;
  --bar: 56px;
  --r: 6px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: light;
  scroll-padding-top: calc(var(--bar) + 12px);
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--fg-2);
  background: var(--bg);
  font-size: 16px;
  line-height: 24px;
}

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

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

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.skip:focus {
  top: 12px;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--bar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.mark {
  display: flex;
  align-items: center;
  height: 100%;
}

.mark-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--fg);
  box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 6px var(--fg);
}

.bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  color: var(--fg);
}

.icon-btn span {
  display: block;
  width: 14px;
  height: 1.5px;
  background: var(--fg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--r);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-dark {
  background: var(--btn);
  color: var(--btn-fg);
  border-color: var(--btn);
}

.btn-dark:hover {
  color: #fff;
  background: #18181b;
}

.btn-light {
  background: #fff;
  color: var(--fg);
  border-color: var(--line);
}

.btn-light:hover {
  background: var(--bg-2);
}

.btn-sm {
  height: 28px;
  padding: 0 8px;
}

.btn-block {
  width: 100%;
  height: 40px;
}

.btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: #fff;
  padding: 20px;
}

.menu[hidden] {
  display: none;
}

.menu-close {
  position: absolute;
  top: 12px;
  right: 20px;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 72px;
}

.menu-links a {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--fg);
}

.hero {
  padding: 72px 24px 48px;
  max-width: 1120px;
  margin: 0 auto;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.lead {
  margin: 0 0 24px;
  max-width: 36rem;
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cols article {
  padding: 24px 24px 24px 32px;
  border-right: 1px solid var(--line);
}

.cols article:last-child {
  border-right: 0;
}

.cols h2 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}

.cols p {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--muted);
}

.pill {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 18px;
  vertical-align: middle;
}

.stage {
  padding: 24px;
  background: var(--bg-2);
}

.frame {
  display: grid;
  grid-template-columns: 200px 1fr;
  max-width: 1120px;
  margin: 0 auto;
  min-height: 320px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.frame aside {
  padding: 20px 16px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.frame-brand {
  margin: 0 0 20px;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
}

.frame ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.frame li {
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--muted);
}

.frame li.is-on {
  background: var(--bg-2);
  color: var(--fg);
}

.frame-main {
  padding: 24px 28px;
}

.frame-crumb {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
}

.frame-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.frame-note {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.scale {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 24px 40px;
}

.scale h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 40px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.feat h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--fg);
}

.feat p {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--muted);
}

.create {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 24px;
  align-items: start;
}

.create-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 40px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.create-copy p {
  margin: 0;
  color: var(--muted);
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
}

input {
  height: 40px;
  width: 100%;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  color: var(--fg);
  font: inherit;
  font-size: 16px;
}

input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--fg);
}

.error {
  min-height: 1.2em;
  margin: 0;
  color: var(--rose);
  font-size: 13px;
}

.form-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.form-note a {
  text-decoration: underline;
}

.foot {
  border-top: 1px solid var(--line);
  padding: 48px 24px 32px;
  max-width: 1120px;
  margin: 0 auto;
}

.foot-brand {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 160px));
  gap: 32px;
  margin-bottom: 48px;
}

.foot-cols p {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
}

.foot-cols a {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  color: var(--muted);
}

.foot-copy {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .cols {
    grid-template-columns: 1fr 1fr;
  }

  .cols article {
    border-bottom: 1px solid var(--line);
  }

  .cols article:nth-child(even) {
    border-right: 0;
  }

  .feat {
    grid-template-columns: 1fr;
  }

  .create,
  .frame {
    grid-template-columns: 1fr;
  }

  .frame aside {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 48px 16px 32px;
  }

  .cols article {
    padding: 20px 16px;
  }

  .stage,
  .scale,
  .create,
  .foot {
    padding-left: 16px;
    padding-right: 16px;
  }

  .bar {
    padding: 0 16px;
  }
}

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

@media print {
  .bar,
  .skip,
  .menu,
  form {
    display: none;
  }
}
