:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7f8fa;
  --text: #17181a;
  --muted: #666a73;
  --line: #e5e7eb;
  --brand: #b61f27;
  --brand-dark: #97171e;
  --focus: #1a73e8;
  --shadow: 0 10px 34px rgba(18, 21, 26, 0.07);
  --radius: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
}

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

.site-header {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,.05);
  color: var(--brand);
}

.brand-mark svg { width: 18px; height: 18px; }
.brand-pay { color: var(--brand); }

.top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-nav a {
  padding: 9px 12px;
  border-radius: 10px;
  color: #454951;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.top-nav a:hover { background: var(--surface-soft); color: var(--text); }
.top-nav .sign-in { border: 1px solid var(--line); background: #fff; }

main { flex: 1; }

.hero {
  width: min(920px, calc(100% - 40px));
  margin: 82px auto 0;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hero h1,
.branch-hero h1 {
  margin: 0;
  font-size: clamp(40px, 5.5vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.048em;
  font-weight: 760;
}

.hero .lead,
.branch-hero .lead {
  max-width: 700px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.6;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--brand); color: #fff; box-shadow: 0 7px 20px rgba(182,31,39,.19); }
.button-primary:hover { background: var(--brand-dark); }
.button-secondary { background: #fff; border-color: var(--line); color: var(--text); }
.button-secondary:hover { background: var(--surface-soft); }

.choice-section {
  width: min(960px, calc(100% - 40px));
  margin: 86px auto 82px;
}

.section-kicker {
  margin: 0 0 20px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

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

.choice-card,
.product-card {
  position: relative;
  min-height: 176px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,0,0,.02);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.choice-card:hover,
.product-card:hover {
  transform: translateY(-3px);
  border-color: #d5d8de;
  box-shadow: var(--shadow);
}

.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--surface-soft);
  color: var(--brand);
}

.card-icon svg { width: 22px; height: 22px; }

.choice-card h2,
.product-card h2 {
  margin: 18px 0 6px;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.choice-card p,
.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.card-arrow {
  position: absolute;
  right: 24px;
  top: 25px;
  color: #a1a5ad;
  font-size: 22px;
  transition: transform .16s ease, color .16s ease;
}

.choice-card:hover .card-arrow,
.product-card:hover .card-arrow { transform: translateX(3px); color: var(--brand); }

.trust-line {
  width: min(900px, calc(100% - 40px));
  margin: -38px auto 72px;
  color: #858993;
  text-align: center;
  font-size: 13px;
}

.trust-line a {
  color: #656a73;
  font-weight: 700;
  text-decoration: none;
}

.trust-line a:hover { color: var(--brand); text-decoration: underline; }

.recommended-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 15px 0 -8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff1f1;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #777b84;
  font-size: 13px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }

.branch-main {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto 82px;
}

.breadcrumb {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  font-weight: 650;
}

.breadcrumb:hover { color: var(--text); }

.branch-hero {
  margin: 64px auto 48px;
  max-width: 780px;
  text-align: center;
}

.branch-hero h1 { font-size: clamp(38px, 5vw, 58px); }
.product-card { min-height: 190px; }
.product-card .product-action {
  margin-top: 18px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.product-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-grid.one { grid-template-columns: minmax(0, 640px); justify-content: center; }

.branch-note {
  max-width: 720px;
  margin: 30px auto 0;
  padding: 17px 20px;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.branch-note a { color: var(--brand); font-weight: 750; text-decoration: none; }
.branch-note a:hover { text-decoration: underline; }

.not-found {
  width: min(680px, calc(100% - 40px));
  margin: 120px auto;
  text-align: center;
}

.not-found h1 { font-size: clamp(42px, 7vw, 70px); margin: 0 0 12px; letter-spacing: -.04em; }
.not-found p { color: var(--muted); font-size: 18px; }

:focus-visible {
  outline: 3px solid rgba(26,115,232,.34);
  outline-offset: 3px;
}

@media (max-width: 780px) {
  .site-header { width: min(100% - 28px, 1120px); min-height: 68px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 30px; height: 30px; }
  .top-nav a:not(.sign-in) { display: none; }
  .hero { width: min(100% - 28px, 920px); margin-top: 58px; }
  .hero .lead, .branch-hero .lead { margin-top: 18px; }
  .hero-actions { margin-top: 27px; }
  .button { width: 100%; max-width: 360px; }
  .choice-section { width: min(100% - 28px, 960px); margin-top: 64px; }
  .choice-grid, .product-grid, .product-grid.three { grid-template-columns: 1fr; }
  .choice-card, .product-card { min-height: 154px; padding: 22px; }
  .footer-inner { width: min(100% - 28px, 1120px); padding: 22px 0; flex-direction: column; align-items: flex-start; }
  .branch-main { width: min(100% - 28px, 960px); }
  .branch-hero { margin-top: 48px; }
  .breadcrumb { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
