:root {
  --ink: #162236;
  --blue: #009fe3;
  --blue-dark: #0078b8;
  --red: #d92631;
  --cream: #fbf7ee;
  --paper: #fffdfa;
  --line: #dfe6ec;
  --muted: #5d6875;
  /* 表紙画像の差し替えは、次の1行のファイル名だけを変更します。 */
  --manner-do-cover-image: url("public/assets/261002%20manner-do-official-cover.png");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.notice {
  min-height: 42px;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  letter-spacing: .04em;
}
.notice strong {
  padding: 1px 10px;
  border-radius: 999px;
  background: var(--red);
  font-size: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 78px;
  padding: 0 clamp(22px, 5vw, 72px);
  display: flex;
  align-items: center;
  gap: 34px;
  border-bottom: 1px solid rgba(22,34,54,.1);
  background: rgba(255,253,250,.96);
  backdrop-filter: blur(12px);
}
.brand { margin-right: auto; }
.brand img { width: 216px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 25px; font-size: 13px; font-weight: 700; }
.site-header nav a { position: relative; }
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--blue);
  transition: right .2s ease;
}
.site-header nav a:hover::after { right: 0; }
.header-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: .03em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.header-cta { min-height: 44px; padding: 0 20px; background: var(--red); color: white; font-size: 13px; }
.header-cta:hover, .button:hover { transform: translateY(-2px); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 700px;
  padding: clamp(62px, 8vw, 104px) clamp(24px, 7vw, 108px) 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr);
  align-items: center;
  gap: clamp(42px, 6vw, 92px);
  background:
    radial-gradient(circle at 88% 12%, rgba(0,159,227,.16), transparent 26%),
    linear-gradient(110deg, #fffdfa 0%, #fbf7ee 56%, #f4f9fb 100%);
}
.hero::before {
  content: "DO";
  position: absolute;
  right: -24px;
  top: 10px;
  color: rgba(0,159,227,.055);
  font-size: clamp(180px, 28vw, 430px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.12em;
}
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.temporary-release-badge { position: absolute; z-index: 4; top: 24px; right: max(24px, calc((100vw - 1120px) / 2)); min-width: 210px; padding: 13px 18px 14px; display: grid; gap: 4px; border: 3px solid var(--red); border-radius: 12px; background: rgba(255,255,255,.96); box-shadow: 0 12px 28px rgba(20,31,51,.14); color: var(--red); text-align: center; }
.temporary-release-badge strong { font-size: 18px; line-height: 1.25; letter-spacing: .04em; }
.temporary-release-badge span { font-size: 27px; font-weight: 900; line-height: 1.15; letter-spacing: .06em; }
.eyebrow { margin: 0 0 19px; color: var(--blue-dark); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.hero-tagline { margin: 0 0 16px; font-size: clamp(19px, 2.4vw, 35px); font-weight: 900; letter-spacing: .02em; }
.hero h1 { margin: 0; font-size: clamp(39px, 5vw, 72px); line-height: 1.18; letter-spacing: -.035em; }
.hero h1 ruby { ruby-position: over; }
.hero h1 rt { font-size: .24em; font-weight: 800; letter-spacing: .08em; }
.book-title { margin: 0 0 20px; color: var(--red); font-size: clamp(33px, 3.6vw, 52px); font-weight: 900; letter-spacing: .02em; }
.hero-lead { margin: 0; font-size: clamp(18px, 1.8vw, 25px); font-weight: 800; }
.hero-description { max-width: 690px; margin: 22px 0 0; color: var(--muted); font-size: 15px; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 54px; padding: 0 28px; }
.button-primary { background: var(--red); color: white; box-shadow: 0 10px 24px rgba(217,38,49,.2); }
.button-secondary { border: 1px solid var(--ink); background: white; }
.price-line { margin: 17px 0 0; font-size: 14px; }
.price-line strong { font-size: 18px; }

.hero-visual { min-height: 510px; display: grid; place-items: start center; }
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 2px;
  width: min(350px, 62vw);
  height: 38px;
  border-radius: 50%;
  background: rgba(22,34,54,.42);
  filter: blur(10px);
  transform: translateX(-41%) rotate(-2deg);
}
.book-atari {
  width: min(336px, 60vw);
  aspect-ratio: 182 / 257;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid rgba(22,34,54,.28);
  background:
    linear-gradient(135deg, rgba(0,159,227,.13), transparent 48%),
    repeating-linear-gradient(-45deg, #fff 0 10px, #f3f6f8 10px 20px);
  box-shadow: 20px 24px 0 rgba(22,34,54,.11), 0 26px 50px rgba(22,34,54,.17);
  transform: rotate(2deg);
  text-align: center;
}
.book-atari::before { content: "『みんなのマナーDO』"; color: var(--red); font-weight: 900; }
.atari-label { font-size: clamp(44px, 6vw, 76px); font-weight: 900; letter-spacing: .08em; }
.book-atari small { color: var(--muted); font-size: 11px; }
.new-cover-preview {
  position: relative;
  padding: 0;
  overflow: hidden;
  background-image: var(--manner-do-cover-image);
  background-repeat: no-repeat;
  background-position: right top;
  background-size: auto 100%;
}
.book-atari.new-cover-preview::before { content: none; }
.book-object {
  width: min(336px, 60vw);
  aspect-ratio: 182 / 257;
  position: relative;
  z-index: 1;
  transform: rotate(2deg);
  transform-origin: left bottom;
}
.book-object::before,
.book-object::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.book-object::before {
  z-index: 0;
  inset: 0 -4px -4px 0;
  border: 1px solid #d9c8bf;
  background: #f6ebe5;
  box-shadow: 2px 3px 5px rgba(91,54,42,.12);
  clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 8px, 100% 100%, 0 calc(100% - 4px));
}
.book-object::after {
  z-index: 1;
  inset: 0 -2px -2px 0;
  border: 1px solid #eadbd3;
  background: #fff7f1;
  clip-path: polygon(0 0, calc(100% - 2px) 0, 100% 5px, 100% 100%, 0 calc(100% - 2px));
}
.book-object .book-atari.new-cover-preview {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(22,34,54,.14);
  transform: none;
}
.trust-strip {
  width: min(1120px, calc(100% - 40px));
  margin: -22px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  box-shadow: 0 18px 44px rgba(22,34,54,.08);
}
.trust-strip div { min-height: 114px; padding: 23px 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.trust-strip div + div { border-left: 1px solid var(--line); }
.trust-strip strong { color: var(--blue-dark); font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.trust-strip span { color: var(--muted); font-size: 12px; font-weight: 700; }

.preview-section { max-width: 920px; margin: 0 auto; padding: 112px 28px 124px; text-align: center; }
.section-kicker { margin: 0 0 10px; color: var(--blue-dark); font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.preview-section h2 { margin: 0 0 25px; font-size: clamp(30px, 4vw, 48px); line-height: 1.35; }
.preview-section > p:last-child { margin: 0 auto; max-width: 760px; color: var(--muted); }

@media (max-width: 980px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 64px; text-align: center; }
  .temporary-release-badge, .subpage-hero .temporary-release-badge { position: static; width: min(270px, 100%); min-width: 0; margin: 0 auto 28px; }
  .hero-copy { max-width: 760px; margin: auto; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 510px; }
}

@media (max-width: 640px) {
  .notice { padding: 8px 12px; flex-wrap: wrap; gap: 4px 10px; text-align: center; line-height: 1.45; }
  .notice span:last-child { flex-basis: 100%; font-size: 11px; }
  .site-header { height: 66px; padding: 0 15px; gap: 12px; }
  .brand img { width: 145px; }
  .header-cta { min-height: 40px; padding: 0 12px; font-size: 11px; }
  .hero { min-height: auto; padding: 50px 20px 38px; gap: 40px; }
  .temporary-release-badge, .subpage-hero .temporary-release-badge { padding: 11px 15px 12px; }
  .temporary-release-badge strong { font-size: 16px; }
  .temporary-release-badge span { font-size: 24px; }
  .hero-tagline { font-size: clamp(18px, 5.8vw, 24px); }
  .hero h1 { font-size: clamp(38px, 12vw, 54px); }
  .book-title { margin-bottom: 18px; font-size: clamp(33px, 10.5vw, 44px); }
  .hero-description { font-size: 14px; text-align: left; }
  .button { min-height: 50px; padding: 0 19px; font-size: 13px; }
  .hero-visual { min-height: 400px; }
  .book-atari { width: 264px; }
  .book-object { width: 264px; }
  .book-object .book-atari { width: 100%; }
  .trust-strip { grid-template-columns: 1fr; margin-top: 0; }
  .trust-strip div { min-height: 90px; }
  .trust-strip div + div { border-left: 0; border-top: 1px solid var(--line); }
  .preview-section { padding: 86px 22px 98px; text-align: left; }
}

/* First draft: full page sections */
.mobile-menu { display: none; }
.section {
  position: relative;
  padding: 118px max(24px, calc((100vw - 1160px) / 2));
}
.section:nth-of-type(even) { background: #fff; }
.section-heading { max-width: 820px; margin: 0 auto 54px; text-align: center; }
.section-heading h2,
.download-section h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 49px);
  line-height: 1.35;
  letter-spacing: -.025em;
}
.section-heading > p:last-child { margin: 19px auto 0; color: var(--muted); }
.section-top { display: block; width: fit-content; margin: 48px 0 0 auto; color: var(--blue-dark); font-size: 12px; font-weight: 800; }
.large-copy { font-size: clamp(20px, 2.2vw, 29px); font-weight: 800; line-height: 1.65; }

.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 7vw, 92px); align-items: start; }
.about-copy > p:not(.large-copy) { color: var(--muted); }
.product-spec { margin: 34px 0 0; border-top: 2px solid var(--ink); }
.product-spec div { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 13px 6px; border-bottom: 1px solid var(--line); font-size: 13px; }
.product-spec dt { color: var(--blue-dark); font-weight: 900; }
.product-spec dd { margin: 0; font-weight: 700; }
.guide-team { border-radius: 20px; padding: 30px; background: var(--cream); }
.team-label { margin: 0 0 22px; text-align: center; color: var(--red); font-weight: 900; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.team-grid figure { margin: 0; text-align: center; }
.team-grid img { width: 100%; height: 250px; object-fit: cover; object-position: top; border-radius: 12px 12px 0 0; mix-blend-mode: multiply; }
.team-grid figcaption { padding: 10px 3px; }
.team-grid figcaption strong { display: block; font-size: 13px; }
.team-grid figcaption span { display: block; color: var(--muted); font-size: 9px; line-height: 1.5; }
.atari-note { margin: 12px 0 0; color: var(--muted); text-align: right; font-size: 10px; }

.feature-section { background: #f4f9fb !important; }
.feature-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.feature-grid article { grid-column: span 2; min-height: 244px; padding: 29px; border: 1px solid rgba(0,120,184,.14); border-radius: 14px; background: white; }
.feature-grid article:nth-child(4) { grid-column: 2 / span 2; }
.feature-grid article > span { color: var(--blue); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.feature-grid h3 { margin: 32px 0 12px; font-size: 19px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.audience-box { margin-top: 32px; padding: 36px 42px; border-radius: 14px; background: var(--ink); color: white; }
.audience-box h3 { margin: 0 0 21px; color: #75d6ff; font-size: 19px; }
.audience-box ul { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; list-style: none; }
.audience-box li { position: relative; padding-left: 22px; font-size: 13px; }
.audience-box li::before { content: "✓"; position: absolute; left: 0; color: #75d6ff; font-weight: 900; }

.contents-section { background: linear-gradient(180deg, #fffdfa, #f9f4e8) !important; }
.chapter-list { max-width: 940px; margin: auto; border-top: 2px solid var(--ink); }
.chapter-list details { border-bottom: 1px solid rgba(22,34,54,.18); }
.chapter-list summary { min-height: 83px; padding: 18px 6px; display: grid; grid-template-columns: 56px 1fr 32px; align-items: center; gap: 17px; cursor: pointer; list-style: none; }
.chapter-list summary::-webkit-details-marker { display: none; }
.chapter-list summary > span { color: var(--blue-dark); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.chapter-list summary strong { font-size: clamp(16px, 2vw, 21px); }
.chapter-list summary i { font-style: normal; font-size: 25px; transition: transform .2s ease; }
.chapter-list details[open] summary i { transform: rotate(45deg); }
.chapter-list ul { margin: -4px 0 22px 73px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px 34px; color: var(--muted); list-style: none; }
.chapter-list li { position: relative; padding-left: 14px; font-size: 13px; }
.chapter-list li::before { content: "―"; position: absolute; left: 0; color: var(--red); }

.sample-section { background: var(--ink) !important; color: white; }
.sample-section .section-kicker { color: #75d6ff; }
.sample-section .section-heading > p:last-child,
.sample-note { color: #bdc6d1; }
.sample-disclaimer { display: block; margin-top: 7px; font-size: .88em; }
.sample-spreads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 45px; }
.sample-spread { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; }
.sample-page { position: relative; overflow: hidden; aspect-ratio: 182 / 257; border-radius: 2px; background: white; box-shadow: 0 16px 34px rgba(0,0,0,.28); }
.sample-page > img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.sample-page > span { position: absolute; color: rgba(88,96,107,.14); font-size: clamp(27px, 4vw, 50px); font-weight: 900; transform: rotate(-35deg); }
.sample-page > strong { font-size: clamp(28px, 5vw, 54px); }
.sample-page small { position: absolute; right: 12px; bottom: 8px; }
.sample-spread figcaption { grid-column: 1 / -1; margin-top: 10px; color: #aab5c2; font-size: 10px; text-align: center; }
.sample-note { max-width: 760px; margin: 33px auto 0; font-size: 12px; text-align: center; }
.center-actions { margin-top: 32px; display: flex; justify-content: center; }
.sample-section .section-top { color: #75d6ff; }

.price-section { background: #fff !important; }
.reservation-banner { margin: 0 auto 34px; padding: 19px 26px; max-width: 970px; display: flex; align-items: center; justify-content: center; gap: 22px; border-radius: 10px; background: var(--red); color: white; text-align: center; }
.reservation-banner span { padding: 3px 10px; border: 1px solid white; border-radius: 999px; font-size: 11px; font-weight: 900; }
.reservation-banner strong { font-size: clamp(14px, 2vw, 20px); }
.price-table-wrap { overflow-x: auto; }
.price-table-wrap table { width: 100%; min-width: 690px; border-collapse: collapse; border-top: 2px solid var(--ink); }
.price-table-wrap th, .price-table-wrap td { padding: 18px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.price-table-wrap thead th { background: var(--cream); font-size: 12px; }
.price-table-wrap tbody th { font-size: 15px; }
.price-table-wrap td { font-size: 14px; }
.price-table-wrap small { color: var(--muted); }
.price-table-wrap .popular { background: rgba(0,159,227,.07); }
.price-table-wrap strong { color: var(--red); }
.price-caution { margin-top: 18px; color: var(--muted); font-size: 11px; text-align: center; }
.price-rule-card { max-width: 970px; margin: 0 auto; overflow: hidden; border: 1px solid var(--line); border-top: 5px solid var(--red); border-radius: 18px; background: white; box-shadow: 0 18px 45px rgba(22,34,54,.09); }
.price-standard { padding: 30px 34px; display: flex; align-items: center; justify-content: center; gap: 24px; background: linear-gradient(135deg, #fff8f5, #fff); text-align: center; }
.price-standard > span { padding: 7px 18px; border-radius: 999px; background: var(--ink); color: white; font-size: 15px; font-weight: 900; }
.price-standard p { margin: 0; font-size: 22px; font-weight: 900; }
.price-standard strong { margin: 0 7px; color: var(--red); font-size: clamp(38px, 5vw, 58px); line-height: 1; }
.price-standard small { color: var(--muted); font-size: 14px; font-weight: 700; }
.price-tier-list { border-top: 1px solid var(--line); }
.price-tier-row { min-height: 88px; padding: 20px 42px; display: grid; grid-template-columns: 180px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.price-tier-row:nth-child(2) { background: rgba(0,159,227,.045); }
.price-tier-row > span { color: var(--blue-dark); font-size: 19px; font-weight: 900; }
.price-tier-row p { margin: 0; display: flex; align-items: baseline; gap: 10px; font-size: 17px; font-weight: 800; }
.price-tier-row strong { color: var(--ink); font-size: 28px; }
.price-tier-row small { color: var(--muted); font-size: 13px; font-weight: 600; }
.price-tier-row em { margin-left: auto; color: var(--red); font-size: 13px; font-style: normal; font-weight: 900; }
.shipping-policy { padding: 28px 32px 31px; text-align: center; background: var(--cream); }
.shipping-policy p { margin: 0 0 9px; font-size: 17px; font-weight: 800; }
.shipping-policy p span { color: var(--red); font-weight: 900; }
.shipping-policy strong { display: block; color: var(--red); font-size: clamp(24px, 3.5vw, 36px); line-height: 1.3; }

.training-section { background: #eef7fb !important; }
.training-card { overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; border-radius: 22px; background: var(--blue-dark); color: white; box-shadow: 0 22px 60px rgba(0,90,140,.2); }
.training-copy { padding: clamp(42px, 6vw, 72px); }
.training-copy .section-kicker { color: #a8e5ff; }
.training-copy h2 { margin: 0 0 25px; font-size: clamp(31px, 4vw, 50px); line-height: 1.3; }
.training-copy h2 em { color: #ffe86f; font-style: normal; }
.training-copy > p:not(.section-kicker) { color: #d6effb; }
.button-light { margin-top: 18px; background: white; color: var(--blue-dark); }
.comparison-card { margin: 34px; padding: 31px; align-self: center; border-radius: 16px; background: white; color: var(--ink); }
.comparison-card > p:first-child { margin: 0 0 18px; font-size: 12px; font-weight: 900; }
.comparison-card > div { padding: 15px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); }
.comparison-card span { font-size: 12px; }
.comparison-card strong { text-align: right; font-size: 19px; }
.comparison-card strong small { display: block; color: var(--muted); font-size: 11px; }
.comparison-card .training-price strong { color: var(--red); }
.comparison-card .saving { margin: 16px 0 0; padding: 10px; border-radius: 7px; background: #fff5c7; color: #5a4600; font-size: 12px; font-weight: 900; text-align: center; }

.history-section { background: var(--cream) !important; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.timeline::before { content: ""; position: absolute; top: 20px; left: 10%; right: 10%; height: 2px; background: var(--line); }
.timeline article { position: relative; padding-top: 54px; }
.timeline article::before { content: ""; position: absolute; top: 12px; left: 50%; width: 18px; height: 18px; transform: translateX(-50%); border: 4px solid var(--cream); border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.timeline time { position: absolute; top: -18px; left: 0; right: 0; text-align: center; color: var(--blue-dark); font-size: 13px; font-weight: 900; }
.history-cover { width: min(150px, 85%); aspect-ratio: 182 / 257; margin: 0 auto 22px; display: block; object-fit: cover; background-color: white; box-shadow: 9px 10px 0 rgba(22,34,54,.08); }
.cover-atari { width: min(150px, 80%); aspect-ratio: 182 / 257; margin: 0 auto 22px; display: grid; place-content: center; border: 1px dashed #81909c; background: repeating-linear-gradient(-45deg, #fff 0 8px, #edf1f3 8px 16px); text-align: center; font-weight: 900; box-shadow: 9px 10px 0 rgba(22,34,54,.08); }
.cover-atari small { color: var(--muted); font-size: 9px; font-weight: 500; }
.timeline-current .cover-atari { border: 2px solid var(--red); background: white; color: var(--red); }
.timeline h3 { margin: 0 0 9px; font-size: 16px; text-align: center; }
.timeline article > p { margin: 0; color: var(--muted); font-size: 11px; }

.faq-section { background: white !important; }
.faq-list { max-width: 920px; margin: auto; border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 78px; padding: 17px 8px; display: grid; grid-template-columns: 40px 1fr 30px; align-items: center; gap: 14px; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span, .faq-list details > div > span { color: var(--blue-dark); font-size: 19px; font-weight: 900; }
.faq-list summary strong { font-size: 15px; }
.faq-list summary i { font-style: normal; font-size: 23px; transition: transform .2s; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details > div { padding: 0 48px 26px; display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.faq-list details > div > span { color: var(--red); }
.faq-list details > div p { margin: 0; color: var(--muted); font-size: 13px; }

.download-section { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(45px, 8vw, 110px); background: #f4f9fb !important; }
.download-atari { width: min(310px, 80%); aspect-ratio: 257 / 182; margin: auto; padding: 28px; display: flex; flex-direction: column; justify-content: center; border: 1px dashed var(--blue-dark); background: white; box-shadow: 17px 18px 0 rgba(0,120,184,.12); }
.download-atari > span { color: var(--blue-dark); font-size: 13px; font-weight: 900; }
.download-atari > strong { margin: 8px 0; color: var(--red); font-size: 28px; line-height: 1.3; }
.download-atari > small { color: var(--muted); }
.download-section > div:last-child > p:not(.section-kicker) { color: var(--muted); }
.download-preview { width: min(420px, 100%); margin: auto; }
.download-preview > img { display: block; width: 100%; height: auto; box-shadow: 0 12px 28px rgba(0,0,0,.16); }
.button-disabled { border: 1px solid #aeb7bf; background: #edf0f2; color: #77818b; cursor: not-allowed; }

.final-cta { padding: 112px 24px; background: var(--ink); color: white; text-align: center; }
.final-cta .section-kicker { color: #75d6ff; }
.final-actions { margin-top: 37px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.final-cta .button-secondary { border-color: white; background: transparent; color: white; }

footer { padding: 48px max(24px, calc((100vw - 1160px) / 2)); display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 45px; background: white; }
footer img { width: 190px; }
footer div { display: flex; flex-direction: column; font-size: 11px; line-height: 1.7; }
footer div a { color: var(--blue-dark); }
footer > p { margin: 0; color: var(--muted); font-size: 9px; }
.page-top { position: fixed; z-index: 30; right: 18px; bottom: 18px; width: 56px; height: 56px; display: grid; place-content: center; border-radius: 50%; background: var(--ink); color: white; box-shadow: 0 8px 20px rgba(22,34,54,.24); text-align: center; font-weight: 900; }
.page-top span { display: block; margin-top: -4px; font-size: 7px; letter-spacing: .07em; }

@media (max-width: 1060px) {
  .site-header nav { gap: 13px; }
  .about-layout { grid-template-columns: 1fr; }
  .guide-team { max-width: 760px; margin: auto; }
  .training-card { grid-template-columns: 1fr; }
  .comparison-card { margin-top: 0; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 70px 30px; }
  .timeline::before { display: none; }
  .timeline article::before { display: none; }
}

@media (max-width: 980px) {
  .site-header nav { display: none; }
  .mobile-menu { position: relative; display: block; }
  .mobile-menu summary { cursor: pointer; list-style: none; font-size: 11px; font-weight: 900; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu > div { position: absolute; top: 38px; right: 0; width: 210px; padding: 10px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: 0 14px 32px rgba(22,34,54,.16); }
  .mobile-menu a { padding: 9px 10px; font-size: 12px; font-weight: 700; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid article,
  .feature-grid article:nth-child(4) { grid-column: auto; }
  .feature-grid article:last-child { grid-column: 1 / -1; min-height: 180px; }
  footer { grid-template-columns: 190px 1fr; }
  footer > p { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .section { padding: 86px 20px; }
  .section-heading { margin-bottom: 38px; text-align: left; }
  .section-top { margin-top: 36px; }
  .mobile-menu { margin-left: auto; }
  .header-cta { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid img { height: 210px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article,
  .feature-grid article:last-child { grid-column: auto; min-height: auto; }
  .feature-grid h3 { margin-top: 19px; }
  .audience-box { padding: 28px 22px; }
  .audience-box ul { grid-template-columns: 1fr; }
  .chapter-list summary { grid-template-columns: 39px 1fr 24px; gap: 7px; }
  .chapter-list ul { margin-left: 46px; grid-template-columns: 1fr; }
  .sample-spreads { grid-template-columns: 1fr; gap: 34px; }
  .sample-spread { grid-template-columns: 1fr; gap: 14px; }
  .sample-page { width: min(360px, 92%); margin: auto; }
  .sample-spread figcaption { grid-column: auto; }
  .reservation-banner { flex-direction: column; gap: 8px; }
  .price-standard { padding: 27px 20px; flex-direction: column; gap: 12px; }
  .price-standard p { font-size: 18px; }
  .price-standard strong { font-size: 42px; }
  .price-standard small { display: block; margin-top: 8px; }
  .price-tier-row { min-height: auto; padding: 22px 20px; grid-template-columns: 1fr; gap: 10px; text-align: center; }
  .price-tier-row p { justify-content: center; flex-wrap: wrap; gap: 5px 8px; }
  .price-tier-row em { width: 100%; margin: 3px 0 0; }
  .shipping-policy { padding: 26px 20px 29px; }
  .training-copy { padding: 39px 24px; }
  .comparison-card { margin: 0 18px 18px; padding: 24px 20px; }
  .timeline { grid-template-columns: 1fr; gap: 54px; }
  .timeline article { padding-top: 34px; }
  .timeline time { top: 0; }
  .timeline h3 { text-align: left; }
  .history-cover, .cover-atari { width: 150px; }
  .faq-list details > div { padding: 0 10px 24px; grid-template-columns: 36px 1fr; }
  .download-section { grid-template-columns: 1fr; }
  .download-section > div:last-child { text-align: left; }
  footer { grid-template-columns: 1fr; gap: 23px; }
  footer img { width: 175px; }
  footer > p { grid-column: auto; }
}

/* Linked provisional pages */
.subpage-shell { min-height: 100vh; background: #f6f8fa; }
.subpage-header {
  min-height: 76px;
  padding: 14px max(22px, calc((100vw - 1120px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  background: white;
  font-size: 12px;
  font-weight: 800;
}
.subpage-brand img { width: 210px; }
.subpage-hero { position: relative; padding: 82px max(22px, calc((100vw - 920px) / 2)) 56px; text-align: center; }
.subpage-hero.compact { padding-bottom: 34px; }
.subpage-hero .temporary-release-badge { right: max(24px, calc((100vw - 920px) / 2)); }
.subpage-hero h1 { margin: 0; font-size: clamp(34px, 5vw, 57px); line-height: 1.35; }
.subpage-hero > p:last-child { max-width: 700px; margin: 19px auto 0; color: var(--muted); }
.mock-form { width: min(920px, calc(100% - 40px)); margin: 0 auto; padding-bottom: 120px; }
.mock-form fieldset { margin: 0 0 24px; padding: 34px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 26px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.mock-form legend { padding: 0 12px; font-size: 17px; font-weight: 900; }
.mock-form legend span { margin-right: 10px; color: var(--blue-dark); font-size: 12px; }
.mock-form label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 700; }
.mock-form label > span b { margin-left: 6px; padding: 2px 6px; border-radius: 999px; background: var(--red); color: white; font-size: 8px; }
.mock-form input[type="text"], .mock-form input[type="email"], .mock-form input[type="tel"], .mock-form input[type="number"], .mock-form select, .mock-form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #bcc7d0; border-radius: 7px; background: white; color: var(--ink); font: inherit; font-weight: 500; }
.mock-form textarea { resize: vertical; }
.mock-form .input-ja { ime-mode: active; }
.mock-form .input-latin { ime-mode: disabled; }
.full-field { grid-column: 1 / -1; }
.choice-row { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 15px; border-radius: 7px; background: #f6f8fa; }
.choice-row label { flex-direction: row; align-items: center; }
.check-field { padding: 15px; flex-direction: row !important; align-items: center; border-radius: 7px; background: #f6f8fa; }
.check-field input { width: 18px; height: 18px; }
.form-note { margin: 0; padding: 15px 18px; border-left: 3px solid var(--blue); background: #f2f9fc; color: var(--muted); font-size: 11px; }
.estimate-atari { padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border: 1px dashed var(--blue-dark); border-radius: 9px; background: #f4fafd; }
.estimate-atari > div { display: flex; flex-direction: column; }
.estimate-atari span { color: var(--muted); font-size: 10px; }
.sample-disabled { padding: 17px; display: flex; flex-direction: column; border-radius: 8px; background: #eff1f3; color: #65717d; }
.sample-disabled span { font-size: 10px; }
.form-submit { margin: 16px auto 0; display: flex; min-width: 260px; border: 0; cursor: pointer; }
.form-status { color: var(--muted); font-size: 10px; text-align: center; }
.test-notice { width: min(920px, calc(100% - 40px)); margin: -20px auto 30px; padding: 16px 20px; display: flex; align-items: center; gap: 14px; border: 1px solid #e3bd39; border-radius: 10px; background: #fff8d8; color: #5a4600; font-size: 12px; }
.test-notice strong { padding: 4px 9px; flex: 0 0 auto; border-radius: 999px; background: #5a4600; color: white; font-size: 10px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.field-label { font-size: 12px; font-weight: 700; }
.field-label b, .privacy-check b { margin-left: 6px; padding: 2px 6px; border-radius: 999px; background: var(--red); color: white; font-size: 8px; }
.delivery-fields { padding: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; border: 1px solid var(--line); border-radius: 8px; background: #fafbfc; }
.estimate-fields { padding: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; border: 1px solid var(--line); border-radius: 8px; background: #fafbfc; }
.live-estimate { padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 18px; border-radius: 9px; background: var(--ink); color: white; }
.live-estimate > span { font-size: 12px; font-weight: 800; }
.live-estimate strong { color: #75d6ff; font-size: 23px; text-align: right; }
.live-estimate .estimate-shipping { grid-column: 1 / -1; justify-self: end; color: #d7e5ee; font-size: 13px; font-style: normal; font-weight: 900; }
.live-estimate .estimate-shipping.is-extra, .shipping-note.is-extra { color: #ef4b43; }
.shipping-note { color: var(--blue-dark); font-weight: 900; }
.live-estimate small { grid-column: 1 / -1; color: #cbd5df; font-size: 10px; text-align: right; }
.privacy-check { margin: 0 auto 20px; padding: 15px 18px; display: flex !important; max-width: 700px; flex-direction: row !important; align-items: center; justify-content: center; border-radius: 8px; background: white; }
.privacy-check input { width: 18px; height: 18px; flex: 0 0 auto; }
.form-step-panel { padding: 40px; border: 1px solid var(--line); border-radius: 16px; background: white; text-align: center; }
.form-step-panel h2 { margin: 0 0 28px; font-size: clamp(25px, 4vw, 38px); }
.form-summary { margin: 0 auto 28px; max-width: 720px; text-align: left; }
.form-summary dl { margin: 0; display: grid; grid-template-columns: 190px 1fr; border-top: 1px solid var(--line); }
.form-summary dt, .form-summary dd { margin: 0; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.form-summary dt { background: #f5f8fa; font-size: 11px; font-weight: 800; }
.form-summary dd { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; }
.form-step-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.form-step-actions .button { border: 0; cursor: pointer; }
.form-step-actions .button:disabled { opacity: .55; cursor: wait; }
.send-status { min-height: 1.5em; margin: 18px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.send-status.is-error { color: #b42318; font-weight: 800; }
.test-reference { font-weight: 900; color: var(--blue-dark) !important; }
.honeypot-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-complete { padding-block: 70px; }
.form-complete > p:not(.section-kicker) { max-width: 610px; margin: 0 auto 28px; color: var(--muted); }
.complete-mark { width: 66px; height: 66px; margin: 0 auto 22px; display: grid; place-content: center; border-radius: 50%; background: var(--blue-dark); color: white; font-size: 32px; font-weight: 900; }
[hidden] { display: none !important; }

.training-page { min-height: 100vh; background: #fffdfa; }
.training-page-header { background: rgba(255,255,255,.95); }
.training-page-hero { min-height: 650px; padding: 80px max(24px, calc((100vw - 1120px) / 2)); display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 70px; background: linear-gradient(125deg, #fffdfa 0 55%, #e9f7fc 55%); }
.training-page-hero h1 { margin: 0 0 20px; font-size: clamp(45px, 6vw, 78px); line-height: 1.15; letter-spacing: -.04em; }
.training-page-hero > div:first-child > p:not(.section-kicker) { max-width: 590px; color: var(--muted); font-size: 18px; }
.training-page-hero .button { margin-top: 20px; }
.training-visual-atari { aspect-ratio: 4 / 3; display: grid; place-content: center; border: 1px dashed var(--blue-dark); border-radius: 20px; background: repeating-linear-gradient(-45deg, white 0 10px, #edf7fa 10px 20px); color: var(--blue-dark); text-align: center; }
.training-visual-atari strong { font-size: 25px; }
.training-visual-atari span { font-size: 13px; }
.training-placeholder-grid { padding: 90px max(24px, calc((100vw - 1120px) / 2)); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.training-placeholder-grid article { min-height: 240px; padding: 30px; border: 1px solid var(--line); border-radius: 14px; }
.training-placeholder-grid span { color: var(--blue-dark); font-size: 12px; font-weight: 900; }
.training-placeholder-grid h2 { margin: 36px 0 12px; font-size: 21px; }
.training-placeholder-grid p { color: var(--muted); font-size: 12px; }
.training-book-link { padding: 70px max(24px, calc((100vw - 980px) / 2)); display: grid; grid-template-columns: 280px 1fr; align-items: center; gap: 70px; background: var(--ink); color: white; }
.training-book-link img { width: 280px; height: 350px; object-fit: cover; object-position: top; border-radius: 16px; mix-blend-mode: screen; }
.training-book-link .section-kicker { color: #75d6ff; }
.training-book-link h2 { margin: 0; font-size: clamp(32px, 4vw, 50px); line-height: 1.3; }
.training-book-link p:not(.section-kicker) { color: #cbd5df; }
.training-book-link .button-secondary { color: var(--ink); }

@media (max-width: 720px) {
  .subpage-header { min-height: 65px; }
  .subpage-brand img { width: 145px; }
  .subpage-header > a:last-child { max-width: 130px; text-align: right; }
  .subpage-hero { padding-top: 56px; text-align: left; }
  .mock-form { width: min(100% - 24px, 920px); }
  .mock-form fieldset { padding: 25px 18px; grid-template-columns: 1fr; }
  .full-field { grid-column: auto; }
  .estimate-atari { align-items: stretch; flex-direction: column; }
  .test-notice { width: calc(100% - 24px); margin-top: 0; align-items: flex-start; }
  .delivery-fields, .estimate-fields { grid-template-columns: 1fr; }
  .live-estimate { grid-template-columns: 1fr; }
  .live-estimate strong, .live-estimate small { text-align: left; }
  .live-estimate .estimate-shipping { justify-self: start; }
  .form-step-panel { padding: 30px 18px; }
  .form-summary dl { grid-template-columns: 1fr; }
  .form-summary dt { padding-bottom: 5px; border-bottom: 0; }
  .form-summary dd { padding-top: 5px; }
  .training-page-hero { min-height: auto; padding: 70px 20px; grid-template-columns: 1fr; background: linear-gradient(155deg, #fffdfa 0 58%, #e9f7fc 58%); }
  .training-placeholder-grid { padding: 70px 20px; grid-template-columns: 1fr; }
  .training-placeholder-grid article { min-height: auto; }
  .training-book-link { padding: 70px 20px; grid-template-columns: 1fr; gap: 36px; }
  .training-book-link img { width: 190px; height: 250px; }
}
