@font-face { font-family: "Plex Sans"; src: url("/assets/fonts/IBMPlexSans_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("/assets/fonts/IBMPlexSans_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("/assets/fonts/IBMPlexSans_700Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/assets/fonts/IBMPlexMono_500Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }

:root {
  --paper: #f3efe6;
  --sheet: #fbf9f4;
  --ink: #1d2730;
  --ink-soft: #4f5b65;
  --line: #d8d3c7;
  --teal: #0a6770;
  --amber: #e3a33b;
  --vermilion: #c9452a;
  --sans: "Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible, .button:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

.sheet-label {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin: 0 0 1.2em;
  padding-bottom: 0.7em;
  border-bottom: 2px solid var(--ink);
}

/* Header */
.bar { border-bottom: 2px solid var(--ink); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 700; }
.brand img { border-radius: 4px; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 12px;
  border: 1.5px solid transparent;
  border-radius: 4px;
}
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--ink); }

/* Hero */
.hero { padding: 56px 0 72px; border-bottom: 2px solid var(--ink); background-color: var(--paper); background-image:
  repeating-linear-gradient(0deg, transparent 0 39px, rgba(29, 39, 48, 0.05) 39px 40px),
  repeating-linear-gradient(90deg, transparent 0 39px, rgba(29, 39, 48, 0.05) 39px 40px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: start; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; }
.lead--narrow { max-width: 42em; }
.cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin: 28px 0 24px; }
.button {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  padding: 14px 22px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 6px 6px 0 var(--ink);
}
.button--soon { background: var(--sheet); color: var(--ink); cursor: default; box-shadow: 6px 6px 0 var(--amber); }
.link-arrow { font-weight: 600; }
.link-arrow::after { content: " →"; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { font-family: var(--mono); font-size: 0.82rem; border: 1.5px solid var(--ink); padding: 4px 10px; background: var(--sheet); }

.hero__plan { margin: 0; justify-self: center; max-width: 360px; }
.hero__plan img, .step img, .gallery figure img {
  border: 3px solid var(--ink);
  background: var(--sheet);
  box-shadow: 16px 16px 0 var(--teal);
}
figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 22px; }
figcaption span { font-family: var(--mono); color: var(--ink); margin-right: 6px; }

/* Steps */
.steps { padding: 72px 0; }
.steps__list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 64px; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: center; border-top: 1.5px dashed var(--ink); padding-top: 40px; }
.step:nth-child(even) { grid-template-columns: 280px minmax(0, 1fr); }
.step:nth-child(even) .step__text { order: 2; }
.step:nth-child(2) img { box-shadow: 16px 16px 0 var(--amber); }
.step:nth-child(3) img { box-shadow: 16px 16px 0 var(--vermilion); }
.step__num { display: block; font-family: var(--mono); font-size: 3rem; color: var(--teal); line-height: 1; margin-bottom: 12px; }
.step__text p { color: var(--ink-soft); max-width: 32em; }

/* Legend */
.legend { padding: 72px 0; background: var(--sheet); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.legend__table { margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.legend__table div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.legend__table dt { font-weight: 700; }
.legend__table dd { margin: 0; color: var(--ink-soft); }

/* Gallery */
.gallery { padding: 72px 0; }
.gallery__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 40px; }
.gallery figure { margin: 0; }
.gallery figure:nth-child(2) img { box-shadow: 16px 16px 0 var(--amber); }
.gallery figure:nth-child(3) img { box-shadow: 16px 16px 0 var(--vermilion); }

/* Honest */
.honest { background: var(--ink); color: var(--paper); padding: 72px 0; }
.honest .sheet-label { color: var(--amber); border-color: var(--paper); }
.honest__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; }
.honest p { font-size: 1.1rem; }

/* FAQ */
.faq { padding: 72px 0; }
.faq details { border-bottom: 1.5px solid var(--ink); max-width: 820px; }
.faq details:first-of-type { border-top: 1.5px solid var(--ink); margin-top: 32px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.15rem; padding: 18px 40px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); position: absolute; right: 4px; top: 14px; font-size: 1.5rem; color: var(--teal); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-soft); max-width: 44em; }
.contact-line { margin-top: 28px; }

/* Privacy */
.prose { padding-top: 56px; padding-bottom: 72px; max-width: 860px; }
.prose h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.prose h2 { font-size: 1.4rem; margin-top: 2em; padding-top: 0.8em; border-top: 1px solid var(--line); }
.prose li { margin-bottom: 0.4em; }
.notfound { padding-top: 80px; padding-bottom: 120px; }

/* Footer */
.foot { border-top: 2px solid var(--ink); padding: 48px 0 56px; background: var(--paper); }
.foot__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot__name { font-weight: 700; font-size: 1.2rem; }
.foot p { font-size: 0.95rem; }
.muted { color: var(--ink-soft); font-family: var(--mono); font-size: 0.85rem; }

@media (max-width: 900px) {
  .hero__grid, .honest__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__plan { max-width: 300px; }
  .legend__table { grid-template-columns: 1fr; }
  .gallery__row { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
  .step, .step:nth-child(even) { grid-template-columns: 1fr; gap: 28px; }
  .step:nth-child(even) .step__text { order: 0; }
  .step img { max-width: 280px; }
  .foot__grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .legend__table div { grid-template-columns: 1fr; gap: 4px; }
  .brand__name { font-size: 0.95rem; }
  .nav a { padding: 10px 8px; font-size: 0.9rem; }
  .hero__plan img, .step img, .gallery figure img { box-shadow: 10px 10px 0 var(--teal); }
}
