@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
  --bg: #0b1112;
  --panel: #10191b;
  --panel-2: #162123;
  --surface: #e7efe7;
  --surface-2: #d7e2d8;
  --ink: #eef7ed;
  --text: #0b1112;
  --body: #a9bab2;
  --muted: #6f8079;
  --mint: #9ee6b4;
  --lime: #d5f47a;
  --coral: #ff795f;
  --blue: #87bfff;
  --line: rgba(238, 247, 237, 0.14);
  --dark-line: rgba(11, 17, 18, 0.14);
  --shadow: 0 20px 46px rgba(2, 6, 7, 0.34);
  --max: 1260px;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(238, 247, 237, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 247, 237, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 36px 36px;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.58;
  letter-spacing: 0;
}

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

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

.sample-note {
  margin: 0;
  padding: 8px 18px;
  background: #060a0b;
  color: rgba(238, 247, 237, 0.68);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  gap: 22px;
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
}

.brandline,
.site-header nav,
.header-cta {
  display: flex;
  align-items: center;
}

.brandline {
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.brandline span {
  width: 14px;
  height: 14px;
  background: var(--mint);
}

.site-header nav {
  gap: 22px;
  color: var(--body);
  font-size: 13px;
  font-weight: 700;
}

.site-header a:hover,
.site-header a:focus-visible {
  color: var(--mint);
}

.header-cta {
  justify-self: end;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  background: var(--mint);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.hero,
.workflow-section,
.audit-section,
.waitlist-section,
.page-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  min-height: calc(100svh - 78px);
  padding: 20px 0 86px;
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(130px, 170px) minmax(300px, 440px) minmax(260px, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 0;
  padding: 14px 18px;
  background: var(--panel-2);
  box-shadow: var(--shadow);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.eyebrow,
.workflow-grid span,
.pane-head span,
.signal-grid span,
.route-card span,
.audit-row span {
  display: block;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1,
.section-copy h2,
.audit-section h2,
.waitlist-section h2 {
  margin: 0;
  max-width: 440px;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-copy p:not(.eyebrow),
.section-copy p,
.waitlist-section > div > p {
  margin: 0;
  color: var(--body);
  font-size: 16px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 0;
}

.primary-action,
.secondary-action,
.waitlist-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.primary-action {
  background: var(--mint);
  color: var(--text);
}

.secondary-action {
  background: rgba(238, 247, 237, 0.1);
  color: var(--ink);
}

.primary-action:hover,
.secondary-action:hover,
.waitlist-form button:hover {
  transform: translateY(-2px);
}

.product-shell {
  display: grid;
  grid-template-columns: 112px minmax(220px, 0.7fr) minmax(0, 1.25fr) minmax(220px, 0.72fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  min-height: 690px;
  padding: 10px;
  background: #060a0b;
  box-shadow: var(--shadow);
}

.product-toolbar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-width: 0;
  padding: 14px 16px;
  background: var(--panel-2);
}

.product-toolbar span {
  color: var(--mint);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-toolbar strong {
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.product-toolbar em {
  flex: 0 0 auto;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.app-sidebar,
.inbox-pane,
.classification-pane,
.approval-pane {
  min-width: 0;
  background: var(--panel);
}

.app-sidebar {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  color: var(--body);
  font-family: var(--mono);
  font-size: 12px;
}

.app-sidebar strong {
  margin-bottom: 18px;
  color: var(--ink);
}

.app-sidebar span {
  padding: 9px 8px;
  background: rgba(238, 247, 237, 0.05);
}

.inbox-pane,
.classification-pane,
.approval-pane {
  padding: 18px;
}

.classification-pane {
  grid-column: 3;
  grid-row: 2;
  display: grid;
  align-content: start;
  gap: 14px;
  background: var(--surface);
  color: var(--text);
}

.approval-pane {
  grid-column: 4;
  grid-row: 2;
}

.pane-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
}

.pane-head strong {
  font-size: 14px;
}

.classification-pane .pane-head span,
.signal-grid span,
.route-card span {
  color: #34685c;
}

.ticket {
  padding: 14px;
  background: rgba(238, 247, 237, 0.06);
}

.ticket + .ticket {
  margin-top: 8px;
}

.ticket.is-active {
  background: rgba(255, 121, 95, 0.16);
}

.ticket span {
  display: block;
  color: var(--coral);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.ticket p,
.approval-pane p {
  margin: 8px 0 0;
  color: rgba(238, 247, 237, 0.72);
  font-size: 13px;
}

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

.signal-grid article,
.route-card {
  padding: 18px;
  background: var(--surface-2);
}

.signal-grid strong,
.route-card strong {
  display: block;
  margin-top: 18px;
  font-size: 20px;
  line-height: 1.2;
}

.route-card {
  margin-top: 10px;
  background: #c8d9cf;
}

.route-card p {
  margin: 12px 0 0;
  color: #425a51;
}

.approval-pane ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.approval-pane li {
  padding: 12px;
  background: rgba(238, 247, 237, 0.06);
}

.approval-pane li span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.workflow-section,
.audit-section,
.waitlist-section {
  padding: 88px 0;
}

.workflow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1fr);
  gap: 38px;
  align-items: start;
}

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

.workflow-grid article {
  min-height: 230px;
  padding: 24px;
  background: var(--panel);
  transition: transform 0.2s ease, background 0.2s ease;
}

.workflow-grid article:hover {
  transform: translateY(-2px);
  background: var(--panel-2);
}

.workflow-grid strong {
  display: block;
  margin: 42px 0 10px;
  font-size: 26px;
}

.workflow-grid p {
  margin: 0;
  color: var(--body);
}

.audit-section {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.audit-log {
  display: grid;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.audit-row {
  display: grid;
  grid-template-columns: 0.34fr 1fr 0.72fr 0.72fr;
}

.audit-row > * {
  min-width: 0;
  margin: 0;
  padding: 18px;
  border-top: 1px solid var(--dark-line);
}

.audit-row > * + * {
  border-left: 1px solid var(--dark-line);
}

.audit-head {
  background: #ccdacd;
}

.audit-head span {
  color: #496159;
}

.audit-row strong {
  color: #25604f;
  font-family: var(--mono);
}

.audit-row p {
  color: #425a51;
}

.waitlist-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(340px, 0.58fr);
  gap: 16px;
  align-items: stretch;
}

.waitlist-section > div,
.waitlist-form {
  padding: clamp(26px, 4vw, 46px);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.waitlist-form {
  display: grid;
  gap: 12px;
  background: var(--surface);
  color: var(--text);
}

.waitlist-form label {
  font-size: 13px;
  font-weight: 800;
}

.waitlist-form input,
.waitlist-form select,
.waitlist-form textarea {
  width: 100%;
  border: 0;
  background: var(--surface-2);
  color: var(--text);
  padding: 14px 16px;
  outline: 0;
}

.waitlist-form input:focus,
.waitlist-form select:focus,
.waitlist-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(158, 230, 180, 0.38);
}

.waitlist-form button {
  margin-top: 8px;
  border: 0;
  background: var(--text);
  color: var(--ink);
  cursor: pointer;
}

.waitlist-form [data-form-status] {
  min-height: 22px;
  margin: 0;
  color: #2f6d5d;
  font-size: 13px;
  font-weight: 800;
}

.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 42px;
  color: var(--body);
  font-size: 13px;
}

.page-footer strong {
  color: var(--ink);
}

@media (max-width: 1120px) {
  .hero,
  .workflow-section,
  .audit-section,
  .waitlist-section {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy p:not(.eyebrow),
  .hero-actions {
    grid-column: 1 / -1;
  }

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

  .product-shell {
    grid-template-columns: 112px minmax(190px, 0.7fr) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .app-sidebar {
    grid-column: 1;
    grid-row: 2 / 4;
  }

  .classification-pane {
    grid-column: 3;
    grid-row: 2;
  }

  .approval-pane {
    grid-column: 2 / 4;
    grid-row: 3;
  }

  .hero-copy,
  .product-shell {
    min-height: 0;
  }

  .product-shell {
    min-height: 640px;
  }
}

@media (max-width: 780px) {
  .sample-note {
    text-align: left;
  }

  .site-header {
    grid-template-columns: 1fr;
    width: min(100% - 32px, var(--max));
  }

  .site-header nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .header-cta {
    justify-self: start;
  }

  .hero,
  .workflow-section,
  .audit-section,
  .waitlist-section,
  .page-footer {
    width: min(100% - 32px, var(--max));
  }

  .hero h1,
  .section-copy h2,
  .audit-section h2,
  .waitlist-section h2 {
    font-size: clamp(32px, 8.5vw, 38px);
  }

  .hero-copy {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .product-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .product-toolbar,
  .app-sidebar,
  .inbox-pane,
  .classification-pane,
  .approval-pane {
    grid-column: auto;
    grid-row: auto;
  }

  .product-toolbar {
    display: grid;
  }

  .app-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-sidebar strong {
    grid-column: 1 / -1;
  }

  .signal-grid,
  .workflow-grid,
  .audit-row {
    grid-template-columns: 1fr;
  }

  .audit-row > * + * {
    border-left: 0;
  }

  .workflow-section,
  .audit-section,
  .waitlist-section {
    padding: 64px 0;
  }

  .hero-actions,
  .page-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
