:root {
  color-scheme: light;
  --bg: #f4f2ea;
  --panel: #fcfbf7;
  --ink: #111111;
  --muted: #66655d;
  --line: #111111;
  --track: #ffffff;
  --flag: #e7e1d3;
  --shadow: 8px 8px 0 #111111;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(244, 242, 234, 0.96)),
    repeating-linear-gradient(
      135deg,
      rgba(17, 17, 17, 0.05) 0,
      rgba(17, 17, 17, 0.05) 10px,
      transparent 10px,
      transparent 32px
    ),
    var(--bg);
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: "Avenir Next", "Hiragino Sans", "Yu Gothic", sans-serif;
}

a {
  color: inherit;
}

.shell {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.hero {
  position: relative;
  margin: 20px 0 24px;
  padding: 30px;
  border: 3px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(252, 251, 247, 0.96)),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 18px 16px auto;
  width: 120px;
  height: 10px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--line) 0,
      var(--line) 12px,
      transparent 12px,
      transparent 18px
    );
  opacity: 0.22;
}

.hero-compact {
  margin-top: 8px;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(32px, 6vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 16px;
  font-size: 22px;
  line-height: 1.1;
}

h3 {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.2;
}

.lead {
  margin-top: 16px;
  max-width: 44rem;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tag,
.card-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--track);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.card,
.panel {
  border: 3px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.card {
  display: block;
  padding: 22px;
  text-decoration: none;
  transition:
    transform 150ms ease,
    background-color 150ms ease;
}

.card:hover {
  transform: translate(-2px, -2px);
  background: #ffffff;
}

.card-label {
  margin-bottom: 10px;
}

.card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.card p,
.panel p,
.plain-list li,
.subcopy {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.panel {
  padding: 22px;
}

.stack-tight {
  margin-top: 16px;
}

.panel + .panel {
  margin-top: 16px;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.panel-row:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.panel-row:last-of-type {
  padding-bottom: 0;
}

.panel-row span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.panel-row strong {
  text-align: right;
  font-size: 14px;
  line-height: 1.5;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plain-list {
  margin: 0;
  padding-left: 18px;
}

.subcopy {
  margin-top: 10px;
}

.faq + .faq {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.subnav {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.subnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 20px, 960px);
    padding-bottom: 28px;
  }

  .hero,
  .panel,
  .card {
    border-radius: 22px;
    box-shadow: 6px 6px 0 #111111;
  }

  .hero,
  .panel {
    padding: 20px;
  }

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

  .panel-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel-row strong {
    text-align: left;
  }
}
