:root {
  --ink: #10201e;
  --muted: #5c6d69;
  --paper: #fbf7eb;
  --panel: #ffffff;
  --deep: #071816;
  --line: rgba(16, 32, 30, 0.12);
  --mint: #74e7c4;
  --gold: #f3c85e;
  --coral: #e96f4b;
  --blue: #436bff;
  --shadow: 0 24px 70px rgba(7, 24, 22, 0.16);
  --wrap: min(1180px, calc(100% - 32px));
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(116, 231, 196, 0.22), transparent 28%),
    linear-gradient(225deg, rgba(233, 111, 75, 0.18), transparent 30%),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
main { overflow: hidden; }
.wrap { width: var(--wrap); margin: 0 auto; }

.notice-bar {
  background: var(--deep);
  color: #dff8ef;
  font-size: 0.88rem;
}

.notice-bar .wrap { padding: 9px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 235, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.logo img {
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(7, 24, 22, 0.18);
}

.logo span { display: grid; line-height: 1; }
.logo strong { font-size: 1.24rem; letter-spacing: 0; }
.logo em { font-style: normal; color: var(--coral); font-weight: 800; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #40514e;
  font-size: 0.94rem;
  font-weight: 800;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--deep);
  background: rgba(116, 231, 196, 0.35);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffaf0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--deep);
}

.hero {
  position: relative;
  padding: 54px 0 42px;
  color: #f6fff9;
  background:
    radial-gradient(circle at 84% 16%, rgba(116, 231, 196, 0.16), transparent 28%),
    radial-gradient(circle at 70% 78%, rgba(243, 200, 94, 0.14), transparent 24%),
    linear-gradient(115deg, rgba(7, 24, 22, 0.98), rgba(7, 24, 22, 0.92)),
    var(--deep);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9px;
  background: linear-gradient(90deg, var(--mint), var(--gold), var(--coral));
}

.hero-layout {
  min-height: min(650px, calc(100svh - 128px));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 30px;
}

.micro {
  display: inline-flex;
  width: fit-content;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(116, 231, 196, 0.18);
  color: #14453a;
  border: 1px solid rgba(116, 231, 196, 0.4);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .micro { color: #a9ffe6; }

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

h1 {
  margin: 18px 0 18px;
  max-width: 820px;
  font-size: clamp(2.85rem, 8vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 760px;
  color: #c9dfd8;
  font-size: clamp(1.02rem, 2.1vw, 1.24rem);
  line-height: 1.65;
}

.hero-actions,
.age-actions,
.white-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--coral));
  color: #1b1209;
  box-shadow: 0 14px 30px rgba(233, 111, 75, 0.24);
}

.btn-soft {
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-quiet {
  background: #eef4ef;
  color: var(--ink);
}

.ranking-section,
.white-section,
.method-section,
.faq-section,
.content-band { padding: 66px 0; }

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section-head h2,
.method-layout h2,
.page-hero h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-head p,
.method-layout p,
.page-hero p,
.legal-copy p,
.prose-grid p,
.contact-panel p { color: var(--muted); line-height: 1.7; }

.brand-list { display: grid; gap: 14px; }

.brand-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px 150px minmax(0, 1fr) 250px 155px;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 46px rgba(7, 24, 22, 0.08);
}

.rank-badge,
.white-rank {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--deep);
  color: var(--gold);
  font-weight: 900;
}

.brand-logo {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 14px;
  border-radius: 8px;
  background: #0d201d;
}

.brand-logo img {
  max-height: 58px;
  object-fit: contain;
}

.brand-titleline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.brand-titleline h3 { margin: 0; font-size: 1.55rem; }
.brand-titleline span,
.white-card > span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(67, 107, 255, 0.1);
  color: #243fbd;
  font-size: 0.78rem;
  font-weight: 900;
}

.brand-main p { margin: 8px 0; color: var(--muted); line-height: 1.55; }
.brand-main strong { display: block; font-size: 1.05rem; }
.brand-main small { color: #7b817e; }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.metric-grid span {
  min-height: 70px;
  padding: 10px;
  border-radius: 8px;
  background: #f2f7f0;
  color: #5a6966;
  font-size: 0.78rem;
}

.metric-grid b {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.score-box { display: grid; gap: 8px; justify-items: stretch; }
.score-box strong { font-size: 1.45rem; text-align: center; }
.stars { color: #f1b530; text-align: center; letter-spacing: 0; }
.score-box .btn { min-height: 42px; padding-inline: 12px; }

.white-section {
  background:
    linear-gradient(180deg, rgba(7, 24, 22, 0.04), rgba(7, 24, 22, 0)),
    #fffdf7;
}

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

.white-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.white-card h3 { margin: 14px 0 8px; font-size: 1.8rem; }
.white-card ul { padding-left: 20px; color: var(--muted); line-height: 1.8; }
.white-card .btn-soft { color: var(--deep); border-color: var(--line); background: #f4f4ec; }
.white-bottom { justify-content: space-between; }
.white-bottom strong { font-size: 2rem; }
.white-bottom small { display: block; font-size: 0.72rem; color: var(--muted); }

.method-section {
  color: #ecfff8;
  background:
    linear-gradient(135deg, rgba(116, 231, 196, 0.12), transparent 32%),
    var(--deep);
}

.method-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
}

.method-layout .micro { color: #a9ffe6; }
.method-layout p { color: #b8d0c9; }

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

.method-grid article,
.faq-grid article {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.method-grid b { color: var(--gold); }
.method-grid h3 { margin: 10px 0 8px; }

.faq-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
}

.faq-grid article {
  background: #ffffff;
  border-color: var(--line);
  color: var(--ink);
}

.faq-grid p { color: var(--muted); }
.faq-grid strong { line-height: 1.55; }

.page-hero {
  padding: 70px 0 38px;
  background: linear-gradient(135deg, #09211f, #153b33);
  color: #f4fff9;
}

.page-hero p { max-width: 760px; color: #cae2db; }
.prose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.prose-grid article,
.contact-panel,
.legal-copy {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 46px rgba(7, 24, 22, 0.08);
}

.legal-copy { max-width: 920px; }
.legal-copy h2 { margin: 28px 0 8px; }
.legal-copy h2:first-child { margin-top: 0; }
.contact-panel { max-width: 720px; }
.contact-panel h2 { overflow-wrap: anywhere; }

.site-footer {
  padding: 48px 0 26px;
  color: #dcefe9;
  background: #06110f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.8fr;
  gap: 28px;
}

.footer-grid section { display: grid; align-content: start; gap: 10px; }
.footer-grid h2 { margin: 0; color: #ffffff; font-size: 1rem; }
.footer-grid a { color: #dcefe9; }
.footer-grid p,
.legal-note p { color: #aebfba; line-height: 1.7; }
.footer-logo img { box-shadow: none; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.trust-strip a,
.trust-strip > img {
  display: grid;
  place-items: center;
  min-width: 70px;
  height: 38px;
  padding: 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip img { max-height: 24px; width: auto; object-fit: contain; }
.legal-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); }

.age-wall {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 10, 9, 0.8);
  backdrop-filter: blur(16px);
}

.age-box {
  max-width: 520px;
  padding: 28px;
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: var(--shadow);
}

.cookie-box {
  position: fixed;
  z-index: 45;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  max-width: 560px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: var(--shadow);
}

.cookie-box p { margin: 0; color: var(--muted); line-height: 1.45; }

[hidden] { display: none !important; }

@media (max-width: 1024px) {
  .hero-layout,
  .method-layout,
  .footer-grid { grid-template-columns: 1fr; }
  .brand-card { grid-template-columns: 42px 132px minmax(0, 1fr); }
  .metric-grid,
  .score-box { grid-column: 3; }
  .score-box { grid-template-columns: 1fr 1fr; align-items: center; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdf7;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: grid; }
  .hero-layout { min-height: auto; }
  .hero {
    padding: 22px 0 18px;
  }
  .hero .micro,
  .hero-copy p,
  .hero-actions {
    display: none;
  }
  .hero h1 {
    max-width: 100%;
    margin: 0;
    font-size: clamp(2.05rem, 12vw, 3.45rem);
    line-height: 0.96;
  }
  .ranking-section {
    padding-top: 24px;
  }
  .ranking-section .section-head {
    display: none;
  }
  .brand-card {
    grid-template-columns: 38px 92px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 12px;
  }
  .brand-logo {
    grid-column: auto;
    min-height: 54px;
    padding: 8px;
  }
  .brand-logo img {
    max-height: 34px;
  }
  .brand-main {
    grid-column: auto;
  }
  .metric-grid {
    display: none;
  }
  .score-box {
    grid-column: 1 / -1;
  }
  .brand-titleline h3 {
    font-size: 1.08rem;
  }
  .brand-titleline span {
    padding: 4px 7px;
    font-size: 0.68rem;
  }
  .brand-main p {
    display: none;
  }
  .score-box {
    grid-template-columns: auto auto minmax(118px, 1fr);
    align-items: center;
    gap: 10px;
  }
  .brand-main strong { font-size: 0.92rem; }
  .brand-main small { display: none; }
  .score-box strong,
  .stars {
    text-align: left;
  }
  .score-box strong { font-size: 1.06rem; }
  .stars { font-size: 0.86rem; }
  .score-box .btn {
    min-height: 38px;
    padding: 9px 10px;
    font-size: 0.86rem;
  }
  .white-grid,
  .method-grid,
  .faq-grid,
  .prose-grid { grid-template-columns: 1fr; }
  .cookie-box { left: 12px; right: 12px; grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .wrap { width: min(100% - 22px, 1180px); }
  .notice-bar { font-size: 0.78rem; }
  .logo strong { font-size: 1.06rem; }
  .logo img { width: 46px; height: 46px; }
  h1 { font-size: 2.52rem; }
  .hero h1 { font-size: clamp(1.82rem, 11vw, 2.72rem); }
  .ranking-section,
  .white-section,
  .method-section,
  .faq-section,
  .content-band { padding: 44px 0; }
  .metric-grid { grid-template-columns: 1fr; }
  .score-box { grid-template-columns: 1fr; }
  .white-card,
  .method-grid article,
  .faq-grid article,
  .prose-grid article,
  .legal-copy,
  .contact-panel { padding: 18px; }
}

@media (max-width: 768px) {
  .notice-bar {
    display: none;
  }
  .nav-row {
    min-height: 64px;
  }
  .logo img {
    width: 42px;
    height: 42px;
  }
  .hero {
    padding: 16px 0 14px;
  }
  .hero h1 {
    font-size: clamp(1.72rem, 9vw, 2.35rem);
    line-height: 0.98;
  }
  .ranking-section {
    padding: 14px 0 36px;
  }
  .brand-list {
    gap: 8px;
  }
  .brand-card {
    grid-template-columns: 46px 124px minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    padding: 10px;
  }
  .rank-badge {
    width: 46px;
    height: 72px;
    font-size: 1.05rem;
  }
  .brand-logo {
    min-height: 72px;
    padding: 8px;
  }
  .brand-logo img {
    max-height: 42px;
    max-width: 108px;
  }
  .brand-titleline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
    align-items: start;
  }
  .brand-titleline h3 {
    font-size: 1.08rem;
    line-height: 1.05;
  }
  .brand-titleline span {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    padding: 4px 8px;
    font-size: 0.68rem;
    line-height: 1.05;
    white-space: normal;
  }
  .brand-main strong {
    margin-top: 4px;
    font-size: 0.9rem;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }
  .score-box {
    grid-template-columns: auto minmax(150px, 1fr);
    gap: 10px;
    align-items: center;
    padding-top: 2px;
  }
  .stars {
    display: none;
  }
  .score-box strong {
    font-size: 1.02rem;
    line-height: 1;
  }
  .score-box .btn {
    min-height: 40px;
    padding: 9px 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 380px) {
  .brand-card {
    grid-template-columns: 40px 104px minmax(0, 1fr);
  }
  .rank-badge,
  .brand-logo {
    height: 66px;
    min-height: 66px;
  }
  .rank-badge {
    width: 40px;
  }
  .brand-logo img {
    max-width: 92px;
    max-height: 36px;
  }
  .brand-titleline h3 {
    font-size: 1rem;
  }
  .brand-main strong {
    font-size: 0.84rem;
  }
  .score-box {
    grid-template-columns: auto minmax(126px, 1fr);
  }
}
