@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("/fonts/playfair-display-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #171719;
  --muted: #67666b;
  --line: rgba(23, 23, 25, 0.13);
  --paper: #f7f5f1;
  --card: #ffffff;
  --soft: #eeebe4;
  --accent: #e7505a;
  --accent-dark: #a92d37;
  --dark: #161617;
  --radius: 1.4rem;
  --shadow: 0 16px 50px rgba(35, 30, 24, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

button, input, select { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-180%);
  background: var(--dark);
  color: white;
  padding: 0.7rem 1rem;
  border-radius: 0.7rem;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 245, 241, 0.92);
  backdrop-filter: blur(18px);
}

.nav,
.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

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

.brand {
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.035em;
  font-size: 1.25rem;
}

.nav-links { display: flex; align-items: center; gap: 0.35rem; }

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a:focus-visible { background: var(--soft); }

.nav-links .shop-link {
  background: var(--dark);
  color: white;
  padding-inline: 1rem;
}

.hero { padding: clamp(4.5rem, 9vw, 8rem) 0 3.5rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.eyebrow,
.card-label {
  margin: 0 0 0.8rem;
  color: var(--accent-dark);
  font-size: 0.73rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { overflow-wrap: anywhere; }

h1 {
  max-width: 14ch;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-dek {
  max-width: 660px;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.55;
}

.hero-cta { margin-top: 1.5rem; }

.hero-visual { padding-bottom: 4.5rem; }

.hero-visual .hero-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.hero-visual .hero-media { aspect-ratio: 16 / 11; }

.hero-media {
  overflow: hidden;
  border-radius: calc(var(--radius) + 0.55rem);
  background: var(--soft);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.status-banner {
  border-block: 1px solid rgba(169, 45, 55, 0.2);
  background: #fff1f1;
  color: #6f252c;
}

.status-inner {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.8rem 0;
  font-size: 0.9rem;
}

.status-inner strong { white-space: nowrap; }

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding-block: 2.5rem 6rem;
}

.prose { min-width: 0; }

.content-layout-visual {
  display: block;
  max-width: 1120px;
  padding-top: 0;
}

.content-layout-visual .section { padding-block: clamp(3.5rem, 7vw, 6rem); }

.content-layout-visual .section > h2,
.content-layout-visual .section > p { max-width: 760px; }

.section {
  padding: 2.6rem 0;
  border-top: 1px solid var(--line);
}

.section:first-child { border-top: 0; padding-top: 0; }

.section h2 {
  max-width: 22ch;
  margin: 0 0 1.1rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section p,
.section ul { max-width: 720px; }

.section p { margin: 0.8rem 0; }

.section ul { padding-left: 1.2rem; }

.section li + li { margin-top: 0.6rem; }

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.path-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.25rem);
  background: var(--card);
  box-shadow: var(--shadow);
}

.path-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.path-card-copy { padding: clamp(1.3rem, 3vw, 2rem); }

.path-card h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.path-card-copy > p:not(.card-label) { color: var(--muted); }

.path-check { min-height: 3.5em; font-size: 0.86rem; }

.path-check strong { color: var(--ink); }

.section-note {
  margin-top: 1.25rem !important;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.92rem;
}

.test-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: none !important;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: test-step;
}

.test-steps li {
  min-height: 180px;
  margin: 0 !important;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  counter-increment: test-step;
}

.test-steps li::before {
  content: counter(test-step, decimal-leading-zero);
  display: block;
  margin-bottom: 2rem;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.test-steps strong,
.test-steps span { display: block; }

.test-steps span { margin-top: 0.45rem; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

.source-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.source-bar a { color: var(--ink); }

.table-wrap { margin-top: 1.4rem; overflow-x: auto; }

table { width: 100%; border-collapse: collapse; background: var(--card); }

th,
td {
  min-width: 150px;
  padding: 1rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th { background: var(--soft); font-size: 0.83rem; line-height: 1.3; }

td { font-size: 0.92rem; }

.sidebar { align-self: start; position: sticky; top: 96px; }

.sidebar-card {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
}

.sidebar-card + .sidebar-card { margin-top: 1rem; }

.sidebar-card h2 {
  margin: 0 0 0.8rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sidebar-card ul { list-style: none; padding: 0; margin: 0; }

.sidebar-card li + li { margin-top: 0.65rem; }

.sidebar-card a { color: var(--muted); font-size: 0.86rem; }

.sidebar-card a:hover,
.sidebar-card a:focus-visible { color: var(--ink); }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.25rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.05rem;
  border: 1px solid var(--dark);
  border-radius: 999px;
  background: var(--dark);
  color: white;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

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

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 5rem;
}

.resource-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.4rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 30px transparent;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.resource-card:hover,
.resource-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.resource-card h2,
.resource-card h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.resource-card p:last-child { color: var(--muted); margin-bottom: 0; }

.tool {
  padding: clamp(1.4rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.tool fieldset { padding: 0; border: 0; margin: 0; }

.tool fieldset + fieldset { margin-top: 1.4rem; }

.tool legend { font-weight: 600; margin-bottom: 0.8rem; }

.choices { display: grid; gap: 0.65rem; }

.choice {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  cursor: pointer;
}

.choice:has(input:checked) { border-color: var(--accent); background: #fff6f6; }

.tool .button { margin-top: 1rem; cursor: pointer; }

.tool-result {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.9rem;
  background: var(--soft);
}

.tool-result:empty { display: none; }

.disclosure {
  margin-top: 1.4rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.65);
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer { padding: 3rem 0; background: var(--dark); color: white; }

.footer-grid { display: flex; justify-content: space-between; gap: 2rem; }

.footer-grid p { max-width: 560px; color: rgba(255,255,255,0.62); }

.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; align-content: start; }

.footer-links a { color: rgba(255,255,255,0.72); font-size: 0.86rem; }

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--accent-dark);
}

@media (max-width: 800px) {
  .nav { min-height: 62px; }
  .nav-links a:not(.shop-link) { display: none; }
  .hero { padding-top: 3.5rem; }
  .hero-grid,
  .content-layout { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 16 / 10; }
  .hero-visual .hero-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.75rem, 12vw, 4.3rem); }
  .sidebar { position: static; }
  .card-grid,
  .path-grid,
  .test-steps { grid-template-columns: 1fr; }
  .test-steps li { min-height: 0; }
  .test-steps li::before { margin-bottom: 1rem; }
  .footer-grid { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
