:root {
  --ink: #101820;
  --night: #101820;
  --muted: #526575;
  --soft: #edf2f5;
  --paper: #f8fafb;
  --white: #ffffff;
  --line: #cbd8df;
  --cyan: #35c9bf;
  --lime: #c9e76a;
  --orange: #ff9872;
  --blue: #dfeaf1;
  --shadow: 0 12px 24px rgba(16, 24, 32, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 56px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 30; color: var(--white); background: var(--night); border-bottom: 1px solid #324451; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font-size: 16px; font-weight: 850; letter-spacing: .02em; }
.brand img { width: 244px; height: 52px; }
.site-header nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; font-size: 13px; font-weight: 750; }
.site-header nav a { padding: 5px 0; text-decoration: none; color: #d6e2e7; border-bottom: 2px solid transparent; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--lime); border-color: var(--cyan); }

.hero { color: var(--white); background: var(--night); padding: 72px 0 64px; overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; align-items: center; gap: clamp(45px, 8vw, 110px); }
.hero-copy { max-width: 670px; }
.hero h1 { max-width: 680px; margin: 0; font-size: clamp(44px, 7vw, 78px); line-height: 1.02; letter-spacing: -.06em; font-weight: 720; }
.hero-copy > p { max-width: 690px; margin: 25px 0 0; color: #c4d4da; font-size: 18px; line-height: 1.78; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 9px 18px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-weight: 850; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-accent { color: var(--ink); background: var(--lime); border-color: var(--lime); box-shadow: 3px 3px 0 var(--cyan); }
.button-accent:hover, .button-accent:focus-visible { background: var(--cyan); border-color: var(--cyan); }
.text-link { padding: 8px 0; color: #e8f0f3; text-decoration: none; border-bottom: 1px solid var(--cyan); font-weight: 750; }
.text-link:hover, .text-link:focus-visible { color: var(--lime); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 44px; border-top: 1px solid #324451; }
.hero-stats span { display: flex; align-items: baseline; gap: 7px; min-width: 155px; padding: 14px 18px 0 0; color: #b4c6cd; font-size: 12px; }
.hero-stats span + span { padding-left: 18px; border-left: 1px solid #324451; }
.hero-stats strong { color: var(--lime); font-size: 24px; line-height: 1; }

.phone-stage { min-height: 430px; display: grid; place-items: center; position: relative; }
.phone-shell { position: relative; z-index: 2; width: 256px; height: 454px; padding: 12px; border: 5px solid #536a76; border-radius: 35px; background: #182832; box-shadow: 18px 18px 0 rgba(53, 201, 191, .18), 0 22px 36px rgba(0,0,0,.28); transform: rotate(4deg); }
.phone-shadow { position: absolute; width: 250px; height: 55px; background: rgba(53, 201, 191, .22); border-radius: 50%; filter: blur(15px); bottom: 6px; right: 28px; transform: rotate(-4deg); }
.phone-speaker { position: absolute; z-index: 3; top: 10px; left: 50%; width: 70px; height: 17px; transform: translateX(-50%); background: #101820; border-radius: 0 0 12px 12px; }
.phone-screen { height: 100%; padding: 19px 13px 12px; overflow: hidden; border-radius: 24px; color: var(--ink); background: #e8f2f2; }
.phone-top { display: flex; justify-content: space-between; color: #6b858e; font-size: 10px; font-weight: 800; }
.screen-title { display: flex; justify-content: space-between; margin-top: 18px; color: #34535f; font-size: 11px; letter-spacing: .12em; font-weight: 900; }
.screen-title b { color: var(--orange); font-size: 15px; line-height: .5; }
.slot-banner { margin-top: 16px; padding: 16px 14px; border-radius: 18px; background: var(--night); color: var(--white); box-shadow: 4px 4px 0 var(--orange); }
.reel-mark { display: flex; gap: 7px; margin-bottom: 13px; }
.reel-mark i { display: block; width: 18px; height: 22px; border: 2px solid var(--lime); border-radius: 5px; background: var(--cyan); }
.reel-mark i:nth-child(2) { background: var(--orange); border-color: var(--orange); }
.reel-mark i:nth-child(3) { background: var(--lime); border-color: var(--lime); }
.slot-banner strong { display: block; font-size: 16px; line-height: 1.2; }
.slot-banner small { display: block; margin-top: 9px; color: #b9d1d3; font-size: 10px; }
.screen-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 11px 10px; border: 1px solid #cfddde; border-radius: 12px; background: rgba(255,255,255,.72); }
.screen-row > span { width: 18px; height: 18px; border-radius: 5px; background: var(--orange); }
.screen-row:nth-of-type(2) > span { background: var(--cyan); }
.screen-row:nth-of-type(3) > span { background: var(--lime); }
.screen-row div { min-width: 0; flex: 1; }
.screen-row b, .screen-row small { display: block; line-height: 1.2; }
.screen-row b { font-size: 11px; }
.screen-row small { margin-top: 3px; color: #6d858a; font-size: 9px; }
.screen-row em { color: #6d858a; font-size: 18px; font-style: normal; }
.home-bar { width: 74px; height: 4px; margin: 21px auto 0; border-radius: 5px; background: #73939a; }

.section { padding: 72px 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.tint-blue { background: var(--blue); }
.ranking-section { background: #e5eef1; }
.section-intro { display: block; margin-bottom: 32px; }
.section-index { display: none; }
.section-intro > div { width: 100%; }
.section-intro h2 { max-width: none; margin: 0 0 13px; font-size: clamp(30px, 4.3vw, 54px); line-height: 1.08; letter-spacing: -.055em; font-weight: 680; }
.section-intro p { max-width: none; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.76; }
.section-tail { max-width: none; margin: 26px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.section-tail.shell { margin-left: auto; margin-right: auto; }

.mobile-ranking { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.rank-card { position: relative; display: grid; grid-template-columns: 1fr auto; min-height: 230px; padding: 17px; overflow: hidden; border: 1px solid #c6d4d9; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); transition: transform .22s ease, box-shadow .22s ease; }
.rank-card:hover { transform: translateY(-3px); box-shadow: 0 17px 28px rgba(16,24,32,.13); }
.rank-top { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; min-height: 56px; }
.rank-no { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 10px; color: var(--white); background: var(--night); font-size: 11px; font-weight: 900; }
.rank-logo { display: grid; place-items: center; width: 142px; height: 52px; padding: 7px 12px; border: 1px solid #d1dedc; border-radius: 11px; background: #edf3ef; }
.rank-logo img { max-width: 100%; max-height: 38px; object-fit: contain; }
.route-label { margin-left: auto; padding: 5px 7px; border-radius: 999px; color: #58737a; background: #eef4f4; font-size: 9px; letter-spacing: .08em; font-weight: 900; }
.rank-body { grid-column: 1 / -1; padding: 13px 0 14px; }
.rank-body h3 { margin: 0 0 4px; font-size: 22px; line-height: 1.15; font-weight: 750; }
.rank-body strong { display: block; color: #2c4856; font-size: 14px; line-height: 1.45; }
.rank-body p { max-width: none; margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.rank-button { grid-column: 1 / -1; align-self: end; display: inline-flex; align-items: center; justify-content: center; min-height: 41px; padding: 8px 13px; border-radius: 8px; color: var(--ink); background: var(--cyan); border: 1px solid var(--ink); text-decoration: none; font-size: 13px; font-weight: 900; }
.rank-button:hover, .rank-button:focus-visible { background: var(--lime); }

.split-section { display: block; }
.split-section .section-intro { margin-bottom: 32px; }
.signal-list, .rule-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.signal-list > div, .rule-stack > div { min-height: 148px; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.signal-list b, .rule-stack b { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-bottom: 15px; border-radius: 8px; color: var(--ink); background: var(--lime); font-size: 11px; }
.signal-list h3, .rule-stack h3, .screen-steps h3, .metric-grid h3, .account-grid h3, .device-list h3 { margin: 0 0 4px; font-size: 19px; line-height: 1.2; font-weight: 750; }
.signal-list p, .rule-stack p, .screen-steps p, .metric-grid p, .account-grid p, .device-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.screen-section { color: var(--white); background: var(--night); border-color: #324451; }
.screen-section .section-intro p, .screen-section .section-tail { color: #c1d1d7; }
.screen-section .section-index { color: var(--ink); background: var(--lime); }
.screen-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid #506773; border-bottom: 1px solid #506773; }
.screen-steps article { min-height: 190px; padding: 20px 18px 20px 0; }
.screen-steps article + article { padding-left: 18px; border-left: 1px solid #506773; }
.screen-steps span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--ink); background: var(--cyan); font-size: 11px; font-weight: 900; }
.screen-steps h3 { margin-top: 18px; }
.screen-steps p { color: #c1d1d7; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
table { width: 100%; min-width: 880px; border-collapse: collapse; text-align: left; }
th, td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { color: var(--white); background: var(--night); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 850; }
tbody tr:nth-child(even) { background: #f0f5f3; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-size: 15px; font-weight: 800; }
tbody td { color: var(--muted); font-size: 15px; line-height: 1.55; }

.metric-grid, .account-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.metric-grid article, .account-grid article { min-height: 190px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric-grid span, .account-grid span { color: var(--orange); font-size: 11px; letter-spacing: .12em; font-weight: 900; }
.metric-grid h3, .account-grid h3 { margin-top: 12px; }

.device-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.device-list > div { padding: 22px 22px 25px 0; }
.device-list > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.device-list span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--ink); background: var(--cyan); font-size: 11px; font-weight: 900; }
.device-list h3 { margin-top: 16px; }

.save-note { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.save-note > div { min-height: 136px; padding: 20px 15px 20px 0; }
.save-note > div + div { padding-left: 15px; border-left: 1px solid var(--line); }
.save-note span { display: block; color: var(--orange); font-size: 11px; letter-spacing: .11em; font-weight: 900; }
.save-note strong { display: block; margin-top: 13px; font-size: 16px; line-height: 1.35; }

.faq-section { background: var(--white); }
.faq-list { border-top: 1px solid var(--ink); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; color: var(--ink); cursor: pointer; list-style: none; font-size: 18px; font-weight: 550; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--orange); font-size: 22px; font-weight: 500; }
details[open] summary::after { content: "–"; }
details p { max-width: none; margin: 0 0 20px; color: var(--muted); }

.site-footer { padding: 64px 0 24px; color: #e7f1f3; background: var(--night); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.25fr) .65fr minmax(240px, .85fr); gap: 60px; }
.footer-brand { display: block; margin-bottom: 18px; }
.footer-brand img { width: 244px; height: 52px; }
.site-footer p { max-width: none; margin: 0; color: #b4c8cf; font-size: 14px; line-height: 1.7; }
.footer-note { margin-top: 13px !important; color: #89a6b0 !important; }
.site-footer h3 { margin: 0 0 13px; color: var(--lime); font-size: 16px; }
.site-footer a:not(.brand) { display: block; margin: 7px 0; color: #e7f1f3; font-size: 14px; }
.footer-kicker { display: inline-flex; margin-bottom: 12px; padding: 5px 8px; border: 1px solid var(--orange); border-radius: 999px; color: var(--orange); font-size: 11px; letter-spacing: .08em; font-weight: 900; }
.footer-support { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 50px; padding: 22px 0; border-top: 1px solid #324451; border-bottom: 1px solid #324451; }
.footer-support strong { color: var(--cyan); }
.footer-support p { margin-top: 5px; }
.support-logos { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.support-logos img { width: 84px; height: 36px; padding: 5px; object-fit: contain; border: 1px solid #49616c; border-radius: 7px; background: var(--night); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 17px; color: #8faab3; font-size: 12px; }

.catfish { position: fixed; left: 50%; bottom: 16px; z-index: 35; display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(760px, calc(100% - 30px)); padding: 15px 18px; transform: translateX(-50%); border: 1px solid var(--ink); border-radius: 14px; color: var(--ink); background: var(--white); box-shadow: 5px 5px 0 var(--cyan); }
.catfish > div { display: grid; gap: 2px; }
.catfish span, .offer-modal > span { color: #71878d; font-size: 10px; letter-spacing: .11em; font-weight: 900; }
.catfish strong { font-size: 16px; line-height: 1.3; }
.catfish small { color: var(--muted); font-size: 12px; }
.catfish .button { min-width: 122px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(16, 24, 32, .78); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; }
.modal-backdrop.is-visible { opacity: 1; visibility: visible; }
.offer-modal { position: relative; display: grid; gap: 17px; width: min(560px, 100%); padding: 34px; border: 1px solid var(--ink); border-radius: 18px; background: var(--white); box-shadow: 8px 8px 0 var(--cyan); transform: translateY(14px); transition: transform .35s ease; }
.modal-backdrop.is-visible .offer-modal { transform: translateY(0); }
.offer-modal strong { max-width: 420px; font-size: clamp(26px, 4vw, 38px); line-height: 1.1; letter-spacing: -.04em; }
.offer-modal .button { width: fit-content; }
.modal-close { position: absolute; top: 12px; right: 14px; border: 0; color: var(--ink); background: transparent; cursor: pointer; font-size: 27px; line-height: 1; }

[data-reveal] { opacity: 1; transform: none; }
body.is-enhanced [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
body.is-enhanced [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } body.is-enhanced [data-reveal] { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 35px; }
  .phone-shell { transform: rotate(3deg) scale(.88); }
  .mobile-ranking { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; gap: 30px; }
  .screen-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .screen-steps article:nth-child(4) { border-left: 0; padding-left: 0; border-top: 1px solid #506773; }
  .screen-steps article:nth-child(5) { border-top: 1px solid #506773; }
  .metric-grid, .account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .save-note { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .save-note > div:nth-child(4) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .save-note > div:nth-child(5) { border-top: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 32px, 620px); }
  .header-inner { align-items: flex-start; flex-direction: column; padding: 13px 0; }
  .brand img, .footer-brand img { width: 204px; height: auto; }
  .site-header nav { justify-content: flex-start; gap: 10px 16px; }
  .hero { padding: 50px 0 42px; }
  .hero-layout { display: block; }
  .hero-copy { max-width: none; text-align: center; }
  .hero h1 { font-size: clamp(42px, 13vw, 62px); }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; text-align: left; }
  .hero-stats span { min-width: 0; padding-right: 10px; font-size: 11px; }
  .hero-stats span + span { padding-left: 10px; }
  .hero-stats strong { font-size: 20px; }
  .phone-stage { min-height: 395px; margin-top: 22px; }
  .phone-shell { transform: rotate(3deg) scale(.82); }
  .section { padding: 50px 0; }
  .section-intro { grid-template-columns: 1fr; gap: 18px; }
  .section-intro h2 { font-size: 32px; }
  .section-intro p { font-size: 16px; }
  .section-index { width: 46px; height: 46px; border-radius: 13px; }
  .rank-card { min-height: 0; }
  .rank-logo { width: 128px; }
  .route-label { font-size: 8px; }
  .signal-list, .rule-stack { grid-template-columns: 1fr; }
  .signal-list > div, .rule-stack > div { min-height: 0; }
  .screen-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screen-steps article, .screen-steps article + article { padding: 18px 12px 18px 0; border-left: 0; }
  .screen-steps article:nth-child(odd) { border-right: 1px solid #506773; }
  .screen-steps article:nth-child(n+3) { border-top: 1px solid #506773; }
  .metric-grid, .account-grid { grid-template-columns: 1fr; }
  .metric-grid article, .account-grid article { min-height: 0; }
  .device-list { grid-template-columns: 1fr; }
  .device-list > div, .device-list > div + div { padding: 18px 0; border-left: 0; }
  .device-list > div + div { border-top: 1px solid var(--line); }
  .save-note { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .save-note > div:nth-child(odd) { padding-left: 0; }
  .save-note > div:nth-child(even) { padding-left: 15px; border-left: 1px solid var(--line); }
  .save-note > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-top > :last-child { grid-column: auto; }
  .footer-support, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .support-logos { justify-content: flex-start; }
  .catfish { bottom: 10px; width: calc(100% - 20px); padding: 12px; }
  .catfish strong { font-size: 13px; }
  .catfish small { font-size: 10px; }
  .catfish .button { min-width: 105px; padding: 9px 12px; font-size: 12px; }
  .offer-modal { padding: 28px 24px; }
}
