:root {
  --ink: #242424;
  --deep: #151515;
  --muted: #666;
  --paper: #f1f1f1;
  --white: #fff;
  --panel: #e6e6e6;
  --line: #c6c6c6;
  --soft-line: #dcdcdc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.shell, .wide-shell { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }

.topbar { position: sticky; top: 0; z-index: 25; background: var(--white); border-bottom: 1px solid var(--deep); }
.topbar-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.wordmark { display: inline-flex; text-decoration: none; }
.wordmark img { width: 246px; height: 58px; }
.main-nav { display: flex; align-items: center; gap: 25px; font-size: .84rem; font-weight: 700; }
.main-nav a { text-decoration: none; color: var(--ink); border-bottom: 1px solid transparent; transition: border-color .25s ease, color .25s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--deep); border-color: var(--deep); }

.hero-section { position: relative; overflow: hidden; background: var(--panel); color: var(--deep); padding: 78px 0 70px; border-bottom: 1px solid var(--deep); }
.hero-section::before { content: ""; position: absolute; width: 50%; height: 100%; right: -8%; top: 0; background: var(--white); clip-path: polygon(22% 0, 100% 0, 76% 100%, 0 100%); opacity: .66; }
.hero-shell { position: relative; min-height: 330px; display: grid; place-items: center; }
.hero-copy { width: min(900px, 100%); text-align: center; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 900px; margin: 0 auto 18px; font-size: clamp(2.15rem, 4.4vw, 3.85rem); line-height: 1.02; letter-spacing: -.055em; font-weight: 600; }
.hero-lead { max-width: 820px; margin: 0 auto 27px; color: #4f4f4f; font-size: 1.05rem; }
.hero-lead strong { color: var(--deep); }
.hero-mark { position: absolute; right: 3%; bottom: 10px; display: flex; gap: 9px; align-items: end; opacity: .28; transform: rotate(-12deg); }
.hero-mark span { display: block; width: 9px; background: var(--deep); }
.hero-mark span:nth-child(1) { height: 38px; }
.hero-mark span:nth-child(2) { height: 74px; }
.hero-mark span:nth-child(3) { height: 112px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 9px 20px; border: 1px solid var(--deep); border-radius: 2px; text-decoration: none; font-size: .88rem; font-weight: 800; transition: background-color .25s ease, color .25s ease, transform .25s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-dark { background: var(--deep); color: var(--white); }
.button-dark:hover, .button-dark:focus-visible { background: #505050; }

.content-section { padding: 46px 0; border-bottom: 1px solid var(--soft-line); }
.section-intro { width: 100%; margin-bottom: 27px; }
h2 { max-width: none; margin-bottom: 11px; color: var(--deep); font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1.08; letter-spacing: -.045em; font-weight: 600; }
.section-intro p, .after-component { max-width: none; color: var(--muted); }
.after-component { margin: 18px 0 0; }

.ranking-section { background: var(--paper); }
.ranking-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rank-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; min-height: 226px; padding: 20px 19px 18px; background: var(--white); border: 1px solid var(--line); }
.rank-card:nth-child(odd) { background: #f8f8f8; }
.rank-number { align-self: start; color: #a2a2a2; font-size: 1.42rem; line-height: 1; font-weight: 800; }
.rank-content { min-width: 0; display: flex; flex-direction: column; align-items: stretch; }
.rank-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; min-height: 56px; }
.rank-name { display: block; color: var(--deep); font-size: 1.2rem; line-height: 1.15; }
.rank-route { display: block; margin-top: 3px; color: var(--muted); font-size: .74rem; }
.rank-logo { display: grid; place-items: center; width: 108px; height: 54px; flex: 0 0 108px; background: #ebebeb; border: 1px solid var(--line); }
.rank-logo img { width: 98px; height: 46px; object-fit: contain; }
.rank-offer { display: block; margin-top: 17px; color: var(--deep); font-size: .97rem; line-height: 1.28; }
.rank-content p { margin: 6px 0 14px; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.rank-action { align-self: flex-start; margin-top: auto; padding: 8px 15px; background: var(--deep); color: var(--white); text-decoration: none; font-size: .8rem; font-weight: 800; transition: background-color .25s ease, transform .25s ease; }
.rank-action:hover, .rank-action:focus-visible { background: #505050; transform: translateY(-2px); }

.title-section { background: var(--white); }
.title-table, .compare-table { border-top: 2px solid var(--deep); }
.title-line, .compare-line { display: grid; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.title-line { grid-template-columns: 1.25fr 1fr 1.05fr 1.7fr; }
.title-line:nth-child(odd), .compare-line:nth-child(odd) { background: #f7f7f7; }
.title-line span, .compare-line span { color: var(--muted); }
.title-head, .compare-head { color: var(--muted); font-size: .69rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.title-head span, .compare-head span { color: var(--muted); }
.title-line strong, .compare-line strong { padding-left: 11px; border-left: 3px solid var(--deep); }

.lobby-section { background: var(--panel); }
.lobby-flow { border-top: 1px solid var(--deep); }
.lobby-flow article { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.flow-step { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--deep); color: var(--deep); font-size: .8rem; font-weight: 800; }
.lobby-flow strong { display: block; margin-bottom: 5px; color: var(--deep); font-size: 1.05rem; }
.lobby-flow p { max-width: none; margin: 0; color: var(--muted); }

.compare-section { background: var(--paper); }
.compare-line { grid-template-columns: 1.1fr 1.25fr 1.4fr 1.35fr; }

.payments-section { background: var(--white); }
.payment-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--deep); border-bottom: 1px solid var(--deep); }
.payment-grid article { min-height: 185px; padding: 20px; border-right: 1px solid var(--deep); }
.payment-grid article:last-child { border-right: 0; }
.payment-grid strong { display: block; margin-bottom: 9px; color: var(--deep); font-size: 1.08rem; }
.payment-grid p { max-width: none; margin: 0; color: var(--muted); }

.record-section { background: var(--panel); }
.record-list { border-top: 1px solid var(--deep); }
.record-list article { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.record-list article > span { color: var(--deep); font-size: .8rem; font-weight: 800; }
.record-list strong { display: block; margin-bottom: 4px; color: var(--deep); font-size: 1.05rem; }
.record-list p { max-width: none; margin: 0; color: var(--muted); }

.faq-section { background: var(--paper); }
.faq-list { border-top: 1px solid var(--deep); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 17px 0; color: var(--deep); font-size: 1rem; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; font-size: 1.35rem; font-weight: 400; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { max-width: none; margin: -2px 0 18px; color: var(--muted); }

.site-footer { padding: 48px 0 17px; background: var(--deep); color: var(--white); }
.footer-main { display: grid; grid-template-columns: 1.2fr .7fr .95fr; gap: 60px; padding-bottom: 36px; }
.footer-brand img { width: 246px; height: auto; margin-bottom: 13px; }
.footer-brand p, .footer-limit p, .support-strip p { margin: 0; color: #c7c7c7; }
.footer-links { display: grid; align-content: start; gap: 8px; }
.footer-links strong, .footer-limit strong, .support-strip strong { color: var(--white); }
.footer-links a { color: #e8e8e8; text-underline-offset: 4px; }
.footer-limit { position: relative; padding-left: 64px; }
.age-mark { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #c8c8c8; color: var(--white); font-weight: 800; }
.support-strip { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 19px 0; border-top: 1px solid #555; border-bottom: 1px solid #555; }
.support-strip > div:first-child { max-width: 490px; }
.support-logos { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.support-logos img { width: 104px; height: 38px; padding: 6px; object-fit: contain; background: var(--deep); border: 1px solid #777; filter: grayscale(1); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 16px; color: #aaa; font-size: .8rem; }

.catfish { position: fixed; left: 50%; bottom: 16px; z-index: 30; width: min(760px, calc(100% - 32px)); transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 18px 14px 22px; background: var(--white); border: 1px solid var(--deep); color: var(--deep); box-shadow: 0 8px 0 var(--deep); }
.catfish div { display: grid; gap: 2px; }
.catfish small, .offer-modal small { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .13em; }
.catfish strong { font-size: .96rem; }
.catfish span { color: var(--muted); font-size: .77rem; }
.modal-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(20, 20, 20, .7); backdrop-filter: grayscale(1) blur(2px); }
.offer-modal { position: fixed; left: 50%; top: 50%; z-index: 41; width: min(500px, calc(100% - 34px)); transform: translate(-50%, -50%); display: grid; gap: 16px; padding: 34px; background: var(--white); border: 1px solid var(--deep); color: var(--deep); }
.offer-modal strong { max-width: 410px; font-size: clamp(1.6rem, 4vw, 2.35rem); line-height: 1.05; letter-spacing: -.04em; }
.offer-modal .button { justify-self: start; }
.modal-close { position: absolute; top: 8px; right: 13px; border: 0; background: transparent; color: var(--deep); cursor: pointer; font-size: 1.7rem; }
[hidden] { display: none !important; }

[data-reveal] { opacity: 0; transform: translateY(13px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .shell, .wide-shell { width: min(100% - 40px, 720px); }
  .topbar-inner { align-items: flex-start; flex-direction: column; gap: 13px; padding: 13px 0 16px; }
  .main-nav { flex-wrap: wrap; justify-content: flex-start; gap: 12px 20px; }
  .title-line, .compare-line { grid-template-columns: 1.1fr 1fr 1.2fr 1.5fr; gap: 14px; }
  .payment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payment-grid article:nth-child(2) { border-right: 0; }
  .payment-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--deep); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .shell, .wide-shell { width: calc(100% - 28px); }
  .hero-section { padding: 60px 0 56px; }
  .hero-section::before { width: 80%; right: -35%; }
  h1 { font-size: clamp(2rem, 12vw, 3.2rem); }
  .hero-mark { right: 4%; bottom: 6px; }
  .ranking-grid { grid-template-columns: 1fr; }
  .rank-card { min-height: 205px; }
  .title-head, .compare-head { display: none; }
  .title-line, .compare-line { grid-template-columns: 1fr; gap: 5px; padding: 14px 0; }
  .title-line strong, .compare-line strong { margin-bottom: 2px; }
  .lobby-flow article, .record-list article { grid-template-columns: 38px 1fr; gap: 12px; }
  .payment-grid { grid-template-columns: 1fr; }
  .payment-grid article, .payment-grid article:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--deep); }
  .payment-grid article:last-child { border-bottom: 0; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .support-strip { align-items: flex-start; flex-direction: column; }
  .support-logos { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; gap: 5px; }
  .catfish { width: calc(100% - 18px); bottom: 9px; padding: 12px 12px 12px 15px; gap: 10px; }
  .catfish strong { font-size: .83rem; }
  .catfish span { display: none; }
  .catfish .button { padding-inline: 13px; font-size: .8rem; }
}
