/* EduLink sales page. One stylesheet, two self-hosted fonts, no framework.
   The page borrows the app's own materials: warm paper, ink green, Newsreader
   for statements and Manrope for everything you have to read quickly. The one
   structural idea is the school timetable: times sit in a left margin, ruled
   lines run across, and the day is read downwards. */

@font-face {
  font-family: 'Newsreader';
  src: url('fonts/newsreader-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f7f3e9;
  --paper-2: #fdfaf2;
  --sheet: #fffdf7;
  --ink: #1d2a23;
  --ink-2: #3b4a41;
  --muted: #5c6b61;
  --rule: #d8d0bd;
  --rule-soft: #e7e0cf;
  --green: #1f4d3d;
  --green-2: #2c6a51;
  --sage: #e4ecdf;
  --sage-2: #cbdec9;
  --ochre: #9a6a22;
  --margin-line: #d9b8a8;
  --display: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1180px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 420;
  -webkit-font-smoothing: antialiased;
}

/* A very light paper grain, painted rather than fetched. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1100px 620px at 88% -8%, rgba(44, 106, 81, 0.10), transparent 62%),
    radial-gradient(900px 520px at 4% 26%, rgba(154, 106, 34, 0.06), transparent 60%);
}

::selection { background: var(--sage-2); color: var(--ink); }

a { color: var(--green); text-decoration-color: rgba(31, 77, 61, 0.35); text-underline-offset: 3px; }
a:hover { color: #10382c; text-decoration-color: currentColor; }

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 460;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--ink);
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

.icon { width: 1em; height: 1em; flex: none; }

/* The icon sprite. A class, not a style attribute, so the strict CSP on this
   host does not need style-src 'unsafe-inline'. */
.sprite { display: none; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 90;
  background: var(--green);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
}
.skip:focus { left: 12px; color: #fff; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(var(--max), calc(100% - 44px));
  margin-inline: auto;
}

/* ------------------------------------------------------------------- header */

.head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 243, 233, 0.9);
  backdrop-filter: blur(14px) saturate(130%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.head.is-stuck { border-bottom-color: var(--rule); background: rgba(247, 243, 233, 0.97); }

.head-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #f4f8f1;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 560;
  line-height: 1;
  padding-bottom: 2px;
}

.brand-word {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 560;
  letter-spacing: -0.01em;
}
.brand-by {
  display: block;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-top: -2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 14.5px;
  font-weight: 500;
}
.nav a {
  color: var(--ink-2);
  text-decoration: none;
  padding: 8px 11px;
  border-radius: 7px;
}
.nav a:hover { background: rgba(31, 77, 61, 0.07); color: var(--green); }

.head-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 550;
  padding: 8px 12px;
  border-radius: 9px;
  cursor: pointer;
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #f6faf3;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.btn:hover { background: #163c2f; border-color: #163c2f; color: #fff; transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; }

.btn.quiet {
  background: transparent;
  border-color: var(--rule);
  color: var(--ink);
}
.btn.quiet:hover { background: var(--paper-2); border-color: var(--green-2); color: var(--green); }

.btn.small { padding: 9px 14px; font-size: 14px; }

/* -------------------------------------------------------------------- hero */

.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(44px, 6vw, 72px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 550;
  letter-spacing: 0.01em;
  color: var(--green-2);
  max-width: 40ch;
}
.hero-note::before {
  content: "";
  flex: none;
  width: 30px;
  height: 1px;
  background: var(--green-2);
}

h1 {
  margin-top: 18px;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 0.99;
  letter-spacing: -0.022em;
  max-width: 15ch;
}

.lede {
  margin-top: 22px;
  max-width: 56ch;
  font-size: clamp(17px, 1.5vw, 19.5px);
  line-height: 1.58;
  color: var(--ink-2);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}
.actions-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  max-width: 46ch;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid var(--rule);
}
.facts div {
  padding: 12px 26px 0 0;
  margin-right: 26px;
  border-right: 1px solid var(--rule-soft);
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}
.facts div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.facts b {
  display: block;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 520;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------- the day sheet */

.day {
  position: relative;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 22px 24px 18px 26px;
  box-shadow: 0 18px 40px -30px rgba(29, 42, 35, 0.5);
  overflow: hidden;
}
/* the notebook margin: the same line a school exercise book has */
.day::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 82px;
  width: 1px;
  background: var(--margin-line);
  opacity: 0.7;
}

.day-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--rule-soft);
}
.day-head h2 {
  font-size: 21px;
  letter-spacing: -0.01em;
}
.day-head span {
  font-size: 12.5px;
  color: var(--muted);
}

.day-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0 26px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule-soft);
  position: relative;
}
.day-row:last-of-type { border-bottom: 0; }

.day-time {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--green-2);
  padding-top: 2px;
}

.day-what {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink);
}
.day-what b { font-weight: 650; }
.day-who {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 550;
  color: var(--muted);
}

.day-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rule-soft);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* ----------------------------------------------------------------- sections */

.section { padding: clamp(48px, 6.5vw, 84px) 0; border-top: 1px solid var(--rule); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px 60px;
  align-items: end;
  margin-bottom: clamp(26px, 3.4vw, 44px);
}
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.section-head p {
  color: var(--ink-2);
  font-size: 16px;
  max-width: 52ch;
  justify-self: end;
}

/* ------------------------------------------------------------------- roles */

.roles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
}
.role {
  padding: 22px 24px 26px 0;
  border-right: 1px solid var(--rule-soft);
}
.role:last-child { border-right: 0; padding-right: 0; }
.role:nth-child(2n) { padding-left: 24px; }

.role h3 {
  font-size: 24px;
  letter-spacing: -0.015em;
}
.role .role-who {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}
.role ul { margin-top: 14px; display: grid; gap: 9px; }
.role li {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.role li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 6px;
  height: 1px;
  background: var(--green-2);
}

/* ------------------------------------------------------------------- day */

.timetable { border-top: 1px solid var(--rule); }

.tick {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) minmax(0, 240px);
  gap: 0 28px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft);
  align-items: baseline;
}
.tick-time {
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: var(--green-2);
  letter-spacing: 0.02em;
}
.tick h3 {
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 650;
  letter-spacing: -0.005em;
  line-height: 1.35;
}
.tick h3 + p { margin-top: 3px; }
.tick p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 58ch;
}
.tick p + p { margin-top: 4px; }
.tick-who {
  font-size: 12.5px;
  color: var(--muted);
  text-align: right;
}
.tick.is-quiet h3 { color: var(--ink-2); }

/* ------------------------------------------------------------------ packages */

.pkg-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 14px;
  color: var(--ink-2);
  padding-bottom: 20px;
}

.pkg-wrap { overflow-x: auto; border-top: 1px solid var(--rule); }

table.pkg {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14.5px;
}

table.pkg caption {
  text-align: left;
  caption-side: top;
  font-size: 13px;
  color: var(--muted);
  padding: 10px 0 0;
}

table.pkg th,
table.pkg td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: middle;
}

table.pkg thead th {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  text-align: center;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 12px;
}
table.pkg thead th:first-child { text-align: left; width: 52%; }

table.pkg tbody th[scope="row"] {
  text-align: left;
  font-weight: 480;
  color: var(--ink);
  font-size: 14.5px;
  padding-left: 0;
}

table.pkg td { text-align: center; color: var(--green); }
table.pkg td svg { width: 17px; height: 17px; margin-inline: auto; }
table.pkg td .no {
  display: inline-block;
  width: 14px;
  height: 1px;
  background: #c4b9a1;
  vertical-align: middle;
}

table.pkg tr.group th {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.03em;
  color: var(--muted);
  text-align: left;
  padding: 22px 0 8px;
  border-bottom: 1px solid var(--rule);
  background: transparent;
}

.pkg-legend {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 76ch;
}

/* -------------------------------------------------------------------- split */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.split h2 { font-size: clamp(28px, 3.2vw, 40px); }
.split h2 + p { margin-top: 16px; color: var(--ink-2); max-width: 48ch; }
.split h3 { font-size: 21px; margin-top: 26px; }
.split h3 + p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }

.stack { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.stack > div {
  padding: 15px 0;
  border-bottom: 1px solid var(--rule-soft);
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
}
.stack svg {
  width: 18px;
  height: 18px;
  color: var(--green-2);
  margin-top: 3px;
}
.stack b {
  display: block;
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.4;
  margin-bottom: 3px;
}
.stack span { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }

.plain-list { display: grid; gap: 10px; margin-top: 18px; }
.plain-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 1px;
  background: var(--green-2);
}

.aside {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--sage-2);
  border-left: 3px solid var(--green-2);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: rgba(228, 236, 223, 0.55);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.aside b { color: var(--ink); font-weight: 650; }

/* --------------------------------------------------------------- screenshots */

.figs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.figs figure {
  margin: 0;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.figs figure.wide { grid-column: 1 / -1; }
.figs img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--rule-soft);
  background: var(--paper);
}
/* The two app captures were taken at different heights; the same window shape
   keeps their captions on one line without stretching either screenshot. */
.figs figure:not(.wide) img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}
.figs figcaption {
  padding: 13px 16px 15px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.figs figcaption b {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 540;
  color: var(--ink);
  margin-bottom: 2px;
}

/* -------------------------------------------------------------- honest list */

.not { border-top: 1px solid var(--rule); }
.not-row {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 10px 40px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft);
  align-items: start;
}
.not-row h3 {
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.005em;
  line-height: 1.4;
  padding-top: 1px;
}
.not-row p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }

/* ------------------------------------------------------------------ safety */

.safety {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
}
.safety > div {
  padding: 20px 24px 24px 0;
  border-right: 1px solid var(--rule-soft);
}
.safety > div:nth-child(3n) { border-right: 0; padding-right: 0; }
.safety > div:nth-child(3n + 2),
.safety > div:nth-child(3n + 3) { padding-left: 24px; }
.safety h3 {
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 9px;
}
.safety h3 svg { width: 17px; height: 17px; color: var(--green-2); }
.safety p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }

/* ------------------------------------------------------------------- server */

.steps { counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 0 16px 44px;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  color: var(--green);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 650;
  display: grid;
  place-items: center;
}
.steps b { color: var(--ink); font-weight: 650; }

/* -------------------------------------------------------------------- price */

.price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(26px, 4vw, 56px);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--sheet);
  padding: clamp(24px, 3.6vw, 44px);
}
.price h2 { font-size: clamp(28px, 3.2vw, 40px); }
.price p { margin-top: 14px; color: var(--ink-2); max-width: 46ch; }
.price .price-what {
  margin-top: 22px;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.price .price-what li {
  position: relative;
  padding-left: 18px;
}
.price .price-what li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 1px;
  background: var(--green-2);
}

.contact-box {
  border-left: 1px solid var(--rule);
  padding-left: clamp(20px, 3vw, 36px);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-box .mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: clamp(21px, 2.3vw, 27px);
  font-weight: 520;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.contact-box .mail:hover { color: var(--green); }
.contact-box .mail svg { width: 20px; height: 20px; color: var(--green-2); }
.contact-box .small { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.55; }
.contact-box .btn { margin-top: 20px; align-self: flex-start; }

/* ------------------------------------------------------------------- footer */

.foot {
  border-top: 1px solid var(--rule);
  padding: 30px 0 44px;
  font-size: 13.5px;
  color: var(--muted);
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
}
.foot-in p { max-width: 60ch; line-height: 1.55; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a { color: var(--ink-2); }

/* ------------------------------------------------------------------ motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}

/* --------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .role:nth-child(2n) { border-right: 0; }
  .role:nth-child(2n + 1) { padding-left: 0; }
  .role:nth-child(n + 3) { border-top: 1px solid var(--rule-soft); }
  .safety { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .safety > div:nth-child(3n) { border-right: 1px solid var(--rule-soft); padding-right: 24px; }
  .safety > div:nth-child(2n) { border-right: 0; padding-right: 0; padding-left: 24px; }
  .safety > div:nth-child(n + 3) { border-top: 1px solid var(--rule-soft); }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .day { max-width: 560px; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-head p { justify-self: start; }
  .split { grid-template-columns: 1fr; }
  .price { grid-template-columns: 1fr; }
  .contact-box { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; padding-top: 24px; }
  .tick { grid-template-columns: 78px minmax(0, 1fr); }
  .tick-who { grid-column: 2; text-align: left; margin-top: 4px; }
  .figs { grid-template-columns: 1fr; }
}

/* The header goes to a menu before the links start to crowd, not after. */
@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 12px;
    box-shadow: 0 24px 50px -30px rgba(29, 42, 35, 0.55);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 11px 12px; font-size: 15px; }
  .menu-btn { display: inline-flex; }
  .head-cta .btn { display: none; }
}

@media (max-width: 700px) {
  body { font-size: 16.5px; }
  .wrap { width: calc(100% - 32px); }
  .roles { grid-template-columns: 1fr; }
  .role { padding: 20px 0; border-right: 0; }
  .role:nth-child(2n) { padding-left: 0; }
  .not-row { grid-template-columns: 1fr; gap: 4px; }
  .safety { grid-template-columns: 1fr; }
  .safety > div,
  .safety > div:nth-child(2n),
  .safety > div:nth-child(3n) { padding: 18px 0; border-right: 0; border-top: 1px solid var(--rule-soft); }
  .safety > div:first-child { border-top: 0; }
  .facts div { padding-right: 16px; margin-right: 16px; }
  .facts b { font-size: 19px; }

  /* the comparison becomes one block per package row, labels repeated */
  .pkg-wrap { overflow: visible; }
  table.pkg { min-width: 0; }
  table.pkg thead { display: none; }
  table.pkg, table.pkg tbody, table.pkg tr, table.pkg td, table.pkg th { display: block; }
  table.pkg tbody th[scope="row"] {
    padding: 14px 0 6px;
    border-bottom: 0;
    font-weight: 650;
  }
  table.pkg tr.group th { padding-top: 26px; }
  table.pkg td {
    display: grid;
    grid-template-columns: 1fr auto;
    text-align: left;
    padding: 5px 0;
    border-bottom: 1px solid var(--rule-soft);
    font-size: 14px;
  }
  table.pkg td::before {
    content: attr(data-pack);
    color: var(--muted);
    font-size: 13.5px;
  }
  table.pkg td svg { margin: 0; }
  .day::before { left: 68px; }
  .day-row { grid-template-columns: 46px minmax(0, 1fr); gap: 0 22px; }
}

@media (max-width: 460px) {
  h1 { font-size: clamp(34px, 10vw, 44px); }
  .actions .btn { width: 100%; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; }
  .facts div { border-right: 0; margin-right: 0; }
}
