/* ============================================================
   GizmoX — Landing page
   Fonts: Space Grotesk (display) / Inter (body)
   ============================================================ */

:root {
  --ink: #0a0d14;
  --ink-2: #10141d;
  --ink-3: #151a24;
  --paper: #ffffff;
  --paper-alt: #f4f6fb;
  --line: #e6eaf2;
  --line-soft: #eef1f7;
  --text: #2a3242;
  --muted: #5b6574;
  --primary: #0066ff;
  --primary-dark: #0052cc;
  --cyan: #22d3ee;
  --green: #15803d;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --radius: 20px;
  --shadow-sm: 0 2px 10px rgba(13, 22, 44, 0.06);
  --shadow-md: 0 14px 40px rgba(13, 22, 44, 0.12);
  --shadow-dark: 0 30px 80px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 90px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

figure {
  margin: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid #66a3ff;
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 28px);
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
}

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

/* ============ Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 102, 255, 0.35);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: #eaf0ff;
  transform: translateY(-2px);
}

/* ============ Header ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 13, 20, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-dark {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav > a:not(.btn) {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav > a:not(.btn):hover {
  color: #fff;
}

.nav-cta {
  margin-left: 6px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ Hero ============ */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 78% -10%, rgba(0, 102, 255, 0.28), transparent 60%),
    radial-gradient(700px 460px at 8% 115%, rgba(34, 211, 238, 0.14), transparent 60%),
    var(--ink);
  color: #fff;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
  padding-block: clamp(64px, 9vw, 110px);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #9ecbff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  font-weight: 700;
  color: #fff;
}

.grad {
  background: linear-gradient(92deg, #4d9fff 10%, var(--cyan) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 20px;
  max-width: 54ch;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.72);
}

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

.hero-actions.center {
  justify-content: center;
}

.pass-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.pass-hint code {
  padding: 2px 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.copy-btn {
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.copy-btn:hover {
  background: #fff;
  color: var(--ink);
}

.copy-status {
  color: #4ade80;
  font-size: 13px;
  font-weight: 600;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 42px 0 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stats dt {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: #fff;
}

.hero-stats dd {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

/* Hero visual */

.hero-visual {
  position: relative;
  padding: 0 0 56px 34px;
}

.browser-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--ink-2);
  box-shadow: var(--shadow-dark);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--ink-3);
}

.browser-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.browser-bar .dot:nth-child(2) {
  background: #febc2e;
}

.browser-bar .dot:nth-child(3) {
  background: #28c840;
}

.browser-bar .url {
  flex: 1;
  margin-left: 12px;
  padding: 3px 14px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-frame {
  position: absolute;
  left: 0;
  bottom: 0;
  width: clamp(120px, 32%, 168px);
  border: 4px solid #1c2230;
  border-radius: 24px;
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: var(--shadow-dark);
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(16, 20, 29, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.float-chip svg {
  color: var(--cyan);
}

.float-chip-1 {
  top: 12%;
  right: -10px;
  animation: floaty 5s ease-in-out infinite alternate;
}

.float-chip-2 {
  bottom: 22%;
  right: 6%;
  animation: floaty 6s 0.8s ease-in-out infinite alternate;
}

@keyframes floaty {
  from {
    transform: translateY(-6px);
  }
  to {
    transform: translateY(8px);
  }
}

/* ============ Ticker ============ */

.ticker {
  overflow: hidden;
  background: linear-gradient(90deg, #0050d6, var(--primary));
  padding: 15px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  gap: clamp(36px, 5vw, 64px);
  padding-right: clamp(36px, 5vw, 64px);
}

.ticker-group span {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.ticker-group b {
  margin-right: 8px;
  opacity: 0.55;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ============ Sections ============ */

.section {
  padding-block: clamp(72px, 9vw, 110px);
}

.section-alt {
  background: var(--paper-alt);
}

.section-dark {
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(0, 102, 255, 0.16), transparent 60%),
    var(--ink);
}

.section-head {
  max-width: 660px;
  margin: 0 auto clamp(40px, 6vw, 60px);
  text-align: center;
}

.eyebrow {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.section-dark .eyebrow {
  color: var(--cyan);
}

.section h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  font-weight: 700;
}

.section-dark h2 {
  color: #fff;
}

.sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16.5px;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  text-align: left;
}

/* ============ Demo cards ============ */

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.demo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.demo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.demo-media {
  position: relative;
  aspect-ratio: 575 / 640;
  overflow: hidden;
}

.demo-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.demo-card:hover .demo-media > img {
  transform: scale(1.04);
}

.demo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 13, 20, 0);
  transition: background-color 0.3s ease;
}

.demo-overlay .btn {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.demo-card:hover .demo-overlay,
.demo-overlay:focus-within {
  background: rgba(10, 13, 20, 0.45);
}

.demo-card:hover .demo-overlay .btn,
.demo-overlay:focus-within .btn {
  opacity: 1;
  transform: translateY(0);
}

.demo-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
}

.demo-info h3 {
  font-size: 18px;
  font-weight: 600;
}

.demo-info p {
  margin-top: 3px;
  font-size: 14px;
  color: var(--muted);
}

.demo-tag {
  flex-shrink: 0;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.demo-tag.live {
  background: rgba(22, 163, 74, 0.1);
  color: var(--green);
}

.demo-tag.soon {
  background: rgba(234, 88, 12, 0.1);
  color: #c2410c;
}

/* ============ Bento features ============ */

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "big big a b"
    "big big wide wide";
  gap: 24px;
}

.bento-big {
  grid-area: big;
}

.bento-wide {
  grid-area: wide;
}

.bento-cell {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.bento-cell:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 255, 0.35);
  box-shadow: var(--shadow-md);
}

.bento-cell > img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  object-position: top;
  border-bottom: 1px solid var(--line-soft);
  min-height: 0;
}

.bento-cell:not(.bento-big):not(.bento-wide) > img {
  aspect-ratio: 770 / 449;
  flex: none;
}

.bento-text {
  padding: 22px 24px 24px;
}

.bento-text h3 {
  font-size: 18px;
  font-weight: 600;
}

.bento-text p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--muted);
}

.bento-big .bento-text h3 {
  font-size: 21px;
}

.bento-big .bento-text p {
  font-size: 15.5px;
}

/* ============ Pages carousel ============ */

.carousel-nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.round-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.round-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.pages-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px max(24px, calc((100% - 1400px) / 2 + 24px)) 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.pages-track figure {
  flex: 0 0 clamp(250px, 28vw, 360px);
  scroll-snap-align: start;
}

.pages-track img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease;
}

.pages-track figure:hover img {
  transform: translateY(-5px);
}

.pages-track figcaption {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

/* ============ Split (product & category) ============ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.split-copy .eyebrow {
  margin-bottom: 12px;
}

.split-copy .sub {
  margin-top: 14px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 13px;
  margin: 26px 0 32px;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 36px;
  font-size: 15.5px;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: rgba(0, 102, 255, 0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.split-media {
  position: relative;
}

.shot {
  width: 84%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: #fff;
}

.shot-1 {
  transform: rotate(-1.5deg);
}

.shot-2 {
  margin: -17% 0 0 auto;
  transform: rotate(1.5deg);
  position: relative;
}

/* ============ Savings ============ */

.savings-grid {
  display: grid;
  grid-template-columns: minmax(280px, 370px) 1fr;
  gap: 32px;
  align-items: start;
}

.savings-summary {
  position: sticky;
  top: 96px;
  padding: 34px 32px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(400px 260px at 90% -20%, rgba(0, 102, 255, 0.35), transparent 65%),
    var(--ink);
  box-shadow: var(--shadow-md);
}

.savings-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.savings-old {
  margin: 6px 0 22px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: line-through;
}

.savings-old span,
.savings-new span {
  font-size: 15px;
  font-weight: 500;
}

.savings-new {
  margin: 6px 0 4px;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: #fff;
}

.savings-new span {
  color: rgba(255, 255, 255, 0.7);
}

.savings-lift {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 26px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  font-size: 13px;
  font-weight: 600;
}

.savings-summary .btn {
  width: 100%;
}

.savings-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 10px 10px 18px;
  box-shadow: var(--shadow-sm);
}

.s-row {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 0.9fr;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  font-size: 14.5px;
}

.s-row + .s-row {
  border-top: 1px solid var(--line-soft);
}

.s-row span:nth-child(2),
.s-row span:nth-child(3) {
  text-align: right;
  color: var(--muted);
}

.s-row span:nth-child(4) {
  justify-self: end;
}

.s-head {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.s-head span {
  color: var(--muted) !important;
}

.s-row .free {
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
  color: var(--green);
  font-size: 12.5px;
  font-weight: 600;
}

.s-row .free::before {
  content: "\2713\00a0";
}

.view-more {
  display: flex;
  margin: 14px auto 0;
  border-color: rgba(0, 102, 255, 0.4);
  color: var(--primary);
}

.view-more:hover {
  background: rgba(0, 102, 255, 0.06);
}

/* ============ Styles tabs ============ */

.tabs {
  display: flex;
  width: fit-content;
  gap: 6px;
  margin: 0 auto 34px;
  padding: 6px;
  border-radius: 999px;
  background: var(--line-soft);
}

.tab {
  padding: 10px 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.tab[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.tab-panel img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

/* ============ CTA band ============ */

.cta-band {
  background:
    radial-gradient(800px 460px at 50% -20%, rgba(0, 102, 255, 0.3), transparent 65%),
    radial-gradient(500px 300px at 90% 110%, rgba(34, 211, 238, 0.12), transparent 60%),
    var(--ink);
  padding-block: clamp(80px, 10vw, 120px);
  text-align: center;
}

.cta-inner img {
  margin: 0 auto 22px;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

.cta-band p {
  max-width: 520px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.65);
}

.cta-band .hero-actions {
  margin-top: 34px;
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.35);
}

/* ============ Footer ============ */

.site-footer {
  background: #070a0f;
  padding: 52px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ============ Responsive ============ */

@media (max-width: 1000px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "big big"
      "a b"
      "wide wide";
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 620px;
    padding-left: 24px;
  }

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

  .split-media {
    max-width: 560px;
  }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 49;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 24px 26px;
    background: #0c1018;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav > a:not(.btn) {
    padding: 13px 4px;
    font-size: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nav-cta {
    margin: 14px 0 0;
    align-self: flex-start;
  }

  .nav-toggle {
    display: flex;
  }

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

  .savings-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento {
    grid-template-columns: 1fr;
    grid-template-areas: "big" "a" "b" "wide";
  }

  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .s-row {
    grid-template-columns: 1.6fr 1fr auto;
  }

  .s-row span:nth-child(3) {
    display: none;
  }

  .float-chip-2 {
    display: none;
  }

  .tabs {
    max-width: 100%;
  }

  .tab {
    padding: 10px 16px;
    font-size: 13.5px;
  }
}

/* ============ Reduced motion ============ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ticker-track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
  }
}
