:root {
  --navy: #0F172A;
  --navy-soft: #162033;
  --slate: #64748B;
  --slate-dark: #334155;
  --green: #10B981;
  --green-dark: #059669;
  --green-soft: #D1FAE5;
  --white: #FFFFFF;
  --cloud: #F8FAFC;
  --line: #E2E8F0;
  --amber: #F59E0B;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: Inter, Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--green);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 20;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1200px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--navy), #1E3A8A);
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.06em;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.updated {
  color: var(--slate);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--slate-dark);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--green-dark);
}

.updated {
  margin: 0;
  white-space: nowrap;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(16, 185, 129, 0.22), transparent 26%),
    linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 52%, #EEF2FF 100%);
  padding: 88px 0 76px;
}

.hero-grid,
.method-grid,
.operator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 52px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

h3 {
  font-size: 1.24rem;
  line-height: 1.2;
}

.hero-subtitle,
.section-heading p,
.method-grid p,
.legal-panel p {
  color: var(--slate);
  font-size: 1.08rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.trust-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--slate-dark);
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-visual {
  min-height: 480px;
  display: grid;
  place-items: center;
}

.atm-card {
  position: relative;
  width: min(100%, 410px);
  min-height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 38px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.84)),
    linear-gradient(135deg, #1E293B, #0F172A);
  box-shadow: var(--shadow);
  padding: 24px;
}

.atm-card::before,
.atm-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(0.5px);
}

.atm-card::before {
  width: 130px;
  height: 130px;
  right: -30px;
  top: -34px;
  background: rgba(16, 185, 129, 0.2);
}

.atm-card::after {
  width: 92px;
  height: 92px;
  left: -24px;
  bottom: 34px;
  background: rgba(15, 23, 42, 0.08);
}

.atm-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
}

.atm-top span {
  width: 78px;
  height: 9px;
  border-radius: 999px;
  background: var(--line);
}

.atm-screen {
  position: relative;
  z-index: 1;
  min-height: 198px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 18%, rgba(16, 185, 129, 0.38), transparent 34%),
    linear-gradient(145deg, #0F172A, #1E293B);
  color: var(--white);
  padding: 28px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.atm-screen p {
  color: #A7F3D0;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.atm-screen strong {
  display: block;
  max-width: 260px;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.screen-bars {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.screen-bars i {
  display: block;
  width: var(--w);
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.cash-slot {
  width: 78%;
  height: 18px;
  margin: 28px auto;
  border-radius: 999px;
  background: linear-gradient(90deg, #CBD5E1, #FFFFFF, #94A3B8);
  box-shadow: inset 0 -5px 12px rgba(15, 23, 42, 0.16);
}

.payment-chip {
  position: absolute;
  right: 18px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: 20px;
  background: var(--white);
  padding: 14px 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.payment-chip span {
  width: 34px;
  height: 26px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 44%, rgba(15, 23, 42, 0.18) 44% 56%, transparent 56%),
    var(--green-soft);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.payment-chip p {
  margin: 0;
  color: var(--slate-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.section {
  padding: 86px 0;
}

.section-muted {
  background: var(--cloud);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 880px;
}

.comparison-table th,
.comparison-table td {
  padding: 20px 22px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}

.comparison-table th {
  background: #F1F5F9;
  color: var(--slate-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.comparison-table tr {
  transition: background 180ms ease, transform 180ms ease;
}

.comparison-table tbody tr:hover {
  background: #F8FFFC;
}

.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.provider {
  display: flex;
  align-items: center;
  gap: 14px;
}

.provider-logo {
  width: 46px;
  height: 46px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  background: #DCFCE7;
  color: #047857;
  font-weight: 900;
}

.provider-logo.alt {
  background: #E0F2FE;
  color: #0369A1;
}

.provider-logo.warm {
  background: #FEF3C7;
  color: #B45309;
}

.provider-logo.cool {
  background: #EDE9FE;
  color: #6D28D9;
}

.provider strong,
.provider small {
  display: block;
}

.provider small {
  color: var(--slate);
  font-size: 0.84rem;
}

.badge {
  display: inline-block;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 800;
}

.score {
  display: block;
  margin-top: 6px;
  color: var(--slate-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.rating-bar {
  position: relative;
  display: block;
  width: 112px;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #E2E8F0;
}

.rating-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--rating);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #34D399);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.28);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--green-dark);
  box-shadow: 0 18px 32px rgba(16, 185, 129, 0.32);
}

.button-small {
  padding: 10px 15px;
  font-size: 0.86rem;
  white-space: nowrap;
}

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

.review-card,
.legal-panel,
.metric-list,
.notice-card,
.operator-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.notice-card {
  margin: -10px 0 24px;
  padding: 20px 22px;
  border-color: rgba(16, 185, 129, 0.3);
  background: #F0FDF4;
}

.notice-card strong {
  display: block;
  margin-bottom: 6px;
  color: #065F46;
}

.notice-card p {
  margin: 0;
  color: var(--slate-dark);
}

.review-card {
  padding: 26px;
}

.review-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.review-card-top span {
  border-radius: 999px;
  background: var(--green-soft);
  color: #047857;
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 900;
}

.pros-cons {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.pros-cons div {
  border-radius: 18px;
  background: var(--cloud);
  padding: 16px;
}

.pros-cons strong {
  display: block;
  margin-bottom: 4px;
}

.pros-cons p {
  margin: 0;
  color: var(--slate);
  font-size: 0.94rem;
}

.metric-list {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.metric-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 18px;
  background: var(--cloud);
  padding: 16px 18px;
}

.metric-list strong {
  color: var(--green-dark);
  font-size: 1.4rem;
}

.metric-list span {
  color: var(--slate-dark);
  font-weight: 700;
  text-align: right;
}

.legal-panel {
  padding: 30px;
}

.legal-panel p {
  margin-bottom: 14px;
}

.operator-card {
  display: grid;
  gap: 8px;
  padding: 28px;
  font-style: normal;
}

.operator-card strong {
  font-size: 1.15rem;
}

.operator-card span,
.operator-card a {
  color: var(--slate-dark);
  text-decoration: none;
}

.operator-card a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 30px;
}

.footer-grid p,
.footer-grid a,
.footer-grid span {
  display: block;
  margin: 8px 0 0;
  color: #CBD5E1;
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--white);
  text-decoration: underline;
}

.legal-page {
  padding: 72px 0;
}

.legal-page article {
  max-width: 860px;
}

.legal-page h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.legal-page p,
.legal-page li {
  color: var(--slate-dark);
}

@media (max-width: 900px) {
  .nav-shell {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-grid,
  .method-grid,
  .operator-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-visual {
    min-height: 380px;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .comparison-wrap {
    overflow: visible;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .comparison-table {
    min-width: 0;
  }

  .comparison-table,
  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table th,
  .comparison-table td,
  .comparison-table tr {
    display: block;
  }

  .comparison-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .comparison-table tr {
    margin-bottom: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    overflow: hidden;
  }

  .comparison-table td {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 14px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
  }

  .comparison-table td::before {
    content: attr(data-label);
    color: var(--slate);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .button-small {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .container,
  .nav-shell {
    width: min(100% - 24px, 1120px);
  }

  .updated {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.15rem, 14vw, 3.45rem);
  }

  .section {
    padding: 62px 0;
  }

  .atm-card {
    min-height: 392px;
    border-radius: 28px;
  }

  .atm-screen strong {
    font-size: 1.65rem;
  }

  .comparison-table td {
    grid-template-columns: 1fr;
  }
}
