:root {
  --navy-950: #11182b;
  --navy-900: #18233d;
  --navy-800: #253556;
  --navy-700: #365276;
  --parchment: #f5edda;
  --parchment-light: #fbf7ed;
  --parchment-deep: #e9dcc1;
  --ink: #21283a;
  --muted: #62687a;
  --gold: #c9a227;
  --gold-light: #ead77f;
  --green: #356b50;
  --blue: #3e6396;
  --wine: #9d4657;
  --line: rgba(54, 62, 81, .18);
  --white: #fffdf8;
  --shadow: 0 20px 60px rgba(23, 31, 53, .15);
  --shadow-small: 0 10px 30px rgba(23, 31, 53, .10);
  --radius: 22px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background-color: var(--parchment-light);
  background-image:
    radial-gradient(circle at 10% 5%, rgba(201, 162, 39, .07), transparent 28rem),
    repeating-radial-gradient(ellipse at 82% 35%, transparent 0 30px, rgba(52, 64, 88, .025) 31px 32px);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  z-index: 30;
  mix-blend-mode: multiply;
}

a { color: var(--blue); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
img, svg { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  color: var(--white);
  background: var(--navy-950);
}
.skip-link:focus { top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(234, 215, 127, .22);
  background: rgba(17, 24, 43, .94);
  backdrop-filter: blur(14px) saturate(130%);
}

.nav-shell {
  width: min(calc(100% - 36px), var(--max));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(234, 215, 127, .4);
}

.brand-name {
  font-family: Georgia, "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 7px;
}

.site-nav a {
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 253, 248, .74);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  border-color: rgba(234, 215, 127, .35);
  background: rgba(255, 255, 255, .07);
}

.home-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 22%, rgba(62, 99, 150, .38), transparent 34rem),
    radial-gradient(circle at 15% 70%, rgba(157, 70, 87, .16), transparent 27rem),
    linear-gradient(145deg, var(--navy-950), var(--navy-800));
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .72;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.68) 0 1px, transparent 1.2px),
    radial-gradient(circle, rgba(234,215,127,.48) 0 1px, transparent 1.4px);
  background-size: 78px 78px, 117px 117px;
  background-position: 11px 19px, 48px 7px;
  mask-image: linear-gradient(to bottom, #000, transparent 84%);
}

.home-hero::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -68px;
  height: 120px;
  border-radius: 50% 50% 0 0;
  background: var(--parchment-light);
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  min-height: 690px;
  margin: 0 auto;
  padding: 82px 0 122px;
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(380px, 1.07fr);
  align-items: center;
  gap: 64px;
}

.hero-copy { max-width: 630px; }

.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.kicker::before,
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero-copy h1 {
  margin: 0;
  font-family: Georgia, "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(42px, 5.6vw, 72px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: .035em;
}

.hero-copy h1 .gold-line {
  display: inline;
  background: linear-gradient(transparent 72%, rgba(201, 162, 39, .58) 72%);
}

.hero-second-line {
  display: inline-block;
  white-space: nowrap;
  font-size: .82em;
}

.hero-lead {
  max-width: 590px;
  margin: 26px 0 0;
  color: rgba(255, 253, 248, .82);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.9;
}

.hero-facts {
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
}

.hero-facts li {
  padding: 6px 11px;
  border: 1px solid rgba(234, 215, 127, .32);
  border-radius: 999px;
  color: rgba(255, 253, 248, .82);
  background: rgba(255, 255, 255, .06);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .025em;
}

.hero-actions {
  margin-top: 31px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  min-height: 48px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--navy-950);
  background: var(--gold-light);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
  font-weight: 750;
  text-decoration: none;
}

.button::after { content: "→"; transition: transform .18s ease; }
.button:hover { background: #f2df8b; text-decoration: none; }
.button:hover::after { transform: translateX(3px); }

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 253, 248, .28);
  background: rgba(255, 255, 255, .06);
  box-shadow: none;
}
.button.secondary:hover { background: rgba(255, 255, 255, .12); }

.release-note {
  margin: 17px 0 0;
  color: rgba(255, 253, 248, .57);
  font-size: 13px;
}

.hero-showcase {
  position: relative;
  min-height: 610px;
  border: 1px solid rgba(234, 215, 127, .56);
  border-radius: 32px 14px 30px 16px;
  background: var(--navy-900);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
  isolation: isolate;
}

.hero-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(17, 24, 43, .02), rgba(17, 24, 43, .1) 48%, rgba(17, 24, 43, .76));
  pointer-events: none;
}

.hero-world {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  object-fit: cover;
  object-position: center 48%;
}

.hero-device {
  position: absolute;
  z-index: 2;
  right: -18px;
  bottom: -34px;
  width: min(48%, 245px);
  padding: 6px;
  overflow: hidden;
  border: 2px solid rgba(234, 215, 127, .74);
  border-radius: 30px;
  background: var(--navy-950);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .42);
  transform: rotate(1.5deg);
}

.hero-device img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 23px;
}

.hero-ribbon,
.hero-stamp {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(234, 215, 127, .58);
  color: var(--white);
  background: rgba(17, 24, 43, .9);
  box-shadow: var(--shadow-small);
}

.hero-ribbon {
  left: -18px;
  bottom: 35px;
  max-width: 62%;
  padding: 10px 15px;
  border-radius: 8px;
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 13px;
  letter-spacing: .07em;
  transform: rotate(-1.5deg);
}

.hero-stamp {
  top: 18px;
  right: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.page-main { overflow: hidden; }

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 82px 0;
}

.section.compact { padding-top: 46px; padding-bottom: 46px; }
.section + .section { border-top: 1px solid var(--line); }

.section-heading {
  max-width: 750px;
  margin-bottom: 34px;
}

.section-heading .eyebrow { color: var(--wine); }

.section-heading h2,
.closing-card h2,
.page-hero h1,
.article h2,
.article h3 {
  font-family: Georgia, "Hiragino Mincho ProN", "Yu Mincho", serif;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 45px);
  line-height: 1.42;
  letter-spacing: .035em;
}

.section-heading p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 285px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .78);
  box-shadow: var(--shadow-small);
}

.feature-card:nth-child(2) { transform: translateY(18px); }
.feature-card:nth-child(4) { transform: translateY(18px); }

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 162, 39, .4);
  border-radius: 50%;
  color: var(--navy-900);
  background: rgba(234, 215, 127, .24);
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 800;
}

.feature-card h3 { margin: 21px 0 8px; font-size: 19px; line-height: 1.5; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

.screens-section {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 18%, rgba(62, 99, 150, .1), transparent 28rem),
    linear-gradient(180deg, rgba(233, 220, 193, .55), rgba(251, 247, 237, .88));
}

.screens-inner { width: min(calc(100% - 40px), 1240px); }

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.swipe-hint,
.table-scroll-hint {
  display: none;
}

.screen-shot {
  min-width: 0;
  margin: 0;
}

.phone-frame {
  padding: 6px;
  overflow: hidden;
  border: 2px solid var(--navy-800);
  border-radius: 27px;
  background: var(--navy-950);
  box-shadow: 0 16px 38px rgba(17, 24, 43, .2);
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  background: var(--parchment);
}

.screen-shot figcaption {
  padding: 14px 5px 0;
  text-align: center;
}

.screen-shot figcaption strong {
  display: block;
  color: var(--navy-900);
  font-size: 15px;
}

.screen-shot figcaption span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.trail-section {
  color: var(--white);
  background:
    linear-gradient(rgba(17, 24, 43, .98), rgba(24, 35, 61, .98)),
    repeating-linear-gradient(120deg, transparent 0 54px, rgba(255,255,255,.02) 55px 56px);
}

.trail-section .section { border: 0; }
.trail-section .section-heading .eyebrow { color: var(--gold-light); }
.trail-section .section-heading p { color: rgba(255, 253, 248, .65); }

.trail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}

.trail::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 31px;
  border-top: 2px dashed rgba(234, 215, 127, .34);
}

.trail-step { position: relative; padding-top: 75px; }

.trail-number {
  position: absolute;
  top: 8px;
  left: 17px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--gold-light);
  box-shadow: 0 0 0 8px var(--navy-900);
  font-family: Georgia, serif;
  font-weight: 800;
}

.trail-step h3 { margin: 0 0 7px; color: var(--white); font-size: 18px; }
.trail-step p { margin: 0; color: rgba(255, 253, 248, .64); font-size: 14px; }

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.course-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 28px;
  border-radius: var(--radius);
  color: var(--white);
  box-shadow: var(--shadow-small);
}

.course-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -55px;
  bottom: -70px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(255, 255, 255, .04), 0 0 0 45px rgba(255, 255, 255, .025);
}

.course-card.grade3 { background: linear-gradient(145deg, #28523f, var(--green)); }
.course-card.grade2 { background: linear-gradient(145deg, #29466f, var(--blue)); }
.course-card.pre1 { background: linear-gradient(145deg, #793745, var(--wine)); }

.course-index { color: rgba(255,255,255,.62); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.course-card h3 { margin: 6px 0 10px; font-size: 28px; }
.course-card p { position: relative; z-index: 1; margin: 0; color: rgba(255,255,255,.78); font-size: 14px; }

.trust-strip {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .76);
}

.trust-title {
  color: var(--green);
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 20px;
  font-weight: 700;
}
.trust-strip p { margin: 0; color: var(--muted); }

.closing-card {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 7vw, 72px);
  border-radius: 28px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-900), var(--navy-700));
  box-shadow: var(--shadow);
}

.closing-card::after {
  content: "Σ";
  position: absolute;
  right: 4%;
  bottom: -50px;
  color: rgba(234, 215, 127, .11);
  font-family: Georgia, serif;
  font-size: 250px;
  line-height: 1;
}

.closing-card h2 { position: relative; z-index: 1; margin: 0; font-size: clamp(29px, 4vw, 45px); }
.closing-card p { position: relative; z-index: 1; max-width: 700px; color: rgba(255,255,255,.7); }
.closing-card .hero-actions { position: relative; z-index: 1; }

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 30%, rgba(62, 99, 150, .42), transparent 30rem),
    linear-gradient(145deg, var(--navy-950), var(--navy-800));
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -130px;
  bottom: -300px;
  border: 1px solid rgba(234, 215, 127, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(234, 215, 127, .035), 0 0 0 96px rgba(234, 215, 127, .022);
}

.page-hero-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 72px 0 78px;
}

.page-hero .kicker { margin-bottom: 12px; }
.page-hero h1 { margin: 0; font-size: clamp(36px, 5vw, 56px); letter-spacing: .04em; }
.page-hero p { max-width: 740px; margin: 18px 0 0; color: rgba(255,253,248,.72); font-size: 18px; }
.updated { display: block; margin-top: 18px; color: rgba(255,253,248,.5); font-size: 13px; }

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 45px;
}

.summary-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, .8);
}
.summary-card strong { display: block; margin-bottom: 5px; color: var(--navy-900); font-size: 16px; }
.summary-card span { color: var(--muted); font-size: 13.5px; }

.document-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, .78);
}
.toc strong { display: block; margin-bottom: 8px; color: var(--navy-900); font-size: 13px; letter-spacing: .08em; }
.toc a { display: block; padding: 5px 0; color: var(--muted); font-size: 13px; text-decoration: none; }
.toc a:hover { color: var(--blue); }

.article { min-width: 0; }
.article > section { padding: 0 0 44px; scroll-margin-top: 100px; }
.article > section + section { padding-top: 42px; border-top: 1px solid var(--line); }
.article h2 { margin: 0 0 17px; color: var(--navy-900); font-size: 27px; line-height: 1.5; }
.article h3 { margin: 27px 0 10px; color: var(--navy-800); font-size: 20px; }
.article p { margin: 0 0 14px; }
.article ul, .article ol { padding-left: 1.35em; }
.article li + li { margin-top: 7px; }
.article code { padding: 2px 6px; border-radius: 5px; color: var(--wine); background: rgba(157,70,87,.08); font-size: .88em; }

.notice {
  margin: 20px 0;
  padding: 17px 19px;
  border: 1px solid rgba(53, 107, 80, .24);
  border-left: 5px solid var(--green);
  border-radius: 11px;
  color: #405044;
  background: rgba(53, 107, 80, .065);
}

.table-wrap { overflow-x: auto; margin: 18px 0 24px; border-radius: 13px; box-shadow: 0 0 0 1px var(--line); }
.data-table { width: 100%; min-width: 640px; border-collapse: collapse; background: rgba(255,253,248,.86); }
.data-table th, .data-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; }
.data-table th { color: var(--navy-900); background: rgba(233, 220, 193, .55); }
.data-table tr:last-child td { border-bottom: 0; }

.support-path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 25px 0 8px;
}
.support-path.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.support-card {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255,253,248,.82);
  box-shadow: var(--shadow-small);
}
.support-card .mini-label { color: var(--wine); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.support-card h3 { margin: 8px 0 8px; font-family: inherit; font-size: 18px; }
.support-card p { margin: 0; color: var(--muted); font-size: 14px; }

.route-list { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: route; }
.route-list li { position: relative; margin: 0 0 0 16px; padding: 0 0 26px 45px; border-left: 2px solid var(--parchment-deep); counter-increment: route; }
.route-list li:last-child { border-left-color: transparent; }
.route-list li::before {
  content: counter(route);
  position: absolute;
  left: -16px;
  top: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy-800);
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 800;
}
.route-list strong { display: block; color: var(--navy-900); }

.faq-list { display: grid; gap: 12px; margin-top: 22px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: rgba(255,253,248,.8); }
.faq-list summary { position: relative; padding: 18px 52px 18px 20px; cursor: pointer; color: var(--navy-900); font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 20px; top: 14px; color: var(--gold); font-family: Georgia, serif; font-size: 25px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 20px 19px; color: var(--muted); }
.faq-answer p { margin: 0; }

.status-panel {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  padding: 22px 24px;
  border-radius: 16px;
  color: var(--white);
  background: var(--navy-900);
}
.status-panel strong { display: block; }
.status-panel span { color: rgba(255,255,255,.62); font-size: 13px; }
.status-pill { padding: 5px 12px; border: 1px solid rgba(234,215,127,.35); border-radius: 999px; color: var(--gold-light); font-size: 12px; white-space: nowrap; }

.site-footer {
  color: rgba(255, 253, 248, .62);
  background: var(--navy-950);
}

.footer-shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 43px 0 38px;
}

.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.footer-brand { max-width: 460px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { margin: 0; font-size: 13.5px; }
.footer-nav { display: flex; gap: 10px 20px; flex-wrap: wrap; justify-content: flex-end; }
.footer-nav a { color: rgba(255,253,248,.72); font-size: 13px; }
.footer-legal { margin-top: 30px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.1); display: flex; gap: 20px; justify-content: space-between; align-items: flex-start; }
.footer-legal p { max-width: 800px; margin: 0; color: rgba(255,253,248,.44); font-size: 11.5px; line-height: 1.65; }
.footer-legal small { white-space: nowrap; }

@media (max-width: 940px) {
  .hero-shell { grid-template-columns: 1fr; gap: 50px; padding-top: 65px; }
  .hero-copy { max-width: 760px; }
  .hero-showcase { width: min(100%, 680px); margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card:nth-child(2), .feature-card:nth-child(4) { transform: none; }
  .trail { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .trail::before { display: none; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card { min-height: 190px; }
  .document-layout { grid-template-columns: 1fr; gap: 34px; }
  .toc { position: static; display: flex; gap: 6px 16px; flex-wrap: wrap; }
  .toc strong { flex-basis: 100%; }
  .support-path { grid-template-columns: 1fr; }
  .support-path.two-up { grid-template-columns: 1fr; }
  .screen-gallery {
    margin-inline: calc((100vw - 100%) / -2);
    padding: 0 max(20px, calc((100vw - var(--max)) / 2)) 22px;
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }
  .swipe-hint {
    display: block;
    margin: -17px 0 14px;
    color: var(--muted);
    font-size: 13px;
  }
  .swipe-hint::before { content: "\2194  "; color: var(--gold); }
  .screen-shot { width: min(43vw, 230px); flex: 0 0 auto; scroll-snap-align: center; }
}

@media (max-width: 680px) {
  body { line-height: 1.72; }
  .nav-shell { width: min(calc(100% - 24px), var(--max)); min-height: 64px; gap: 12px; }
  .brand img { width: 33px; height: 33px; }
  .brand-name { font-size: 16px; }
  .site-nav { gap: 1px; }
  .site-nav a { padding: 7px 8px; font-size: 12px; }
  .site-nav a:first-child { display: none; }
  .hero-shell { width: min(calc(100% - 30px), var(--max)); min-height: 0; padding: 55px 0 116px; }
  .hero-copy h1 { font-size: clamp(39px, 12vw, 54px); }
  .hero-lead { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-showcase { min-height: 510px; border-radius: 22px 10px 20px 12px; }
  .hero-device { right: -5px; bottom: -30px; width: min(49%, 220px); border-radius: 25px; }
  .hero-device img { border-radius: 19px; }
  .hero-ribbon { left: -4px; bottom: 18px; max-width: 58%; font-size: 11px; }
  .section { width: min(calc(100% - 30px), var(--max)); padding: 60px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .trail { grid-template-columns: 1fr; gap: 12px; }
  .trail-step { padding-top: 0; padding-left: 60px; min-height: 58px; }
  .trail-number { top: 0; left: 0; box-shadow: none; }
  .trust-strip { grid-template-columns: 1fr; gap: 9px; padding: 23px; }
  .page-hero-shell { width: min(calc(100% - 30px), var(--max)); padding: 55px 0 60px; }
  .page-hero h1 { font-size: 30px; line-height: 1.6; }
  .page-hero p { font-size: 16px; }
  .summary-grid { grid-template-columns: 1fr; }
  .article h2 { font-size: 24px; }
  .footer-shell { width: min(calc(100% - 30px), var(--max)); }
  .footer-top, .footer-legal { flex-direction: column; }
  .footer-nav { justify-content: flex-start; }
  .footer-legal small { white-space: normal; }
  .status-panel { align-items: flex-start; flex-direction: column; }
  .screens-inner { width: min(calc(100% - 30px), 1240px); }
  .screen-gallery { padding-inline: 15px; }
  .screen-shot { width: min(70vw, 235px); }
  .table-scroll-hint {
    display: block;
    margin: 4px 0 -8px;
    color: var(--muted);
    font-size: 12.5px;
  }
  .table-scroll-hint::before { content: "\2194  "; color: var(--gold); }
}

@media (max-width: 420px) {
  .brand-name { letter-spacing: .03em; }
  .site-nav a { padding-inline: 6px; }
  .page-hero h1 { font-size: 30px; }
}

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

@media print {
  body { background: #fff; color: #000; }
  body::before, .site-header, .site-footer, .toc { display: none; }
  .page-hero { color: #000; background: none; }
  .page-hero p, .updated { color: #333; }
  .section { width: 100%; padding: 20px 0; }
  .document-layout { display: block; }
}
