:root {
  --graphite: #111312;
  --graphite-2: #191c1b;
  --graphite-3: #202422;
  --ivory: #f5efe3;
  --muted: #bcb3a2;
  --line: rgba(245, 239, 227, 0.14);
  --brass: #b99a59;
  --slate: #7d95a0;
  --wine: #8b5f68;
  --shadow: 0 36px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--graphite);
  color: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.48;
}

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

button,
input,
select {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 19, 18, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--brass);
  border-radius: 50%;
  color: var(--brass);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
}

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

.nav-cta {
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ivory);
  color: var(--graphite);
  font-weight: 900;
}

.hero {
  min-height: calc(100svh - 70px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 56px;
  align-items: center;
  padding: 58px 0 42px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brass);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(46px, 6.5vw, 86px);
  line-height: 0.96;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.16;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 16px;
  font-weight: 900;
  transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), border-color 140ms ease;
}

.button:active {
  transform: scale(0.98);
}

.primary {
  border-color: var(--ivory);
  background: var(--ivory);
  color: var(--graphite);
}

.secondary {
  background: transparent;
  color: var(--ivory);
}

.privacy-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 13px;
}

.privacy-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
}

.product-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--graphite-2);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.panel-top h2 {
  margin-bottom: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 21px;
}

.panel-kicker {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pill {
  flex: none;
  border: 1px solid rgba(185, 154, 89, 0.35);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--brass);
  font-size: 12px;
  font-weight: 900;
}

.product-body {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
}

.memo-preview {
  min-height: 390px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.memo-meta,
.signal-card span,
.memo-list span,
.policy-stack span {
  display: block;
  color: var(--brass);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.memo-preview h3 {
  margin: 18px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1;
}

.memo-preview p,
.signal-card p,
.section-copy,
.memo-list p,
.policy-stack p,
.apply-layout p {
  color: var(--muted);
}

.memo-lines {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.memo-lines span {
  height: 10px;
  border-radius: 999px;
  background: rgba(245, 239, 227, 0.12);
}

.memo-lines span:nth-child(2) {
  width: 78%;
}

.memo-lines span:nth-child(3) {
  width: 88%;
}

.memo-lines span:nth-child(4) {
  width: 62%;
  background: rgba(185, 154, 89, 0.24);
}

.network-preview {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  background: var(--graphite-3);
}

.signal-card {
  min-height: 112px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(17, 19, 18, 0.42);
}

.signal-card.brass {
  background: rgba(185, 154, 89, 0.1);
}

.signal-card strong {
  display: block;
  margin-top: 10px;
  line-height: 1.2;
}

.signal-card p {
  margin: 8px 0 0;
  font-size: 13px;
}

.trust-band {
  border-block: 1px solid var(--line);
  background: #171a19;
}

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

.trust-layout p {
  min-height: 132px;
  margin: 0;
  padding: 24px;
  border-inline: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.topics-section,
.network-section {
  padding: 88px 0;
}

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

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.topic-grid article {
  min-height: 190px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--graphite-2);
  transition: background 140ms ease, transform 140ms cubic-bezier(0.23, 1, 0.32, 1);
}

.topic-grid article:nth-child(4n) {
  border-right: 0;
}

.topic-grid article:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.topic-grid article.is-active {
  background: rgba(185, 154, 89, 0.13);
}

.topic-grid article:active {
  transform: scale(0.99);
}

.topic-grid span {
  display: block;
  margin-bottom: 52px;
  color: var(--brass);
  font-size: 12px;
  font-weight: 950;
}

.memo-section {
  border-block: 1px solid var(--line);
  background: #f5efe3;
  color: var(--graphite);
}

.memo-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 42px;
  padding: 82px 0;
}

.memo-section .eyebrow,
.memo-section .memo-list span {
  color: #7b622f;
}

.memo-list {
  display: grid;
  gap: 14px;
}

.memo-list article {
  padding: 20px;
  border: 1px solid rgba(17, 19, 18, 0.16);
  border-radius: 8px;
  background: #fffaf0;
}

.network-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
  align-items: start;
}

.policy-stack {
  display: grid;
  gap: 14px;
}

.policy-stack article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--graphite-2);
}

.policy-stack p {
  margin: 12px 0 0;
}

.apply-band {
  border-top: 1px solid var(--line);
  background: #171a19;
}

.apply-layout {
  display: grid;
  grid-template-columns: 0.95fr minmax(320px, 0.72fr);
  gap: 42px;
  align-items: end;
  padding: 82px 0;
}

.apply-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--graphite-2);
}

.apply-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.apply-form input,
.apply-form select,
.apply-form button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 13px;
}

.apply-form input,
.apply-form select {
  background: #0f1110;
  color: var(--ivory);
}

.apply-form button {
  background: var(--ivory);
  color: var(--graphite);
  font-weight: 950;
}

.apply-form :disabled {
  cursor: not-allowed;
  opacity: 0.88;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer-layout p {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .memo-layout,
  .network-section,
  .apply-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .trust-layout,
  .topic-grid {
    grid-template-columns: 1fr 1fr;
  }

  .topic-grid article:nth-child(4n),
  .topic-grid article:nth-last-child(-n + 4) {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .topic-grid article:nth-child(2n) {
    border-right: 0;
  }

  .topic-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .product-body,
  .trust-layout,
  .topic-grid {
    grid-template-columns: 1fr;
  }

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

  .trust-layout p,
  .topic-grid article,
  .topic-grid article:nth-child(2n),
  .topic-grid article:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .topic-grid article {
    min-height: 132px;
  }

  .topic-grid span {
    margin-bottom: 26px;
  }

  .topic-grid article:last-child {
    border-bottom: 0;
  }

  .panel-top,
  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }
}
