@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/public-sans-latin-wght-normal.woff2") format("woff2");
}

@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/eb-garamond-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/eb-garamond-latin-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Red Hat Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/red-hat-mono-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Red Hat Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/red-hat-mono-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Pretendard Subset";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/pretendard-ko-e4d5783488.woff2") format("woff2");
}

:root {
  --parchment: #f7f7f4;
  --bone: #f2f1ed;
  --linen: #e6e5e0;
  --stone: #cdcdc9;
  --mist: #a1a19f;
  --driftwood: #84847e;
  --ash: #7a7974;
  --ink: #26251e;

  --ember: #f54e00;
  --amber: #c08532;
  --forest: #34785c;
  --verdant: #1f8a65;
  --crimson: #cf2d56;
  --selection: #8bc4f8;

  --border-hairline: rgba(38, 37, 30, 0.09);
  --border-strong: rgba(38, 37, 30, 0.16);
  --shadow-workbench: 0 28px 70px rgba(38, 37, 30, 0.14), 0 14px 32px rgba(38, 37, 30, 0.1), 0 0 0 1px rgba(38, 37, 30, 0.08);

  --radius-sm: 4px;
  --font-sans: "Public Sans", "Pretendard Subset", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "EB Garamond", "Pretendard Subset", Georgia, serif;
  --font-mono: "Red Hat Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

html[lang="ko"] {
  --font-sans: "Pretendard Subset", "Public Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

::selection {
  background: var(--selection);
  color: var(--ink);
}

html {
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  font-feature-settings: "tnum" 1;
}

p {
  margin: 0;
}

a {
  color: var(--ember);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration: underline;
}

code, pre, .mono {
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--parchment);
  border-radius: var(--radius-sm);
  font-size: 13px;
  z-index: 100;
}

.skip-link:focus {
  left: 24px;
}

/* Top Navigation (52px transparent header per Refero spec) */
.site-nav {
  height: 52px;
  border-bottom: 1px solid var(--border-hairline);
  background: var(--parchment);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 4px;
  height: 4px;
  background: var(--ember);
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ash);
  font-weight: 400;
}

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

.nav-links a,
.ghost-link {
  color: rgba(38, 37, 30, 0.68);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover,
.ghost-link:hover {
  color: var(--ink);
  text-decoration: underline;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Type Scale (Weight 400 headlines + tight progressive negative tracking) */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.63;
  color: var(--ash);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.eyebrow .ember-text {
  color: var(--ember);
}

.display {
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 18ch;
}

html[lang="ko"] .display {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  max-width: 19ch;
  word-break: keep-all;
}

.heading-lg {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 400;
}

html[lang="ko"] .heading-lg {
  line-height: 1.3;
  word-break: keep-all;
}

.heading {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.012em;
  font-weight: 400;
}

.heading-sm {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  font-weight: 400;
}

.editorial-lead {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.46;
  color: var(--ink);
  max-width: 64ch;
  margin-top: 20px;
}

html[lang="ko"] .editorial-lead {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.68;
  color: rgba(38, 37, 30, 0.86);
  word-break: keep-all;
}

.editorial-sub {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.48;
  color: var(--driftwood);
  margin-top: 12px;
  max-width: 60ch;
}

html[lang="ko"] .editorial-sub {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  word-break: keep-all;
}

.body-sm {
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--driftwood);
}

html[lang="ko"] .body-sm {
  line-height: 1.68;
  word-break: keep-all;
}

/* Buttons (Strict 4px radius; max 2 styles in a group: Ink + Linen) */
.action-pair {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  padding: 0.76em 1.32em 0.78em;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1), border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--ink);
  color: var(--parchment);
}

.btn-primary:hover {
  background: rgba(38, 37, 30, 0.88);
  color: var(--parchment);
}

.btn-secondary {
  background: var(--linen);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--stone);
  color: var(--ink);
}

.btn-compact {
  padding: 6px 12px;
  font-size: 12px;
  font-family: var(--font-mono);
}

/* In-workbench chromatic punctuation buttons (allowed inside macOS window mockup per Refero spec) */
.btn-amber {
  background: var(--amber);
  color: var(--parchment);
}

.btn-amber:hover {
  background: rgba(192, 133, 50, 0.88);
}

.btn-forest {
  background: var(--forest);
  color: var(--parchment);
  border-color: var(--forest);
}

.btn-forest:hover {
  background: rgba(52, 120, 92, 0.88);
}

/* Sections & Rhythm */
.hero {
  padding: 64px 0 40px;
}

.hero-cli-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.terminal-field {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--bone);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.terminal-prompt {
  color: var(--ash);
  user-select: none;
}

.section {
  padding: 76px 0;
}

.section-bordered {
  border-top: 1px solid var(--stone);
}

/* 8-Tile Mechanized Gate Strip (Linen tiles, replacing fake customer logos with real engine gates) */
.gate-strip-section {
  padding: 28px 0 48px;
}

.gate-strip-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ash);
  margin-bottom: 12px;
}

.gate-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
}

.gate-tile {
  background: var(--linen);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
  border: 1px solid var(--border-hairline);
}

.gate-tile-id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ash);
}

.gate-tile-name {
  font-size: 13px;
  color: rgba(38, 37, 30, 0.78);
  line-height: 1.25;
}

/* macOS Window Mockup Frame — Live Vericull Workbench */
.workbench-outer {
  margin-top: 40px;
  background: var(--bone);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-workbench);
  padding: 18px;
}

.window-frame {
  background: var(--parchment);
  border: 1px solid var(--stone);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.window-chrome {
  height: 38px;
  background: var(--bone);
  border-bottom: 1px solid var(--stone);
  padding: 0 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.traffic-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.traffic-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--stone);
}

.window-title {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--ash);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.window-status-pill {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--verdant);
}

.window-status-pill.is-tampered {
  color: var(--crimson);
}

/* File Tabs Strip */
.tab-strip {
  display: flex;
  flex-wrap: wrap;
  background: var(--bone);
  border-bottom: 1px solid var(--stone);
  padding: 0 8px;
  gap: 2px;
}

.file-tab {
  appearance: none;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 9px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ash);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.file-tab:hover {
  color: var(--ink);
}

.file-tab[aria-selected="true"] {
  color: var(--ink);
  background: var(--parchment);
  border-bottom-color: var(--ink);
}

.tab-verdict-dot {
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--ash);
}

.tab-verdict-dot.v-reject { background: var(--crimson); }
.tab-verdict-dot.v-hold { background: var(--amber); }
.tab-verdict-dot.v-confirm { background: var(--verdant); }

/* Workbench 2-Pane Body */
.workbench-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 440px;
}

.wb-pane-left {
  padding: 20px;
  border-right: 1px solid var(--stone);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.wb-pane-right {
  padding: 20px;
  background: var(--bone);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.wb-case-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wb-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ash);
}

.wb-case-title {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  font-weight: 400;
  color: var(--ink);
}

.wb-case-summary {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--driftwood);
}

.source-editor-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ash);
}

.source-textarea {
  width: 100%;
  min-height: 118px;
  resize: vertical;
  background: var(--bone);
  color: var(--ink);
  border: 1px solid var(--stone);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
}

.source-textarea:focus,
.claim-needle-input:focus {
  outline: 1px solid var(--ink);
  border-color: var(--ink);
}

.claims-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.claim-row {
  background: var(--bone);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.claim-row.is-failed {
  border-color: rgba(207, 45, 86, 0.45);
}

.claim-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.claim-status-ok {
  color: var(--verdant);
}

.claim-status-fail {
  color: var(--crimson);
}

.claim-edit-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.claim-needle-input {
  flex: 1;
  min-width: 0;
  background: var(--parchment);
  color: var(--ink);
  border: 1px solid var(--stone);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.claim-note {
  font-size: 12px;
  color: var(--driftwood);
}

.wb-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--border-hairline);
}

/* Right Pane Verdict Readout */
.verdict-banner {
  background: var(--parchment);
  border: 1px solid var(--stone);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.verdict-code {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  word-break: break-all;
}

.verdict-code.v-reject { color: var(--crimson); }
.verdict-code.v-hold { color: var(--amber); }
.verdict-code.v-confirm { color: var(--verdant); }

.ladder-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
}

.ladder-step {
  background: var(--parchment);
  border: 1px solid var(--stone);
  border-radius: var(--radius-sm);
  padding: 7px 6px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ash);
}

.ladder-step.is-reached {
  background: var(--linen);
  color: var(--ink);
  border-color: var(--ink);
}

.ladder-step.is-demoted {
  border-style: dashed;
  border-color: var(--crimson);
  color: var(--crimson);
}

.kv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.kv-table th,
.kv-table td {
  padding: 7px 0;
  border-bottom: 1px solid var(--border-hairline);
  text-align: left;
  vertical-align: top;
}

.kv-table th {
  font-weight: 400;
  color: var(--ash);
  width: 44%;
  padding-right: 8px;
}

.kv-table td {
  font-family: var(--font-mono);
  color: var(--ink);
  word-break: break-all;
}

.seal-callout {
  background: var(--parchment);
  border: 1px solid var(--stone);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ash);
  line-height: 1.5;
}

.seal-callout strong {
  font-weight: 500;
  color: var(--verdant);
}

.seal-callout.is-broken strong {
  color: var(--crimson);
}

/* Alternating 50/50 Feature Sections */
.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.split-section.reverse .split-copy {
  order: 2;
}

.split-section.reverse .split-card {
  order: 1;
}

.split-copy,
.split-card {
  min-width: 0;
}

.paper-card {
  background: var(--bone);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 24px;
  min-width: 0;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-list li {
  padding-top: 12px;
  border-top: 1px solid var(--border-hairline);
  font-size: 14px;
  color: var(--driftwood);
  line-height: 1.55;
}

.spec-list li strong {
  font-weight: 500;
  color: var(--ink);
}

.data-table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th,
.data-table td {
  padding: 10px 10px;
  border-bottom: 1px solid var(--stone);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--ash);
}

.data-table td {
  color: var(--ink);
}

.data-table td.muted {
  color: var(--driftwood);
}

.tag-verdant {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--verdant);
}

.tag-crimson {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--crimson);
}

.tag-amber {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber);
}

/* 3-Column Grid for Ecosystem & Pricing */
.three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.plan-card {
  background: var(--bone);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.plan-price {
  margin-top: 12px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.plan-price-sub {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ash);
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  color: var(--driftwood);
}

.plan-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.plan-tick {
  font-family: var(--font-mono);
  color: var(--ash);
  flex-shrink: 0;
}

.legal-note {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ash);
  max-width: 92ch;
}

/* Offline Verification Accordion */
.offline-box {
  margin-top: 24px;
  background: var(--bone);
  border: 1px solid var(--stone);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.offline-box summary {
  cursor: pointer;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

.offline-steps {
  margin: 14px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  color: var(--driftwood);
  line-height: 1.6;
}

.wrap-anywhere {
  overflow-wrap: anywhere;
  word-break: break-all;
}

/* Footer (4-column link grid on Parchment canvas per Refero spec) */
.site-footer {
  border-top: 1px solid var(--stone);
  padding: 56px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a,
.footer-links span {
  font-size: 13px;
  color: var(--ash);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ash);
}

/* CSP-safe utility classes (no inline style attributes) */
.text-ash {
  color: var(--ash);
}

.mt-6-row {
  margin-bottom: 6px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.footer-tagline {
  margin-top: 12px;
  max-width: 34ch;
}

.wb-btn-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Responsive Breakpoints */
@media (max-width: 1040px) {
  .gate-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .workbench-grid {
    grid-template-columns: 1fr;
  }
  .wb-pane-left {
    border-right: none;
    border-bottom: 1px solid var(--stone);
  }
  .split-section,
  .three-grid {
    grid-template-columns: 1fr;
  }
  .split-section.reverse .split-copy,
  .split-section.reverse .split-card {
    order: initial;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }
  .gate-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workbench-outer {
    padding: 10px;
  }
  .window-chrome {
    grid-template-columns: auto 1fr;
  }
  .traffic-dots {
    display: none;
  }
  .window-title {
    text-align: left;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
