:root {
  color-scheme: light;
  --ink: #24324a;
  --muted: #5b6472;
  --support: #7c8798;
  --quiet: #9aa3b2;
  --construction-red: #c52f42;
  --network-line: rgba(105, 144, 183, 0.12);
  --line: rgba(36, 50, 74, 0.12);
  --paper: #ffffff;
  --soft: #f8f9fb;
  --accent: #7779ca;
  --accent-deep: #4c5a75;
  --accent-soft: rgba(139, 124, 255, 0.1);
  --sky: rgba(143, 216, 255, 0.2);
  --mint: rgba(158, 230, 195, 0.22);
  --amber: rgba(255, 210, 154, 0.24);
  --rose: rgba(246, 183, 216, 0.2);
  --glass: rgba(255, 255, 255, 0.78);
  --glass-strong: rgba(255, 255, 255, 0.92);
  --prism: linear-gradient(105deg, rgba(139, 140, 255, 0.72), rgba(114, 183, 255, 0.72) 28%, rgba(135, 220, 200, 0.7) 52%, rgba(242, 195, 139, 0.72) 76%, rgba(231, 167, 215, 0.74));
  --rainbow: linear-gradient(105deg, #8b8cff, #72b7ff 28%, #87dcc8 52%, #f2c38b 76%, #e7a7d7);
  --rainbow-text: linear-gradient(105deg, #5944c7 0%, #2868bd 28%, #087465 52%, #9d5b08 76%, #963b77 100%);
  --shadow: 0 20px 60px rgba(50, 68, 102, 0.07);
  font-family: "Inter", "Noto Sans JP", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  isolation: isolate;
  color: var(--ink);
  background-color: var(--soft);
}

body::before,
body::after {
  position: fixed;
  z-index: 0;
  content: "";
  pointer-events: none;
}

body::before {
  inset: 0;
  background: url("./niji-background.png") center center / cover no-repeat;
  filter: saturate(1.45) contrast(1.03);
}

body::after {
  inset: 96px 0 0;
  background:
    radial-gradient(circle at 12% 13%, rgba(255, 255, 255, 0.98) 0 1px, rgba(114, 183, 255, 0.12) 2px, transparent 5px),
    radial-gradient(circle at 28% 7%, rgba(255, 255, 255, 0.96) 0 1px, rgba(139, 140, 255, 0.1) 2px, transparent 4px),
    radial-gradient(circle at 48% 18%, rgba(255, 255, 255, 0.96) 0 1px, rgba(231, 167, 215, 0.09) 2px, transparent 4px),
    radial-gradient(circle at 69% 12%, rgba(255, 255, 255, 0.98) 0 1px, rgba(135, 220, 200, 0.1) 2px, transparent 5px),
    radial-gradient(circle at 93% 8%, rgba(255, 255, 255, 0.98) 0 2px, rgba(114, 183, 255, 0.16) 3px, transparent 7px),
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.96) 0 2px, rgba(139, 140, 255, 0.14) 3px, transparent 7px),
    radial-gradient(circle at 76% 10%, rgba(255, 255, 255, 0.96) 0 2px, rgba(135, 220, 200, 0.13) 3px, transparent 7px),
    radial-gradient(circle at 92% 29%, rgba(255, 255, 255, 0.96) 0 2px, rgba(231, 167, 215, 0.12) 3px, transparent 7px),
    radial-gradient(circle at 73% 27%, rgba(255, 255, 255, 0.96) 0 2px, rgba(114, 183, 255, 0.12) 3px, transparent 7px),
    linear-gradient(28deg, transparent 49.65%, var(--network-line) 49.85% 50.15%, transparent 50.35%) right 3vw top 2vh / 420px 240px no-repeat,
    linear-gradient(-24deg, transparent 49.65%, var(--network-line) 49.85% 50.15%, transparent 50.35%) right -1vw top 8vh / 360px 210px no-repeat,
    linear-gradient(70deg, transparent 49.65%, rgba(139, 140, 255, 0.09) 49.85% 50.15%, transparent 50.35%) right 8vw top 1vh / 300px 230px no-repeat,
    radial-gradient(ellipse at 51% 7%, rgba(143, 216, 255, 0.14), transparent 30%),
    radial-gradient(ellipse at 68% 27%, rgba(139, 140, 255, 0.1), transparent 24%),
    radial-gradient(ellipse at 32% 35%, rgba(231, 167, 215, 0.1), transparent 26%),
    radial-gradient(ellipse at 58% 57%, rgba(135, 220, 200, 0.08), transparent 28%),
    radial-gradient(ellipse at 30% 61%, rgba(242, 195, 139, 0.07), transparent 24%);
  mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0.92) 66%, transparent 98%);
  opacity: 0.86;
}

body > .skip-link,
body > .manual-header,
body > .content-tabs,
body > main,
body > footer {
  z-index: 1;
}

body > main,
body > footer {
  position: relative;
}

body,
button,
a {
  font: 16px/1.82 "Inter", "Noto Sans JP", "Segoe UI", system-ui, sans-serif;
}

a {
  color: var(--accent-deep);
}

img,
video {
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.18;
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6.2vw, 76px);
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(20px, 2.2vw, 26px);
}

p,
li {
  color: var(--muted);
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: #34415f;
  color: #fff;
}

.skip-link:focus {
  top: 12px;
}

.manual-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto minmax(250px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 96px;
  padding: 8px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 28px rgba(48, 65, 98, 0.03);
  backdrop-filter: blur(20px) saturate(125%);
}

.brand {
  position: relative;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  width: clamp(280px, 25vw, 360px);
  height: 88px;
  overflow: visible;
  color: inherit;
  text-decoration: none;
}

.brand img {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 90%;
  height: auto;
  max-width: none;
  transform: translateY(-50%);
}

.header-product-name {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 0.48em;
  margin: 0;
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)) padding-box;
  box-shadow: 0 10px 30px rgba(58, 75, 111, 0.06);
  color: var(--ink);
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1;
  white-space: nowrap;
}

.header-product-name::before,
.header-product-name::after {
  font-size: 0.9em;
  line-height: 1;
}

.header-product-name::before {
  content: "✦";
  color: #9c93db;
}

.header-product-name::after {
  content: "▶";
  color: #91cee8;
}

.header-product-name span:first-child {
  color: var(--ink);
}

.header-product-name strong {
  font: inherit;
}

.language-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-nav a,
.pill-link,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration: none;
}

.language-nav a[aria-current="page"],
.button-link.primary {
  border-color: rgba(139, 124, 255, 0.2);
  background: linear-gradient(105deg, rgba(139, 124, 255, 0.16), rgba(143, 216, 255, 0.2), rgba(158, 230, 195, 0.18));
  box-shadow: 0 10px 26px rgba(91, 103, 143, 0.08);
  color: var(--ink);
}

.content-tabs {
  position: relative;
  display: flex;
  justify-content: center;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto -14px;
}

.content-tabs-inner {
  display: inline-flex;
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 40px rgba(49, 66, 99, 0.07);
  backdrop-filter: blur(20px) saturate(125%);
}

.content-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.content-tabs a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 24px rgba(67, 84, 119, 0.07);
}

.content-tabs a:focus-visible {
  outline: 3px solid rgba(45, 174, 218, 0.35);
  outline-offset: 3px;
}

.content-tabs a[aria-current="page"] {
  border-color: rgba(139, 124, 255, 0.18);
  background: linear-gradient(105deg, rgba(139, 124, 255, 0.16), rgba(143, 216, 255, 0.2), rgba(246, 183, 216, 0.16));
  box-shadow: 0 9px 26px rgba(63, 79, 115, 0.08);
  color: var(--ink);
}

.youtube-tab-icon {
  display: inline-grid;
  width: 24px;
  height: 18px;
  place-items: center;
  border-radius: 6px;
  background: #ff3158;
  color: #fff;
  font-size: 10px;
  line-height: 1;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.reader-lane {
  position: relative;
  margin: 46px 0 66px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 32px;
}

.human-lane {
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 91% 6%, rgba(143, 216, 255, 0.18), transparent 22rem),
    radial-gradient(circle at 7% 28%, rgba(246, 183, 216, 0.12), transparent 22rem),
    radial-gradient(circle at 76% 78%, rgba(158, 230, 195, 0.12), transparent 21rem),
    rgba(255, 255, 255, 0.52);
  box-shadow: 0 28px 80px rgba(49, 67, 101, 0.065);
  backdrop-filter: blur(22px) saturate(120%);
}

.human-lane::before,
.human-lane::after {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.human-lane::before {
  top: -92px;
  right: 30%;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(143, 216, 255, 0.28);
  box-shadow: 0 0 54px rgba(139, 124, 255, 0.12), inset 0 0 42px rgba(143, 216, 255, 0.1);
}

.human-lane::after {
  right: -58px;
  bottom: 18%;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.82), rgba(246, 183, 216, 0.13) 44%, rgba(143, 216, 255, 0.06) 70%, transparent);
  filter: blur(3px);
}

.human-lane > * {
  position: relative;
  z-index: 1;
}

.ai-lane {
  border-color: var(--line);
  background:
    radial-gradient(circle at 92% 4%, rgba(139, 124, 255, 0.08), transparent 24rem),
    linear-gradient(180deg, rgba(248, 249, 253, 0.84), rgba(255, 255, 255, 0.9) 22rem);
  box-shadow: 0 24px 68px rgba(49, 67, 101, 0.07);
  backdrop-filter: blur(18px);
}

.lane-tab {
  display: flex;
  gap: 8px;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.lane-tab span {
  font-size: 16px;
  line-height: 1;
}

.human-lane-tab {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
  color: var(--accent-deep);
  box-shadow: 0 8px 24px rgba(55, 73, 108, 0.055);
}

.ai-lane-tab {
  border: 1px solid rgba(139, 124, 255, 0.16);
  background: rgba(139, 124, 255, 0.08);
  color: var(--accent-deep);
}

.guide-identity {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(960px, 100%);
  margin: 34px auto 52px;
  text-align: center;
}

.guide-invitation {
  margin: 0 0 30px;
  color: var(--ink);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  text-wrap: balance;
}

.guide-invitation-english {
  margin: -18px 0 26px;
  color: var(--support);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.3;
}

.guide-product-title {
  display: grid;
  justify-items: center;
  width: min(820px, 100%);
  margin: 0;
  padding: clamp(24px, 3.4vw, 38px) clamp(22px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgba(143, 216, 255, 0.14), transparent 16rem),
    radial-gradient(circle at 8% 94%, rgba(246, 183, 216, 0.11), transparent 15rem),
    rgba(255, 255, 255, 0.66);
  box-shadow: 0 24px 68px rgba(49, 67, 101, 0.08), inset 0 1px rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(22px) saturate(120%);
  line-height: 1.02;
}

.guide-product-title > span,
.guide-product-title > strong {
  display: block;
  font-size: clamp(42px, 5.4vw, 70px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.guide-product-title > span {
  color: var(--ink);
}

.guide-product-title > strong {
  margin-top: 8px;
}

.guide-product-title > small {
  display: flex;
  gap: 10px 22px;
  justify-content: center;
  margin-top: 18px;
  color: var(--support);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.25;
}

.guide-product-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: 22px;
  align-items: stretch;
  width: 100%;
}

.guide-product-panel .guide-product-title {
  width: auto;
  padding-inline: clamp(22px, 3vw, 40px);
}

.guide-product-panel .guide-product-title > span,
.guide-product-panel .guide-product-title > strong {
  font-size: clamp(34px, 3.7vw, 52px);
}

.guide-friends-feature {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 24px 68px rgba(49, 67, 101, 0.08), inset 0 1px rgba(255, 255, 255, 0.86);
  text-align: left;
}

.guide-friends-feature > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.guide-friends-feature figcaption {
  display: grid;
  gap: 3px;
  padding: 15px 18px 17px;
}

.guide-friends-feature strong,
.guide-friends-feature span {
  display: block;
}

.guide-friends-feature strong {
  color: var(--ink);
  font-size: 17px;
}

.guide-friends-feature span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.entry-guide-identity {
  margin-top: 30px;
  margin-bottom: 6px;
}

.construction-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin: 0 0 64px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(197, 47, 66, 0.18);
  border-radius: 24px;
  background: rgba(255, 248, 249, 0.8);
  box-shadow: 0 18px 52px rgba(78, 83, 98, 0.045), inset 0 1px rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.construction-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(197, 47, 66, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--construction-red);
  font-size: 22px;
  line-height: 1;
}

.construction-notice .construction-status {
  width: fit-content;
  margin: 0 0 10px;
  color: var(--construction-red);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.construction-notice h2 {
  margin: 0 0 12px;
  color: var(--construction-red);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 600;
}

.construction-notice h2[lang="en"] {
  margin-top: 26px;
  font-size: clamp(20px, 2.4vw, 28px);
}

.construction-notice p {
  margin: 0;
  color: var(--construction-red);
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 400;
  line-height: 1.8;
}

.construction-notice p + p {
  margin-top: 10px;
}

.audience-note {
  margin: 0 0 22px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.audience-note h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  text-wrap: pretty;
}

.audience-note p:last-child {
  margin-bottom: 0;
}

.human-lane .manual-hero {
  padding: 44px 0 58px;
}

.human-lane .manual-hero h1 {
  position: relative;
  width: fit-content;
  padding-bottom: 20px;
  font-weight: 700;
  text-shadow: none;
}

.hero-showcase-grid .manual-hero h1 {
  font-size: clamp(42px, 4vw, 56px);
}

.human-lane .manual-hero h1::after {
  position: absolute;
  right: auto;
  bottom: 0;
  left: 0;
  width: 68px;
  height: 1px;
  border-radius: 999px;
  background: var(--prism);
  box-shadow: 0 0 14px rgba(139, 140, 255, 0.18);
  content: "";
}

.hero-showcase-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.96fr) minmax(350px, 1.04fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.guide-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 18px;
  align-items: center;
}

.guide-overview > img {
  display: block;
  width: 140px;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 16px 42px rgba(49, 67, 101, 0.08);
}

.video-showcase {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 94% 4%, rgba(143, 216, 255, 0.16), transparent 14rem),
    radial-gradient(circle at 5% 96%, rgba(246, 183, 216, 0.1), transparent 15rem),
    rgba(255, 255, 255, 0.66);
  color: var(--ink);
  box-shadow: 0 24px 68px rgba(49, 67, 101, 0.09), inset 0 1px rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(120%);
}

.showcase-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
}

.showcase-heading h2,
.showcase-heading p {
  margin: 0;
  color: var(--ink);
}

.showcase-heading h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.showcase-kicker {
  color: var(--support) !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.showcase-count {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--accent-deep);
  font-weight: 600;
}

.showcase-slide[hidden] {
  display: none;
}

.showcase-slide video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #eef1f6;
  object-fit: contain;
}

.showcase-caption {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 10px 4px 2px;
}

.showcase-caption span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(139, 124, 255, 0.14);
  background: linear-gradient(135deg, rgba(139, 124, 255, 0.13), rgba(143, 216, 255, 0.2), rgba(158, 230, 195, 0.18));
  color: var(--accent-deep);
  font-weight: 700;
}

.showcase-caption strong {
  color: var(--ink);
  line-height: 1.35;
}

.showcase-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}

.showcase-arrow,
.showcase-tabs button {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--accent-deep);
  font-weight: 600;
  cursor: pointer;
}

.showcase-arrow:hover,
.showcase-arrow:focus-visible,
.showcase-tabs button:hover,
.showcase-tabs button:focus-visible,
.showcase-tabs button[aria-selected="true"] {
  border-color: rgba(139, 124, 255, 0.18);
  background: linear-gradient(135deg, rgba(139, 124, 255, 0.18), rgba(143, 216, 255, 0.22), rgba(246, 183, 216, 0.16));
  color: var(--ink);
  outline: none;
  box-shadow: 0 8px 24px rgba(64, 81, 116, 0.09), 0 0 22px rgba(143, 216, 255, 0.13);
}

.showcase-tabs {
  display: flex;
  gap: 8px;
}

.showcase-help {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.youtube-tutorial-callout {
  margin: 0 0 clamp(28px, 4vw, 44px);
  padding: clamp(28px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(78, 99, 183, 0.18);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(143, 216, 255, 0.28), transparent 18rem),
    radial-gradient(circle at 0 100%, rgba(255, 219, 118, 0.22), transparent 20rem),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 62px rgba(49, 67, 101, 0.08), inset 0 1px rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
}

.youtube-tutorial-heading {
  display: flex;
  gap: 18px;
  align-items: center;
}

.youtube-tutorial-icon {
  display: grid;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #ff4775, #f33358);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 12px 28px rgba(225, 47, 89, 0.2);
}

.youtube-tutorial-heading .eyebrow {
  margin: 0 0 6px;
}

.youtube-tutorial-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.35;
  text-wrap: balance;
}

.youtube-tutorial-lead {
  margin: 24px 0 0;
  color: var(--ink);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 650;
  line-height: 1.85;
}

.youtube-tutorial-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.youtube-tutorial-points li {
  padding: 18px;
  border: 1px solid rgba(76, 51, 168, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  line-height: 1.7;
}

.youtube-tutorial-points strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.youtube-tutorial-note {
  margin: 18px 0 0;
  padding: 13px 16px;
  border-left: 4px solid rgba(76, 51, 168, 0.6);
  border-radius: 0 12px 12px 0;
  background: rgba(139, 124, 255, 0.08);
  color: #3b4b65;
  font-size: 14px;
  font-weight: 650;
}

.human-lane .paste-introduction {
  margin: 0;
  padding: clamp(36px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 96% 0, rgba(143, 216, 255, 0.14), transparent 18rem),
    radial-gradient(circle at 0 100%, rgba(246, 183, 216, 0.08), transparent 20rem),
    rgba(255, 255, 255, 0.7);
  box-shadow: 0 22px 68px rgba(49, 67, 101, 0.08), inset 0 1px rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px);
}

.paste-heading-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: clamp(38px, 5vw, 64px);
  align-items: center;
}

.paste-primary-title {
  margin: 0;
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.46;
  text-wrap: pretty;
}

.paste-supporting-copy {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.85;
}

.guide-requirements {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px solid rgba(139, 124, 255, 0.2);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(255, 249, 218, 0.78), rgba(232, 248, 255, 0.82));
  box-shadow: 0 12px 32px rgba(54, 72, 107, 0.06);
}

.guide-requirements p {
  margin: 0;
}

.prompt-copy-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
}

.prompt-copy-panel .prompt-box {
  flex: 1 1 100%;
  margin-top: 0;
  user-select: text;
}

.prompt-copy-button {
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid rgba(76, 51, 168, 0.24);
  border-radius: 999px;
  background: linear-gradient(120deg, #4d32a8, #3269b4);
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(76, 51, 168, 0.2);
}

.prompt-copy-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(76, 51, 168, 0.25);
}

.prompt-copy-button:focus-visible {
  outline: 3px solid rgba(50, 105, 180, 0.36);
  outline-offset: 3px;
}

.prompt-copy-status {
  flex: 1 1 280px;
  min-height: 1.6em;
  margin: 0;
  color: #294f72;
  font-size: 15px;
  font-weight: 700;
}

.guide-source-label {
  flex: 1 1 100%;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.guide-helper-character {
  display: grid;
  min-height: 210px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 70% 20%, rgba(143, 216, 255, 0.16), transparent 12rem),
    rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 52px rgba(54, 72, 107, 0.08), 0 0 42px rgba(143, 216, 255, 0.1);
}

.guide-helper-character img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.guide-helper-character img.approved-robot {
  height: 260px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.human-lane .paste-introduction .prompt-box {
  position: relative;
  padding-left: 64px;
}

.human-lane .paste-introduction .prompt-box::before {
  position: absolute;
  top: 15px;
  left: 20px;
  content: "📋";
  font-size: 25px;
}

.ai-lane .audience-note {
  margin-top: 24px;
}

.guide-audience-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px;
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
}

.guide-audience-note > img {
  display: block;
  width: 176px;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 30px;
  object-fit: cover;
  box-shadow: 0 18px 48px rgba(49, 67, 101, 0.08);
}

.ai-lane .ai-instruction {
  margin-top: 28px;
}

.ai-lane .manual-layout {
  padding-bottom: 0;
}

.no-break {
  white-space: nowrap;
}

.showcase-reference {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.showcase-reference > span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(139, 124, 255, 0.12), rgba(143, 216, 255, 0.18), rgba(246, 183, 216, 0.12));
  font-size: 32px;
}

.showcase-reference h3,
.showcase-reference p {
  margin-bottom: 4px;
}

.language-entry {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: calc(100vh - 78px);
  padding-bottom: 80px;
}

.language-entry .construction-notice {
  width: min(1000px, 100%);
  margin: 24px auto 0;
  padding: 20px 24px;
}

.language-entry .construction-mark {
  font-size: 22px;
}

.language-entry .construction-notice h2 {
  margin-bottom: 6px;
  font-size: clamp(23px, 3vw, 32px);
}

.language-entry .construction-notice h2[lang="en"] {
  margin-top: 10px;
  font-size: clamp(20px, 2.5vw, 26px);
}

.language-entry .construction-notice p {
  font-size: 16px;
  line-height: 1.55;
}

.language-panel {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 4vh, 42px) 0 40px;
  text-align: center;
}

.language-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(40px, 5.5vw, 66px);
}

.language-choice-grid {
  margin-top: 38px;
  text-align: left;
}

.language-choice-grid strong,
.language-choice-grid small {
  display: block;
}

.language-choice-grid strong {
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.3;
}

.language-choice-grid small {
  color: var(--muted);
  font-size: 15px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--support);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.guide-name {
  font-size: clamp(13px, 1.2vw, 15px);
  letter-spacing: 0.07em;
  text-transform: none;
}

.hero-english {
  margin: -6px 0 26px;
  color: var(--support);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.25;
}

.lead {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.button-link {
  min-height: 52px;
  padding-inline: 22px;
  border-radius: 14px;
}

.section {
  padding: 62px 0;
  scroll-margin-top: 98px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.choice-grid,
.flow-grid,
.service-grid,
.risk-grid {
  display: grid;
  gap: 18px;
}

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

.flow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.choice-card,
.flow-card,
.service-card,
.risk-card,
.step-card,
.ai-instruction,
.purpose-card,
.handoff-card,
.official-note {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 42px rgba(49, 67, 101, 0.055), inset 0 1px rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
}

.choice-card,
.flow-card,
.service-card,
.risk-card {
  padding: 24px;
}

.choice-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.choice-card:hover,
.choice-card:focus-visible {
  border-color: rgba(139, 124, 255, 0.28);
  box-shadow: var(--shadow);
}

.choice-code,
.flow-number,
.step-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 15px;
  border: 1px solid rgba(139, 124, 255, 0.12);
  background: linear-gradient(135deg, rgba(139, 124, 255, 0.1), rgba(143, 216, 255, 0.16));
  color: var(--accent-deep);
  font-weight: 700;
}

.choice-card h2,
.choice-card p {
  margin-bottom: 4px;
}

.choice-card h2 {
  font-size: 27px;
}

.flow-card:nth-child(1) .flow-number { background: var(--rose); }
.flow-card:nth-child(2) .flow-number { background: var(--amber); }
.flow-card:nth-child(3) .flow-number { background: var(--mint); }
.flow-card:nth-child(4) .flow-number { background: var(--sky); }

.prompt-box {
  margin: 22px 0 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.78), rgba(248, 250, 253, 0.82));
  color: #34415f;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 650;
  box-shadow: 0 14px 38px rgba(54, 72, 107, 0.055);
  white-space: pre-wrap;
}

.tag {
  width: fit-content;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 700;
}

.manual-hero {
  padding: 68px 0 34px;
}

.manual-hero h1 {
  max-width: 920px;
  font-size: clamp(40px, 5vw, 66px);
}

.manual-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  padding-bottom: 80px;
}

.table-of-contents {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
}

.table-of-contents strong {
  margin-bottom: 6px;
}

.table-of-contents a {
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.table-of-contents a:hover,
.table-of-contents a:focus-visible {
  background: rgba(139, 124, 255, 0.08);
  color: var(--accent-deep);
}

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

.manual-section {
  padding: 30px 0 38px;
  scroll-margin-top: 98px;
}

.manual-section > h2::after,
.collection-heading h2::after {
  display: block;
  width: 56px;
  height: 1px;
  margin-top: 18px;
  background: rgba(36, 50, 74, 0.16);
  content: "";
}

.ai-instruction,
.purpose-card,
.handoff-card,
.official-note {
  padding: clamp(24px, 4vw, 38px);
}

.ai-instruction {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 6%, rgba(143, 216, 255, 0.1), transparent 18rem),
    rgba(255, 255, 255, 0.72);
}

.paste-introduction {
  padding-top: 28px;
}

.paste-guide {
  margin: 28px 0 0;
}

.paste-guide img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.paste-guide figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.ai-instruction h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.instruction-list,
.check-list,
.plain-list {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
  padding-left: 24px;
}

.instruction-list li::marker,
.check-list li::marker {
  color: var(--accent);
}

.step-card {
  margin: 18px 0;
  padding: clamp(24px, 4vw, 36px);
}

.step-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.step-title h3 {
  margin: 0;
}

.service-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.service-card p,
.service-card h3 {
  margin-bottom: 0;
}

.service-card .button-link {
  width: fit-content;
  min-height: 42px;
  margin-top: 6px;
  padding: 7px 14px;
  font-size: 14px;
}

.warning {
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid #f2c9d5;
  border-radius: 16px;
  background: #fff3f7;
  color: #6d2942;
  font-weight: 700;
}

.note {
  margin: 20px 0;
  padding: 18px 20px;
  border: 1px solid #c9e3f9;
  border-radius: 16px;
  background: #f1f8ff;
}

.code-block {
  margin: 20px 0 0;
  padding: 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(241, 245, 251, 0.92), rgba(250, 251, 253, 0.94));
  color: #33405e;
  font: 15px/1.65 Consolas, "SFMono-Regular", monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.official-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.official-links a {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.official-note {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.updated-at {
  color: var(--support);
  font-size: 14px;
}

.video-library {
  padding: 64px 0 104px;
}

.video-library-hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
  overflow: hidden;
  margin-bottom: 64px;
  padding: clamp(42px, 6vw, 74px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 5%, rgba(143, 216, 255, 0.18), transparent 22rem),
    radial-gradient(circle at 8% 90%, rgba(246, 183, 216, 0.1), transparent 24rem),
    rgba(255, 255, 255, 0.68);
  box-shadow: 0 30px 82px rgba(49, 67, 101, 0.08), inset 0 1px rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px);
}

.video-library-hero::before,
.video-library-hero::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.video-library-hero::before {
  top: -90px;
  left: 46%;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(143, 216, 255, 0.24);
  box-shadow: 0 0 64px rgba(139, 124, 255, 0.09), inset 0 0 54px rgba(143, 216, 255, 0.08);
}

.video-library-hero::after {
  right: 24%;
  bottom: -80px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(158, 230, 195, 0.12) 48%, transparent 72%);
}

.video-library-hero > * {
  position: relative;
  z-index: 1;
}

.video-library-hero > div {
  min-width: 0;
}

.video-library-hero h1 {
  font-size: clamp(42px, 4.6vw, 58px);
  font-weight: 700;
}

.video-library-hero .prism-text,
.technology-hero .prism-text {
  color: #51458f;
}

.header-product-name strong,
.guide-invitation > span:last-child,
.guide-product-title > strong,
.video-library-hero .prism-text,
.technology-hero .prism-text {
  background: var(--rainbow-text);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  paint-order: stroke fill;
}

.header-product-name strong {
  -webkit-text-stroke: 0.2px rgba(25, 38, 68, 0.3);
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.9));
}

.guide-invitation > span:last-child,
.guide-product-title > strong,
.video-library-hero .prism-text,
.technology-hero .prism-text {
  -webkit-text-stroke: 0.55px rgba(25, 38, 68, 0.38);
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.94))
    drop-shadow(0 2px 3px rgba(25, 38, 68, 0.18));
}

.video-library-hero .lead {
  max-width: 720px;
  margin-top: 28px;
  margin-bottom: 0;
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.9;
}

.video-library-hero h1::after {
  display: block;
  width: 68px;
  height: 1px;
  margin-top: 22px;
  border-radius: 999px;
  background: var(--prism);
  box-shadow: 0 0 14px rgba(139, 140, 255, 0.16);
  content: "";
}

.video-friends-feature {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 62px rgba(49, 67, 101, 0.1), inset 0 1px rgba(255, 255, 255, 0.88);
}

.video-friends-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.video-friends-feature .social-destinations {
  padding: 22px 22px 24px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: none;
  backdrop-filter: none;
}

.video-friends-feature .social-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-friends-feature .social-link {
  padding-inline: 10px;
  font-size: 13px;
}

.social-destinations {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 30px 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 0, rgba(143, 216, 255, 0.15), transparent 14rem),
    rgba(255, 255, 255, 0.66);
  box-shadow: 0 22px 58px rgba(49, 67, 101, 0.075), inset 0 1px rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  text-align: center;
}

.youtube-play-mark {
  display: grid;
  width: 86px;
  height: 60px;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(139, 124, 255, 0.14);
  background: linear-gradient(135deg, rgba(139, 124, 255, 0.16), rgba(143, 216, 255, 0.24), rgba(246, 183, 216, 0.18));
  box-shadow: 0 13px 34px rgba(67, 84, 118, 0.09);
  color: #56627e;
  font-size: 28px;
}

.social-destinations p,
.social-destinations strong,
.social-destinations p span {
  display: block;
  margin: 0;
  color: var(--ink);
}

.social-destinations strong {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.4;
}

.social-destinations p span {
  color: var(--muted);
  font-size: 14px;
}

.social-links {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
}

.social-link:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.social-link:focus-visible {
  outline: 3px solid rgba(139, 124, 255, 0.22);
  outline-offset: 3px;
}

.social-link.youtube {
  background: rgba(255, 255, 255, 0.74);
}

.social-link.instagram {
  background: rgba(255, 255, 255, 0.74);
}

.video-collection {
  margin-bottom: 64px;
  padding: clamp(36px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.collection-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.collection-heading .eyebrow,
.collection-heading h2,
.collection-heading > p {
  margin-bottom: 0;
}

.collection-heading > p {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  color: var(--accent-deep);
  font-weight: 650;
  white-space: nowrap;
}

.youtube-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.youtube-video-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(49, 67, 101, 0.065);
}

.youtube-video-card::before {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 24px;
  width: 64px;
  height: 1px;
  background: var(--prism);
  opacity: 0.74;
  content: "";
}

.youtube-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #eef1f6;
  object-fit: cover;
}

.youtube-video-body {
  position: relative;
  min-height: 310px;
  padding: 24px;
}

.video-card-number {
  position: absolute;
  top: -27px;
  right: 18px;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(36, 50, 74, 0.08);
  border-radius: 50%;
  background: linear-gradient(135deg, #9f96dd, #a7dcef 55%, #b8e6d2);
  color: #36425f;
  font-weight: 700;
}

.video-card-character {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 94px;
  height: 94px;
  border: 4px solid rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 12px 30px rgba(49, 67, 101, 0.13);
}

.video-card-character.approved-robot,
.technology-channel-characters img.approved-robot {
  object-position: center 23%;
}

.video-card-character.approved-piglet,
.technology-channel-characters img.approved-piglet,
.guide-overview > img.approved-piglet {
  object-position: center 42%;
}

.video-card-tag {
  margin-bottom: 9px;
  color: var(--support);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.youtube-video-body h3 {
  min-height: 2.4em;
}

.video-card-actions {
  position: absolute;
  right: 126px;
  bottom: 22px;
  left: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.video-card-actions > * {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.video-card-actions a {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--accent-deep);
  box-shadow: 0 8px 22px rgba(60, 78, 112, 0.06);
}

.youtube-guide-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: center;
  padding: clamp(40px, 6vw, 68px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 2% 6%, rgba(246, 183, 216, 0.1), transparent 16rem),
    radial-gradient(circle at 96% 94%, rgba(143, 216, 255, 0.12), transparent 18rem),
    rgba(255, 255, 255, 0.7);
  box-shadow: 0 26px 72px rgba(49, 67, 101, 0.075), inset 0 1px rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(20px);
}

.team-story-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.35;
}

.team-story-copy > p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.team-story-copy .team-story-emphasis {
  margin: 26px 0;
  padding: 18px 20px;
  border: 1px solid rgba(140, 160, 190, 0.18);
  border-left: 3px solid transparent;
  border-radius: 0 18px 18px 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)) padding-box,
    var(--prism) border-box;
  color: var(--ink);
}

.team-story-emphasis strong {
  color: var(--ink);
  font-weight: 700;
}

.team-story-actions {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.team-story-guide-button {
  display: inline-flex;
  width: fit-content;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid rgba(126, 139, 179, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(49, 67, 101, 0.08);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.team-story-guide-button:hover {
  border-color: rgba(139, 124, 255, 0.34);
  box-shadow: 0 14px 34px rgba(105, 121, 166, 0.13), 0 0 24px rgba(143, 216, 255, 0.12);
  transform: translateY(-2px);
}

.team-story-guide-button:focus-visible {
  outline: 3px solid rgba(139, 124, 255, 0.22);
  outline-offset: 3px;
}

.team-story-actions p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.team-story-actions p a {
  color: var(--accent-deep);
  font-weight: 650;
  text-underline-offset: 3px;
}

.team-story-closing {
  position: relative;
  display: grid;
  gap: 4px;
  margin-top: 32px;
  padding-top: 24px;
}

.team-story-closing::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 1px;
  border-radius: 999px;
  background: var(--prism);
  box-shadow: 0 0 16px rgba(139, 140, 255, 0.16);
  content: "";
}

.team-story-closing span,
.team-story-closing strong {
  display: block;
}

.team-story-closing span {
  color: var(--muted);
  font-size: 17px;
}

.team-story-closing strong {
  color: var(--ink);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.5;
}

.youtube-link-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
}

.youtube-link-flow span {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(49, 67, 101, 0.055);
  color: var(--accent-deep);
  font-weight: 650;
}

.youtube-link-flow b {
  color: #9993bd;
}

.video-library-mascot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 20%, rgba(143, 216, 255, 0.13), transparent 13rem),
    rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 50px rgba(49, 67, 101, 0.07);
}

.video-library-mascot img {
  display: block;
  width: 100%;
  height: 220px;
  padding: 12px 28px 0;
  object-fit: contain;
  object-position: center;
}

.video-library-mascot p,
.video-library-mascot strong,
.video-library-mascot span {
  display: block;
  color: var(--ink);
}

.video-library-mascot p {
  margin: 0;
  padding: 18px 20px 20px;
}

.video-library-mascot strong {
  margin-bottom: 5px;
  color: var(--accent-deep);
}

.video-library-mascot span {
  color: var(--muted);
  font-size: 14px;
}

.technology-feed {
  padding: 64px 0 104px;
}

.technology-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  overflow: hidden;
  margin-bottom: 64px;
  padding: clamp(42px, 6vw, 74px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 8%, rgba(143, 216, 255, 0.18), transparent 22rem),
    radial-gradient(circle at 7% 94%, rgba(246, 183, 216, 0.1), transparent 24rem),
    rgba(255, 255, 255, 0.7);
  box-shadow: 0 30px 82px rgba(49, 67, 101, 0.08), inset 0 1px rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px);
}

.technology-hero::before {
  position: absolute;
  top: -110px;
  left: 48%;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(143, 216, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 72px rgba(139, 124, 255, 0.08), inset 0 0 58px rgba(143, 216, 255, 0.07);
  content: "";
  pointer-events: none;
}

.technology-hero > * {
  position: relative;
  z-index: 1;
}

.technology-hero h1 {
  font-size: clamp(42px, 4.8vw, 62px);
  line-height: 1.28;
}

.technology-hero h1::after {
  display: block;
  width: 68px;
  height: 1px;
  margin-top: 24px;
  border-radius: 999px;
  background: var(--prism);
  box-shadow: 0 0 14px rgba(139, 140, 255, 0.16);
  content: "";
}

.technology-hero .lead {
  margin: 28px 0 0;
  font-size: clamp(18px, 1.8vw, 22px);
}

.technology-pulse {
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 20%, rgba(143, 216, 255, 0.16), transparent 13rem),
    rgba(255, 255, 255, 0.66);
  box-shadow: 0 22px 58px rgba(49, 67, 101, 0.075), inset 0 1px rgba(255, 255, 255, 0.84);
  text-align: center;
}

.technology-pulse > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 20px;
  object-fit: cover;
}

.technology-pulse p,
.technology-pulse span,
.technology-pulse strong {
  display: block;
}

.technology-pulse p {
  margin: 16px 8px 4px;
}

.technology-pulse span {
  margin-bottom: 7px;
  color: var(--support);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.11em;
}

.technology-pulse strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
}

.technology-story {
  padding: clamp(38px, 6vw, 68px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 5% 8%, rgba(246, 183, 216, 0.09), transparent 20rem),
    radial-gradient(circle at 94% 92%, rgba(143, 216, 255, 0.12), transparent 22rem),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.technology-story-intro {
  max-width: 860px;
  margin-bottom: 34px;
}

.technology-story-intro h2 {
  margin-bottom: 22px;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.35;
}

.technology-story-intro > p:last-child {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.95;
}

.technology-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 42px;
}

.technology-channel {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 48px rgba(49, 67, 101, 0.065);
}

.technology-channel-characters {
  position: absolute;
  top: 22px;
  right: 24px;
  display: flex;
  align-items: center;
}

.technology-channel-characters img {
  display: block;
  width: 76px;
  height: 76px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(49, 67, 101, 0.12);
}

.technology-channel-characters img + img {
  margin-left: -16px;
}

.technology-channel::before {
  position: absolute;
  top: 0;
  left: 30px;
  width: 64px;
  height: 1px;
  background: var(--prism);
  content: "";
}

.technology-channel-mark {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(126, 139, 179, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(139, 124, 255, 0.12), rgba(143, 216, 255, 0.2), rgba(246, 183, 216, 0.12));
  color: var(--ink);
  font-size: 25px;
  font-weight: 700;
}

.technology-channel-name {
  margin-bottom: 8px;
  color: var(--support);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.11em;
}

.technology-channel h3 {
  min-height: 2.5em;
  margin-bottom: 16px;
  font-size: clamp(23px, 2.5vw, 30px);
  line-height: 1.35;
}

.technology-channel > p:not(.technology-channel-name) {
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.9;
}

.technology-channel > a {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: auto;
  padding: 9px 18px;
  border: 1px solid rgba(126, 139, 179, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 28px rgba(49, 67, 101, 0.07);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.technology-channel > a:hover {
  border-color: rgba(139, 124, 255, 0.34);
  box-shadow: 0 14px 34px rgba(105, 121, 166, 0.13), 0 0 24px rgba(143, 216, 255, 0.12);
  transform: translateY(-2px);
}

.technology-channel > a:focus-visible {
  outline: 3px solid rgba(139, 124, 255, 0.22);
  outline-offset: 3px;
}

.technology-message {
  max-width: 900px;
}

.technology-message > p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.technology-message .technology-invitation {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid rgba(140, 160, 190, 0.18);
  border-left: 3px solid transparent;
  border-radius: 0 18px 18px 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.74)) padding-box,
    var(--prism) border-box;
  color: var(--ink);
}

.technology-closing {
  position: relative;
  display: grid;
  gap: 5px;
  margin-top: 34px;
  padding-top: 26px;
}

.technology-closing::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 1px;
  border-radius: 999px;
  background: var(--prism);
  box-shadow: 0 0 16px rgba(139, 140, 255, 0.16);
  content: "";
}

.technology-closing span,
.technology-closing strong {
  display: block;
}

.technology-closing span {
  color: var(--muted);
  font-size: 18px;
}

.technology-closing strong {
  color: var(--ink);
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.5;
}

.manual-footer {
  border-top: 1px solid var(--line);
  background: rgba(248, 249, 251, 0.78);
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 30px 0 40px;
  text-align: center;
}

.footer-inner img {
  width: 240px;
  height: 70px;
  object-fit: cover;
  object-position: center 50%;
}

.footer-inner p {
  margin: 0;
  font-size: 14px;
}

.footer-content {
  display: grid;
  justify-items: center;
  gap: 7px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
}

.footer-copyright {
  color: var(--ink);
}

.footer-reviewed-at {
  color: var(--muted);
}

@media (max-width: 940px) {
  .manual-layout {
    grid-template-columns: 1fr;
  }

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

  .service-grid {
    grid-template-columns: 1fr;
  }

  .table-of-contents {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .table-of-contents strong {
    grid-column: 1 / -1;
  }

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

  .youtube-guide-link {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
}

@media (max-width: 800px) {
  body::before {
    background-position: center top;
    background-size: auto 100vh;
  }

  body::after {
    inset: 118px 0 0;
    mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0.88) 62%, transparent 94%);
    opacity: 0.68;
  }

  .hero-showcase-grid,
  .paste-heading-grid,
  .guide-product-panel {
    grid-template-columns: 1fr;
  }

  .video-showcase {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
  }

  .guide-helper-character {
    width: 210px;
    margin-inline: auto;
  }

  .youtube-tutorial-points {
    grid-template-columns: 1fr;
  }

  .video-library-hero,
  .youtube-guide-link,
  .technology-hero {
    grid-template-columns: 1fr;
  }

  .technology-pulse {
    text-align: center;
  }

  .technology-pulse > img {
    width: 100%;
    height: auto;
  }

  .social-destinations {
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

  .video-library-mascot {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
  }

  .video-library-mascot img {
    height: 100%;
  }
}

@media (max-width: 1100px) {
  .manual-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 18px;
    min-height: 124px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .language-nav {
    grid-column: 2;
    grid-row: 1;
  }

  .header-product-name {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 640px) {
  .manual-header {
    align-items: center;
    gap: 5px 8px;
    min-height: 118px;
    padding: 10px 14px;
  }

  .brand {
    width: 190px;
    height: 58px;
  }

  .language-nav {
    gap: 5px;
  }

  .language-nav a {
    min-height: 40px;
    padding: 7px 11px;
    font-size: 13px;
  }

  .header-product-name {
    gap: 0.38em;
    max-width: 100%;
    padding: 8px 12px;
    font-size: clamp(12px, 3.35vw, 14px);
  }

  .header-product-name::before,
  .header-product-name::after {
    font-size: 0.78em;
  }

  .content-tabs {
    width: calc(100% - 28px);
    margin-top: 14px;
  }

  .content-tabs-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    border-radius: 22px;
  }

  .content-tabs a {
    min-width: 0;
    padding: 7px 9px;
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
  }

  .video-library,
  .technology-feed {
    padding-top: 34px;
  }

  .video-library-hero,
  .video-collection,
  .youtube-guide-link,
  .video-friends-feature,
  .technology-hero,
  .technology-story {
    border-radius: 24px;
  }

  .technology-hero {
    padding: 28px 20px;
  }

  .technology-hero h1 {
    font-size: clamp(32px, 8.6vw, 39px);
  }

  .technology-pulse {
    padding: 14px;
  }

  .technology-pulse > img {
    width: 100%;
    height: auto;
  }

  .technology-channel-grid {
    grid-template-columns: 1fr;
  }

  .technology-channel {
    min-height: 0;
    padding: 24px 22px;
  }

  .technology-channel h3 {
    min-height: 0;
  }

  .technology-channel > a {
    width: 100%;
  }

  .video-library-hero {
    padding: 28px 20px;
  }

  .video-library-hero h1 {
    font-size: clamp(34px, 9vw, 40px);
  }

  .social-destinations {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 24px 18px;
    text-align: center;
  }

  .video-friends-feature .social-links {
    grid-template-columns: 1fr;
  }

  .collection-heading {
    align-items: flex-start;
  }

  .youtube-video-grid {
    grid-template-columns: 1fr;
  }

  .youtube-video-body {
    min-height: 286px;
  }

  .youtube-link-flow {
    align-items: stretch;
    flex-direction: column;
  }

  .youtube-link-flow b {
    align-self: center;
    transform: rotate(90deg);
  }

  .video-library-mascot {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .team-story-copy h2 {
    font-size: 30px;
  }

  .team-story-copy .team-story-emphasis {
    padding: 16px;
  }

  .team-story-guide-button {
    width: 100%;
  }

  .video-library-mascot img {
    min-height: 150px;
  }

  .page-shell {
    width: min(1180px, calc(100% - 28px));
  }

  .reader-lane {
    margin: 34px 0 46px;
    padding: 18px;
    border-radius: 24px;
  }

  .lane-tab {
    padding: 7px 13px;
    font-size: 14px;
  }

  .construction-notice {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 38px;
    padding: 22px 20px;
  }

  .construction-mark {
    width: 42px;
    height: 42px;
    font-size: 21px;
  }

  .audience-note {
    padding: 24px 20px;
  }

  .human-lane .manual-hero {
    padding-top: 24px;
  }

  .human-lane .manual-hero h1 {
    padding-bottom: 14px;
  }

  .human-lane .manual-hero h1::after {
    height: 1px;
  }

  .video-showcase {
    padding: 16px;
    border-radius: 22px;
  }

  .showcase-heading {
    align-items: center;
  }

  .showcase-heading h2 {
    font-size: 28px;
  }

  .showcase-caption strong {
    font-size: 14px;
  }

  .showcase-arrow,
  .showcase-tabs button {
    min-width: 40px;
    height: 40px;
  }

  .human-lane .paste-introduction {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .youtube-tutorial-callout {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .youtube-tutorial-heading {
    align-items: flex-start;
  }

  .youtube-tutorial-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 18px;
  }

  .youtube-tutorial-heading h2 {
    font-size: clamp(25px, 7.4vw, 34px);
  }

  .human-lane .paste-introduction .prompt-box {
    padding: 56px 18px 18px;
  }

  .human-lane .paste-introduction .prompt-box::before {
    top: 14px;
    left: 18px;
  }

  .prompt-copy-button {
    width: 100%;
  }

  .prompt-copy-status {
    flex-basis: 100%;
  }

  .paste-primary-title {
    font-size: clamp(30px, 8.4vw, 40px);
    line-height: 1.34;
  }

  .guide-helper-character {
    width: min(240px, 100%);
    min-height: 0;
  }

  .guide-overview,
  .guide-audience-note {
    grid-template-columns: 1fr;
  }

  .guide-overview > img,
  .guide-audience-note > img {
    justify-self: center;
    width: 150px;
  }

  .guide-friends-feature {
    border-radius: 22px;
  }

  .technology-channel-characters {
    top: 20px;
    right: 20px;
  }

  .technology-channel-characters img {
    width: 68px;
    height: 68px;
    border-radius: 20px;
  }

  .audience-note h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  .showcase-reference {
    grid-template-columns: 1fr;
  }

  .language-entry {
    gap: 18px;
  }

  .guide-identity {
    margin: 24px auto 38px;
  }

  .guide-invitation {
    margin-bottom: 24px;
    font-size: clamp(30px, 8.5vw, 38px);
    line-height: 1.24;
  }

  .guide-invitation-english {
    margin: -6px 0 16px;
    font-size: 17px;
  }

  .guide-product-title {
    padding: 20px 14px;
    border-radius: 22px;
  }

  .guide-product-title > span,
  .guide-product-title > strong {
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.08;
  }

  .guide-product-title > small {
    flex-wrap: wrap;
    margin-top: 14px;
    font-size: 19px;
  }

  .language-panel {
    padding-top: 12px;
  }

  .language-entry .construction-notice {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    margin-top: 14px;
    padding: 16px;
  }

  .language-entry .construction-mark {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .language-entry .construction-notice h2 {
    font-size: 21px;
  }

  .language-entry .construction-notice h2[lang="en"] {
    margin-top: 8px;
    font-size: 18px;
  }

  .language-entry .construction-notice p {
    font-size: 14px;
  }

  .language-panel h2 {
    font-size: clamp(32px, 9.5vw, 42px);
  }

  .language-panel .guide-name {
    margin-bottom: 10px;
  }

  .language-panel .hero-english {
    font-size: 19px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .hero-english {
    font-size: 23px;
  }

  .choice-grid,
  .flow-grid,
  .risk-grid,
  .table-of-contents {
    grid-template-columns: 1fr;
  }

  .choice-card {
    grid-template-columns: 1fr;
  }

  .language-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
    text-align: center;
  }

  .language-choice-grid .choice-card {
    gap: 8px;
    min-width: 0;
    padding: 16px 10px;
  }

  .language-choice-grid .choice-code {
    width: 40px;
    height: 40px;
    margin: 0 auto;
  }

  .language-choice-grid strong {
    font-size: 21px;
  }

  .language-choice-grid small {
    font-size: 12px;
  }

  .section {
    padding: 44px 0;
  }

  .choice-card,
  .flow-card,
  .step-card,
  .ai-instruction,
  .purpose-card,
  .handoff-card,
  .official-note {
    border-radius: 18px;
  }

  .footer-inner,
  .footer-content {
    justify-items: center;
  }
}

/* Human-readable view for tutorial Markdown documents. */
.markdown-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 221, 144, 0.32), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(113, 219, 255, 0.28), transparent 30rem),
    #f7fbff;
}

.markdown-header {
  position: relative;
  border-bottom: 1px solid rgba(67, 89, 127, 0.12);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.markdown-document {
  width: min(980px, calc(100% - 32px));
  margin: 42px auto 80px;
}

.markdown-document-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.markdown-document-label {
  margin: 0 0 8px;
  color: #168e98;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.markdown-back,
.markdown-raw {
  color: #2449b8;
  font-weight: 750;
  text-decoration: none;
}

.markdown-back:hover,
.markdown-raw:hover {
  text-decoration: underline;
}

.markdown-raw {
  color: #62708d;
  font-size: 0.9rem;
}

.markdown-body {
  overflow-wrap: anywhere;
  padding: clamp(26px, 5vw, 64px);
  border: 1px solid rgba(67, 89, 127, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(41, 72, 123, 0.13);
  color: #25334e;
  font-size: 1rem;
  line-height: 1.9;
}

.markdown-body > :first-child {
  margin-top: 0;
}

.markdown-body > :last-child {
  margin-bottom: 0;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4 {
  color: #1e2d4a;
  line-height: 1.35;
}

.markdown-body h1 {
  margin: 0 0 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, #4d4aee, #08a3a6, #ffcb69) 1;
  font-size: clamp(2rem, 5vw, 3.15rem);
}

.markdown-body h2 {
  margin: 2.6rem 0 1rem;
  padding: 0.35rem 0 0.35rem 0.9rem;
  border-left: 5px solid #149eaa;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.markdown-body h3 {
  margin: 2rem 0 0.8rem;
  font-size: 1.25rem;
}

.markdown-body p,
.markdown-body ul,
.markdown-body ol,
.markdown-body blockquote,
.markdown-body pre,
.markdown-table-wrap {
  margin: 1rem 0 1.35rem;
}

.markdown-body ul,
.markdown-body ol {
  padding-left: 1.65rem;
}

.markdown-body li + li {
  margin-top: 0.45rem;
}

.markdown-body blockquote {
  padding: 0.8rem 1.2rem;
  border-left: 5px solid #5966e8;
  border-radius: 0 14px 14px 0;
  background: #f1f4ff;
  color: #384867;
}

.markdown-body blockquote p {
  margin: 0;
}

.markdown-body code {
  padding: 0.12em 0.38em;
  border-radius: 6px;
  background: #eef2f8;
  color: #a12443;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.92em;
}

.markdown-body pre {
  overflow-x: hidden;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: #1f2a41;
  color: #f7f9ff;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.markdown-body pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.markdown-body a {
  color: #2449b8;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.markdown-table-wrap {
  overflow-x: auto;
  border: 1px solid #dce3ef;
  border-radius: 14px;
}

.markdown-body table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.markdown-body th,
.markdown-body td {
  min-width: 8rem;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid #e2e7f0;
  vertical-align: top;
}

.markdown-body th {
  background: #eef7fb;
  color: #243759;
  font-weight: 800;
}

.markdown-body tr:last-child td {
  border-bottom: 0;
}

.markdown-task {
  color: #118d82;
  font-weight: 800;
}

@media (max-width: 640px) {
  .markdown-document {
    width: min(100% - 20px, 980px);
    margin-top: 24px;
  }

  .markdown-document-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .markdown-body {
    padding: 24px 19px;
    border-radius: 20px;
    font-size: 0.96rem;
  }
}

@media print {
  .manual-header,
  .content-tabs,
  .table-of-contents,
  video {
    display: none;
  }

  body {
    background: #fff;
  }

  .manual-layout {
    display: block;
  }

  .step-card,
  .ai-instruction,
  .purpose-card,
  .handoff-card,
  .official-note {
    box-shadow: none;
    break-inside: avoid;
  }
}

/* Keep the public entrance short. Detailed setup prose lives on the
   guidance-AI page so a beginner sees only the first action. */
.start-guide {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-top: clamp(1.5rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.start-hero,
.start-action,
.start-notes article,
.agent-source-note {
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: 0 24px 70px rgba(60, 48, 92, 0.12);
}

.tutorial-library {
  margin: 48px 0;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(65, 82, 130, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 60px rgba(62, 53, 113, 0.1);
}

.tutorial-library-intro {
  max-width: 850px;
  margin: 0 0 24px;
  color: #4e5b75;
  line-height: 1.8;
}

.tutorial-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}

.tutorial-card,
.tutorial-empty {
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(74, 80, 132, 0.16);
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #f6f7ff);
}

.tutorial-card h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

.tutorial-card > p:not(.video-card-tag),
.tutorial-empty {
  color: #536079;
  line-height: 1.7;
}

.tutorial-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tutorial-card-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: #3949ab;
  font-weight: 800;
  text-decoration: none;
}

.tutorial-card-actions a:first-child {
  background: #d82929;
}

.start-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 260px);
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  overflow: hidden;
  padding: clamp(1.5rem, 5vw, 4rem);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 20%, rgba(74, 218, 202, 0.28), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(243, 246, 255, 0.9));
}

.start-hero h1 {
  max-width: 13em;
  margin: 0.35rem 0 1rem;
  color: #202a45;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.start-hero .lead {
  max-width: 48rem;
  margin: 0;
  color: #536078;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.9;
}

.start-hero-character {
  justify-self: center;
  width: min(100%, 220px);
  height: min(350px, 35vw);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 20px 28px rgba(38, 52, 79, 0.2));
}

.start-action {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.92);
}

.start-action-heading {
  margin-bottom: 1.25rem;
}

.start-action-heading h2 {
  margin: 0.2rem 0 0;
  color: #202a45;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
}

.start-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.start-step-grid li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.75rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(64, 83, 130, 0.14);
  border-radius: 18px;
  background: #f8f9ff;
}

.start-step-grid li > span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #5b37d6, #1fa7d8);
  color: white;
  font-weight: 800;
}

.start-step-grid strong,
.start-step-grid small {
  display: block;
}

.start-step-grid small {
  color: #68738a;
  line-height: 1.45;
}

.start-prompt-panel {
  margin: 0;
  border: 2px solid rgba(79, 70, 203, 0.24);
  background: linear-gradient(135deg, rgba(246, 243, 255, 0.98), rgba(236, 251, 255, 0.98));
}

.consent-open-button {
  width: 100%;
  min-height: 64px;
  padding: 1rem 1.25rem;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #5b37d6, #168ab8);
  box-shadow: 0 14px 32px rgba(69, 68, 184, 0.24);
  font: inherit;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 800;
  cursor: pointer;
}

.consent-panel {
  margin: 1.25rem 0;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(64, 83, 130, 0.18);
  border-radius: 22px;
  background: #f9faff;
}

.consent-panel h3,
.start-prompt-panel h3 { margin-top: 0; color: #26314d; }

.requirement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin-bottom: 1.1rem;
}

.requirement-grid article {
  padding: 1rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(40, 52, 85, .06);
}

.requirement-grid strong { color: #2d3753; }
.requirement-grid p { margin: .45rem 0 0; color: #606b82; line-height: 1.65; }

.consent-check {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  margin: .7rem 0;
  padding: .85rem 1rem;
  border-radius: 14px;
  background: #fff;
  color: #38435d;
  line-height: 1.55;
  cursor: pointer;
}

.consent-check input { width: 1.25rem; height: 1.25rem; margin-top: .1rem; flex: 0 0 auto; }

[hidden] { display: none !important; }

.start-paste-guide {
  max-width: 940px;
  margin: 1.5rem auto 0;
}

.start-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.start-notes article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1.25rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
}

.start-notes article > span {
  font-size: 1.65rem;
}

.start-notes h2 {
  margin: 0 0 0.45rem;
  color: #28334d;
  font-size: 1rem;
}

.start-notes p,
.agent-source-note p {
  margin: 0;
  color: #667188;
  line-height: 1.75;
}

.agent-source-note {
  padding: 1rem 1.25rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  text-align: center;
}

.agent-source-note a {
  color: #4b42bd;
  font-weight: 700;
}

.agent-guide-page .human-lane {
  display: none;
}

.agent-guide-page .ai-lane {
  margin-top: clamp(1.5rem, 4vw, 3rem);
}

@media (max-width: 780px) {
  .start-hero {
    grid-template-columns: minmax(0, 1fr) 100px;
    border-radius: 24px;
  }

  .start-hero-character {
    height: 180px;
  }

  .start-step-grid,
  .start-notes,
  .requirement-grid {
    grid-template-columns: 1fr;
  }

  .start-action {
    border-radius: 24px;
  }
}

@media (max-width: 520px) {
  .start-hero {
    grid-template-columns: 1fr;
  }

  .start-hero-character {
    display: none;
  }
}

/* YouTube tutorial catalog and human/AI-readable tutorial pages */
.tutorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 48px rgba(44, 57, 91, 0.12);
}

.tutorial-hero h1,
.tutorial-section h2 { color: #202a45; }

.tutorial-hero h1 {
  margin: .35rem 0 1rem;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.12;
}

.tutorial-hero h1.tutorial-title-compact {
  font-size: clamp(2rem, 4.2vw, 3.65rem);
}

.tutorial-hero p,
.tutorial-section p,
.tutorial-section li { color: #566179; line-height: 1.75; }

.tutorial-hero img,
.tutorial-card img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(35, 44, 75, .16);
}

.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.tutorial-catalog-tools {
  display: grid;
  gap: .55rem;
  margin-top: 1.25rem;
}

.tutorial-catalog-tools label {
  color: #202a45;
  font-weight: 800;
}

.tutorial-catalog-tools input {
  width: 100%;
  min-height: 52px;
  padding: .8rem 1rem;
  border: 2px solid #cfd7ef;
  border-radius: 14px;
  background: #fff;
  color: #202a45;
  font: inherit;
}

.tutorial-catalog-tools input:focus {
  border-color: #5140d6;
  outline: 3px solid rgba(81, 64, 214, .16);
  outline-offset: 2px;
}

.tutorial-catalog-summary {
  min-height: 1.75rem;
  margin: .75rem 0 0;
  font-weight: 700;
}

.tutorial-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.5rem;
}

.tutorial-pagination[hidden] { display: none; }

.tutorial-pagination button {
  min-width: 44px;
  min-height: 44px;
  padding: .55rem .8rem;
  border: 1px solid #cfd7ef;
  border-radius: 12px;
  background: #fff;
  color: #38435d;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tutorial-pagination button[aria-current="page"] {
  border-color: transparent;
  background: linear-gradient(135deg, #5b37d6, #168ab8);
  color: #fff;
}

.tutorial-pagination button:disabled {
  cursor: default;
  opacity: .45;
}

.tutorial-pagination span {
  align-self: center;
  padding: 0 .2rem;
  color: #647087;
}

.tutorial-catalog-noscript {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 14px;
  background: #fff5d9;
  color: #5f4a13;
}

.tutorial-card,
.tutorial-section {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 32px rgba(44, 57, 91, .1);
}

.tutorial-card h2 { margin: 1rem 0 .55rem; color: #202a45; }
.tutorial-card p { color: #647087; line-height: 1.7; }

.tutorial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}

.tutorial-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #5b37d6, #168ab8);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.tutorial-button.secondary { background: #edf0fa; color: #38435d; }

.tutorial-detail { display: grid; gap: 1.25rem; }

.tutorial-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 20px;
  background: #111;
}

.tutorial-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: .8rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.tutorial-flow li {
  padding: 1rem;
  border: 1px solid rgba(64, 83, 130, .14);
  border-radius: 16px;
  background: #f8f9ff;
}

.tutorial-docs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .75rem;
}

.tutorial-docs a {
  padding: .85rem 1rem;
  border-radius: 14px;
  background: #f2f4fb;
  color: #3d47a8;
  font-weight: 700;
  text-decoration: none;
}

.tutorial-production-flow {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 1.25rem;
  border: 1px solid rgba(64, 83, 130, .14);
  border-radius: 20px;
}

.tutorial-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.tutorial-section-heading .eyebrow {
  margin-top: 0;
}

.tutorial-section-heading h2 {
  margin-bottom: 0.6rem;
}

.tutorial-setup-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(57, 77, 194, 0.2);
  border-radius: 999px;
  background: linear-gradient(135deg, #f2f4ff, #ecfbff);
  box-shadow: 0 8px 22px rgba(49, 78, 153, 0.1);
  color: #3045b8;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.tutorial-setup-link:hover {
  border-color: rgba(57, 77, 194, 0.4);
  box-shadow: 0 10px 26px rgba(49, 78, 153, 0.16);
  transform: translateY(-1px);
}

@media (max-width: 700px) {
  .tutorial-section-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 0.5rem;
  }

  .tutorial-setup-link {
    align-self: flex-start;
    white-space: normal;
  }
}

.tutorial-materials {
  display: grid;
  gap: .75rem;
  margin-top: 1.25rem;
}

.tutorial-material {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(64, 83, 130, .14);
  border-radius: 16px;
  background: #f8f9ff;
}

.tutorial-material-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.tutorial-material-heading h3 {
  margin: 0;
  color: #283651;
  font-size: 1.05rem;
  line-height: 1.55;
}

.tutorial-material-heading a,
.tutorial-agent-guide-link a {
  color: #3d47a8;
  font-weight: 800;
}

.tutorial-material p {
  margin: .55rem 0 0;
}

.tutorial-material-status {
  flex: 0 0 auto;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.35;
}

.tutorial-material-status.is-published {
  background: #e5edff;
  color: #294ea7;
}

.tutorial-material-status.is-unpublished {
  background: #e9ebf0;
  color: #596273;
}

.tutorial-agent-guide-link {
  margin: 1.25rem 0 0;
}

.tutorial-contract {
  border: 2px solid rgba(91, 55, 214, .2);
  background: linear-gradient(135deg, #fbf9ff, #effbff);
}

.tutorial-hero > *,
.tutorial-contract .prompt-box,
.tutorial-section code {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tutorial-id {
  display: inline-block;
  padding: .25rem .55rem;
  border-radius: 8px;
  background: #edf0fa;
  color: #4f5a73;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.tutorial-published-date {
  margin: .55rem 0 0;
  color: #51617f;
  font-size: .92rem;
  font-weight: 700;
}

@media (max-width: 780px) {
  .tutorial-hero { grid-template-columns: 1fr; border-radius: 24px; }

  .tutorial-material-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: .55rem;
  }
}

/* Guided beginner journey: welcome, informed review, and AI handoff */
.welcome-main {
  padding: clamp(46px, 7vw, 86px) 0 clamp(58px, 8vw, 96px);
}

.welcome-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(330px, .72fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
  min-height: 620px;
  overflow: hidden;
  padding: clamp(38px, 6vw, 74px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 40px;
  background:
    radial-gradient(circle at 94% 8%, rgba(143, 216, 255, .34), transparent 27rem),
    radial-gradient(circle at 8% 94%, rgba(158, 230, 195, .22), transparent 25rem),
    linear-gradient(135deg, rgba(255, 255, 255, .97), rgba(249, 251, 255, .9));
  box-shadow: 0 28px 80px rgba(42, 60, 96, .13);
}

.welcome-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6px;
  background: var(--rainbow);
  content: "";
}

.welcome-copy,
.welcome-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.welcome-copy h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(38px, 3.8vw, 46px);
  line-height: 1.2;
}

.welcome-title-line {
  display: block;
}

.welcome-mobile-break {
  display: none;
}

.welcome-lead,
.welcome-reassurance {
  max-width: 730px;
  margin-bottom: 17px;
  color: #526079;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.85;
}

.welcome-reassurance strong {
  color: #273652;
  font-size: 1.08em;
}

.welcome-computer-note {
  display: grid;
  gap: 3px;
  max-width: 720px;
  margin: 22px 0 0;
  padding: 13px 16px;
  border-left: 4px solid #3f73d8;
  border-radius: 10px;
  background: rgba(244, 248, 255, .9);
  color: #526079;
  font-size: 14px;
  line-height: 1.55;
}

.welcome-computer-note strong {
  color: #273652;
  font-size: 16px;
}

.welcome-price {
  display: grid;
  gap: 7px;
  max-width: 720px;
  margin: 28px 0;
  padding: 17px 20px;
  border: 1px solid rgba(72, 132, 165, .18);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(234, 250, 250, .9), rgba(243, 244, 255, .92));
}

.welcome-price h2 {
  margin: 0 0 3px;
  color: #364463;
  font-size: 15px;
  letter-spacing: .04em;
}

.welcome-price strong {
  color: #223b54;
  font-size: 18px;
}

.welcome-price p,
.welcome-price small {
  margin: 0;
  color: #5c6981;
  font-size: 14px;
  line-height: 1.55;
}

.welcome-price small {
  font-size: 12px;
}

.welcome-computer-note + .welcome-price {
  margin-top: 12px;
}

.welcome-visual {
  margin: 0;
}

.welcome-visual::before {
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: 36px;
  background: var(--prism);
  filter: blur(28px);
  opacity: .42;
  content: "";
}

.welcome-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 30px;
  box-shadow: 0 24px 52px rgba(35, 55, 91, .19);
}

.welcome-visual-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.welcome-diagram-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 13px 21px;
  border: 1px solid rgba(65, 81, 147, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 13px 30px rgba(49, 67, 120, .16);
  color: #344367;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.welcome-diagram-button:hover {
  transform: translateY(-2px);
  border-color: rgba(60, 78, 185, .38);
  box-shadow: 0 17px 34px rgba(49, 67, 120, .2);
}

.welcome-diagram-button:focus-visible {
  outline: 3px solid rgba(38, 127, 179, .34);
  outline-offset: 4px;
}

.welcome-diagram-button-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(135deg, #5340d1, #188fa3);
  color: #fff;
  font-size: 17px;
}

.howto-main {
  padding-top: clamp(36px, 6vw, 68px);
  padding-bottom: clamp(64px, 8vw, 110px);
}

.howto-heading {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 34px;
  background:
    radial-gradient(circle at 93% 5%, rgba(127, 217, 244, .32), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(247, 248, 255, .93));
  box-shadow: 0 24px 70px rgba(42, 60, 96, .13);
}

.howto-heading::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: var(--rainbow);
  content: "";
}

.howto-heading h1 {
  margin: 3px 0 16px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.18;
}

.howto-heading > p:not(.eyebrow) {
  max-width: 780px;
  margin: 0 0 25px;
  color: #58667e;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.8;
}

.howto-diagram-list {
  display: grid;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.howto-diagram-card {
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid rgba(93, 108, 153, .18);
  border-radius: 30px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 20px 58px rgba(43, 59, 100, .12);
}

.howto-diagram-overview {
  border-color: rgba(59, 92, 202, .25);
  background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(241, 248, 255, .96));
}

.howto-diagram-heading {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 18px;
}

.howto-diagram-heading p,
.howto-diagram-heading h2 {
  margin: 0;
}

.howto-diagram-heading p {
  margin-bottom: 3px;
  color: #14878d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.howto-diagram-heading h2 {
  color: #24324c;
  font-size: clamp(21px, 2.6vw, 31px);
  line-height: 1.35;
}

.howto-diagram-number {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  min-width: 58px;
  height: 58px;
  padding: 0 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, #5140d5, #118d9b);
  box-shadow: 0 10px 24px rgba(59, 67, 178, .23);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.howto-diagram-image {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(88, 103, 153, .16);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(45, 58, 92, .13);
}

.howto-diagram-image img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 220ms ease;
}

.howto-diagram-image:hover img {
  transform: scale(1.006);
}

.howto-diagram-image:focus-visible {
  outline: 4px solid rgba(38, 127, 179, .4);
  outline-offset: 5px;
}

.howto-enlarge-note {
  margin: 13px 4px 0;
  color: #6b768a;
  font-size: 13px;
  text-align: right;
}

.howto-bottom-action {
  display: grid;
  justify-items: center;
  margin-top: 38px;
  padding: 32px;
  border: 1px solid rgba(70, 137, 157, .18);
  border-radius: 26px;
  background: linear-gradient(120deg, rgba(240, 252, 251, .95), rgba(245, 245, 255, .95));
  text-align: center;
}

.howto-bottom-action p {
  margin: 13px 0 0;
  color: #69758a;
  font-size: 13px;
}

.journey-primary-button,
.journey-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 58px;
  padding: 14px 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.journey-primary-button {
  background: linear-gradient(120deg, #5035b6, #276eb8 52%, #16847a);
  box-shadow: 0 14px 30px rgba(55, 69, 161, .25);
  color: #fff;
}

.journey-secondary-button {
  border-color: rgba(76, 90, 117, .18);
  background: rgba(255, 255, 255, .88);
  color: #394965;
}

.journey-primary-button:hover,
.journey-secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(55, 69, 161, .24);
}

.journey-primary-button:focus-visible,
.journey-secondary-button:focus-visible {
  outline: 3px solid rgba(38, 127, 179, .34);
  outline-offset: 4px;
}

.journey-button-note {
  max-width: 680px;
  margin: 12px 0 0;
  color: #6c778b;
  font-size: 13px;
  line-height: 1.6;
}

.journey-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(860px, 100%);
  margin: 46px auto 38px;
  padding: 0;
  list-style: none;
}

.journey-progress::before {
  position: absolute;
  top: 21px;
  right: 13%;
  left: 13%;
  height: 2px;
  background: rgba(82, 98, 131, .16);
  content: "";
}

.journey-progress li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 3px;
  text-align: center;
}

.journey-progress li > span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 7px;
  place-items: center;
  border: 2px solid rgba(82, 98, 131, .17);
  border-radius: 50%;
  background: #fff;
  color: #778198;
  font-weight: 800;
}

.journey-progress li strong {
  color: #516078;
  font-size: 15px;
}

.journey-progress li small {
  color: #7d8799;
  font-size: 12px;
  line-height: 1.4;
}

.journey-progress .is-complete > span {
  border-color: rgba(23, 139, 125, .28);
  background: #e9f8f5;
  color: #147567;
}

.journey-progress .is-current > span {
  border-color: transparent;
  background: linear-gradient(135deg, #5a42c5, #2586aa);
  box-shadow: 0 10px 24px rgba(72, 75, 174, .24);
  color: #fff;
}

.journey-progress .is-current strong {
  color: #283651;
}

.important-guide,
.handoff-guide {
  padding-bottom: clamp(62px, 8vw, 100px);
}

.important-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  max-width: 1020px;
  margin: 0 auto 28px;
  padding: clamp(32px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 32px;
  background:
    radial-gradient(circle at 92% 8%, rgba(143, 216, 255, .23), transparent 18rem),
    rgba(255, 255, 255, .9);
  box-shadow: 0 20px 60px rgba(43, 60, 95, .1);
}

.important-intro h1,
.handoff-heading h1,
.terms-heading h1 {
  margin-bottom: 24px;
  font-size: clamp(38px, 5vw, 62px);
}

.important-intro p,
.handoff-heading p {
  margin-bottom: 13px;
  color: #526079;
  font-size: clamp(16px, 1.65vw, 19px);
  line-height: 1.85;
}

.important-intro p:last-child {
  margin-bottom: 0;
}

.important-intro p strong {
  color: #293750;
}

.important-intro img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(41, 57, 89, .16));
}

.important-sections {
  display: grid;
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}

.important-section {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  padding: clamp(25px, 4vw, 38px);
  border: 1px solid rgba(67, 82, 118, .11);
  border-radius: 24px;
  background: rgba(255, 255, 255, .91);
  box-shadow: 0 11px 32px rgba(42, 59, 94, .07);
}

.important-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(94, 76, 202, .14), rgba(45, 158, 171, .16));
  color: #463b9d;
  font-weight: 850;
}

.important-section h2 {
  margin-bottom: 15px;
  font-size: clamp(23px, 2.8vw, 32px);
}

.important-section p {
  margin-bottom: 13px;
  color: #56637b;
  font-size: 16px;
  line-height: 1.9;
}

.important-section p:last-child {
  margin-bottom: 0;
}

.important-section strong {
  color: #293852;
}

.important-point-list {
  display: grid;
  gap: 8px;
  margin: 5px 0 17px;
  padding: 0;
  list-style: none;
}

.important-point-list li {
  position: relative;
  padding-left: 25px;
  color: #4f5e77;
  line-height: 1.65;
}

.important-point-list li::before {
  position: absolute;
  top: .15em;
  left: 0;
  color: #25877d;
  font-weight: 900;
  content: "✓";
}

.important-point-list-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}

.important-section .beginner-phrase {
  display: grid;
  gap: 7px;
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(73, 83, 168, .15);
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(243, 241, 255, .9), rgba(237, 251, 249, .92));
}

.beginner-phrase span {
  color: #67728a;
  font-size: 13px;
  font-weight: 750;
}

.beginner-phrase strong {
  font-size: clamp(19px, 2.3vw, 25px);
}

.important-responsibility {
  border-color: rgba(76, 64, 173, .19);
  background: linear-gradient(135deg, rgba(252, 250, 255, .97), rgba(240, 250, 252, .95));
}

.terms-link-line {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(64, 79, 113, .12);
  font-weight: 700;
}

.terms-link-line a,
.manual-footer a,
.journey-back a {
  color: #473fa5;
  font-weight: 750;
}

.acknowledgement-panel {
  max-width: 960px;
  margin: 28px auto 0;
  padding: clamp(28px, 5vw, 46px);
  border: 2px solid rgba(69, 63, 158, .2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(137, 219, 200, .21), transparent 24rem),
    rgba(249, 249, 255, .96);
  box-shadow: 0 20px 54px rgba(44, 57, 94, .11);
}

.acknowledgement-panel > h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.6vw, 40px);
}

.acknowledgement-panel > p {
  line-height: 1.75;
}

.acknowledgement-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
}

.acknowledgement-list label {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding: 17px 18px;
  border: 1px solid rgba(65, 81, 116, .11);
  border-radius: 15px;
  background: rgba(255, 255, 255, .94);
  color: #394861;
  line-height: 1.7;
  cursor: pointer;
}

.acknowledgement-list label:has(input:checked) {
  border-color: rgba(24, 135, 120, .28);
  background: rgba(236, 250, 247, .94);
}

.acknowledgement-list input {
  width: 22px;
  height: 22px;
  margin: 3px 0 0;
  accent-color: #26877b;
}

.acknowledgement-continue[aria-disabled="true"] {
  box-shadow: none;
  cursor: not-allowed;
  filter: grayscale(.55);
  opacity: .45;
  pointer-events: none;
}

.acknowledgement-continue[aria-disabled="true"]:hover {
  transform: none;
}

.acknowledgement-status {
  margin: 10px 0 0;
  color: #67738a;
  font-size: 14px;
  font-weight: 700;
}

.acknowledgement-panel .acknowledgement-note {
  margin: 16px 0 0;
  padding-top: 15px;
  border-top: 1px solid rgba(64, 79, 113, .12);
  color: #657189;
  font-size: 13px;
}

.journey-back {
  max-width: 960px;
  margin: 24px auto 0;
}

.terms-guide {
  width: min(1020px, calc(100% - 32px));
  padding: 48px 0 clamp(70px, 8vw, 108px);
}

.terms-heading {
  margin-bottom: 20px;
  padding: clamp(32px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 30px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 50px rgba(43, 59, 94, .09);
}

.document-state {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff0d7;
  color: #7a4d12;
  font-size: 13px;
  font-weight: 800;
}

.terms-version {
  margin-bottom: 22px;
  color: #5f6b82;
  font-weight: 700;
}

.terms-sections {
  display: grid;
  gap: 12px;
}

.terms-section {
  padding: clamp(25px, 4vw, 38px);
  border: 1px solid rgba(65, 81, 116, .11);
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 28px rgba(43, 59, 94, .06);
}

.terms-section h2 {
  margin-bottom: 16px;
  font-size: clamp(22px, 2.6vw, 30px);
}

.terms-section p {
  margin-bottom: 12px;
  color: #56637a;
  line-height: 1.95;
}

.terms-section p:last-child {
  margin-bottom: 0;
}

.terms-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
}

.handoff-heading {
  max-width: 920px;
  margin: 0 auto 26px;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 32px;
  background:
    radial-gradient(circle at 92% 5%, rgba(143, 216, 255, .25), transparent 22rem),
    rgba(255, 255, 255, .92);
  box-shadow: 0 20px 60px rgba(43, 60, 95, .1);
  text-align: center;
}

.handoff-heading p {
  max-width: 720px;
  margin: 0 auto;
}

.handoff-eyebrow {
  margin-bottom: 12px !important;
  color: #236d78;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .1em;
}

.handoff-action {
  max-width: 960px;
  margin: 0 auto 22px;
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid rgba(66, 81, 116, .11);
  border-radius: 28px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 46px rgba(43, 59, 94, .08);
}

.handoff-action-heading h2 {
  margin-bottom: 20px;
  font-size: clamp(27px, 3.4vw, 39px);
}

.handoff-action-heading p {
  margin: 0;
  color: #58657b;
  line-height: 1.75;
}

.agent-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.agent-route-footnotes {
  display: grid;
  gap: 8px;
  margin: 20px 4px 0;
  padding: 16px 18px;
  border: 1px solid rgba(64, 78, 112, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  color: #273651;
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.agent-route-footnotes p {
  margin: 0;
}

.agent-route-footnotes strong {
  margin-right: 4px;
}

.agent-route-notice {
  margin: 16px 4px 0;
  color: #000;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.65;
}

.agent-route-notice a {
  color: #000;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.agent-route-notice a:hover {
  color: #000;
}

.agent-route-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(64, 78, 112, .14);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(241, 249, 252, .92));
  color: #273651;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(43, 60, 95, .07);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.agent-route-card:hover {
  transform: translateY(-2px);
  border-color: rgba(61, 71, 198, .35);
  box-shadow: 0 16px 32px rgba(43, 60, 95, .12);
}

.agent-route-card:focus-visible {
  outline: 3px solid rgba(56, 95, 222, .34);
  outline-offset: 3px;
}

.agent-route-card.is-selected {
  border-color: #4057cf;
  background: linear-gradient(145deg, rgba(244, 242, 255, .99), rgba(230, 249, 249, .95));
  box-shadow: 0 18px 36px rgba(61, 72, 190, .17);
}

.agent-route-card strong,
.agent-route-card small {
  display: block;
}

.agent-route-card strong {
  font-size: 19px;
}

.agent-route-card small {
  margin-top: 6px;
  color: #66728a;
  line-height: 1.45;
}

.agent-route-card .agent-route-status {
  display: block;
  margin-top: 5px;
  color: #c62828;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.35;
}

.agent-route-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  font-size: 19px;
  font-weight: 900;
}

.agent-route-chatgpt { background: linear-gradient(145deg, #202a3b, #159786); }
.agent-route-claude { background: linear-gradient(145deg, #d86f4b, #9a4c35); }
.agent-route-gemini { background: linear-gradient(145deg, #4056d4, #15a0a2); }

.agent-route-result[hidden] {
  display: none;
}

.agent-route-result {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(67, 82, 116, .13);
}

.agent-route-result-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.agent-route-result-heading small {
  color: #6c7890;
  font-weight: 750;
}

.agent-route-result-heading h3 {
  margin: 4px 0 0;
  font-size: clamp(24px, 3vw, 34px);
}

.agent-route-reset {
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid rgba(64, 78, 112, .18);
  border-radius: 999px;
  background: #fff;
  color: #44516a;
  font-weight: 800;
  cursor: pointer;
}

.agent-route-reset:hover,
.agent-route-reset:focus-visible {
  border-color: #4057cf;
  color: #3449bd;
}

.ai-entry-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
}

.ai-entry-choice article {
  padding: 19px;
  border: 1px solid rgba(63, 80, 115, .1);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(248, 248, 255, .97), rgba(241, 251, 250, .9));
}

.ai-entry-choice h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.ai-entry-choice p {
  margin: 0;
  color: #58657b;
  line-height: 1.7;
}

.ai-entry-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.ai-entry-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(73, 79, 166, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #433b9f;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.guide-audience-note h1 {
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.3;
  text-wrap: pretty;
}

.handoff-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.handoff-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  padding: 18px;
  border-radius: 18px;
  background: #f5f7fc;
}

.handoff-steps li > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: #493ca3;
  font-weight: 850;
  box-shadow: 0 6px 15px rgba(53, 65, 101, .08);
}

.handoff-steps strong,
.handoff-steps small {
  display: block;
}

.handoff-steps strong {
  color: #33415c;
  line-height: 1.5;
}

.handoff-steps small {
  margin-top: 6px;
  color: #6e7990;
  line-height: 1.55;
}

.handoff-prompt-panel {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr);
  gap: 12px 16px;
  align-items: center;
  margin-top: 0;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid rgba(72, 63, 166, .18);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(250, 248, 255, .98), rgba(239, 250, 252, .94));
}

.handoff-prompt-panel h3,
.handoff-prompt-panel .prompt-box {
  grid-column: 1 / -1;
}

.handoff-prompt-panel h3 {
  margin: 0;
}

.handoff-prompt-panel .prompt-box {
  max-height: 260px;
  margin: 0;
  padding: 20px;
  overflow-y: auto;
  background: #fff;
  color: #37445f;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.8;
}

.handoff-paste-guide {
  margin: 26px auto 0;
}

.support-guide {
  display: grid;
  gap: 24px;
  padding: clamp(52px, 7vw, 82px) 0 clamp(72px, 9vw, 112px);
}

.support-heading,
.support-stage {
  width: min(100%, 1000px);
  margin: 0 auto;
  border: 1px solid rgba(66, 82, 117, .12);
  border-radius: 30px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 20px 60px rgba(43, 60, 95, .09);
}

.support-heading {
  padding: clamp(34px, 6vw, 58px);
  background:
    radial-gradient(circle at 94% 7%, rgba(143, 216, 255, .28), transparent 23rem),
    radial-gradient(circle at 6% 94%, rgba(158, 230, 195, .17), transparent 20rem),
    rgba(255, 255, 255, .93);
}

.support-heading h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(38px, 4.4vw, 52px);
  line-height: 1.32;
  text-wrap: balance;
}

.support-heading > p {
  max-width: 850px;
  margin: 0;
  color: #526079;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.9;
}

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

.support-route > div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 3px 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(76, 65, 169, .13);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}

.support-route span {
  display: grid;
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(94, 76, 202, .15), rgba(45, 158, 171, .18));
  color: #463b9d;
  font-weight: 850;
}

.support-route strong {
  color: #293852;
  font-size: 17px;
}

.support-route small {
  color: #6a768d;
  line-height: 1.5;
}

.support-stage {
  padding: clamp(28px, 5vw, 48px);
}

.support-stage-heading {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.support-stage-number {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(135deg, #5a42c5, #2586aa);
  box-shadow: 0 10px 24px rgba(72, 75, 174, .2);
  color: #fff;
  font-size: 20px;
  font-weight: 850;
}

.support-stage-heading h2 {
  margin-bottom: 11px;
  font-size: clamp(27px, 3.5vw, 40px);
  line-height: 1.4;
  text-wrap: pretty;
}

.support-stage-heading p {
  margin: 0;
  color: #56637b;
  font-size: 16px;
  line-height: 1.9;
}

.support-prompt-panel {
  margin-top: 26px;
}

.support-prompt-panel .prompt-box {
  max-height: 300px;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}

.support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid rgba(76, 51, 168, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: #403797;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 9px 22px rgba(76, 51, 168, .08);
}

.support-button.primary {
  border-color: transparent;
  background: linear-gradient(120deg, #e82951, #c91f47);
  color: #fff;
  box-shadow: 0 12px 28px rgba(201, 31, 71, .2);
}

.support-button:hover {
  transform: translateY(-1px);
}

.support-button:focus-visible {
  outline: 3px solid rgba(50, 105, 180, .36);
  outline-offset: 3px;
}

.support-public-value,
.support-public-warning {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 32px);
  border-radius: 22px;
}

.support-public-value {
  border: 1px solid rgba(31, 142, 126, .17);
  background: linear-gradient(135deg, rgba(235, 251, 247, .96), rgba(239, 248, 255, .95));
}

.support-public-value h3,
.support-public-warning h3 {
  margin-bottom: 10px;
  font-size: clamp(21px, 2.5vw, 28px);
}

.support-public-value p,
.support-public-warning p {
  margin: 0;
  color: #4f5e77;
  line-height: 1.85;
}

.support-public-warning {
  border: 2px solid rgba(184, 104, 28, .23);
  background: linear-gradient(135deg, rgba(255, 249, 231, .98), rgba(255, 244, 239, .96));
}

.support-public-warning h3 {
  color: #824112;
}

.support-public-warning ul {
  display: grid;
  gap: 11px;
  margin: 15px 0;
  padding-left: 1.35em;
  color: #554f50;
  line-height: 1.75;
}

.support-public-warning strong {
  color: #75380d;
}

.support-response-note {
  margin: 20px 4px 0;
  color: #667188;
  font-size: 14px;
  line-height: 1.8;
}

@media (min-width: 901px) {
  .welcome-main {
    padding-top: 34px;
  }

  .welcome-hero {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
    gap: 36px;
    min-height: 0;
    padding: 44px 54px;
  }

  .welcome-copy h1 {
    margin-bottom: 18px;
    font-size: 40px;
  }

  .welcome-lead,
  .welcome-reassurance {
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.7;
  }

  .welcome-reassurance strong {
    font-size: 1em;
  }

  .welcome-price {
    gap: 4px;
    margin: 18px 0;
    padding: 14px 17px;
  }
}

@media (max-width: 900px) {
  .welcome-hero {
    grid-template-columns: minmax(0, 1fr) 280px;
    min-height: 0;
  }

  .welcome-copy h1 {
    font-size: clamp(38px, 5vw, 48px);
  }

  .handoff-steps {
    grid-template-columns: 1fr;
  }

  .agent-route-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .welcome-main {
    padding-top: 38px;
  }

  .welcome-hero {
    grid-template-columns: 1fr;
    padding: 28px;
    border-radius: 28px;
  }

  .welcome-visual {
    grid-row: 1;
    width: min(430px, 100%);
    margin: 0 auto;
  }

  .welcome-visual img {
    height: auto;
    border-radius: 22px;
  }

  .welcome-visual-action {
    justify-content: center;
    margin-top: 17px;
  }

  .welcome-diagram-button {
    width: 100%;
  }

  .howto-heading,
  .howto-diagram-card {
    border-radius: 24px;
  }

  .howto-diagram-heading {
    align-items: flex-start;
  }

  .howto-diagram-number {
    min-width: 50px;
    height: 50px;
    border-radius: 15px;
    font-size: 18px;
  }

  .welcome-copy h1 {
    font-size: clamp(35px, 9vw, 48px);
  }

  .journey-progress {
    margin-top: 38px;
  }

  .journey-progress li small {
    display: none;
  }

  .important-intro {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .important-intro img {
    grid-row: 1;
    width: 170px;
    margin: 0 auto -18px;
  }

  .important-section {
    grid-template-columns: 1fr;
    gap: 13px;
    border-radius: 20px;
  }

  .important-point-list-columns {
    grid-template-columns: 1fr;
  }

  .ai-entry-choice {
    grid-template-columns: 1fr;
  }

  .terms-actions {
    display: grid;
  }

}

@media (max-width: 520px) {
  .welcome-main,
  .terms-guide,
  .support-guide {
    width: min(100% - 20px, 1180px);
  }

  .welcome-hero,
  .important-intro,
  .acknowledgement-panel,
  .terms-heading,
  .handoff-heading,
  .handoff-action,
  .support-heading,
  .support-stage {
    padding: 23px;
  }

  .welcome-copy h1,
  .important-intro h1,
  .handoff-heading h1,
  .terms-heading h1,
  .support-heading h1 {
    font-size: clamp(30px, 8.2vw, 34px);
  }

  .welcome-title-line {
    word-break: keep-all;
  }

  .welcome-mobile-break {
    display: block;
  }

  .journey-primary-button,
  .journey-secondary-button {
    width: 100%;
  }

  .journey-progress::before {
    right: 15%;
    left: 15%;
  }

  .journey-progress li strong {
    font-size: 12px;
  }

  .important-section,
  .terms-section {
    padding: 22px;
  }

  .agent-route-result-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .agent-route-card {
    min-height: 96px;
  }

  .acknowledgement-list label {
    padding: 15px;
  }

  .handoff-prompt-panel {
    grid-template-columns: 1fr;
  }

  .handoff-prompt-panel h3,
  .handoff-prompt-panel .prompt-box {
    grid-column: auto;
  }

  .prompt-copy-button {
    width: 100%;
  }

  .support-route {
    grid-template-columns: 1fr;
  }

  .support-stage-heading {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .support-button {
    width: 100%;
  }
}
