:root {
  --navy: #0d2030;
  --ink: #162b3c;
  --blue: #cfe2eb;
  --blue-deep: #23536e;
  --cream: #fbfaf5;
  --paper: #ffffff;
  --line: #b4c8d0;
  --orange: #d86d45;
  --yellow: #e9c15a;
  --muted: #526b7d;
  --pale: #eef4f4;
}

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

.site-header { background: var(--navy); border-bottom: 5px solid var(--orange); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; width: 300px; text-decoration: none; }
.brand img { width: 300px; height: auto; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 24px; color: #f7f8f5; font-size: .82rem; font-weight: 700; }
.main-nav a { padding: 5px 0; text-decoration: none; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--yellow); border-color: var(--yellow); }

.hero-section { background: var(--blue); border-bottom: 1px solid var(--line); }
.hero-inner { position: relative; min-height: 500px; padding: 70px 0 64px; overflow: hidden; text-align: center; }
.hero-inner::after { content: ""; position: absolute; right: -120px; bottom: 54px; width: 420px; height: 26px; background: var(--orange); transform: rotate(-14deg); opacity: .82; }
.hero-overline { display: flex; justify-content: center; gap: 24px; padding-bottom: 15px; border-bottom: 1px solid var(--blue-deep); color: var(--blue-deep); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { position: relative; z-index: 1; max-width: 860px; margin: 55px auto 20px; color: var(--navy); font-size: clamp(2.3rem, 4.2vw, 3.7rem); line-height: 1.03; letter-spacing: -.05em; font-weight: 650; }
.hero-lead { position: relative; z-index: 1; max-width: 920px; margin: 0 auto 27px; color: var(--ink); font-size: 1.06rem; }
.hero-lead strong { color: var(--orange); }
.hero-actions { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 22px; }
.button { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; padding: 9px 19px; border: 0; border-radius: 4px; text-decoration: none; font-size: .8rem; font-weight: 800; }
.button-orange { background: var(--orange); color: #fff; }
.button-dark { background: var(--navy); color: #fff; }
.button:hover, .button:focus-visible { background: var(--blue-deep); }
.text-link { color: var(--navy); font-size: .82rem; font-weight: 700; text-underline-offset: 5px; }
.hero-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 840px; margin: 63px auto 0; border-top: 2px solid var(--navy); border-bottom: 1px solid var(--blue-deep); text-align: left; }
.hero-stats div { padding: 14px 17px 12px 0; border-right: 1px solid var(--blue-deep); }
.hero-stats div:not(:first-child) { padding-left: 17px; }
.hero-stats div:last-child { border-right: 0; }
.hero-stats strong { display: block; color: var(--orange); font-size: 1.9rem; line-height: 1; }
.hero-stats span { display: block; margin-top: 5px; color: var(--blue-deep); font-size: .76rem; }

.content-section { padding: 44px 0; border-bottom: 1px solid var(--line); }
.section-heading { width: 100%; margin-bottom: 26px; }
h2 { width: 100%; margin-bottom: 10px; color: var(--navy); font-size: clamp(1.8rem, 3.1vw, 2.7rem); line-height: 1.08; letter-spacing: -.045em; font-weight: 700; }
.section-heading p, .section-foot { width: 100%; max-width: none; color: var(--muted); }
.section-foot { margin: 18px 0 0; }

.ranking-section { background: var(--cream); }
.ranking-list { border-top: 2px solid var(--navy); }
.rating-row { display: grid; grid-template-columns: 52px 230px minmax(0, 1fr) 105px; align-items: center; min-height: 122px; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.row-number { color: var(--orange); font-size: .82rem; font-weight: 800; }
.row-brand { display: grid; grid-template-columns: 94px minmax(0, 1fr); align-items: center; gap: 14px; }
.row-brand strong { color: var(--navy); font-size: .95rem; }
.brand-logo { display: grid; place-items: center; width: 94px; height: 48px; padding: 7px; background: var(--pale); border: 1px solid var(--line); border-radius: 4px; }
.brand-logo img { width: 80px; height: 34px; object-fit: contain; }
.row-detail { display: grid; gap: 3px; }
.row-detail b { color: var(--navy); font-size: .9rem; }
.row-detail span { color: var(--muted); font-size: .82rem; }
.row-cta { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; background: var(--navy); color: #fff; border-radius: 4px; text-decoration: none; font-size: .77rem; font-weight: 800; }
.row-cta:hover, .row-cta:focus-visible { background: var(--orange); }

.brand-map-section { background: var(--pale); }
.brand-map-table-wrap, .cashier-table-wrap { overflow-x: auto; border-top: 5px solid var(--navy); background: var(--paper); }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--navy); color: #fff; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
tbody tr:nth-child(even) { background: #f5f8f7; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { color: var(--navy); font-size: .84rem; white-space: nowrap; }
tbody td { color: var(--muted); font-size: .83rem; }
.brand-map-table { min-width: 1050px; }
.brand-map-table th:nth-child(1) { width: 14%; }
.brand-map-table th:nth-child(2) { width: 27%; }
.brand-map-table th:nth-child(3) { width: 29%; }
.brand-map-table th:nth-child(4) { width: 30%; }

.title-board-section { background: var(--cream); }
.title-board { border-top: 2px solid var(--orange); }
.title-board > div { display: grid; grid-template-columns: 1.55fr .72fr 1.08fr 1.2fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.title-board-head { color: var(--orange); font-size: .71rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.title-board > div:not(.title-board-head) > * { color: var(--muted); font-size: .82rem; }
.title-board > div:not(.title-board-head) strong { color: var(--navy); font-size: .87rem; }
.title-board > div:nth-child(odd):not(.title-board-head) { background: #f0f5f5; }

.cashier-section { background: var(--blue); }
.cashier-table-wrap { border-color: var(--orange); }
.cashier-table { min-width: 1080px; }
.cashier-table th:nth-child(1) { width: 14%; }
.cashier-table th:nth-child(2) { width: 42%; }
.cashier-table th:nth-child(3) { width: 18%; }
.cashier-table th:nth-child(4) { width: 26%; }

.split-section { background: var(--navy); }
.split-section h2, .split-section .section-heading p, .split-section .section-foot { color: #f8f7f0; }
.split-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.split-board > div { min-height: 260px; padding: 27px; background: #183246; }
.split-board > div:last-child { background: #10293c; }
.board-label { display: inline-block; margin-bottom: 17px; color: var(--yellow); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.split-board h3 { margin-bottom: 14px; color: #fff; font-size: 1.4rem; }
.split-board ul { margin: 0; padding-left: 20px; color: #dce8eb; }
.split-board li { margin: 6px 0; }

.route-section { background: #f6f2ea; }
.route-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); }
.route-list li { min-height: 190px; padding: 18px; border-right: 1px solid var(--line); }
.route-list li:last-child { border-right: 0; }
.route-list span { display: block; margin-bottom: 20px; color: var(--orange); font-size: .78rem; font-weight: 800; }
.route-list strong { display: block; margin-bottom: 8px; color: var(--navy); font-size: 1.06rem; }
.route-list p { margin: 0; color: var(--muted); font-size: .83rem; }

.clauses-section { background: var(--paper); }
.clause-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--navy); }
.clause-list > div { min-height: 175px; padding: 24px; border-right: 1px solid var(--navy); }
.clause-list > div:last-child { border-right: 0; }
.clause-list > div:nth-child(2) { background: #f4f7f5; }
.clause-list strong { display: block; margin-bottom: 11px; color: var(--navy); font-size: 1.04rem; }
.clause-list p { margin: 0; color: var(--muted); font-size: .86rem; }

.account-section { background: var(--pale); }
.account-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.account-grid > div { min-height: 175px; padding: 20px; border-top: 4px solid var(--orange); background: var(--paper); }
.account-grid span { display: block; margin-bottom: 10px; color: var(--orange); font-size: .76rem; font-weight: 800; }
.account-grid strong { display: block; margin-bottom: 8px; color: var(--navy); font-size: 1rem; }
.account-grid p { margin: 0; color: var(--muted); font-size: .83rem; }

.record-section { background: var(--cream); }
.record-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--navy); border-bottom: 1px solid var(--navy); }
.record-grid > div { min-height: 145px; padding: 21px 18px; border-right: 1px solid var(--navy); }
.record-grid > div:last-child { border-right: 0; }
.record-grid strong { display: block; margin-bottom: 9px; color: var(--navy); }
.record-grid span { color: var(--muted); font-size: .83rem; }

.faq-section { background: #f5f7f5; }
.faq-list { border-top: 2px solid var(--navy); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 17px 0; color: var(--navy); font-size: .98rem; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--orange); font-size: 1.3rem; 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: 46px 0 17px; background: var(--navy); color: #f7f8f5; }
.footer-main { display: grid; grid-template-columns: 1.25fr .62fr .92fr; gap: 56px; padding-bottom: 38px; }
.footer-brand img { width: 300px; margin-bottom: 14px; }
.footer-brand p, .footer-note p, .support-strip p { margin: 0; color: #d6e1e3; }
.footer-disclaimer { margin-top: 12px !important; color: #aabec6 !important; font-size: .82rem; }
.footer-links { display: grid; align-content: start; gap: 8px; }
.footer-links strong, .footer-note strong, .support-strip strong { color: var(--yellow); }
.footer-links a { color: #f7f8f5; text-underline-offset: 4px; }
.footer-note { position: relative; padding: 10px 0 10px 68px; border-left: 1px solid #557080; }
.age-mark { position: absolute; left: 17px; top: 12px; display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--yellow); border-radius: 50%; color: var(--yellow); font-weight: 800; }
.support-strip { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 28px; padding: 21px 0; border-top: 1px solid #557080; border-bottom: 1px solid #557080; }
.support-strip > div:first-child { max-width: 520px; }
.support-logos { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.support-logos img { width: 96px; height: 36px; padding: 5px; object-fit: contain; background: #f7f8f5; border: 1px solid #f7f8f5; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 15px; color: #aabec6; font-size: .76rem; }

.catfish { position: fixed; left: 50%; bottom: 15px; z-index: 40; width: min(760px, calc(100% - 34px)); transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 16px; background: var(--navy); color: #fff; border: 2px solid var(--orange); border-radius: 4px; }
.catfish div { display: grid; gap: 1px; }
.catfish small, .offer-modal small { color: var(--yellow); font-size: .66rem; font-weight: 800; letter-spacing: .12em; }
.catfish strong { font-size: .9rem; }
.catfish span { color: #d4e2e4; font-size: .74rem; }
.modal-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(13,32,48,.78); }
.offer-modal { position: fixed; left: 50%; top: 50%; z-index: 51; width: min(510px, calc(100% - 34px)); transform: translate(-50%, -50%); display: grid; gap: 15px; padding: 32px; background: var(--paper); color: var(--navy); border: 1px solid var(--navy); border-left: 9px solid var(--orange); border-radius: 4px; }
.offer-modal strong { max-width: 450px; color: var(--navy); font-size: clamp(1.4rem, 4vw, 2.15rem); line-height: 1.08; letter-spacing: -.04em; }
.offer-modal .button { justify-self: start; }
.modal-close { position: absolute; top: 8px; right: 11px; border: 0; background: transparent; color: var(--navy); cursor: pointer; font-size: 1.6rem; }
[hidden] { display: none !important; }

@media (max-width: 980px) {
  .shell { width: min(100% - 48px, 780px); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: 9px; padding: 14px 0 16px; }
  .main-nav { justify-content: flex-start; gap: 10px 18px; }
  .hero-inner { min-height: 470px; padding: 58px 0 56px; }
  .rating-row { grid-template-columns: 42px 205px minmax(0, 1fr) 95px; gap: 13px; }
  .title-board > div { grid-template-columns: 1.25fr .8fr 1fr 1fr; gap: 12px; }
  .route-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-list li:nth-child(2) { border-right: 0; }
  .route-list li:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .record-grid > div:nth-child(2) { border-right: 0; }
  .record-grid > div:nth-child(-n + 2) { border-bottom: 1px solid var(--navy); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .shell { width: calc(100% - 28px); }
  .brand, .brand img { width: 250px; }
  .hero-inner { min-height: 570px; padding: 44px 0 48px; }
  .hero-overline { font-size: .63rem; }
  h1 { margin-top: 42px; font-size: clamp(2.35rem, 12vw, 3.2rem); }
  .hero-lead { font-size: .96rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 43px; }
  .hero-stats div:nth-child(2) { border-right: 0; }
  .hero-stats div:nth-child(-n + 2) { border-bottom: 1px solid var(--blue-deep); }
  .hero-stats div:nth-child(3) { padding-left: 0; padding-top: 14px; }
  .hero-stats div:nth-child(4) { padding-top: 14px; }
  .rating-row { grid-template-columns: 31px 1fr auto; gap: 10px; padding: 15px 0; }
  .row-brand { grid-template-columns: 78px minmax(0, 1fr); gap: 9px; }
  .brand-logo { width: 78px; height: 42px; }
  .brand-logo img { width: 67px; height: 29px; }
  .row-detail { grid-column: 2 / -1; }
  .row-cta { grid-column: 3; grid-row: 1; min-height: 34px; padding: 0 10px; font-size: .7rem; }
  .title-board { min-width: 780px; }
  .title-board-section .shell, .cashier-section .shell { overflow: hidden; }
  .split-board, .clause-list { grid-template-columns: 1fr; }
  .split-board > div { min-height: 0; }
  .split-board > div + div, .clause-list > div + div { border-top: 1px solid var(--navy); border-right: 0; }
  .route-list { grid-template-columns: 1fr; }
  .route-list li, .route-list li:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .route-list li:last-child { border-bottom: 0; }
  .account-grid, .record-grid { grid-template-columns: 1fr; }
  .account-grid > div { min-height: 0; }
  .record-grid > div, .record-grid > div:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--navy); }
  .record-grid > div:last-child { border-bottom: 0; }
  th, td { padding: 12px 13px; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; }
  .footer-brand { grid-column: auto; }
  .footer-note { padding-left: 65px; }
  .support-strip { grid-template-columns: 1fr; align-items: flex-start; }
  .support-logos { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .catfish { width: calc(100% - 18px); bottom: 9px; padding: 10px 10px 10px 12px; gap: 8px; }
  .catfish strong { font-size: .78rem; line-height: 1.25; }
  .catfish span { display: none; }
  .catfish .button { min-height: 35px; padding-inline: 12px; font-size: .72rem; }
  .offer-modal { width: calc(100% - 28px); padding: 27px 22px; }
}
