:root {
  color-scheme: light;
  --navy-950: #071a35;
  --navy-900: #0b2851;
  --navy-800: #123b72;
  --blue-100: #e8f1fb;
  --blue-50: #f4f8fd;
  --gold: #f2b84b;
  --gold-dark: #9a5d00;
  --green: #12623f;
  --green-soft: #e1f4e9;
  --ink: #14243b;
  --muted: #5b6b80;
  --line: #d7e0eb;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  background: var(--blue-50);
  color: var(--ink);
  font-family: Inter, Arial, "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
button, input { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; background: #fff; padding: .75rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgb(255 255 255 / 14%); background: rgb(7 26 53 / 94%); color: #fff; backdrop-filter: blur(12px); }
.header-inner { width: min(1160px, calc(100% - 2rem)); min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: auto; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; font-size: 1.18rem; font-weight: 900; }
.brand-mark { width: 2.65rem; height: 2.65rem; flex: none; display: grid; place-items: center; border-radius: .78rem; overflow: hidden; box-shadow: 0 .4rem 1rem rgb(32 37 92 / 22%); }
.brand-mark img { width: 100%; height: 100%; display: block; }
.brand-name { white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 1.35rem; }
.nav-links a { color: #e7eff9; text-decoration: none; font-size: .95rem; font-weight: 800; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--gold); }
.language-toggle { min-width: 3rem; min-height: 2.35rem; border: 1px solid rgb(255 255 255 / 28%); border-radius: 999px; background: rgb(255 255 255 / 8%); color: #fff; padding: .3rem .65rem; font-size: .82rem; font-weight: 900; cursor: pointer; }
.language-toggle:hover, .language-toggle:focus-visible { border-color: #8999ff; background: rgb(137 153 255 / 18%); outline: none; }
.container { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.hero { overflow: hidden; background: radial-gradient(circle at 78% 18%, rgb(242 184 75 / 22%) 0, transparent 21rem), linear-gradient(135deg, var(--navy-950), var(--navy-800)); color: #fff; }
.hero-inner { min-height: 610px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 4rem; padding-block: 5rem; }
.eyebrow { margin: 0 0 .75rem; color: var(--gold); font-size: .95rem; font-weight: 900; letter-spacing: .08em; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { max-width: 13ch; margin: 0; font-size: clamp(2.55rem, 6vw, 5.2rem); line-height: 1.05; letter-spacing: -.045em; }
.hero-copy { max-width: 43rem; margin: 1.4rem 0 0; color: #d8e5f5; font-size: clamp(1.08rem, 2vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border: 2px solid transparent; border-radius: .8rem; padding: .65rem 1.2rem; text-decoration: none; font-size: 1rem; font-weight: 900; }
.button-primary { background: var(--gold); color: var(--navy-950); box-shadow: 0 8px 22px rgb(0 0 0 / 22%); }
.button-primary:hover { background: #ffd16f; }
.button-secondary { border-color: rgb(255 255 255 / 42%); color: #fff; }
.button-secondary:hover { background: rgb(255 255 255 / 10%); }
.price-card { position: relative; border: 1px solid rgb(255 255 255 / 24%); border-radius: 1.5rem; background: rgb(255 255 255 / 10%); padding: 2rem; box-shadow: 0 24px 70px rgb(0 0 0 / 24%); backdrop-filter: blur(12px); }
.price-card::before { content: ""; position: absolute; inset: .7rem; border: 1px solid rgb(255 255 255 / 10%); border-radius: 1rem; pointer-events: none; }
.price-label { margin: 0; color: #c9d8eb; font-weight: 800; }
.price { display: flex; align-items: baseline; gap: .35rem; margin: .45rem 0; }
.price strong { color: var(--gold); font-size: clamp(3.5rem, 8vw, 5.3rem); line-height: 1; }
.price span { font-size: 1.3rem; font-weight: 900; }
.price-card ul { margin: 1.45rem 0 0; padding: 0; list-style: none; }
.price-card li { display: flex; gap: .7rem; padding: .55rem 0; color: #edf4fc; font-size: 1.02rem; }
.price-card li::before { content: "✓"; color: var(--gold); font-weight: 900; }
.section { padding-block: 5rem; }
.section-white { background: #fff; }
.section-heading { max-width: 740px; margin-bottom: 2.1rem; }
.section-heading h2, .legal-page h1, .confirm-card h1 { margin: 0; color: var(--navy-950); font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.15; letter-spacing: -.03em; }
.section-heading p { margin: .8rem 0 0; color: var(--muted); font-size: 1.08rem; }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) 2.5rem minmax(0, 1fr) 2.5rem minmax(0, 1fr); gap: .45rem; align-items: stretch; }
.feature-card { min-height: 235px; border: 1px solid var(--line); border-radius: 1.1rem; background: #fff; padding: 1.5rem; box-shadow: 0 10px 34px rgb(17 53 94 / 7%); }
.feature-arrow { display: grid; place-items: center; color: #536cff; font-size: 2.25rem; font-weight: 900; line-height: 1; }
.feature-number { width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border-radius: .75rem; background: var(--blue-100); color: var(--navy-800); font-size: 1.05rem; font-weight: 900; }
.feature-card h3 { margin: 1.2rem 0 .5rem; color: var(--navy-900); font-size: 1.25rem; }
.feature-card p { margin: 0; color: var(--muted); }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; counter-reset: steps; }
.step { counter-increment: steps; display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--blue-50); padding: 1.3rem; }
.step::before { content: counter(steps); width: 3.1rem; height: 3.1rem; display: grid; place-items: center; border-radius: 50%; background: var(--navy-800); color: #fff; font-size: 1.15rem; font-weight: 900; }
.step h3 { margin: .1rem 0 .3rem; color: var(--navy-900); font-size: 1.14rem; }
.step p { margin: 0; color: var(--muted); }
.notice-box { margin-top: 1.2rem; border-left: .35rem solid var(--gold); border-radius: .75rem; background: #fff7e4; padding: 1rem 1.2rem; color: #643f08; font-weight: 750; }
.responsible { background: var(--navy-950); color: #fff; }
.responsible-inner { display: grid; grid-template-columns: .7fr 1.3fr; gap: 3rem; align-items: start; }
.responsible h2 { margin: 0; color: var(--gold); font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.15; }
.responsible p { margin: 0; color: #d6e2f1; font-size: 1.08rem; }
.responsible strong { color: #fff; }
.site-footer { border-top: 1px solid #dce4ee; background: #fff; }
.footer-inner { min-height: 115px; display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; padding-block: 1.5rem; }
.footer-inner p { margin: 0; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: var(--navy-800); font-size: .92rem; font-weight: 800; }
.legal-page, .confirm-page { min-height: calc(100vh - 188px); padding-block: 4rem 6rem; }
.legal-page article { max-width: 840px; border: 1px solid var(--line); border-radius: 1.25rem; background: #fff; padding: clamp(1.4rem, 4vw, 3rem); box-shadow: 0 14px 44px rgb(17 53 94 / 8%); }
.legal-page h1 { max-width: none; margin-bottom: .5rem; }
.legal-page .updated { margin: 0 0 2rem; color: var(--muted); }
.legal-page h2 { margin: 2rem 0 .5rem; color: var(--navy-900); font-size: 1.35rem; }
.legal-page p, .legal-page li { color: #43546a; font-size: 1rem; }
.legal-page a { color: var(--navy-800); font-weight: 800; }
.confirm-page { display: grid; place-items: center; }
.confirm-card { width: min(650px, 100%); border: 1px solid var(--line); border-radius: 1.4rem; background: #fff; padding: clamp(1.5rem, 5vw, 3.4rem); text-align: center; box-shadow: 0 18px 54px rgb(17 53 94 / 12%); }
.confirm-icon { width: 5rem; height: 5rem; display: grid; place-items: center; margin: 0 auto 1.3rem; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 2.5rem; font-weight: 900; }
.confirm-card h1 { max-width: none; }
.confirm-card p { color: var(--muted); font-size: 1.08rem; }
.confirm-card .button { margin-top: 1rem; background: var(--navy-800); color: #fff; }
.reset-card { text-align: left; }
.reset-card .confirm-icon, .reset-card h1, .reset-card > p { text-align: center; }
.reset-card .confirm-icon.error { background: #fff0ef; color: #9d322d; }
.reset-form { display: grid; gap: .65rem; margin-top: 1.5rem; }
.reset-form label { color: var(--navy-900); font-size: 1rem; font-weight: 800; }
.reset-form input { width: 100%; min-height: 50px; border: 1px solid #aebdce; border-radius: .7rem; padding: .65rem .8rem; background: #fff; color: var(--ink); font-size: 1rem; }
.reset-form input:focus { border-color: var(--navy-800); outline: 3px solid rgb(18 59 114 / 14%); }
.reset-form .button { width: 100%; border: 0; cursor: pointer; }
.reset-form .button:disabled { cursor: wait; opacity: .6; }
.reset-feedback { margin: .2rem 0 0; border-radius: .7rem; padding: .8rem .9rem; text-align: center; font-size: 1rem; font-weight: 800; line-height: 1.45; }
.reset-feedback.info { background: #edf4ff; color: var(--navy-900); }
.reset-feedback.success { background: #e8f8ef; color: #12653b; }
.reset-feedback.error { background: #fff0ef; color: #8f2824; }
.reset-home-link { display: block; margin-top: 1.1rem; color: var(--navy-800); text-align: center; font-weight: 800; }
.contact-list { padding-left: 1.2rem; }
.contact-email { display: inline-block; margin-top: .5rem; color: var(--navy-800); font-size: 1.15rem; font-weight: 900; }

/* Split-screen home page */
.home-page {
  background: #e7e8ee;
}
.home-page main {
  padding: 4px;
}
.split-hero {
  min-height: calc(100svh - 8px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4px;
}
.hero-left,
.hero-right {
  position: relative;
  min-height: calc(100svh - 8px);
  overflow: hidden;
  border-radius: 13px;
  background: #17163f;
  color: #fff;
}
.hero-left {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.25rem, 3vw, 2.4rem) clamp(1.25rem, 5.2vw, 5rem);
}
.hero-nav {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.hero-nav .brand {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}
.hero-nav .brand-mark {
  box-shadow: .32rem .32rem 0 rgb(139 92 255 / 72%);
}
.hero-nav .nav-links {
  gap: clamp(.7rem, 2vw, 1.4rem);
}
.hero-nav .nav-links a {
  color: #d9d8eb;
  font-size: .9rem;
}
.hero-nav .nav-primary {
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 999px;
  padding: .42rem .82rem;
}
.hero-message {
  width: min(100%, 640px);
  min-width: 0;
  align-self: center;
  justify-self: center;
  padding-block: clamp(3rem, 8vh, 6.5rem) 2rem;
  text-align: center;
}
.hero-message .eyebrow {
  margin-bottom: 1.2rem;
  color: #d6d5e9;
  font-size: .83rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-message h1 {
  position: relative;
  left: 50%;
  width: max-content;
  max-width: none;
  margin-inline: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-size: clamp(3rem, 4.9vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.065em;
  transform: translateX(-50%);
  white-space: nowrap;
}
.hero-amount {
  display: inline-block;
  width: 4ch;
  height: 1em;
  overflow: hidden;
  color: #5d74ff;
  font-size: 1.62em;
  font-weight: 950;
  transform-origin: 50% 80%;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
  vertical-align: baseline;
}
.amount-currency {
  display: inline-block;
  margin-left: .08em;
  margin-right: .16em;
  color: #fff;
}
.amount-bang {
  display: inline-block;
  margin-left: -.45em;
  color: #fff;
}
.amount-window,
.amount-static,
.amount-roll,
.amount-roll > span {
  width: 100%;
  height: 1em;
  display: block;
  line-height: 1;
  text-align: left;
}
.amount-roll {
  will-change: transform, filter;
  animation: amount-reel 1.55s cubic-bezier(.16, .76, .23, 1) both;
}
.hero-question {
  position: relative;
  left: 50%;
  width: max-content;
  max-width: 100%;
  margin: 1.05rem 0 0;
  padding: .45rem 1rem .52rem;
  border-radius: 2px;
  background: #fff;
  color: #17163f;
  font-size: clamp(1.45rem, 2.3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.035em;
  text-align: center;
  transform: translateX(-50%);
}
.hero-message .hero-copy {
  max-width: 40rem;
  margin: 1.65rem auto 0;
  color: #c9c8de;
  font-size: clamp(1rem, 1.45vw, 1.17rem);
  line-height: 1.7;
}
.hero-message .actions {
  justify-content: center;
  margin-top: 2rem;
}
.hero-message .button {
  min-height: 56px;
  border-radius: 999px;
  padding-inline: 1.45rem;
}
.hero-message .button-primary {
  background: #fff;
  color: #17163f;
  box-shadow: none;
}
.hero-message .button-primary:hover {
  background: #e9ebff;
}
.hero-message .button-secondary {
  border-color: #504e78;
  background: transparent;
  color: #fff;
}
.hero-meta {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 1rem;
}
.price-lockup {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: .9rem;
}
.price-lockup > span {
  padding-bottom: 0;
  color: #8999ff;
  font-size: .95rem;
  font-weight: 900;
}
.price-lockup strong {
  color: #fff;
  margin-inline: .25rem;
  font-size: clamp(6.75rem, 9vw, 9.6rem);
  line-height: 1;
  letter-spacing: -.03em;
}
.price-lockup small {
  padding: 0;
  color: #aaa9c1;
  font-size: .75rem;
  line-height: 1.35;
}
.venue-lockup {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.venue-lockup p {
  margin: 0;
  color: #aaa9c1;
  font-size: .82rem;
  line-height: 1.45;
}
.venue-lockup strong {
  color: #fff;
}
.venue-dot {
  width: .68rem;
  height: .68rem;
  border-radius: 50%;
  background: #60e69a;
  box-shadow: 0 0 0 .32rem rgb(96 230 154 / 12%);
}
.hero-right {
  display: grid;
  place-items: center;
  isolation: isolate;
  background: #504fff;
}
.hero-right::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background: linear-gradient(140deg, #444cff 0%, #7552ff 48%, #3041d5 100%);
}
.hero-right::after {
  content: "";
  position: absolute;
  inset: auto -10% -28% auto;
  width: 74%;
  aspect-ratio: 1;
  z-index: -3;
  border-radius: 50%;
  background: #17163f;
}
.orbit {
  position: absolute;
  z-index: -2;
  border: clamp(2.5rem, 6vw, 5.5rem) solid #17163f;
  border-radius: 50%;
  transform: rotate(-24deg);
}
.orbit-one {
  width: 110%;
  height: 48%;
  top: -10%;
  right: -42%;
}
.orbit-two {
  width: 88%;
  height: 38%;
  bottom: -9%;
  left: -38%;
}
.addon-window {
  width: min(410px, calc(100% - 3rem));
  max-height: calc(100svh - 5rem);
  overflow: hidden;
  border: 1px solid #101329;
  border-radius: 14px;
  background: #f7f8fb;
  color: #243047;
  box-shadow: 0 45px 90px rgb(10 9 43 / 48%), 0 8px 20px rgb(10 9 43 / 25%);
  transform: rotate(1.5deg) translateY(.5rem) scale(.95);
}
.addon-topbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .6rem .7rem .6rem 1rem;
  background: #23263a;
  color: #fff;
}
.addon-title {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.35rem;
  font-weight: 900;
}
.addon-title > span[aria-hidden] {
  color: #aeb7cb;
  font-size: 1rem;
  letter-spacing: -.2rem;
}
.addon-actions {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.addon-actions span {
  min-width: 48px;
  min-height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #747d94;
  border-radius: 5px;
  background: #34384f;
  font-size: .75rem;
  font-weight: 800;
}
.addon-actions .close {
  min-width: 34px;
  border-radius: 50%;
  background: transparent;
  font-size: 1rem;
}
.addon-status {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .9rem;
  border-bottom: 1px solid #171b2e;
  background: #2d3045;
  color: #cbd2e2;
  font-size: .82rem;
  line-height: 1.25;
}
.addon-status i {
  width: .52rem;
  height: .52rem;
  flex: none;
  border-radius: 50%;
  background: #39b96b;
  box-shadow: 0 0 0 .2rem rgb(57 185 107 / 16%);
}
.addon-status strong {
  color: #fff;
  font-weight: 800;
}
.addon-body {
  padding: .72rem;
  background: #f7f8fb;
}
.addon-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .35rem;
  margin-bottom: .65rem;
}
.addon-tabs span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #adb6c4;
  border-radius: 5px;
  background: #fff;
  color: #48566b;
  font-size: .86rem;
  font-weight: 900;
}
.addon-tabs .active {
  border-color: #ce6666;
  background: #e98282;
  color: #531e25;
}
.mock-field {
  margin-bottom: .58rem;
}
.mock-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .28rem;
  color: #3b4557;
  font-size: .86rem;
}
.mock-label small {
  color: #7a8495;
  font-size: .74rem;
}
.mock-money {
  height: 37px;
  display: flex;
  align-items: center;
  gap: .35rem;
  border: 1px solid #aeb7c5;
  border-radius: 5px;
  background: #fff;
  padding: 0 .65rem;
  font-size: 1rem;
}
.horse-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .28rem;
}
.horse-grid span {
  height: 33px;
  display: grid;
  place-items: center;
  border: 1px solid #aeb6c2;
  border-radius: 5px;
  background: linear-gradient(#fff, #edf0f4);
  color: #334052;
  font-size: .8rem;
  font-weight: 800;
}
.horse-grid .banker {
  border-color: #ce6666;
  background: #ef8989;
  color: #4f1720;
}
.horse-grid .leg {
  border-color: #143b7c;
  background: #214d93;
  color: #fff;
}
.horse-grid .unavailable {
  border-color: #c8cdd5;
  background: #dfe3e9;
  color: #8b94a3;
  text-decoration: line-through;
}
.mock-selection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin: .65rem 0;
  border: 1px solid #c7ced9;
  border-radius: 5px;
  background: #eef2f7;
  padding: .45rem;
  font-size: .78rem;
}
.mock-selection div {
  display: grid;
  gap: .12rem;
}
.mock-selection small {
  color: #596578;
}
.mock-selection > span {
  border: 1px solid #8d96a5;
  border-radius: 4px;
  background: #fff;
  padding: .42rem .55rem;
  font-weight: 800;
}
.mock-results {
  overflow: hidden;
  border: 1px solid #c7ced9;
  border-radius: 5px;
  background: #fff;
  font-size: .8rem;
}
.mock-results > div {
  min-height: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px 66px;
  align-items: center;
  gap: .4rem;
  padding: .25rem .55rem;
  border-bottom: 1px solid #e1e5eb;
}
.mock-results > div:last-child {
  border-bottom: 0;
}
.mock-results .result-head {
  background: #203f78;
  color: #fff;
  font-weight: 800;
}
.mock-results > div > :first-child {
  text-align: left;
}
.mock-results > div > :nth-child(2) {
  text-align: center;
}
.mock-results > div > :last-child {
  text-align: right;
}
.mock-results strong {
  color: #193b75;
}
.mock-results b {
  color: #b45309;
}
.mock-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .45rem;
  margin-top: .55rem;
  color: #586477;
  font-size: .76rem;
}
.mock-summary span {
  display: grid;
  gap: .05rem;
  border: 1px solid #c7ced9;
  border-radius: 5px;
  background: #eef2f7;
  padding: .38rem .5rem;
}
.mock-summary strong,
.mock-summary b {
  color: #193b75;
  font-size: .9rem;
}
.mock-summary em {
  font-style: normal;
}
.mock-summary b {
  color: #238653;
}
.mock-add {
  width: 100%;
  height: 44px;
  margin-top: .65rem;
  border: 1px solid #17643c;
  border-radius: 5px;
  background: #238653;
  color: #fff;
  font-size: .92rem;
  font-weight: 900;
  pointer-events: none;
}
.float-note {
  position: absolute;
  z-index: 4;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 999px;
  background: rgb(23 22 63 / 86%);
  color: #fff;
  padding: .58rem .85rem;
  box-shadow: 0 12px 30px rgb(15 13 55 / 22%);
  backdrop-filter: blur(10px);
  font-size: .78rem;
  font-weight: 800;
}
.note-one {
  top: 5%;
  left: 5%;
  display: flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
}
.note-one > span:first-child {
  width: .48rem;
  height: .48rem;
  display: inline-block;
  margin-right: 0;
  border-radius: 50%;
  background: #60e69a;
}
.home-page .section:first-of-type {
  margin-top: 4px;
}
.home-page .section-white,
.home-page .site-footer {
  background: #fff;
}
.home-page .feature-card {
  border-radius: 1.4rem;
}

@media (max-width: 960px) {
  .split-hero {
    grid-template-columns: 1fr;
  }
  .hero-left {
    min-height: 760px;
  }
  .hero-right {
    min-height: 820px;
  }
  .addon-window {
    max-height: none;
    transform: rotate(1deg);
  }
}
@media (min-width: 961px) and (max-width: 1180px) {
  .hero-left {
    padding-inline: clamp(1.35rem, 3vw, 2.2rem);
  }
  .hero-message h1 {
    font-size: clamp(2.65rem, 4.3vw, 3.3rem);
  }
}
html[lang="en"] .hero-message h1 {
  left: auto;
  width: 100%;
  max-width: 100%;
  font-size: clamp(2.25rem, 3.25vw, 3.4rem);
  transform: none;
}
html[lang="en"] .hero-question {
  left: auto;
  width: min(100%, 33rem);
  font-size: clamp(1.15rem, 1.65vw, 1.55rem);
  transform: none;
}
html[lang="en"] .hero-message .actions {
  width: min(100%, 27rem);
  display: grid;
  margin-inline: auto;
}
html[lang="en"] .hero-message .button {
  width: 100%;
}
html[lang="en"] .home-page *,
html[lang="en"] .home-page *::before,
html[lang="en"] .home-page *::after {
  font-weight: 400 !important;
}
@media (max-width: 820px) {
  .nav-links a:not(.nav-primary) { display: none; }
  .hero-inner, .responsible-inner { grid-template-columns: 1fr; }
  .hero-inner { gap: 2.5rem; padding-block: 4rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-arrow { min-height: 2.2rem; transform: rotate(90deg); }
  .feature-card { min-height: 0; }
}
@media (max-width: 620px) {
  .header-inner, .container { width: min(100% - 1.25rem, 1160px); }
  .brand { font-size: 1.05rem; }
  .hero-inner { min-height: auto; }
  h1 { font-size: 2.65rem; }
  .home-page main { padding: 3px; }
  .split-hero { gap: 3px; }
  .hero-left, .hero-right { border-radius: 10px; }
  .hero-left { min-height: 720px; padding: 1.15rem; }
  .hero-message { padding-block: 3rem 1.5rem; }
  .hero-message h1 { font-size: clamp(2.15rem, 10.4vw, 3.3rem); }
  .hero-message .hero-copy { font-size: 1rem; }
  .hero-message .actions { display: grid; }
  .hero-message .button { width: 100%; }
  .hero-meta { align-items: center; flex-direction: column; }
  .hero-right { min-height: 730px; }
  .addon-window { width: min(370px, calc(100% - 1rem)); transform: none; }
  .float-note { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step { grid-template-columns: 3rem 1fr; }
  .step::before { width: 2.7rem; height: 2.7rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@keyframes amount-reel {
  0% { transform: translateY(0); filter: blur(0); }
  18% { filter: blur(1px); }
  62% { filter: blur(1.6px); }
  100% { transform: translateY(-5em); filter: blur(0); }
}

@media (prefers-reduced-motion: reduce) {
  .amount-roll { animation: none; }
}
