:root,
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fafafa;
  --bg-subtle: #f4f4f5;
  --surface: #ffffff;
  --text: #18181b;
  --muted: #64646c;
  --line: #e4e4e7;
  --line-strong: #a1a1aa;
  --accent: #f0cc45;
  --accent-soft: #f4f4ed;
  --header: rgba(250, 250, 250, 0.94);
  --shadow: 0 24px 64px rgba(24, 24, 27, 0.09);
  --soft-shadow: 0 8px 24px rgba(24, 24, 27, 0.06);
  --content: 1180px;
  --radius-panel: 16px;
  --radius-control: 12px;
  --radius-detail: 8px;
  --panel-inset: clamp(20px, 3vw, 36px);
  --ease-ui: cubic-bezier(0.2, 0.7, 0.2, 1);
  --motion-fast: 180ms;
  --motion-normal: 260ms;
  --site-header-height: 72px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #18181b;
  --bg-subtle: #202023;
  --surface: #27272b;
  --text: #f4f4f5;
  --muted: #aaaab2;
  --line: #38383f;
  --line-strong: #61616b;
  --accent: #f0cc45;
  --accent-soft: #2b2b2f;
  --header: rgba(24, 24, 27, 0.94);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
  --soft-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

:root[data-theme="black"] {
  color-scheme: dark;
  --bg: #000000;
  --bg-subtle: #0a0a0b;
  --surface: #111113;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --line: #252529;
  --line-strong: #52525b;
  --accent: #f0cc45;
  --accent-soft: #1c1c20;
  --header: rgba(0, 0, 0, 0.94);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.56);
  --soft-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--site-header-height) + 24px);
}

body {
  margin: 0;
  padding-top: var(--site-header-height);
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Pretendard, "Noto Sans KR", "Noto Sans JP", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  transition: background-color 180ms ease, color 180ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select,
input,
textarea {
  color: inherit;
  font: inherit;
}

button,
select,
summary {
  cursor: pointer;
}

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

::selection {
  background: var(--accent);
  color: #151515;
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 9px 13px;
  background: var(--accent);
  color: #151515;
  font-size: 12px;
  font-weight: 800;
  transform: translateY(-160%);
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: var(--header);
  color: var(--text);
  backdrop-filter: blur(18px);
}

.android-download-banner {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.android-download-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 10px;
}

.android-download-icon {
  flex-shrink: 0;
  border-radius: 8px;
}

.android-download-name {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1.4;
}

.android-download-name span {
  color: var(--muted);
  font-size: 12px;
}

.android-download-link {
  margin-left: auto;
  padding: 10px 12px;
  border-radius: var(--radius-detail);
  background: var(--accent);
  color: #151515;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(20, 20, 20, 0.06);
}

.header-inner {
  position: relative;
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  transition: color 150ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.custom-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: grid;
  min-width: 118px;
  min-height: 36px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--text);
  align-items: center;
  grid-template-columns: 18px minmax(0, 1fr) 12px;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.dropdown-trigger:hover,
.custom-dropdown.is-open .dropdown-trigger {
  border-color: var(--line-strong);
  background: var(--bg-subtle);
}

.dropdown-mark {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.dropdown-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-chevron {
  display: block;
  width: 7px;
  height: 7px;
  justify-self: center;
  align-self: center;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
  transform-origin: center;
  transition: transform 150ms ease;
}

.custom-dropdown.is-open .dropdown-chevron {
  transform: translateY(2px) rotate(225deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 120;
  width: max-content;
  min-width: 156px;
  overflow: hidden;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  transform-origin: top center;
}

.dropdown-menu[hidden] {
  display: none;
}

.dropdown-menu-right {
  right: 0;
  left: auto;
}

.dropdown-option {
  display: grid;
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius-detail);
  background: transparent;
  color: var(--text);
  align-items: center;
  grid-template-columns: 1fr 18px;
  gap: 14px;
  font-size: 12px;
  font-weight: 650;
  text-align: left;
}

.dropdown-option:hover,
.dropdown-option:focus-visible {
  outline: 0;
  background: var(--bg-subtle);
}

.option-check {
  visibility: hidden;
  color: var(--text);
  font-weight: 900;
  text-align: center;
}

.dropdown-option[aria-selected="true"] {
  background: var(--accent-soft);
}

.dropdown-option[aria-selected="true"] .option-check {
  visibility: visible;
}

.menu-button {
  display: none;
  width: 38px;
  height: 38px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  display: block;
  width: 16px;
  height: 1px;
  margin: 4px auto;
  background: currentColor;
  content: "";
}

.button {
  display: inline-flex;
  min-height: 50px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.button:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  background: var(--accent-soft);
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #151515;
}

.button-primary:hover {
  border-color: #151515;
  background: var(--accent);
}

.button-quiet {
  border-color: var(--line);
  color: var(--muted);
}

.eyebrow,
.section-label {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  padding-block: 80px 120px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.hero-inner {
  max-width: 960px;
  text-align: center;
}

.hero-status {
  display: flex;
  margin-bottom: 74px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: 24px;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 8.5vw, 108px);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.96;
}

.highlight {
  position: relative;
  white-space: nowrap;
}

.highlight::after {
  position: absolute;
  right: 0;
  bottom: -0.02em;
  left: 0.04em;
  z-index: -1;
  height: 0.12em;
  background: var(--accent);
  content: "";
}

.hero-lead {
  max-width: 680px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 18px;
  letter-spacing: -0.02em;
}

.hero-actions {
  display: flex;
  margin-top: 32px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.availability-link {
  position: relative;
  display: inline-flex;
  max-width: 100%;
}

.availability-link.is-disabled {
  cursor: not-allowed;
}

.availability-link.is-disabled > img,
.availability-link.is-disabled > :not(.availability-tooltip) {
  opacity: 0.5;
  filter: grayscale(0.65);
}

.store-badge {
  min-width: 158px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  transition: transform 150ms ease, opacity 150ms ease;
}

.store-badge > img {
  width: auto;
  height: 50px;
}

.availability-link:not(.is-disabled):hover {
  transform: translateY(-2px);
}

.availability-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  z-index: 30;
  width: max-content;
  max-width: min(250px, calc(100vw - 30px));
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-panel);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--soft-shadow);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.availability-tooltip::before {
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--surface);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.availability-link:hover .availability-tooltip,
.availability-link:focus-visible .availability-tooltip,
.availability-link:focus-within .availability-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.availability-qr {
  display: grid;
  gap: 8px;
}

.availability-qr[hidden] {
  display: none;
}

.availability-qr img {
  width: 164px;
  height: 164px;
  margin-inline: auto;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius-detail);
  background: #ffffff;
  object-fit: contain;
}

.hero-method-link {
  min-height: 40px;
  padding: 10px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.hero-method-link:hover,
.hero-method-link:focus-visible {
  background: transparent;
  color: var(--text);
  transform: none;
}

.hero-method-link span:first-child {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 5px;
}

.product-preview {
  margin-top: 100px;
}

.preview-label {
  display: flex;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.preview-canvas {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-subtle);
}

.preview-canvas::before,
.preview-canvas::after {
  position: absolute;
  background: var(--line);
  content: "";
}

.preview-canvas::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.preview-canvas::after {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.phone {
  position: absolute;
  overflow: hidden;
  width: 270px;
  aspect-ratio: 1242 / 2688;
  border: 8px solid #202022;
  border-radius: 42px;
  background: #bdbdbd;
  box-shadow: var(--shadow);
}

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

.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 34%;
  height: 20px;
  border-radius: 20px;
  background: #202022;
  transform: translateX(-50%);
}

.phone-main {
  top: 50px;
  left: 50%;
  z-index: 4;
  width: 290px;
  transform: translateX(-50%);
}

.phone-side {
  top: 118px;
  z-index: 2;
  width: 230px;
  opacity: 0.72;
}

.phone-left {
  left: 12%;
  transform: rotate(-6deg);
}

.phone-right {
  right: 12%;
  transform: rotate(6deg);
}

.preview-word {
  position: absolute;
  z-index: 1;
  color: var(--line);
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 110px;
  line-height: 1;
}

.preview-word-a {
  top: 60px;
  left: 3%;
}

.preview-word-b {
  right: 2%;
  bottom: 58px;
  font-family: inherit;
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.preview-note {
  position: absolute;
  z-index: 6;
  min-width: 160px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.preview-note b,
.preview-note span {
  display: block;
}

.preview-note b {
  font-size: 13px;
}

.preview-note span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.preview-note-a {
  top: 86px;
  right: 7%;
}

.preview-note-b {
  bottom: 78px;
  left: 7%;
}

.exam-strip {
  padding-block: 72px;
  border-bottom: 1px solid var(--line);
}

.exam-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid var(--line);
}

.exam-list > .exam-item {
  position: relative;
  display: grid;
  min-height: 104px;
  place-items: center;
  padding: 12px;
  border-inline-start: 1px solid var(--line);
}

.exam-list > .exam-item:first-child {
  border-inline-start: 0;
}

.exam-list > .exam-item:hover,
.exam-list > .exam-item:focus-visible {
  outline-offset: -5px;
}

.exam-item > img {
  width: min(124px, 80%);
  height: 56px;
  object-fit: contain;
}

:root[data-theme="dark"] .exam-item > img,
:root[data-theme="black"] .exam-item > img {
  filter: grayscale(1) brightness(0) invert(1);
}

.exam-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  z-index: 25;
  width: max-content;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-detail);
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.exam-tooltip::after {
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--surface);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.exam-item:hover .exam-tooltip,
.exam-item:focus-visible .exam-tooltip,
.exam-item:focus-within .exam-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.courses-note {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Homepage story: open learning, clear study modes, and a personal promise. */
.hero h1 .highlight {
  white-space: normal;
}

.hero-promises {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 650;
}

.hero-promises li::before {
  content: "✓";
  margin-inline-end: 8px;
  color: var(--text);
}

.learning-details {
  margin: 28px 0;
}

.learning-details > div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.learning-details dt {
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 750;
}

.learning-details dd {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.study-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 32px;
  border-block: 1px solid var(--line);
}

.study-modes article {
  min-width: 0;
  padding: 28px 32px;
}

.study-modes article + article {
  border-inline-start: 1px solid var(--line);
}

.study-modes article > span {
  font-size: 14px;
  font-weight: 750;
}

.study-modes h3 {
  margin: 16px 0 8px;
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.study-modes p {
  margin: 0;
  font-size: 16px;
}

.premium-section {
  background: var(--bg-subtle);
}

.premium-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}

.premium-heading {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.premium-heading h2 {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.15;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

.premium-lead {
  max-width: 660px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.premium-free-note {
  max-width: 760px;
  margin: -12px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 15px;
  line-height: 1.8;
}

.premium-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-block: 20px;
}

.premium-benefit {
  min-width: 0;
  padding: 8px 26px;
  border-inline-start: 1px solid var(--line-strong);
}

.premium-benefit:first-child {
  border-inline-start: 0;
}

.premium-benefit > svg {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 24px;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.premium-benefit h3,
.premium-more h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.premium-benefit p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.premium-more {
  padding-top: 32px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.premium-more p {
  max-width: 720px;
  margin: 12px auto 0;
  font-size: 16px;
  line-height: 1.75;
}

.final-downloads {
  min-width: 0;
}

.final-downloads .store-badges {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.final-downloads .store-badge {
  width: 180px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.final-downloads .store-badge > img {
  display: block;
  width: 180px;
  height: 54px;
  object-fit: fill;
}

@media (max-width: 960px) {
  .premium-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 0;
  }

  .premium-benefit:nth-child(odd) {
    border-inline-start: 0;
  }
}

@media (max-width: 700px) {
  .premium-heading {
    padding-inline: var(--mobile-content-inset);
  }

  .premium-benefits {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .premium-benefit {
    padding: 24px var(--mobile-content-inset);
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }

  .premium-benefit:first-child {
    border-top: 0;
  }

  .premium-more,
  .premium-free-note {
    padding-inline: var(--mobile-content-inset);
  }
}

.maker-section {
  background: var(--accent-soft);
}

.maker-layout {
  display: grid;
  max-width: 820px;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

.maker-layout > header {
  text-align: center;
}

.maker-layout h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.15;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

.maker-signature {
  display: block;
  font-size: 14px;
  font-weight: 750;
}

.maker-letter {
  border-top: 1px solid var(--line-strong);
  padding-top: 36px;
}

.maker-signoff {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 32px;
}

.maker-letter p {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.9;
}

.maker-letter .button {
  max-width: 100%;
  height: auto;
  white-space: normal;
}

.final-cta-inner .final-note {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

@media (max-width: 700px) {
  .study-modes,
  .maker-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .study-modes article {
    padding: 24px 4px;
  }

  .study-modes article + article {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }

  .hero-promises {
    gap: 8px 16px;
  }
}

.section {
  padding-block: 130px;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  margin-bottom: 80px;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 70px;
}

.section-heading > *,
.focus-layout > *,
.collection-layout > *,
.faq-layout > *,
.contact-grid > *,
.footer-top > *,
.final-cta-inner > * {
  min-width: 0;
}

.section-heading h2,
.focus-copy h2,
.collection-copy h2,
.faq-layout h2 {
  margin: 0;
  font-size: clamp(42px, 5.7vw, 72px);
  font-weight: 820;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
}

/* Open explanatory rows share the same fine dividers as the essentials. */
.process-list,
.direction-list,
.quiz-list,
.collection-index {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-list,
.contact-channels {
  --panel-inset: clamp(20px, 3vw, 36px);
  display: grid;
  gap: 12px;
}

.process-item,
.direction-list > span,
.quiz-list article,
.collection-index > div {
  min-width: 0;
  padding-inline: 2px;
  border-bottom: 1px solid var(--line);
}

.faq-item,
.contact-channel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
}

.contact-channel {
  padding-inline: var(--panel-inset);
}

.process-item {
  display: grid;
  min-height: 250px;
  padding-block: 32px;
  align-items: center;
  grid-template-columns: 44px minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
}

.process-number {
  align-self: start;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.process-copy h3 {
  margin: 0 0 12px;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.process-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.process-visual {
  justify-self: end;
  width: min(100%, 380px);
  height: 190px;
}

.card-visual {
  position: relative;
}

.card-visual span {
  position: absolute;
  top: 20px;
  left: 50%;
  display: grid;
  width: 118px;
  height: 152px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--surface);
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 46px;
}

.card-visual span:nth-child(1) { transform: translateX(-100%) rotate(-7deg); }
.card-visual span:nth-child(2) { z-index: 2; transform: translateX(-50%); }
.card-visual span:nth-child(3) { transform: translateX(0) rotate(7deg); }

.choice-visual {
  display: grid;
  padding: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.choice-visual span {
  display: grid;
  min-width: 0;
  place-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-align: center;
}

.choice-visual span:nth-child(3) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}

.progress-visual {
  display: grid;
  align-content: center;
}

.progress-visual strong {
  font-size: 62px;
  font-weight: 350;
  letter-spacing: -0.07em;
  line-height: 1;
}

.progress-visual > span {
  display: block;
  width: 100%;
  height: 3px;
  margin-block: 24px 10px;
  background: linear-gradient(to right, var(--accent) 84%, var(--line) 84%);
}

.progress-visual small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.focus-section {
  background: var(--bg-subtle);
}

.focus-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  gap: 90px;
}

.focus-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 28px 0 0;
  color: var(--muted);
}

.direction-list {
  margin-top: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.direction-list > span {
  padding-inline: 16px;
  border-bottom: 0;
}

.direction-list > span + span {
  border-inline-start: 1px solid var(--line);
}

.direction-list span {
  display: flex;
  min-width: 0;
  min-height: 64px;
  padding-block: 16px;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.direction-list b {
  min-width: 0;
  font-weight: 650;
  color: var(--text);
}

.focus-preview {
  position: relative;
  min-height: 590px;
}

.focus-card {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 340px;
  height: 470px;
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--text);
  flex-direction: column;
}

.focus-card-back {
  opacity: 0.64;
  transform: translate(-32%, -47%) rotate(8deg);
}

.focus-card-front {
  z-index: 2;
  box-shadow: var(--shadow);
  transform: translate(-68%, -53%) rotate(-3deg);
}

.focus-card small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.focus-card strong {
  margin: auto 0 8px;
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 86px;
  font-weight: 400;
  line-height: 1;
}

.focus-card > span {
  color: var(--muted);
}

.focus-card footer {
  display: flex;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  justify-content: space-between;
}

.focus-card i {
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.focus-card i:last-child {
  color: #b3a000;
}

.feature-phone {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1242 / 2688;
  border: 8px solid #202022;
  border-radius: 42px;
  background: #eeedf3;
  box-shadow: var(--shadow);
}

.feature-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-phone-back {
  opacity: 0.72;
  transform: translate(-24%, -47%) rotate(7deg);
}

.feature-phone-front {
  z-index: 2;
  transform: translate(-76%, -53%) rotate(-4deg);
}

.quiz-list article {
  display: grid;
  min-height: 160px;
  padding-block: 28px;
  align-items: center;
  grid-template-columns: 44px minmax(0, 1fr) minmax(0, 0.58fr);
  gap: 30px;
}

.quiz-list article > span:not(.pointer-glow-layer) {
  align-self: start;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.quiz-list article > div {
  min-width: 0;
}

.quiz-list small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.quiz-list h3 {
  margin: 6px 0 8px;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.quiz-list p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.quiz-list article > b {
  justify-self: end;
  color: var(--line-strong);
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 650;
  letter-spacing: 0.04em;
}

.quiz-showcase {
  display: grid;
  margin-top: 86px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
}

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

.quiz-shot-frame {
  width: min(100%, 250px);
  margin-inline: auto;
  overflow: hidden;
  aspect-ratio: 1080 / 2400;
  border: 7px solid #202022;
  border-radius: 34px;
  background: #eeedf3;
  box-shadow: var(--soft-shadow);
}

.quiz-shot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quiz-shot figcaption,
.collection-device figcaption {
  display: flex;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.quiz-shot figcaption span,
.collection-device figcaption span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.quiz-shot figcaption b,
.collection-device figcaption b {
  font-size: 12px;
}

.collection-section {
  background: var(--bg-subtle);
}

.collection-layout {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 0.86fr) minmax(450px, 1.14fr);
  gap: 100px;
}

.collection-copy > p:not(.eyebrow) {
  max-width: 550px;
  margin: 28px 0 0;
  color: var(--muted);
}

.collection-index {
  margin-top: 46px;
}

.collection-index > div {
  display: grid;
  min-height: 76px;
  padding-block: 20px;
  align-items: center;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
}

.collection-index span {
  color: var(--muted);
  font-size: 22px;
  font-weight: 450;
  letter-spacing: -0.035em;
}

.collection-index b {
  min-width: 0;
  font-size: 16px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.collection-preview {
  position: relative;
  min-height: 700px;
}

.collection-device {
  position: absolute;
  margin: 0;
}

.collection-device-frame {
  overflow: hidden;
  border: 8px solid #202022;
  background: #eeedf3;
  box-shadow: var(--shadow);
}

.collection-device-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-tablet {
  top: 0;
  left: 0;
  width: min(74%, 390px);
}

.collection-tablet .collection-device-frame {
  aspect-ratio: 1600 / 2560;
  border-radius: 36px;
}

.collection-phone {
  right: 0;
  bottom: 0;
  z-index: 2;
  width: min(38%, 200px);
}

.collection-phone .collection-device-frame {
  aspect-ratio: 1242 / 2688;
  border-width: 7px;
  border-radius: 32px;
}

.essentials-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(40px, 7vw, 96px);
}

.essentials-heading h2 {
  margin: 0;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.15;
  letter-spacing: -0.055em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.essentials-list {
  min-width: 0;
  border-top: 1px solid var(--line);
}

.essentials-item {
  min-width: 0;
  border-bottom: 1px solid var(--line);
}

.essentials-hint {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.essentials-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.essentials-item summary::-webkit-details-marker {
  display: none;
}

.essentials-item summary:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: -5px;
}

.essentials-chevron {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms var(--ease-ui);
}

.essentials-item[open] .essentials-chevron {
  transform: rotate(180deg);
}

.essentials-item p {
  margin: 0;
  padding: 0 34px 24px 2px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

@media (hover: hover) and (pointer: fine) {
  .essentials-item summary > span {
    transition: transform 180ms var(--ease-ui);
  }

  .essentials-item summary:hover > span {
    transform: translateX(3px);
  }

  .essentials-item summary:hover .essentials-chevron {
    color: var(--text);
  }
}

@media (max-width: 960px) {
  .essentials-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}

@media (max-width: 700px) {
  .essentials-layout {
    gap: 28px;
  }

  .essentials-heading {
    padding-inline: var(--mobile-content-inset);
  }

  .essentials-item summary {
    padding: 22px 4px;
  }

  .essentials-item p {
    padding: 0 32px 22px 4px;
  }
}

.faq-section {
  background: var(--bg);
}

.faq-layout {
  display: grid;
  max-width: 940px;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

.faq-layout h2 {
  max-width: 780px;
  font-size: clamp(34px, 4.3vw, 50px);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.faq-item {
  align-self: start;
}

.faq-item[open] {
  border-color: var(--line-strong);
}

.faq-item summary {
  display: grid;
  min-height: 96px;
  padding-block: 24px;
  padding-inline: var(--panel-inset);
  border-radius: calc(var(--radius-panel) - 1px);
  cursor: pointer;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 24px;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.025em;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--muted);
  font-size: 20px;
  font-weight: 400;
  text-align: right;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  max-width: 680px;
  margin: -4px var(--panel-inset) 28px;
  padding-right: 36px;
  color: var(--muted);
}

.beta-section {
  background: var(--bg-subtle);
}

.beta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
  text-align: center;
}

.beta-copy {
  width: min(100%, 820px);
  margin-inline: auto;
}

.beta-copy h2 {
  margin: 0;
  font-size: clamp(42px, 5.7vw, 72px);
  font-weight: 820;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.beta-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 28px auto 0;
  color: var(--muted);
}

.beta-actions {
  display: grid;
  width: min(100%, 900px);
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.beta-action {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 11px;
}

.beta-action .beta-button {
  width: 100%;
}

.beta-button {
  display: flex;
  min-height: 82px;
  overflow: visible;
  padding: 20px var(--panel-inset);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background-color 150ms ease, transform 150ms ease;
}

.beta-button:not(.is-disabled):hover {
  border-color: var(--text);
  background: var(--accent-soft);
}

.beta-button small,
.beta-button strong {
  display: block;
}

.beta-button small {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.beta-button strong {
  font-size: 17px;
  letter-spacing: -0.025em;
}

.beta-guide-link {
  display: inline-flex;
  min-height: 44px;
  padding: 10px 4px;
  align-items: center;
  justify-self: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}

.beta-guide-link:hover,
.beta-guide-link:focus-visible {
  color: var(--text);
  text-decoration-color: var(--accent);
}

.beta-guide-link span:last-child {
  transition: transform 150ms ease;
}

.beta-guide-link:hover span:last-child {
  transform: translateX(3px);
}

.guide-back-link {
  display: inline-flex;
  margin-bottom: 42px;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.guide-back-link:hover,
.guide-back-link:focus-visible {
  color: var(--text);
}

.guide-platform-switch {
  display: flex;
  margin-top: 28px;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  color: var(--muted);
  font-size: 13px;
}

.guide-platform-link {
  display: inline-flex;
  min-height: 44px;
  padding-block: 10px;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 750;
}

.guide-platform-link span:first-child {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 5px;
}

.guide-platform-link:hover span:first-child,
.guide-platform-link:focus-visible span:first-child {
  text-decoration-color: var(--accent);
}

.guide-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}

.guide-hero-copy {
  min-width: 0;
}

.guide-hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
}

.guide-hero h1 {
  max-width: 1050px;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.guide-hero-actions {
  display: flex;
  width: 100%;
  margin-top: 32px;
  align-items: center;
  gap: 18px;
}

.guide-direct-action {
  display: grid;
  width: min(100%, 360px);
  min-width: 0;
  align-content: center;
  justify-items: start;
  gap: 12px;
}

.guide-hero-actions .button {
  min-width: 220px;
  justify-content: center;
}

.guide-external-note {
  max-width: 340px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.guide-qr-card {
  display: grid;
  width: 100%;
  max-width: 320px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  align-items: center;
  place-items: center;
}

.guide-qr-card img {
  width: 100%;
  height: auto;
  background: #ffffff;
  aspect-ratio: 1;
  object-fit: contain;
}

@media (min-width: 961px) {
  .guide-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: clamp(32px, 5vw, 72px);
  }

  .guide-hero .guide-hero-copy h1 {
    font-size: clamp(42px, 4.5vw, 64px);
  }
}

.guide-layout {
  display: grid;
  padding-block: 78px 130px;
  align-items: start;
  grid-template-columns: 230px minmax(0, 820px);
  gap: 90px;
}

.guide-aside {
  position: sticky;
  top: calc(var(--site-header-height) + 36px);
  display: grid;
  align-self: start;
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
  gap: 28px;
}

.guide-aside-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-requirements {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 9px;
  list-style: none;
}

.guide-requirements li {
  position: relative;
  padding-left: 17px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.guide-requirements li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.guide-toc ol {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 8px;
  counter-reset: guide-toc;
  list-style: none;
}

.guide-toc li {
  counter-increment: guide-toc;
}

.guide-toc a {
  display: grid;
  color: var(--muted);
  grid-template-columns: 24px minmax(0, 1fr);
  font-size: 11px;
  line-height: 1.4;
}

.guide-toc a::before {
  color: var(--accent);
  content: counter(guide-toc, decimal-leading-zero);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.guide-toc a:hover,
.guide-toc a:focus-visible {
  color: var(--text);
}

.guide-content {
  min-width: 0;
}

.guide-content > section,
.guide-content > figure {
  scroll-margin-top: 108px;
}

.guide-intro {
  padding-bottom: 46px;
}

.guide-intro h2,
.guide-steps > h2,
.guide-help > h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.05em;
  line-height: 1.12;
}

.guide-intro > p:not(.eyebrow) {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
}

.guide-callout {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  border-radius: var(--radius-panel);
}

.guide-figure {
  margin: 0 0 78px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.guide-figure img {
  width: 100%;
  height: auto;
}

.guide-figure figcaption {
  padding: 15px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.guide-steps,
.guide-help {
  padding-top: 4px;
}

.guide-step-list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.guide-step {
  display: grid;
  padding: 28px var(--panel-inset);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 24px;
}

.guide-step-number {
  display: grid;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #151515;
  place-items: center;
  font-size: 11px;
  font-weight: 850;
}

.guide-step-copy h3 {
  margin: 0;
  font-size: clamp(21px, 3vw, 29px);
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.guide-step-copy > p {
  margin: 13px 0 0;
  color: var(--muted);
}

.guide-step-note {
  display: grid;
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--bg-subtle);
  gap: 4px;
  font-size: 12px;
  border-radius: var(--radius-panel);
}

.guide-step-note strong {
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guide-step-note span {
  color: var(--muted);
}

.guide-help {
  margin-top: 78px;
}

.guide-help-grid {
  display: grid;
  margin-top: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.guide-help-card {
  min-width: 0;
  border-bottom: 1px solid var(--line);
  padding: 28px 24px;
}

.guide-help-card:nth-child(even) {
  border-inline-start: 1px solid var(--line);
}

.guide-help-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.guide-help-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.guide-finish {
  display: grid;
  margin-top: 78px;
  padding: 34px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #151515;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  border-radius: var(--radius-panel);
}

.guide-finish h2 {
  margin: 0;
  font-size: clamp(27px, 4vw, 40px);
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.guide-finish p {
  max-width: 580px;
  margin: 13px 0 0;
  color: #44443f;
  font-size: 13px;
}

.guide-finish .button {
  border-color: var(--text);
  background: var(--text);
  color: var(--surface);
  white-space: normal;
}

@media (max-width: 960px) {
  .guide-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .guide-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }
}

@media (max-width: 700px) {
  :root { --panel-inset: 20px; }
  .guide-back-link {
    margin-bottom: 32px;
  }

  .guide-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .guide-hero-actions .button {
    width: 100%;
  }

  .guide-layout {
    padding-block: 58px 94px;
    gap: 42px;
  }

  .guide-aside {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .guide-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
  }

  .guide-intro {
    padding-bottom: 38px;
  }

  .guide-figure {
    margin-bottom: 62px;
  }

  .guide-step {
    padding-block: 28px;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
  }

  .guide-step-number {
    width: 38px;
    height: 38px;
  }

  .guide-step-copy > p {
    font-size: 15px;
    line-height: 1.65;
  }

  .guide-help {
    margin-top: 62px;
  }

  .guide-help-grid {
    grid-template-columns: 1fr;
  }

  .guide-help-card {
    padding: 24px 4px;
  }

  .guide-help-card:nth-child(even) {
    border-inline-start: 0;
  }

  .guide-finish {
    margin-top: 62px;
    padding: 26px 22px;
    grid-template-columns: 1fr;
  }

  .guide-finish .button {
    width: 100%;
    justify-content: center;
  }
}

.final-cta {
  padding-block: 100px;
  border-bottom: 1px solid rgba(21, 21, 21, 0.16);
  background: var(--accent);
  color: #151515;
}

.final-cta-inner {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
}

.final-cta-inner > p {
  margin: 0 0 24px;
  grid-column: 1 / -1;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 840;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.final-cta .button-primary {
  border-color: #151515;
  color: #151515;
}

.site-footer {
  padding-block: 62px 26px;
  background: var(--bg);
  color: var(--text);
}

.footer-top {
  display: grid;
  padding-bottom: 58px;
  grid-template-columns: 1fr auto;
  gap: 48px;
}

.footer-brand p {
  max-width: 420px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(145px, 1fr));
  gap: 12px 40px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  color: var(--muted);
  font-size: 10px;
  overflow-wrap: anywhere;
}

.footer-bottom span:first-child {
  max-width: 760px;
}

/* Legal, contact, and error pages share the same minimal system. */
.legal-hero {
  padding-block: 110px 76px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.legal-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 840;
  letter-spacing: -0.075em;
  line-height: 0.96;
}

.legal-hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.draft-notice {
  display: inline-block;
  margin-top: 26px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--surface);
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.legal-language-notice {
  display: inline-block;
  margin-top: 26px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.legal-layout {
  display: grid;
  padding-block: 76px 130px;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 94px;
}

.legal-aside {
  position: sticky;
  top: calc(var(--site-header-height) + 38px);
  align-self: start;
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
}

.legal-aside p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-aside strong {
  font-size: 12px;
}

.legal-meta-block + .legal-meta-block,
.legal-toc {
  margin-top: 26px;
}

.legal-toc ol {
  display: grid;
  margin: 10px 0 0;
  padding: 0;
  gap: 7px;
  counter-reset: legal-toc;
  list-style: none;
}

.legal-toc li {
  counter-increment: legal-toc;
  font-size: 11px;
  line-height: 1.35;
}

.legal-toc a {
  display: grid;
  color: var(--muted);
  grid-template-columns: 20px 1fr;
  text-decoration: none;
}

.legal-toc a::before {
  content: counter(legal-toc, decimal-leading-zero);
  color: var(--accent);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--text);
}

.legal-content section {
  padding-bottom: 38px;
  scroll-margin-top: 110px;
}

.legal-content section + section {
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.legal-content h3 {
  margin: 25px 0 8px;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.legal-content p {
  margin-block: 0 14px;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

body[data-page="terms"] #ads-analytics > .legal-notice + p {
  margin-top: 20px;
}

.legal-content ul,
.legal-content ol {
  display: grid;
  margin: 14px 0 0;
  padding-left: 21px;
  gap: 9px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.legal-content strong {
  color: var(--text);
}

.legal-content code {
  padding: 0.12em 0.35em;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 0.9em;
}

.legal-content a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.legal-summary-grid {
  display: grid;
  margin-top: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.legal-summary-grid > div {
  display: grid;
  min-height: 142px;
  align-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
  padding: 28px var(--panel-inset);
}

.legal-summary-grid strong {
  font-size: 14px;
}

.legal-summary-grid span {
  color: var(--muted);
  font-size: 12px;
}

.legal-notice,
.legal-contact-box {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: var(--radius-panel);
}

.legal-notice strong,
.legal-contact-box strong {
  color: var(--text);
}

.legal-table-wrap {
  max-width: 100%;
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
}

.legal-table-wrap table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 11px;
  line-height: 1.5;
}

.legal-table-wrap th,
.legal-table-wrap td {
  min-width: 140px;
  padding: 14px 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table-wrap th {
  background: var(--bg-subtle);
  color: var(--text);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.legal-table-wrap tr:last-child td {
  border-bottom: 0;
}

.legal-table-wrap th:last-child,
.legal-table-wrap td:last-child {
  border-right: 0;
}

@media (max-width: 720px) {
  .legal-summary-grid {
    grid-template-columns: 1fr;
  }

  .legal-summary-grid > div {
    min-height: 118px;
  }

  .legal-table-wrap {
    margin-block: 18px;
    overflow: visible;
    border: 0;
  }

  .legal-table-wrap table,
  .legal-table-wrap tbody,
  .legal-table-wrap tr,
  .legal-table-wrap td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .legal-table-wrap table {
    background: transparent;
    font-size: 13px;
    line-height: 1.55;
  }

  .legal-table-wrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .legal-table-wrap tbody tr {
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background: var(--surface);
  }

  .legal-table-wrap tbody tr:last-child {
    margin-bottom: 0;
  }

  .legal-table-wrap td {
    padding: 13px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .legal-table-wrap td:last-child {
    border-bottom: 0;
  }

  .legal-table-wrap tbody tr td:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .legal-table-wrap[aria-label="Information KyouStudy processes"] td:nth-child(1)::before { content: "Category"; }
  .legal-table-wrap[aria-label="Information KyouStudy processes"] td:nth-child(2)::before { content: "Examples"; }
  .legal-table-wrap[aria-label="Information KyouStudy processes"] td:nth-child(3)::before { content: "How it is used"; }
  .legal-table-wrap[aria-label="Information KyouStudy processes"] td:nth-child(4)::before { content: "When it is processed"; }
  .legal-table-wrap[aria-label="Third-party services"] td:nth-child(1)::before { content: "Service category"; }
  .legal-table-wrap[aria-label="Third-party services"] td:nth-child(2)::before { content: "Provider or destination"; }
  .legal-table-wrap[aria-label="Third-party services"] td:nth-child(3)::before { content: "Relevant processing"; }
  .legal-table-wrap[aria-label="KyouStudy Premium products"] td:nth-child(1)::before { content: "Plan"; }
  .legal-table-wrap[aria-label="KyouStudy Premium products"] td:nth-child(2)::before { content: "Store type"; }
  .legal-table-wrap[aria-label="KyouStudy Premium products"] td:nth-child(3)::before { content: "Renewal"; }
  .legal-table-wrap[aria-label="Open source software and licensed content"] td:nth-child(1)::before { content: "Component or material"; }
  .legal-table-wrap[aria-label="Open source software and licensed content"] td:nth-child(2)::before { content: "Owner/source"; }
  .legal-table-wrap[aria-label="Open source software and licensed content"] td:nth-child(3)::before { content: "License or terms"; }
  .legal-table-wrap[aria-label="Open source software and licensed content"] td:nth-child(4)::before { content: "Notice"; }

  .legal-table-wrap[aria-label="Information KyouStudy processes"] td::before,
  .legal-table-wrap[aria-label="Third-party services"] td::before,
  .legal-table-wrap[aria-label="KyouStudy Premium products"] td::before,
  .legal-table-wrap[aria-label="Open source software and licensed content"] td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.07em;
    line-height: 1.4;
    text-transform: uppercase;
  }
}

.contact-grid {
  display: grid;
  padding-block: 78px 130px;
  grid-template-columns: minmax(0, 1fr);
  gap: 64px;
}

.contact-info h2 {
  margin: 0 0 16px;
  font-size: 30px;
  letter-spacing: -0.045em;
}

.contact-info > p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.contact-channel {
  display: grid;
  min-height: 158px;
  padding-block: 28px;
  align-items: start;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  gap: 24px;
  color: var(--text);
  transition: background-color 150ms ease;
}

.contact-channel:hover {
  background: var(--bg-subtle);
}

.contact-channel-number,
.contact-channel-copy small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-channel-copy {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.contact-channel-copy strong {
  font-size: clamp(21px, 3vw, 34px);
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.contact-channel-copy > span {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.contact-channel-arrow {
  font-size: 20px;
  transition: transform 150ms ease;
}

.contact-channel:hover .contact-channel-arrow {
  transform: translate(3px, -3px);
}

.error-page {
  display: grid;
  min-height: calc(100svh - 72px);
  place-items: center;
  padding-block: 80px;
  border-bottom: 1px solid var(--line);
}

.error-panel {
  width: min(100%, 850px);
  text-align: center;
}

.error-panel .eyebrow {
  text-align: center;
}

.error-code {
  display: inline-block;
  margin: 0;
  border-bottom: 10px solid var(--accent);
  font-size: clamp(120px, 24vw, 250px);
  font-weight: 850;
  letter-spacing: -0.1em;
  line-height: 0.76;
}

.error-panel h1 {
  margin: 64px 0 12px;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -0.055em;
}

.error-panel > p:not(.eyebrow) {
  max-width: 570px;
  margin: 0 auto;
  color: var(--muted);
}

.error-actions {
  display: flex;
  margin-top: 30px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 960px) {
  .header-inner {
    gap: 10px;
  }

  .menu-button {
    display: block;
    margin-left: 0;
    order: 2;
  }

  .header-actions {
    margin-left: auto;
    order: 1;
  }

  .nav-links {
    position: fixed;
    top: var(--site-header-height);
    right: 0;
    left: 0;
    display: flex;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    max-height: calc(100dvh - var(--site-header-height));
    overflow-y: auto;
    transition: opacity 200ms var(--ease-ui), transform 240ms var(--ease-ui), visibility 240ms;
    width: 100%;
    margin: 0;
    padding: 22px max(24px, calc((100vw - var(--content)) / 2));
    border-bottom: 1px solid var(--line);
    background: var(--header);
    box-shadow: 0 16px 32px rgba(20, 20, 20, 0.08);
    order: 3;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    backdrop-filter: blur(18px);
  }

  .nav-links.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .nav-links a {
    width: 100%;
    padding-block: 12px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: 14px;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .phone-left {
    left: 5%;
  }

  .phone-right {
    right: 5%;
  }

  .process-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .process-visual {
    width: 100%;
    margin-top: 20px;
    grid-column: 2;
    justify-self: start;
  }

  .focus-layout,
  .collection-layout,
  .beta-layout,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .beta-layout {
    gap: 52px;
  }

  .contact-grid {
    gap: 52px;
  }

  .focus-preview {
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .collection-copy .collection-index {
    margin-top: 44px;
  }

  .collection-preview {
    width: min(100%, 680px);
    min-height: 740px;
    margin-inline: auto;
  }

  .collection-tablet {
    left: 5%;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 700px) {
  :root {
    --site-header-height: 66px;
    --mobile-gutter-left: max(5vw, env(safe-area-inset-left, 0px));
    --mobile-gutter-right: max(5vw, env(safe-area-inset-right, 0px));
    --mobile-content-inset: 6vw;
    --mobile-component-inset: 2vw;
  }

  body {
    padding-top: var(--site-header-height);
    max-width: 100%;
  }

  .container {
    width: 100%;
    padding-left: var(--mobile-gutter-left);
    padding-right: var(--mobile-gutter-right);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand span {
    display: none;
  }

  .nav-links {
    top: var(--site-header-height);
    max-height: calc(100svh - var(--site-header-height));
    padding-inline: var(--mobile-gutter-left) var(--mobile-gutter-right);
    overflow-y: auto;
  }

  .header-actions {
    gap: 5px;
  }

  .dropdown-trigger {
    min-width: 38px;
    width: 38px;
    min-height: 38px;
    padding: 0;
    place-items: center;
    grid-template-columns: 1fr;
  }

  .dropdown-trigger .dropdown-value,
  .dropdown-trigger .dropdown-chevron {
    display: none;
  }

  .dropdown-mark {
    width: 21px;
    height: 21px;
  }

  .dropdown-menu {
    position: fixed;
    top: calc(var(--site-header-height) - 8px);
    right: var(--mobile-gutter-right);
    left: auto;
    width: min(230px, 90vw);
    max-width: calc(100vw - var(--mobile-gutter-left) - var(--mobile-gutter-right));
    padding: 7px;
  }

  .availability-tooltip {
    max-width: 90vw;
    overflow-wrap: anywhere;
  }

  /* Keep structural elements broad while giving reading content a calmer measure. */
  .hero .eyebrow,
  .hero h1,
  .hero-lead,
  .section-label,
  .courses-note {
    padding-inline: var(--mobile-content-inset);
  }

  .hero-actions {
    margin-inline: var(--mobile-component-inset);
  }

  .section-heading,
  .focus-copy,
  .collection-copy,
  .beta-copy,
  .contact-info {
    padding-inline: var(--mobile-content-inset);
  }

  .faq-list,
  .contact-channels {
    --panel-inset: 20px;
    gap: 10px;
  }

  .faq-layout > header {
    padding-inline: var(--mobile-content-inset);
  }

  .faq-item p {
    padding-right: 0;
  }

  .beta-actions {
    /* Keep localized tooltips centered inside the viewport instead of a narrow column. */
    padding-inline: var(--mobile-component-inset);
    grid-template-columns: minmax(0, 1fr);
  }

  .beta-button,
  .beta-button-copy {
    min-width: 0;
  }

  .final-cta-inner,
  .footer-top,
  .footer-bottom,
  .error-panel {
    padding-inline: var(--mobile-content-inset);
  }

  .hero {
    padding-block: 54px 78px;
  }

  .hero-status {
    margin-bottom: 52px;
  }

  .hero-status span:last-child {
    display: none;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .highlight {
    white-space: normal;
  }

  .hero-lead {
    font-size: 16px;
  }

  .store-badges {
    gap: 7px;
  }

  .store-badge > img {
    height: 46px;
  }

  .product-preview {
    margin-top: 72px;
  }

  .preview-canvas {
    min-height: 520px;
  }

  .phone-main {
    top: 44px;
    width: 225px;
  }

  .phone-side {
    top: 100px;
    width: 175px;
  }

  .phone-left {
    left: -10%;
  }

  .phone-right {
    right: -10%;
  }

  .preview-word {
    font-size: 70px;
  }

  .preview-word-b {
    font-size: 46px;
  }

  .preview-note {
    min-width: 132px;
    padding: 11px;
  }

  .preview-note-a {
    top: 24px;
    right: 2%;
  }

  .preview-note-b {
    bottom: 30px;
    left: 2%;
  }

  .exam-strip {
    padding-block: 58px;
  }

  .exam-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .exam-list > .exam-item {
    min-height: 82px;
  }

  .exam-list > .exam-item:nth-child(odd) {
    border-inline-start: 0;
  }

  .exam-list > .exam-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .exam-list > .exam-item:last-child {
    grid-column: 1 / -1;
  }

  .exam-item > img {
    width: min(118px, 82%);
    height: 50px;
  }

  .section {
    padding-block: 88px;
  }

  .section-heading {
    margin-bottom: 52px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading h2,
  .focus-copy h2,
  .collection-copy h2,
  .faq-layout h2 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .process-item {
    padding-block: 34px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 18px;
  }

  .process-copy h3 {
    font-size: 23px;
  }

  .process-visual {
    height: 170px;
  }

  .card-visual span {
    width: min(104px, calc((100% - 24px) / 2));
    height: auto;
    aspect-ratio: 118 / 152;
  }

  .focus-layout {
    gap: 40px;
  }

  .focus-preview {
    min-height: 500px;
  }

  .focus-card {
    width: min(250px, calc(100% - 40px));
    height: 380px;
    padding: 24px;
  }

  .focus-card-back {
    transform: translate(-47%, -47%) rotate(3deg);
  }

  .focus-card-front {
    transform: translate(-53%, -53%) rotate(-3deg);
  }

  .focus-card strong {
    font-size: 66px;
  }

  .feature-phone {
    width: min(205px, 52vw);
    border-width: 6px;
    border-radius: 32px;
  }

  .feature-phone-back {
    transform: translate(-30%, -47%) rotate(4deg);
  }

  .feature-phone-front {
    transform: translate(-70%, -53%) rotate(-4deg);
  }

  .quiz-list article {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 18px;
  }

  .quiz-list article > b {
    margin-top: 20px;
    grid-column: 2;
    justify-self: start;
  }

  .quiz-showcase {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(72vw, 260px);
    margin-top: 64px;
    padding: 24px var(--mobile-gutter-right) 14px var(--mobile-gutter-left);
    overflow-x: auto;
    gap: 18px;
    scroll-padding-inline: var(--mobile-gutter-left);
    scroll-snap-type: x mandatory;
  }

  .quiz-shot {
    scroll-snap-align: start;
  }

  .quiz-shot-frame {
    width: 100%;
    border-width: 6px;
    border-radius: 30px;
  }

  .collection-layout {
    gap: 48px;
  }

  .collection-preview {
    min-height: 570px;
  }

  .collection-tablet {
    left: var(--mobile-gutter-left);
    width: min(72vw, 360px);
  }

  .collection-phone {
    right: var(--mobile-gutter-right);
    width: min(38vw, 180px);
  }

  .collection-device-frame {
    border-width: 6px;
  }

  .collection-tablet .collection-device-frame {
    border-radius: 30px;
  }

  .collection-phone .collection-device-frame {
    border-width: 5px;
    border-radius: 26px;
  }

  .collection-index > div {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
  }

  .faq-layout {
    gap: 44px;
  }

  .faq-layout h2 {
    font-size: clamp(32px, 8vw, 44px);
  }

  .beta-layout {
    gap: 44px;
  }

  .beta-copy h2 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .beta-button {
    min-height: 86px;
    padding: 13px 10px;
  }

  .final-cta {
    padding-block: 78px;
  }

  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .final-cta-inner > p {
    grid-column: auto;
  }

  .final-cta .button {
    justify-self: start;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-hero {
    padding-block: 76px 56px;
  }

  .legal-hero h1 {
    font-size: clamp(42px, 14vw, 58px);
    overflow-wrap: anywhere;
  }

  .legal-hero p:not(.eyebrow) {
    margin-top: 22px;
    font-size: 15px;
  }

  .legal-hero .container > * {
    margin-right: var(--mobile-content-inset);
    margin-left: var(--mobile-content-inset);
  }

  .guide-hero .container > .guide-hero-layout {
    margin-inline: 0;
  }

  .guide-hero-copy {
    padding-inline: var(--mobile-content-inset);
  }

  .guide-qr-card {
    padding: 16px;
    justify-self: center;
  }

  .legal-layout,
  .contact-grid {
    padding-block: 58px 94px;
  }

  .legal-layout,
  .legal-content,
  .legal-content section {
    min-width: 0;
  }

  .legal-layout {
    gap: 32px;
  }

  .legal-aside {
    padding-top: 13px;
  }

  .legal-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
  }

  .legal-toc a {
    grid-template-columns: 18px minmax(0, 1fr);
    overflow-wrap: anywhere;
  }

  .legal-content section {
    padding-bottom: 30px;
  }

  .legal-content section + section {
    padding-top: 30px;
  }

  .legal-content h2 {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .legal-content h3 {
    font-size: 14px;
    line-height: 1.4;
  }

  /* Apply the reading inset to every content block, including boxed and tabular text. */
  .legal-content section > h2,
  .legal-content section > h3,
  .legal-content section > p,
  .legal-content section > ul,
  .legal-content section > ol,
  .legal-content section > .legal-summary-grid,
  .legal-content section > .legal-notice,
  .legal-content section > .legal-contact-box,
  .legal-content section > .legal-table-wrap {
    margin-right: var(--mobile-content-inset);
    margin-left: var(--mobile-content-inset);
  }

  .legal-content p,
  .legal-content li {
    font-size: 15px;
    line-height: 1.65;
  }

  .legal-content ul,
  .legal-content ol {
    padding-left: 18px;
  }

  .legal-notice,
  .legal-contact-box {
    padding: 15px 16px;
  }

  .legal-summary-grid > div {
    min-height: 0;
    padding: 20px;
    gap: 18px;
  }

  .contact-channel {
    min-height: 144px;
    grid-template-columns: 32px minmax(0, 1fr) 22px;
    gap: 14px;
  }
}

/* Home-page motion and interaction layer. */
.home-scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 300;
  height: 3px;
  background: var(--accent);
  pointer-events: none;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  will-change: transform;
}

body[data-page="home"].home-motion-ready [data-home-reveal] {
  opacity: 0;
  translate: 0 18px;
  transition:
    opacity 700ms cubic-bezier(0.2, 0.72, 0.2, 1) var(--reveal-delay, 0ms),
    filter 700ms cubic-bezier(0.2, 0.72, 0.2, 1) var(--reveal-delay, 0ms),
    translate 700ms cubic-bezier(0.2, 0.72, 0.2, 1) var(--reveal-delay, 0ms),
    scale 700ms cubic-bezier(0.2, 0.72, 0.2, 1) var(--reveal-delay, 0ms),
    background-color var(--motion-normal) var(--ease-ui),
    border-color var(--motion-normal) var(--ease-ui),
    box-shadow var(--motion-normal) var(--ease-ui),
    transform var(--motion-normal) var(--ease-ui);
  will-change: opacity, filter, translate;
}

body[data-page="home"].home-motion-ready [data-home-reveal="scale"] {
  scale: 0.975;
  translate: 0 16px;
}

body[data-page="home"].home-motion-ready [data-home-reveal].is-visible {
  opacity: 1;
  filter: none;
  scale: 1;
  translate: 0 0;
  will-change: auto;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  scale: 0 1;
  transform-origin: left center;
  transition: scale 220ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-current::after,
.nav-links a[aria-current="page"]::after {
  scale: 1 1;
}

body[data-page="home"] .nav-links a.is-current {
  color: var(--text);
}

body[data-page="home"] .hero-status {
  position: relative;
}

body[data-page="home"] .hero-status::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  content: "";
  transform: scaleX(0.18);
  animation: home-status-scan 4.8s ease-in-out infinite;
}

body[data-page="home"] .highlight::after {
  transform: scaleX(0);
  transform-origin: left center;
}

body[data-page="home"] h1.is-visible .highlight::after {
  animation: home-highlight-sweep 780ms cubic-bezier(0.2, 0.75, 0.25, 1) 520ms forwards;
}

.pointer-glow-surface {
  position: relative;
}

.pointer-glow-layer {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle 190px at var(--pointer-x) var(--pointer-y),
    color-mix(in srgb, var(--accent) 10%, transparent),
    transparent 72%
  );
  transition: opacity 420ms var(--ease-ui);
}

.is-pointer-active > .pointer-glow-layer {
  opacity: 1;
  transition-duration: 220ms;
}

body[data-page="home"] .preview-canvas .phone,
body[data-page="home"] .preview-note,
body[data-page="home"] .focus-card,
body[data-page="home"] .feature-phone {
  translate: var(--motion-x, 0px) var(--motion-y, 0px);
  transition: translate 650ms var(--ease-ui), box-shadow 420ms var(--ease-ui);
}

body[data-page="home"] .is-pointer-active .phone,
body[data-page="home"] .is-pointer-active .preview-note,
body[data-page="home"] .is-pointer-active .feature-phone {
  transition-duration: 180ms, 260ms;
}

body[data-page="home"] .preview-note-a {
  animation: home-note-float 4.4s ease-in-out infinite;
}

body[data-page="home"] .preview-note-b {
  animation: home-note-float 4.4s ease-in-out -2.2s infinite;
}

body[data-page="home"] .preview-word-a {
  animation: home-word-drift 7s ease-in-out infinite;
}

body[data-page="home"] .preview-word-b {
  animation: home-word-drift 8s ease-in-out -3s infinite reverse;
}

body[data-page="home"] .preview-canvas:hover .phone-main,
body[data-page="home"] .focus-preview:hover .focus-card-front,
body[data-page="home"] .focus-preview:hover .feature-phone-front {
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.22);
}

body[data-page="home"] .store-badge > img {
  transition: filter 220ms ease, opacity 220ms ease, transform 220ms ease;
}

body[data-page="home"] .store-badge:hover > img,
body[data-page="home"] .store-badge:focus-visible > img {
  transform: translateY(-2px) scale(1.025);
}

body[data-page="home"] .exam-item > img {
  transition: filter 220ms ease, transform 220ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

body[data-page="home"] .exam-item:hover > img,
body[data-page="home"] .exam-item:focus-visible > img {
  transform: scale(1.04);
}

body[data-page="home"] .process-item,
body[data-page="home"] .quiz-list article,
body[data-page="home"] .collection-index > div {
  position: relative;
  transition: background-color 220ms ease, transform 240ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

body[data-page="home"] .process-number,
body[data-page="home"] .quiz-list article > span:not(.pointer-glow-layer),
body[data-page="home"] .quiz-list article > b,
body[data-page="home"] .process-visual {
  transition: color 220ms ease, scale 240ms ease, transform 240ms ease;
}

body[data-page="home"] .process-item:hover .process-number,
body[data-page="home"] .quiz-list article:hover > span {
  color: var(--text);
  transform: translateX(5px);
}

body[data-page="home"] .process-item:hover .process-visual {
  scale: 1.025;
}

body[data-page="home"] .quiz-list article:hover > b {
  color: var(--muted);
  transform: translateX(-3px);
}

body[data-page="home"] .progress-visual > span {
  background-size: 120% 100%;
  animation: home-progress-pulse 3.4s ease-in-out infinite;
}

body[data-page="home"] .collection-index span {
  transition: color 220ms ease, transform 240ms ease;
}

body[data-page="home"] .collection-index > div:hover span {
  color: var(--text);
  transform: translateX(3px);
}

body[data-page="home"] .direction-list span,
body[data-page="home"] .faq-item summary {
  transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
}

body[data-page="home"] .direction-list span:hover {
  color: var(--text);
}

body[data-page="home"] .faq-item summary:hover {
  background: color-mix(in srgb, var(--accent-soft) 52%, transparent);
}

body[data-page="home"] .faq-item summary::after {
  transition: color 220ms ease, transform 280ms ease;
}

body[data-page="home"] .faq-item[open] summary::after {
  color: #b3a000;
  transform: rotate(180deg);
}

body[data-page="home"] .final-cta .button {
  overflow: hidden;
}

body[data-page="home"] .beta-button strong,
body[data-page="home"] .final-cta .button span {
  transition: transform 220ms ease;
}

body[data-page="home"] .beta-button:hover strong,
body[data-page="home"] .final-cta .button:hover span:last-child {
  transform: translateX(5px);
}

/* Keep entry animations separate from everyday hover and focus feedback. */
body[data-page] :is(.button, .store-badge, .beta-button, .dropdown-trigger, .dropdown-option,
  .menu-button, .exam-item, .process-item, .direction-list > span, .quiz-list article,
  .collection-index > div, .essentials-item, .faq-item, .faq-item summary,
  .contact-channel, .guide-help-card, .guide-step, .guide-qr-card) {
  transition:
    background-color var(--motion-normal) var(--ease-ui),
    border-color var(--motion-normal) var(--ease-ui),
    color var(--motion-fast) var(--ease-ui),
    box-shadow var(--motion-normal) var(--ease-ui),
    transform var(--motion-normal) var(--ease-ui),
    scale var(--motion-fast) var(--ease-ui),
    opacity var(--motion-fast) var(--ease-ui);
}

.footer-links a,
.guide-back-link,
.guide-platform-link,
.guide-platform-link span,
.hero-method-link span,
.guide-toc a,
.legal-toc a {
  transition: color var(--motion-fast) var(--ease-ui),
    text-decoration-color var(--motion-fast) var(--ease-ui),
    transform var(--motion-normal) var(--ease-ui);
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  transition: transform var(--motion-normal) var(--ease-ui), opacity var(--motion-fast) ease;
}

.menu-button[aria-expanded="true"] span { opacity: 0; }
.menu-button[aria-expanded="true"]::before { transform: translateY(5px) rotate(45deg); }
.menu-button[aria-expanded="true"]::after { transform: translateY(-5px) rotate(-45deg); }

@media (hover: hover) and (pointer: fine) {
  :is(.contact-channel, .guide-step, .guide-qr-card):hover,
  .contact-channel:focus-visible,
  .faq-item:focus-within {
    border-color: var(--line-strong);
    box-shadow: var(--soft-shadow);
  }

  .contact-channel:hover { transform: translateY(-2px); }
  :is(.dropdown-trigger, .menu-button):hover { background: var(--bg-subtle); }
  .guide-platform-link:hover span:last-child { transform: translateX(3px); }
}

.contact-channel:focus-visible,
.guide-step:focus-within { border-color: var(--line-strong); }

:is(.button, .store-badge, .beta-button, .menu-button, .dropdown-trigger):not(.is-disabled):active {
  scale: 0.985;
}

/* Native document transitions preserve normal links, history and new-tab behavior. */
@view-transition { navigation: auto; }

.site-header { view-transition-name: site-header; }

::view-transition-old(root) {
  animation: page-fade-out 160ms ease both;
}

::view-transition-new(root) {
  animation: page-fade-in 240ms var(--ease-ui) both;
}

::view-transition-group(site-header) { animation-duration: 0s; }
::view-transition-old(site-header) { animation: none; opacity: 0; }
::view-transition-new(site-header) { animation: none; }

@keyframes page-fade-out { to { opacity: 0; } }
@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes home-highlight-sweep {
  to { transform: scaleX(1); }
}

@keyframes home-status-scan {
  0%, 100% { opacity: 0.35; transform: translateX(-42%) scaleX(0.16); }
  50% { opacity: 1; transform: translateX(42%) scaleX(0.3); }
}

@keyframes home-note-float {
  0%, 100% { transform: translateY(0) rotate(0.001deg); }
  50% { transform: translateY(-5px) rotate(0.5deg); }
}

@keyframes home-word-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(6px, -5px, 0); }
}

@keyframes home-progress-pulse {
  0%, 100% { filter: saturate(0.9); background-position: 0 0; }
  50% { filter: saturate(1.25); background-position: 100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }

  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }

  .pointer-glow-layer { display: none; }

  :is(.button, .store-badge, .beta-button, .contact-channel, .menu-button, .dropdown-trigger):active {
    scale: 1;
  }

  body[data-page="home"] .preview-canvas .phone,
  body[data-page="home"] .preview-note,
  body[data-page="home"] .feature-phone { translate: 0 0 !important; }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .home-scroll-progress {
    display: none;
  }

  body[data-page="home"] [data-home-reveal] {
    opacity: 1 !important;
    filter: none !important;
    scale: 1 !important;
    translate: 0 0 !important;
  }
}
