:root {
  --ink: #172033;
  --muted: #64748b;
  --page: #f8fafc;
  --surface: #ffffff;
  --surface-2: #eef4f8;
  --line: #dbe4ee;
  --cyan: #0284c7;
  --logo-blue: #0284c7;
  --yellow: #f59e0b;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 5%, rgba(2, 132, 199, .08), transparent 24rem),
    radial-gradient(circle at 94% 18%, rgba(245, 158, 11, .07), transparent 26rem),
    var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }
p, li { color: #475569; font-size: 16px; line-height: 1.75; }

body > header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
}

.header {
  display: flex;
  min-height: 68px;
  max-width: 1180px;
  margin: auto;
  padding: 10px 20px;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.04em;
}

.logo span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  transform: skew(-8deg);
  border-radius: 9px;
  background: var(--logo-blue);
  color: #fff;
  font-size: 22px;
  font-style: normal;
  box-shadow: 0 0 22px rgba(2, 132, 199, .28);
}

body > header nav { display: flex; gap: 4px; }

body > header nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  transition: color .2s, background .2s;
}

body > header nav a:hover,
body > header nav a:focus-visible {
  background: var(--surface-2);
  color: var(--ink);
}

.search {
  display: flex;
  width: min(310px, 30vw);
  margin-left: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.search:focus-within { border-color: rgba(2, 132, 199, .62); }

.search input {
  min-width: 0;
  flex: 1;
  padding: 10px 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.search button {
  margin: 4px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: var(--cyan);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.container {
  max-width: 1180px;
  margin: auto;
  padding: 0 20px 40px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 520px;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 55px;
  padding: 70px 0 62px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  top: 15%;
  right: -22%;
  width: 620px;
  height: 330px;
  border-radius: 50%;
  background: rgba(2, 132, 199, .09);
  filter: blur(90px);
  content: "";
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 22px;
  height: 2px;
  background: var(--cyan);
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(42px, 6vw, 74px);
  line-height: .98;
  letter-spacing: -.065em;
}

.hero h1 em {
  color: var(--yellow);
  font-style: normal;
}

.hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: #526174;
  font-size: 18px;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin: 26px 0;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s, border-color .2s, background .2s;
}

.btn-primary {
  background: var(--cyan);
  color: #fff;
  box-shadow: 0 10px 30px rgba(2, 132, 199, .2);
}

.btn-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.btn-primary:hover,
.btn-secondary:hover { transform: translateY(-2px); }
.btn-secondary:hover { border-color: rgba(2, 132, 199, .4); }

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 12px;
}

.trust-list li::before {
  position: absolute;
  top: .65em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
  content: "";
}

.hero-art {
  position: relative;
  display: grid;
  min-height: 370px;
  place-items: center;
}

.hero-art img {
  position: absolute;
  width: 190px;
  aspect-ratio: 2 / 3;
  border: 6px solid #fff;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 26px 50px rgba(15, 23, 42, .2);
}

.hero-art img:nth-child(1) { z-index: 3; transform: rotate(-2deg); }
.hero-art img:nth-child(2) { transform: translateX(-130px) rotate(-10deg) scale(.85); opacity: .82; }
.hero-art img:nth-child(3) { transform: translateX(130px) rotate(10deg) scale(.85); opacity: .82; }

/* Mobile reading guide */
.mobile-guide { max-width: 1080px; }
.guide-hero { min-height: 500px; grid-template-columns: 1.2fr .8fr; }
.guide-hero h1 { max-width: 700px; font-size: clamp(42px, 6vw, 70px); }
.phone-card { position: relative; z-index: 1; width: 260px; height: 460px; justify-self: center; padding: 13px; border: 8px solid #172033; border-radius: 38px; background: #172033; box-shadow: 0 30px 65px rgba(15, 23, 42, .28); transform: rotate(5deg); }
.phone-notch { position: absolute; z-index: 2; top: 7px; left: 50%; width: 96px; height: 19px; border-radius: 0 0 13px 13px; background: #172033; transform: translateX(-50%); }
.phone-card > img { display: block; width: 100%; height: 100%; border-radius: 24px; object-fit: cover; object-position: top; }
.guide-intro, .faq-section { max-width: 820px; margin: 62px auto; }.guide-intro h2, .guide-section h2, .troubleshoot h2, .faq-section h2, .final-cta h2 { margin: 0 0 16px; font-size: clamp(28px, 4vw, 42px); line-height: 1.08; letter-spacing: -.045em; }
.guide-section { display: grid; grid-template-columns: .86fr 1.14fr; gap: 54px; margin: 70px 0; padding: 48px 0; border-top: 1px solid var(--line); }.guide-section p { margin-top: 0; }
.step-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }.step-list li { display: flex; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }.step-list li > span { display: grid; flex: 0 0 32px; height: 32px; place-items: center; border-radius: 50%; background: #e0f2fe; color: var(--cyan); font-size: 13px; font-weight: 900; }.step-list p { margin: 4px 0 0; font-size: 14px; line-height: 1.55; }.step-list a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.app-previews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }.app-previews img { display: block; width: 100%; aspect-ratio: 473 / 1024; border: 1px solid var(--line); border-radius: 12px; object-fit: cover; object-position: top; box-shadow: 0 10px 20px rgba(15, 23, 42, .08); }
.platform-cards, .compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }.platform-cards article, .compare-grid article, .fix-grid article { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }.platform-cards h3, .compare-grid h3 { margin: 0 0 10px; font-size: 17px; }.platform-cards ol, .compare-grid ul { margin: 0; padding-left: 20px; }.platform-cards li, .compare-grid li { margin: 7px 0; font-size: 14px; line-height: 1.5; }
.troubleshoot { margin: 70px 0; padding: 42px; border-radius: 24px; background: #e9f7ff; }.fix-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 25px; }.fix-grid article { padding: 18px; }.fix-grid b { font-size: 14px; }.fix-grid p { margin: 8px 0 0; font-size: 13px; line-height: 1.55; }
.faq-section details { padding: 18px 0; border-bottom: 1px solid var(--line); }.faq-section summary { cursor: pointer; color: var(--ink); font-weight: 800; }.faq-section details p { margin: 12px 0 0; font-size: 15px; }.final-cta { max-width: 820px; margin: 74px auto 22px; padding: 42px; border-radius: 24px; background: var(--ink); text-align: center; }.final-cta h2 { color: #fff; }.final-cta p { margin: 0 auto 25px; color: #cbd5e1; }.final-cta .btn-primary { background: var(--yellow); color: #172033; box-shadow: none; }

.section-title {
  display: flex;
  margin: 58px 0 20px;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  letter-spacing: -.035em;
}

.section-title::before {
  width: 4px;
  height: 24px;
  border-radius: 4px;
  background: linear-gradient(var(--cyan), var(--yellow));
  content: "";
}

h1.section-title { font-size: 32px; }

.manga-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.manga-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .22s, border-color .22s, box-shadow .22s;
}

.manga-card:hover {
  transform: translateY(-5px);
  border-color: rgba(2, 132, 199, .42);
  box-shadow: 0 18px 38px rgba(15, 23, 42, .12);
}

.manga-card img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform .35s;
}

.manga-card:hover img { transform: scale(1.025); }

.manga-info {
  min-height: 84px;
  padding: 13px;
  color: var(--muted);
  font-size: 12px;
}

.manga-info strong {
  display: -webkit-box;
  margin-bottom: 7px;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.feature-image {
  display: block;
  width: 100%;
  max-height: 520px;
  margin: 26px auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  object-fit: cover;
  object-position: top;
}

.content-pillar,
main > table,
main > ul,
main > h3,
main > h3 + p,
main > .section-title:not(#latest):not(#manga-list) {
  max-width: 900px;
}

.content-pillar {
  margin-top: 28px;
  padding: 1px 28px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .78);
}

.content-pillar .section-title { margin-top: 28px; }

table {
  width: 100%;
  margin: 20px 0;
  overflow: hidden;
  border-collapse: separate;
  border: 1px solid var(--line);
  border-spacing: 0;
  border-radius: 14px;
  color: #475569;
  font-size: 14px;
}

th {
  padding: 13px 15px;
  background: var(--surface-2);
  color: var(--ink);
  text-align: left;
}

td { padding: 12px 15px; border-top: 1px solid var(--line); }
tr:nth-child(even) td { background: #f8fafc; }

footer {
  margin-top: 45px;
  padding: 30px 20px;
  border-top: 1px solid var(--line);
  background: #eef4f8;
  text-align: center;
}

footer p { margin: 3px; color: #64748b; font-size: 12px; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 900;
  font-style: italic;
}

.footer-brand span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  transform: skew(-8deg);
  border-radius: 7px;
  background: var(--logo-blue);
  color: #fff;
  font-style: normal;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 18px;
}

.footer-links a { color: #526174; font-size: 12px; }
.footer-links a:hover { color: var(--cyan); background: transparent; }

.header-action {
  margin-left: auto;
  padding: 9px 15px;
  border: 1px solid var(--cyan);
  border-radius: 999px;
  background: var(--cyan);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(2, 132, 199, .22);
  transition: transform .2s, background .2s, box-shadow .2s;
}

.header-action:hover,
.header-action:focus-visible {
  background: #0369a1;
  box-shadow: 0 11px 25px rgba(2, 132, 199, .3);
  transform: translateY(-1px);
}

.legal-wrap {
  width: min(100% - 28px, 940px);
  margin: auto;
  padding-bottom: 60px;
}

.legal-hero {
  padding: 72px 0 38px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
  letter-spacing: -.06em;
}

.legal-hero > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 13px; }

.legal-content {
  padding: 38px 0;
}

.legal-content h2 {
  margin: 38px 0 10px;
  color: var(--ink);
  font-size: 22px;
  letter-spacing: -.025em;
}

.legal-content p,
.legal-content li { max-width: 820px; }

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  body > header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-art { min-height: 330px; }
  .manga-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-hero, .guide-section { grid-template-columns: 1fr; gap: 28px; }.phone-card { margin: 10px auto 0; }.fix-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .header { min-height: 60px; padding: 8px 14px; }
  .logo { font-size: 14px; }
  .logo span { width: 30px; height: 30px; }
  .search { width: min(58vw, 250px); }
  .search button { display: none; }
  .container { padding: 0 14px 32px; }
  .hero { min-height: auto; padding: 52px 0 44px; }
  .hero h1 { font-size: clamp(40px, 14vw, 58px); }
  .hero-lead { font-size: 16px; }
  .hero-art { min-height: 270px; transform: scale(.78); margin: -18px 0; }
  .cta-group { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; }
  .trust-list { gap: 10px 16px; }
  .section-title { margin-top: 42px; font-size: 23px; }
  .manga-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .manga-card { border-radius: 13px; }
  .content-pillar { padding: 1px 17px 14px; }
  .guide-intro, .faq-section { margin: 46px 0; }.guide-section { margin: 48px 0; padding: 38px 0; }.platform-cards, .compare-grid, .fix-grid { grid-template-columns: 1fr; }.troubleshoot, .final-cta { margin: 48px 0; padding: 28px 20px; }.phone-card { transform: scale(.88) rotate(4deg); margin: -15px auto -28px; }
  .app-previews { gap: 7px; }
  p, li { font-size: 15px; }
  table { display: block; overflow-x: auto; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
