:root {
  --bg: #ffffff;
  --bg-soft: #f7f8ff;
  --bg-tint: #f3f6ff;
  --surface: #ffffff;
  --surface-strong: #fbfcff;
  --text: #111827;
  --text-soft: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --line-strong: #d7def0;
  --blue: #58b9ff;
  --blue-deep: #2563eb;
  --purple: #8b7eff;
  --purple-soft: #d8d0ff;
  --accent: #a97cff;
  --gradient: linear-gradient(135deg, #58b9ff 0%, #8b7eff 100%);
  --gradient-soft: linear-gradient(135deg, rgba(88, 185, 255, 0.14), rgba(139, 126, 255, 0.16));
  --shadow-soft: 0 20px 60px rgba(17, 24, 39, 0.08);
  --shadow-card: 0 12px 36px rgba(17, 24, 39, 0.06);
  --radius: 8px;
  --header-height: 72px;
  --font: "Inter", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 12%, rgba(216, 208, 255, 0.42), transparent 28rem),
    radial-gradient(circle at 12% 36%, rgba(88, 185, 255, 0.16), transparent 24rem),
    var(--bg);
  font-family: var(--font);
  line-height: 1.75;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
li,
dd,
small,
a,
span {
  overflow-wrap: anywhere;
}

/* Keep supporting copy left-aligned, even inside centered heading layouts. */
p,
li,
dd,
small,
figcaption {
  text-align: left;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

::selection {
  background: rgba(139, 126, 255, 0.22);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--text);
  transition: transform 0.2s ease;
}

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

.container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.container.narrow {
  width: min(900px, calc(100% - 48px));
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 231, 235, 0);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(229, 231, 235, 0.9);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
}

.header-inner {
  width: min(1280px, calc(100% - 48px));
  height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0;
}

.brand::after,
.footer-brand::after {
  content: "Lyra Japan";
  font-size: 18px;
  line-height: 1;
}

.brand-logo,
.footer-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--purple);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.desktop-language-switch {
  margin-left: -14px;
}

.language-switch-button {
  min-width: 42px;
  min-height: 32px;
  padding: 4px 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease;
}

.language-switch-button:not(:disabled):hover,
.language-switch-button:not(:disabled):focus-visible {
  color: var(--purple);
}

.language-switch-button:disabled {
  background: var(--gradient);
  color: #fff;
  cursor: default;
  opacity: 1;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-cta,
.button-primary {
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 12px 28px rgba(139, 126, 255, 0.28);
}

.button-secondary {
  color: var(--purple);
  background: #fff;
  border: 1px solid rgba(139, 126, 255, 0.38);
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: calc(var(--header-height) + 68px) 0 72px;
  overflow: hidden;
  --hero-manga-opacity: 0.22;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 44%, rgba(246, 244, 255, 0.68) 100%),
    radial-gradient(circle at 76% 36%, rgba(88, 185, 255, 0.22), transparent 20rem),
    radial-gradient(circle at 76% 72%, rgba(139, 126, 255, 0.24), transparent 26rem);
  z-index: -2;
}

.hero-manga-backdrop {
  position: absolute;
  inset: -18% 0 -8%;
  z-index: -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 3px;
  overflow: hidden;
  filter: saturate(1.15) contrast(0.92) brightness(1.04);
  opacity: var(--hero-manga-opacity);
  mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
  pointer-events: none;
  transition: opacity 0.08s linear;
}

.hero-manga-backdrop img {
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
}

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

.hero-copy {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker::before,
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
}

.hero-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-title span {
  display: block;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1080px;
  margin: 44px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.hero-benefit {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 126px;
  padding: 22px;
  border: 1px solid rgba(214, 222, 245, 0.8);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 40px rgba(66, 85, 151, 0.08);
  backdrop-filter: blur(12px);
}

.hero-benefit-number,
.hero-platform-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--purple);
  background: rgba(139, 126, 255, 0.1);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-benefit-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.hero-benefit p {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.hero-cta {
  max-width: 900px;
  margin: 34px auto 0;
}

.hero-cta-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 16px;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
}

.hero-cta-title::before,
.hero-cta-title::after {
  content: "";
  width: min(100px, 14vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107, 125, 215, 0.55));
}

.hero-cta-title::after {
  transform: scaleX(-1);
}

.hero-actions,
.section-actions,
.demo-actions,
.app-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

.hero-actions .button {
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
}

.hero-platform-badge {
  min-width: 29px;
  height: 29px;
  padding: 0 6px;
  border-radius: 9px;
}

.button-primary .hero-platform-badge {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.hero-visual {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
}

.hero-brand-art {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: var(--radius);
  background: #030507;
  box-shadow: var(--shadow-soft);
}

.hero-brand-art img {
  width: 100%;
  height: auto;
}

.sparkle-field {
  position: absolute;
  inset: 0;
  border-radius: 36px;
  background:
    radial-gradient(circle at 18% 24%, rgba(139, 126, 255, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 36% 68%, rgba(88, 185, 255, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 58% 38%, rgba(139, 126, 255, 0.75) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 62%, rgba(88, 185, 255, 0.75) 0 1px, transparent 2px),
    var(--gradient-soft);
  opacity: 0.9;
}

.hero-screenshot {
  position: absolute;
  right: 0;
  bottom: 36px;
  width: min(500px, 100%);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 222, 240, 0.88);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.hero-screenshot img {
  width: 100%;
  height: auto;
}

.floating-card {
  position: absolute;
  left: 0;
  top: 64px;
  width: min(300px, 72%);
  padding: 20px;
  border: 1px solid rgba(215, 222, 240, 0.88);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
}

.floating-card span {
  display: block;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-card strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.45;
}

.scroll-cue {
  position: absolute;
  right: 34px;
  bottom: 42px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  z-index: 1;
}

.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 72px;
  background: linear-gradient(var(--purple), transparent);
}

.section,
.app-cta-section {
  padding: 92px 0;
}

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

.section-tint {
  background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 100%);
}

.section-heading {
  margin-bottom: 40px;
}

.section-heading.center {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.center .eyebrow {
  justify-content: center;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

.section-heading h1 {
  font-size: 48px;
}

.section-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.section-heading.center .section-lead {
  margin-right: auto;
  margin-left: auto;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
}

.product-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 44px;
  align-items: center;
}

.product-copy p,
.company-copy p,
.vision-copy p,
.founder-copy p {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 2;
}

.media-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.media-frame img {
  width: 100%;
  height: auto;
}

.media-frame figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  border-top: 1px solid var(--line);
  background: var(--surface-strong);
}

.screenshot-frame {
  cursor: zoom-in;
}

.feature-grid,
.support-link-grid,
.summary-grid,
.metric-grid,
.legal-card-grid {
  display: grid;
  gap: 18px;
}

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

.summary-card,
.support-link-card,
.metric-card,
.workflow-step,
.legal-panel,
.legal-toc,
.feature-mini-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
}

.summary-card,
.metric-card,
.feature-mini-card {
  padding: 24px;
}

.summary-card span,
.support-link-card span,
.metric-card span,
.feature-mini-card span {
  display: block;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-card h3,
.feature-mini-card h3 {
  margin: 10px 0 10px;
  font-size: 19px;
  line-height: 1.5;
}

.summary-card p,
.feature-mini-card p,
.support-link-card small {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.app-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(139, 126, 255, 0.25);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 248, 255, 0.94)),
    var(--gradient-soft);
  box-shadow: var(--shadow-soft);
}

.app-cta h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.35;
}

.app-cta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.app-cta-url {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: center;
}

.comparison {
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.comparison-head,
.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.comparison-head span {
  padding: 14px 18px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  background: var(--bg-soft);
}

.comparison-row span {
  padding: 14px 18px;
  color: var(--text-soft);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.comparison-head span:first-child,
.comparison-row span:first-child {
  border-right: 1px solid var(--line);
}

.feature-list {
  display: grid;
  gap: 48px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 40px;
  align-items: center;
}

.feature-row-reverse {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
}

.feature-row-reverse .feature-visual {
  order: 2;
}

.feature-row-reverse .feature-copy {
  order: 1;
}

.feature-copy {
  padding: 8px 0;
}

.feature-number {
  margin: 0 0 10px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-copy h3 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.35;
}

.feature-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 2;
}

.screenshot-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-step {
  padding: 24px;
}

.step-badge {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--gradient);
  font-weight: 800;
}

.workflow-step h3 {
  margin: 16px 0 10px;
  font-size: 18px;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.workflow-actions {
  justify-content: center;
  margin-top: 34px;
}

.workflow-detail-button {
  min-height: 54px;
  padding-inline: 30px;
  font-size: 16px;
  box-shadow: 0 14px 32px rgba(98, 111, 244, 0.28);
}

.demo-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.youtube-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #eef2ff;
}

.youtube-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-actions {
  padding: 18px;
  justify-content: flex-end;
}

.manga-showcase {
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 18%, rgba(88, 185, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 84% 74%, rgba(139, 126, 255, 0.18), transparent 30rem),
    #f8faff;
}

.manga-quality-note {
  display: flex;
  width: min(820px, 100%);
  align-items: center;
  gap: 16px;
  margin: -8px auto 28px;
  padding: 16px 20px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.manga-quality-label {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--gradient);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.manga-quality-note strong {
  font-size: 16px;
  line-height: 1.7;
}

.manga-sample {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid rgba(37, 99, 235, 0.18);
}

.manga-sample-primary {
  margin-top: 42px;
  padding-top: 0;
  border-top: 0;
}

.manga-sample-copy {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 0 4px;
}

.manga-sample-copy .eyebrow {
  margin-bottom: 10px;
}

.manga-sample-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.04em;
}

.manga-sample-copy > p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.manga-sample-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 0;
}

.manga-sample-facts div {
  display: flex;
  min-width: 168px;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
}

.manga-sample-facts dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.manga-sample-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}

.manga-sample .manga-reader {
  margin-top: 30px;
}

.manga-reader {
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.2);
  border-radius: 16px;
  background: #111827;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.22);
}

.manga-reader-toolbar {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px 10px 20px;
  color: #fff;
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}

.manga-reader-hint {
  margin: 0;
  color: #dbeafe;
  font-size: 14px;
  font-weight: 600;
}

.manga-reader-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.manga-page-status {
  min-width: 70px;
  color: #fff;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  text-align: center;
}

.manga-nav-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.manga-nav-button:not(:disabled):hover,
.manga-nav-button:not(:disabled):focus-visible {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.manga-nav-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.manga-progress {
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.manga-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  transform: scaleX(0.1666667);
  transform-origin: right center;
  transition: transform 0.25s ease;
}

.manga-reader-viewport {
  direction: rtl;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.manga-reader-viewport::-webkit-scrollbar {
  display: none;
}

.manga-reader-viewport:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -3px;
}

.manga-track {
  display: flex;
  direction: rtl;
  margin: 0;
  padding: 24px 0 28px;
  list-style: none;
}

.manga-page {
  display: grid;
  direction: ltr;
  flex: 0 0 100%;
  place-items: center;
  padding: 0 28px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.manga-page img {
  width: auto;
  height: min(80svh, 960px);
  max-width: 100%;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.42);
  object-fit: contain;
  user-select: none;
}

.company-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 34px;
  align-items: start;
}

.company-table {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.company-table div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
}

.company-table div:first-child {
  border-top: 0;
}

.company-table dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.company-table dd {
  margin: 0;
  color: var(--text-soft);
}

.founder-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.founder-photo {
  margin: 0;
}

.founder-photo img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: left center;
  box-shadow: var(--shadow-card);
}

.founder-name {
  margin-top: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}

.role-label {
  color: var(--purple) !important;
  font-size: 13px !important;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: 140px 84px 1fr;
  gap: 22px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.news-item time {
  color: var(--muted);
  font-weight: 700;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 999px;
  color: var(--purple);
  background: rgba(139, 126, 255, 0.12);
  font-size: 12px;
  font-weight: 800;
}

.news-title-text {
  color: var(--text-soft);
}

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

.support-link-card {
  display: block;
  padding: 24px;
}

.support-link-card strong {
  display: block;
  margin: 8px 0;
  font-size: 18px;
  line-height: 1.45;
}

.support-link-card:hover {
  border-color: rgba(139, 126, 255, 0.44);
  box-shadow: 0 16px 42px rgba(139, 126, 255, 0.12);
}

.contact-email {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.contact-email-label {
  margin: 0;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-email-address {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
}

.contact-email-button {
  width: fit-content;
}

.page-hero,
.legal-page-hero {
  padding: calc(var(--header-height) + 64px) 0 58px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}

.page-hero + .section,
.page-hero + .app-cta-section {
  padding-top: 64px;
}

.legal-main {
  background: var(--bg);
}

.legal-content-section {
  padding: 64px 0 92px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 4px;
  padding: 16px;
}

.legal-toc-title {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-toc a {
  padding: 9px 10px;
  border-radius: var(--radius);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
}

.legal-toc a:hover,
.legal-toc a.is-current {
  color: var(--purple);
  background: rgba(139, 126, 255, 0.1);
}

.legal-panel {
  padding: 34px;
}

.legal-block {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.legal-block:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-block h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.5;
}

.legal-block h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}

.legal-block p,
.legal-block li,
.legal-table dd {
  color: var(--text-soft);
  line-height: 1.9;
}

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

.legal-list {
  margin: 12px 0 0;
  padding-left: 1.2em;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.legal-meta {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.legal-table {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-table div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

.legal-table div:first-child {
  border-top: 0;
}

.legal-table dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: grid;
  gap: 24px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.footer-nav a:hover {
  color: var(--purple);
}

.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.image-modal[hidden] {
  display: none;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 24, 39, 0.72);
}

.image-modal-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  background: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.image-modal-panel {
  width: min(1120px, 100%);
  max-height: calc(100svh - 96px);
  overflow: auto;
  border-radius: var(--radius);
  background: #fff;
}

.image-modal-img {
  width: 100%;
  height: auto;
}

.image-modal-caption {
  margin: 0;
  padding: 14px 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.animate-load {
  opacity: 0;
  transform: translateY(16px);
}

.animate-on-scroll {
  opacity: 1;
  transform: none;
}

.animate-load {
  animation: rise-in 0.72s ease forwards;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-description {
  max-width: 48rem;
  margin: 1.25rem 0;
  color: var(--muted);
  font-size: clamp(.95rem, 1.4vw, 1.08rem);
  line-height: 1.9;
}

.language-switch-button[aria-current="page"] {
  background: var(--gradient);
  color: #fff;
  pointer-events: none;
}

a.language-switch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.breadcrumbs {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
}

.breadcrumbs a,
.guide-article a,
.seo-guides h3 a {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.guide-main h1 {
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.guide-article p,
.guide-article li {
  line-height: 2;
}

.guide-article section + section {
  margin-top: 2.5rem;
}

.guide-figure {
  margin: 0 0 2.5rem;
}

.guide-figure img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.guide-figure figcaption {
  margin-top: .75rem;
  color: var(--muted);
  font-size: .88rem;
}

.error-page {
  padding-top: 16vh;
  padding-bottom: 6rem;
}

.delay-1 {
  animation-delay: 0.08s;
}

.delay-2 {
  animation-delay: 0.16s;
}

.delay-3 {
  animation-delay: 0.24s;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .desktop-language-switch {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    border-bottom: 1px solid transparent;
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    transition: max-height 0.25s ease, padding 0.25s ease, opacity 0.2s ease, border-color 0.2s ease;
  }

  .mobile-nav.is-open {
    max-height: calc(100svh - var(--header-height));
    padding: 12px 24px 20px;
    border-color: var(--line);
    opacity: 1;
  }

  .mobile-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
  }

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

  .mobile-language-switch {
    width: fit-content;
    margin-top: 4px;
  }

  .hero-grid,
  .product-summary,
  .product-layout,
  .split-section,
  .company-panel,
  .founder-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 64px);
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
    max-width: 640px;
  }

  .floating-card {
    top: 24px;
  }

  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
  }

  .feature-row-reverse .feature-visual,
  .feature-row-reverse .feature-copy {
    order: initial;
  }

  .feature-copy {
    order: 1;
  }

  .feature-visual {
    order: 2;
  }

  .summary-grid,
  .support-link-grid,
  .workflow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .legal-toc {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  .container,
  .container.narrow,
  .header-inner {
    width: min(100% - 32px, 1120px);
  }

  .brand::after,
  .footer-brand::after {
    font-size: 16px;
  }

  .brand-logo,
  .footer-logo {
    width: 32px;
    height: 32px;
  }

  .hero {
    padding-bottom: 56px;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-title span {
    display: block;
  }

  .hero-lead,
  .section-lead,
  .product-copy p,
  .company-copy p,
  .vision-copy p,
  .founder-copy p {
    font-size: 15px;
  }

  .hero-manga-backdrop {
    inset: -8% 0 -4%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 2px;
    mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 92%);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 92%);
  }

  .hero-benefits {
    gap: 10px;
    margin-top: 30px;
  }

  .hero-benefit {
    min-height: 0;
    gap: 12px;
    padding: 16px;
    border-radius: 16px;
  }

  .hero-benefit p {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-cta {
    margin-top: 26px;
  }

  .hero-cta-title {
    margin-bottom: 12px;
    font-size: 19px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions .button {
    min-height: 50px;
    font-size: 15px;
  }

  .scroll-cue {
    display: none;
  }

  .section,
  .app-cta-section {
    padding: 64px 0;
  }

  .section-heading h1 {
    font-size: 36px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .summary-grid,
  .support-link-grid,
  .workflow-list,
  .screenshot-pair,
  .news-item {
    grid-template-columns: 1fr;
  }

  .company-table div,
  .legal-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .founder-photo img {
    width: 150px;
    height: 150px;
  }

  .founder-layout {
    gap: 28px;
  }

  .feature-row,
  .feature-row-reverse {
    gap: 24px;
  }

  .contact-email-address {
    font-size: 19px;
  }

  .manga-quality-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: -12px;
    padding: 16px;
  }

  .manga-quality-note strong {
    font-size: 15px;
  }

  .manga-sample {
    margin-top: 42px;
    padding-top: 36px;
  }

  .manga-sample-primary {
    margin-top: 32px;
    padding-top: 0;
  }

  .manga-sample-copy {
    padding: 0;
  }

  .manga-sample-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .manga-sample-facts {
    gap: 8px;
  }

  .manga-sample-facts div {
    flex: 1 1 145px;
    min-width: 0;
    padding: 10px 12px;
  }

  .manga-sample .manga-reader {
    margin-top: 22px;
  }

  .manga-reader {
    margin-right: -16px;
    margin-left: -16px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .manga-reader-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px 12px;
  }

  .manga-reader-controls {
    width: 100%;
    justify-content: flex-end;
  }

  .manga-page-status {
    margin-right: auto;
    text-align: left;
  }

  .manga-track {
    padding: 12px 0 16px;
  }

  .manga-page {
    padding: 0 10px;
  }

  .manga-page img {
    height: auto;
  }

  .legal-panel {
    padding: 24px;
  }

  .scroll-cue {
    display: none;
  }
}
