:root {
  color-scheme: dark;
  --bg: #071014;
  --bg-soft: #0b1518;
  --surface: #111d20;
  --surface-2: #162528;
  --paper: #eef5f3;
  --paper-soft: #f7faf8;
  --paper-warm: #f2f5ef;
  --ink: #f6f8f4;
  --ink-soft: rgba(246, 248, 244, 0.74);
  --ink-muted: rgba(246, 248, 244, 0.56);
  --ink-dark: #10181a;
  --ink-body: rgba(16, 24, 26, 0.68);
  --ink-faint: rgba(16, 24, 26, 0.48);
  --line: rgba(229, 239, 236, 0.14);
  --line-strong: rgba(229, 239, 236, 0.24);
  --line-dark: rgba(16, 24, 26, 0.12);
  --accent: #11b89f;
  --accent-strong: #078a78;
  --accent-soft: rgba(17, 184, 159, 0.12);
  --warning: #d6a642;
  --shadow: 0 28px 78px rgba(5, 13, 15, 0.34);
  --shadow-soft: 0 18px 48px rgba(16, 24, 26, 0.1);
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --container: min(1180px, calc(100vw - 40px));
  --font-sans:
    "Satoshi",
    "Geist",
    "Avenir Next",
    "SF Pro Text",
    "Helvetica Neue",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  --font-display:
    "Satoshi",
    "Geist",
    "Avenir Next",
    "SF Pro Display",
    "PingFang SC",
    sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family: var(--font-sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(180deg, #000 0%, transparent 62%);
}

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

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

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

button {
  font: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid rgba(17, 184, 159, 0.72);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 80;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #04120f;
  font-size: 14px;
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 180ms var(--ease);
}

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

.site-shell {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  width: var(--container);
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 20, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-color: rgba(229, 239, 236, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 28px rgba(17, 184, 159, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 720;
}

.site-nav a {
  border-radius: var(--radius-xs);
  transition:
    color 180ms var(--ease),
    background 180ms var(--ease),
    border-color 180ms var(--ease),
    transform 180ms var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--ink);
}

.site-nav a[aria-current="true"]:not(.nav-cta) {
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.nav-cta:hover {
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 200ms var(--ease);
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(42deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-42deg);
}

.hero,
.signal-strip,
.site-footer {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: calc(100dvh - 74px);
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1.16fr);
  align-items: center;
  gap: 58px;
  padding: 70px 0 96px;
}

.hero-copy {
  align-self: center;
}

.kicker,
.status-label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.hero h1,
.section-heading h2,
.console-copy h2,
.security-panel h2,
.invite-card h2 {
  font-family: var(--font-display);
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero h1 {
  max-width: 640px;
  color: rgba(246, 248, 244, 0.92);
  font-size: 74px;
  font-weight: 900;
}

.hero-text {
  max-width: 560px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.68;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 820;
  transition:
    transform 180ms var(--ease),
    background 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease);
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #04120f;
}

.button.primary:hover {
  background: #2bc7b2;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.09);
}

.button.download-link {
  min-height: 40px;
  justify-self: start;
  border-color: rgba(16, 24, 26, 0.14);
  background: rgba(16, 24, 26, 0.06);
  color: var(--ink-dark);
}

.button.download-link:hover {
  border-color: rgba(17, 184, 159, 0.34);
  background: rgba(17, 184, 159, 0.12);
}

.hero-product {
  position: relative;
  align-self: center;
}

.product-window {
  overflow: hidden;
  border: 1px solid rgba(229, 239, 236, 0.18);
  border-radius: var(--radius-lg);
  background: #f5f2eb;
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(16, 24, 26, 0.08);
  background: #141f22;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-bar span:nth-child(1) {
  background: #d95b55;
}

.window-bar span:nth-child(2) {
  background: #d8a532;
}

.window-bar span:nth-child(3) {
  background: #3ca55b;
}

.product-window img,
.console-shot img {
  width: 100%;
  object-fit: cover;
  object-position: left top;
  filter: none;
}

.product-window img {
  height: clamp(220px, 34vw, 420px);
}

.console-shot img {
  height: clamp(250px, 32vw, 500px);
}

.hero-badge {
  position: absolute;
  right: 28px;
  bottom: -30px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  width: min(300px, calc(100vw - 56px));
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(229, 239, 236, 0.2);
  border-radius: var(--radius);
  background: rgba(12, 23, 26, 0.96);
  box-shadow: 0 20px 48px rgba(5, 13, 15, 0.28);
}

.hero-badge img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

.hero-badge strong {
  font-size: 16px;
}

.hero-badge span {
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 13px;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
  box-shadow: 0 22px 52px rgba(5, 13, 15, 0.24);
}

.signal-strip article {
  min-height: 108px;
  padding: 22px;
  background: rgba(15, 26, 29, 0.98);
}

.signal-strip span,
.download-card span,
.process-card span,
.ops-card span,
.security-grid span {
  display: block;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: none;
}

.signal-strip strong,
.download-card strong,
.ops-card strong,
.security-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.24;
}

.section-pad {
  width: 100%;
  padding: 112px 0;
  scroll-margin-top: 88px;
}

.download,
.contributors,
.console,
.operations,
.invite,
.faq {
  background: var(--paper);
  color: var(--ink-dark);
}

.download {
  margin-top: 96px;
  padding-top: 104px;
  background:
    linear-gradient(180deg, #e9f1ef 0%, var(--paper) 100%);
}

.contributors {
  background: var(--paper);
}

.console {
  background: #f6f9f6;
}

.operations {
  background: var(--paper);
}

.security {
  background: #0b1518;
  color: var(--ink);
}

.invite {
  background: #f3f7f4;
  padding-top: 92px;
}

.faq {
  background: #f3f7f4;
}

.section-pad > .section-heading,
.section-pad > .download-grid,
.section-pad > .process-rail,
.section-pad > .console-layout,
.section-pad > .ops-grid,
.section-pad > .security-panel,
.section-pad > .invite-card,
.section-pad > .faq-list {
  width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.faq > .section-heading {
  width: var(--container);
  max-width: none;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading.narrow {
  max-width: 700px;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.section-heading h2,
.console-copy h2,
.invite-card h2 {
  color: var(--ink-dark);
  font-size: 54px;
  font-weight: 900;
}

.section-heading p:not(.kicker),
.console-copy p,
.invite-card p,
.process-card p,
.ops-card p,
.download-card small,
.copy-list dd,
.faq p {
  color: var(--ink-body);
  font-size: 16px;
  line-height: 1.72;
  text-wrap: pretty;
}

.section-heading .kicker,
.console-copy .kicker,
.invite-card .kicker {
  color: var(--accent-strong);
}

.section-heading p:not(.kicker),
.console-copy p,
.invite-card p {
  max-width: 690px;
  margin-top: 18px;
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 16px;
  align-items: stretch;
}

.download-card,
.process-card,
.ops-card,
.faq details {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.download-card {
  display: grid;
  min-height: 178px;
  align-content: space-between;
  gap: 18px;
  padding: 24px;
}

.download-card.primary-card {
  grid-row: span 3;
  min-height: 100%;
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(17, 184, 159, 0.14), transparent 44%),
    #fbfcfb;
}

.download-card:not(.primary-card) {
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
  align-items: start;
}

.download-card:not(.primary-card) span,
.download-card:not(.primary-card) strong,
.download-card:not(.primary-card) small {
  margin: 0;
}

.download-card:not(.primary-card) span {
  grid-column: 1;
}

.download-card:not(.primary-card) strong {
  grid-column: 1;
  grid-row: 2;
}

.download-card:not(.primary-card) small:not(.status-label) {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.download-card:not(.primary-card) .status-label {
  grid-column: 1;
  grid-row: 3;
}

.download-card:not(.primary-card) .button.download-link {
  grid-column: 1;
  grid-row: 3;
}

.download-card span,
.process-card span,
.ops-card span,
.security-grid span {
  color: var(--ink-faint);
}

.download-card strong {
  color: var(--ink-dark);
  font-size: 34px;
}

.download-card.primary-card strong {
  font-size: 48px;
}

.download-card .button {
  width: fit-content;
  margin-top: 18px;
}

.status-label {
  margin: 0;
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  background: rgba(16, 24, 26, 0.06);
  color: rgba(16, 24, 26, 0.64);
  white-space: nowrap;
}

.process-rail {
  display: grid;
  grid-template-columns: 0.85fr 1.1fr 0.95fr;
  gap: 16px;
  align-items: stretch;
}

.process-card {
  position: relative;
  min-height: 246px;
  padding: 28px;
  overflow: hidden;
}

.process-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  content: "";
}

.process-card:nth-child(2) {
  margin-top: 34px;
}

.process-card:nth-child(3) {
  margin-top: 68px;
}

.process-card h3 {
  margin: 58px 0 14px;
  color: var(--ink-dark);
  font-size: 26px;
  line-height: 1.18;
}

.console-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1.12fr);
  gap: 52px;
  align-items: center;
}

.copy-list {
  margin: 34px 0 0;
  border-top: 1px solid var(--line-dark);
}

.copy-list div {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
}

.copy-list dt {
  color: var(--ink-dark);
  font-weight: 850;
}

.copy-list dd {
  margin: 0;
}

.console-shot {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: #fbfcfb;
  box-shadow: 0 28px 70px rgba(16, 24, 26, 0.12);
}

.ops-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 1.1fr 0.9fr;
  gap: 16px;
}

.ops-card {
  min-height: 220px;
  padding: 24px;
}

.ops-card:nth-child(2),
.ops-card:nth-child(4) {
  margin-top: 34px;
}

.ops-card strong {
  color: var(--ink-dark);
  font-size: 24px;
}

.ops-card p {
  margin-top: 36px;
}

.security-panel {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 42px;
  align-items: start;
}

.security-panel h2 {
  color: var(--ink);
  font-size: 52px;
  font-weight: 900;
}

.security-panel p {
  max-width: 680px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.72;
  text-wrap: pretty;
}

.security-panel .kicker {
  color: #7ae0d0;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.security-grid article {
  min-height: 166px;
  padding: 22px;
  border: 1px solid rgba(229, 239, 236, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.security-grid span {
  color: var(--ink-muted);
}

.security-grid strong {
  color: var(--ink);
  font-size: 21px;
}

.invite-card {
  min-height: 360px;
  padding: 42px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(17, 184, 159, 0.12), transparent 42%),
    #fbfcfb;
  box-shadow: var(--shadow-soft);
}

.invite-card .button {
  width: fit-content;
  margin-top: 32px;
}

.invite-card .contact-line {
  margin-top: 16px;
  font-weight: 720;
}

.invite-card .contact-line a {
  color: var(--accent-strong);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq details {
  padding: 0 22px;
}

.faq summary {
  cursor: pointer;
  padding: 22px 0;
  color: var(--ink-dark);
  font-weight: 850;
  list-style: none;
}

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

.faq p {
  margin: 0;
  padding: 0 0 22px;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 44px 0 52px;
  border-top: 1px solid var(--line-dark);
  background: #f3f7f4;
  color: var(--ink-dark);
}

.site-footer::before {
  position: absolute;
  inset: 0 calc((100vw - var(--container)) / -2);
  z-index: -1;
  background: #f3f7f4;
  content: "";
}

.site-footer .brand {
  color: var(--ink-dark);
}

.site-footer p {
  color: rgba(16, 24, 26, 0.58);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
  color: rgba(16, 24, 26, 0.62);
  font-size: 14px;
  font-weight: 720;
}

.footer-links a {
  border-radius: var(--radius-xs);
}

.reveal {
  opacity: 1;
  transform: none;
}

.subpage {
  background:
    linear-gradient(180deg, var(--bg) 0, var(--bg) 360px, var(--paper) 360px, var(--paper) 100%);
  color: var(--ink-dark);
}

.subpage-hero,
.legal-layout,
.docs-grid,
.status-list {
  width: var(--container);
  margin-right: auto;
  margin-left: auto;
}

.subpage-hero {
  min-height: 420px;
  padding: 120px 0 88px;
  color: var(--ink);
}

.subpage-hero h1 {
  max-width: 760px;
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.subpage-hero p:not(.kicker) {
  max-width: 720px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.legal-layout,
.docs-grid,
.status-list {
  padding: 82px 0 116px;
}

.legal-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.legal-layout article,
.docs-grid article,
.status-list article {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.legal-layout article,
.docs-grid article {
  padding: 28px;
}

.legal-layout h2,
.docs-grid h2,
.status-list h2 {
  margin: 0;
  color: var(--ink-dark);
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.14;
}

.legal-layout p,
.docs-grid p,
.status-list p {
  margin: 16px 0 0;
  color: var(--ink-body);
  font-size: 16px;
  line-height: 1.72;
}

.legal-layout a {
  color: var(--accent-strong);
  font-weight: 800;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.docs-grid article {
  min-height: 260px;
}

.docs-grid span {
  display: block;
  margin-bottom: 54px;
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 820;
}

.docs-grid .button {
  width: fit-content;
  margin-top: 20px;
}

.status-list {
  display: grid;
  gap: 12px;
}

.status-list article {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
}

.status-list p {
  margin-top: 8px;
}

.status-list strong {
  color: var(--accent-strong);
  font-size: 14px;
  white-space: nowrap;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-dot.ok {
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(17, 184, 159, 0.12);
}

.status-dot.review {
  background: var(--warning);
  box-shadow: 0 0 0 6px rgba(214, 166, 66, 0.14);
}

.not-found .subpage-hero {
  min-height: calc(100dvh - 74px);
}

.subpage.not-found {
  background: var(--bg);
}

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

  .button,
  .site-nav a,
  .menu-button span {
    transition: none;
  }
}

@media (max-width: 1180px) {
  .hero h1 {
    font-size: 64px;
  }

  .section-heading h2,
  .console-copy h2,
  .security-panel h2,
  .invite-card h2 {
    font-size: 48px;
  }

  .download-card.primary-card strong {
    font-size: 42px;
  }
}

@media (max-width: 1040px) {
  :root {
    --container: min(100vw - 32px, 820px);
  }

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

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(16, 27, 32, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 180ms var(--ease),
      transform 180ms var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .nav-cta {
    margin-top: 6px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 58px 0 82px;
  }

  .hero h1 {
    max-width: 680px;
    font-size: 58px;
  }

  .signal-strip {
    grid-template-columns: 1fr 1fr;
  }

  .download-grid,
  .console-layout,
  .security-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .download-card.primary-card {
    grid-row: auto;
  }

  .download-card:not(.primary-card) {
    grid-template-columns: 1fr;
  }

  .download-card:not(.primary-card) span,
  .download-card:not(.primary-card) strong,
  .download-card:not(.primary-card) small:not(.status-label),
  .download-card:not(.primary-card) .button.download-link {
    grid-column: 1;
    grid-row: auto;
  }

  .legal-layout,
  .docs-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-rail,
  .ops-grid {
    grid-template-columns: 1fr;
  }

  .process-card:nth-child(2),
  .process-card:nth-child(3),
  .ops-card:nth-child(2),
  .ops-card:nth-child(4) {
    margin-top: 0;
  }

  .section-pad {
    padding: 86px 0;
  }

  .download {
    margin-top: 72px;
    padding-top: 88px;
  }

  .site-footer {
    justify-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  :root {
    --container: calc(100vw - 24px);
  }

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

  .brand {
    font-size: 15px;
  }

  .hero {
    gap: 38px;
    padding: 40px 0 70px;
  }

  .hero h1 {
    max-width: 360px;
    font-size: 46px;
    line-height: 1.08;
  }

  .hero-text {
    font-size: 17px;
    line-height: 1.66;
  }

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

  .hero-product {
    margin-top: 2px;
  }

  .window-bar {
    min-height: 34px;
    padding: 0 12px;
  }

  .window-bar span {
    width: 8px;
    height: 8px;
  }

  .hero-badge {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 12px;
  }

  .signal-strip,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .signal-strip article,
  .download-card,
  .download-card.primary-card,
  .process-card,
  .ops-card,
  .invite-card {
    padding: 22px;
  }

  .section-pad {
    padding: 72px 0;
    scroll-margin-top: 76px;
  }

  .download {
    margin-top: 58px;
    padding-top: 72px;
  }

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

  .section-heading h2,
  .console-copy h2,
  .security-panel h2,
  .invite-card h2 {
    font-size: 36px;
    line-height: 1.12;
  }

  .download-card strong,
  .download-card.primary-card strong {
    font-size: 30px;
  }

  .download-card:not(.primary-card) {
    grid-template-columns: 1fr;
  }

  .status-label {
    width: 100%;
    justify-content: center;
  }

  .process-card {
    min-height: 220px;
  }

  .process-card h3 {
    margin-top: 44px;
    font-size: 24px;
  }

  .copy-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .security-panel {
    gap: 28px;
  }

  .security-grid article {
    min-height: 140px;
  }

  .site-footer {
    padding-bottom: 42px;
  }

  .subpage {
    background:
      linear-gradient(180deg, var(--bg) 0, var(--bg) 300px, var(--paper) 300px, var(--paper) 100%);
  }

  .subpage-hero {
    min-height: 340px;
    padding: 72px 0 58px;
  }

  .subpage-hero h1 {
    font-size: 44px;
  }

  .subpage-hero p:not(.kicker) {
    font-size: 17px;
  }

  .legal-layout,
  .docs-grid,
  .status-list {
    padding: 58px 0 72px;
  }

  .legal-layout,
  .docs-grid {
    grid-template-columns: 1fr;
  }

  .status-list article {
    grid-template-columns: 12px minmax(0, 1fr);
    align-items: start;
  }

  .status-list strong {
    grid-column: 2;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 42px;
  }

  .section-heading h2,
  .console-copy h2,
  .security-panel h2,
  .invite-card h2 {
    font-size: 33px;
  }

  .subpage-hero h1 {
    font-size: 40px;
  }
}
