:root {
  color-scheme: dark;
  --black: #090405;
  --wine-950: #170304;
  --wine-900: #260607;
  --wine-800: #3b0808;
  --red-700: #8f130d;
  --red-500: #ef2d18;
  --ember: #ff6f21;
  --gold: #ffc33d;
  --gold-soft: #ffe19a;
  --cream: #fff7de;
  --blue: #1e70ff;
  --violet: #7957ff;
  --text: #fff8ec;
  --muted: #f2cfc1;
  --line: rgba(255, 195, 61, 0.22);
  --panel: rgba(37, 6, 7, 0.82);
  --panel-strong: rgba(58, 8, 7, 0.94);
  --radius: 8px;
  --container: min(1160px, calc(100% - 32px));
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 24% 4%, rgba(255, 111, 33, 0.22), transparent 24rem),
    radial-gradient(circle at 84% 12%, rgba(121, 87, 255, 0.14), transparent 20rem),
    linear-gradient(180deg, var(--wine-950) 0%, #230506 42%, #0b0507 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 195, 61, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 195, 61, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 32%, rgba(255, 111, 33, 0.08) 32% 33%, transparent 33% 100%),
    linear-gradient(68deg, transparent 0 70%, rgba(30, 112, 255, 0.07) 70% 71%, transparent 71% 100%);
}

img,
svg {
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold-soft);
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 100;
  transform: translateY(-130%);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--gold-soft);
  color: #1d0904;
  font-weight: 900;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 195, 61, 0.18);
  background: rgba(10, 4, 5, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: var(--container);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  border: 2px solid rgba(255, 247, 222, 0.9);
  background:
    radial-gradient(circle at 38% 24%, #fff7de 0 8%, #ffc33d 9% 34%, #ef2d18 72%, #4a0705 100%);
  box-shadow: 0 0 24px rgba(255, 111, 33, 0.48), inset 0 -8px 14px rgba(46, 2, 1, 0.5);
}

.brand-mark::before {
  content: "7";
  color: var(--cream);
  font-size: 1.3rem;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 2px 0 #3a0504, 0 0 14px rgba(255, 195, 61, 0.7);
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-name {
  color: var(--cream);
  font-size: 1.03rem;
  font-weight: 950;
  text-transform: uppercase;
}

.brand-subtitle {
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: var(--cream);
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -7px;
}

.nav-toggle-lines::after {
  top: 7px;
}

.primary-nav {
  position: absolute;
  inset: 72px 16px auto 16px;
  display: none;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 4, 5, 0.98);
  box-shadow: var(--shadow);
}

.primary-nav.is-open {
  display: grid;
}

.primary-nav a {
  padding: 0.72rem 0.8rem;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 850;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: rgba(255, 111, 33, 0.13);
  color: var(--cream);
}

.main {
  overflow: hidden;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  padding: clamp(36px, 5vw, 66px) 0 clamp(56px, 7vw, 92px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 5vw, 52px);
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.38rem 0.72rem;
  border: 1px solid rgba(255, 195, 61, 0.34);
  border-radius: 999px;
  background: rgba(255, 111, 33, 0.12);
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 16px var(--ember);
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(2.55rem, 14vw, 4.7rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.title-line {
  display: block;
}

.hot-text {
  background: linear-gradient(180deg, #fff7de 0%, #ffc33d 28%, #ff6f21 58%, #ef2d18 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 32px rgba(255, 111, 33, 0.22);
}

.lead {
  max-width: 58ch;
  margin-bottom: 1.35rem;
  color: #ffe4d6;
  font-size: clamp(1.03rem, 2vw, 1.17rem);
}

.hero-actions,
.cta-actions,
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.84rem 1.12rem;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff2b9 0%, #ffc33d 38%, #ff7a1e 74%, #df2a12 100%);
  color: #210604;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 16px 32px rgba(239, 45, 24, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.62);
  cursor: pointer;
}

.button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button-secondary {
  border: 1px solid rgba(255, 195, 61, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  box-shadow: none;
}

.button-small {
  min-height: 42px;
  padding: 0.68rem 0.9rem;
  font-size: 0.88rem;
}

.hero-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 3% -5% -4% 8%;
  z-index: -1;
  border-radius: 28px;
  background: radial-gradient(circle, rgba(255, 111, 33, 0.38), transparent 62%);
  filter: blur(16px);
}

.creative-frame {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 195, 61, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 225, 154, 0.2), transparent 28%),
    rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow), 0 0 36px rgba(255, 111, 33, 0.22);
}

.creative-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-meta {
  display: grid;
  gap: 1rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.stat {
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid rgba(255, 195, 61, 0.18);
  border-radius: var(--radius);
  background: rgba(20, 4, 5, 0.72);
}

.stat strong {
  display: block;
  color: var(--gold-soft);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  position: relative;
  padding: clamp(64px, 9vw, 116px) 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

h2 {
  margin-bottom: 0.82rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.18rem;
  line-height: 1.22;
}

.section-lead {
  color: var(--muted);
  font-size: 1.04rem;
}

.glass-panel,
.feature-card,
.step-card,
.demo-panel,
.legal-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
    var(--panel);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.about-grid {
  display: grid;
  gap: 1rem;
}

.about-copy {
  padding: clamp(1.1rem, 3vw, 1.7rem);
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-list {
  display: grid;
  gap: 0.8rem;
  padding: clamp(1rem, 3vw, 1.35rem);
}

.about-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.85rem;
  border-radius: var(--radius);
  background: rgba(13, 4, 5, 0.72);
}

.about-item strong {
  display: block;
}

.about-item span span {
  color: var(--muted);
  font-size: 0.92rem;
}

.mini-token {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 24%, #fff7de 0 12%, #ffc33d 13% 52%, #ef2d18 100%);
  color: #240604;
  font-weight: 950;
  box-shadow: 0 0 18px rgba(255, 111, 33, 0.3);
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

.feature-card {
  min-height: 220px;
  padding: 1.2rem;
}

.feature-card p,
.step-card p {
  color: var(--muted);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1.2rem;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 225, 154, 0.22), rgba(255, 111, 33, 0.07)),
    rgba(239, 45, 24, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 225, 154, 0.18), 0 0 24px rgba(255, 111, 33, 0.16);
}

.feature-icon::before,
.feature-icon::after {
  content: "";
  display: block;
}

.icon-flame::before {
  width: 26px;
  height: 34px;
  border-radius: 60% 40% 55% 45%;
  background: radial-gradient(circle at 50% 72%, #ffe19a 0 22%, #ff9a2d 23% 52%, #ef2d18 82%);
  clip-path: polygon(50% 0, 78% 32%, 70% 58%, 92% 82%, 54% 100%, 20% 88%, 8% 58%, 32% 30%);
  filter: drop-shadow(0 0 8px rgba(255, 111, 33, 0.65));
}

.icon-fruit::before {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 70% 32%, #7957ff 0 13%, transparent 14%),
    radial-gradient(circle at 34% 64%, #1e70ff 0 15%, transparent 16%),
    radial-gradient(circle at 44% 38%, #ffc33d 0 16%, transparent 17%),
    #ef2d18;
}

.icon-touch::before {
  width: 30px;
  height: 30px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  box-shadow: inset 0 0 0 7px rgba(255, 111, 33, 0.35), 0 0 16px rgba(255, 195, 61, 0.35);
}

.icon-points::before {
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffc33d, #ef2d18);
  box-shadow: 0 10px 0 -5px #1e70ff, 0 -10px 0 -5px #7957ff;
}

.steps-grid {
  display: grid;
  gap: 1rem;
  counter-reset: steps;
}

.step-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  padding: 1.2rem;
}

.step-card::before {
  counter-increment: steps;
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 24%, #fff7de 0 12%, #ffc33d 13% 54%, #ef2d18 100%);
  color: #210604;
  font-weight: 950;
  box-shadow: 0 0 24px rgba(255, 111, 33, 0.3);
}

.step-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 112px;
  height: 112px;
  border: 18px solid rgba(255, 195, 61, 0.1);
  border-radius: 50%;
}

.demo-section {
  padding-top: 0;
}

.demo-panel {
  display: grid;
  gap: 1.4rem;
  padding: clamp(1rem, 4vw, 1.6rem);
}

.demo-copy p {
  color: var(--muted);
}

.demo-board {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 111, 33, 0.22), transparent 58%),
    rgba(10, 4, 5, 0.68);
}

.heat-lane {
  position: relative;
  height: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(239, 45, 24, 0.18), rgba(255, 195, 61, 0.42), rgba(239, 45, 24, 0.18));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.heat-lane::before {
  content: "";
  position: absolute;
  top: -6px;
  bottom: -6px;
  left: 50%;
  width: 54px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 225, 154, 0.34);
  box-shadow: 0 0 22px rgba(255, 195, 61, 0.42);
}

.heat-lane.is-hit {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 0 26px rgba(255, 111, 33, 0.28);
}

.heat-marker {
  position: absolute;
  top: -5px;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #fff7de 0 10%, #ffc33d 11% 55%, #ef2d18 100%);
  box-shadow: 0 0 18px rgba(255, 111, 33, 0.48);
  animation: heat-sweep 1.6s ease-in-out infinite alternate;
}

@keyframes heat-sweep {
  from {
    left: 0;
  }

  to {
    left: calc(100% - 28px);
  }
}

.score-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.score-box {
  min-height: 82px;
  padding: 0.75rem;
  border: 1px solid rgba(255, 195, 61, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.score-label {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.score-value {
  display: block;
  color: var(--gold-soft);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1.1;
}

.demo-message {
  min-height: 3.2em;
  margin: 0;
  color: #ffe4d6;
}

.cta-band {
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    linear-gradient(135deg, rgba(143, 19, 13, 0.3), rgba(30, 112, 255, 0.08)),
    rgba(9, 4, 5, 0.56);
}

.cta-panel {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid rgba(255, 195, 61, 0.24);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 111, 33, 0.2), transparent 20rem),
    rgba(58, 8, 7, 0.82);
  box-shadow: var(--shadow);
}

.cta-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid rgba(255, 195, 61, 0.18);
  background: rgba(9, 4, 5, 0.94);
}

.footer-grid {
  width: var(--container);
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  gap: 1.1rem;
}

.footer-legal-title {
  margin-bottom: 0.25rem;
  color: var(--cream);
  font-weight: 900;
}

.footer-legal,
.footer-copy,
.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-links a {
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 850;
  text-decoration: none;
}

.footer-links a:hover {
  background: rgba(255, 111, 33, 0.13);
  color: var(--cream);
}

.page-hero {
  padding: clamp(48px, 8vw, 86px) 0 clamp(26px, 5vw, 48px);
}

.page-hero h1 {
  max-width: 850px;
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 8vw, 4.1rem);
  line-height: 0.98;
}

.page-hero p {
  max-width: 740px;
  color: var(--muted);
}

.legal-layout,
.contact-layout {
  display: grid;
  gap: 1rem;
  padding-bottom: clamp(64px, 8vw, 108px);
}

.legal-panel,
.contact-card {
  padding: clamp(1rem, 3vw, 1.55rem);
}

.legal-panel h2 {
  margin-top: 1.4rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.legal-panel h2:first-child {
  margin-top: 0;
}

.legal-panel p,
.legal-panel li,
.contact-card p {
  color: var(--muted);
}

.legal-panel ul,
.legal-panel ol {
  padding-left: 1.2rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

th,
td {
  padding: 0.8rem;
  border-bottom: 1px solid rgba(255, 195, 61, 0.14);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--gold-soft);
}

tr:last-child td {
  border-bottom: 0;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.field-grid {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.38rem;
}

.field label {
  font-weight: 850;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(255, 195, 61, 0.28);
  border-radius: var(--radius);
  padding: 0.78rem 0.86rem;
  background: rgba(10, 4, 5, 0.72);
  color: var(--cream);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: #ffb086;
  box-shadow: 0 0 0 3px rgba(255, 111, 33, 0.14);
}

.field-error {
  min-height: 1.3em;
  color: #ffc4aa;
  font-size: 0.86rem;
}

.checkbox-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  color: var(--muted);
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  accent-color: var(--gold);
}

.form-status {
  min-height: 1.5em;
  color: var(--gold-soft);
  font-weight: 850;
}

.cookie-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 80;
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid rgba(255, 195, 61, 0.28);
  border-radius: var(--radius);
  background: rgba(10, 4, 5, 0.96);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden],
.cookie-settings[hidden] {
  display: none;
}

.cookie-banner p {
  margin-bottom: 0.8rem;
  color: var(--muted);
}

.cookie-settings {
  margin-top: 0.9rem;
  padding: 0.85rem;
  border: 1px solid rgba(255, 195, 61, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.cookie-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  margin-bottom: 0.8rem;
}

.cookie-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

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

@media (min-width: 640px) {
  .feature-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-panel {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 820px) {
  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.15rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .primary-nav a {
    padding: 0.55rem 0.7rem;
    font-size: 0.92rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    row-gap: 1rem;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-visual {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .hero-meta {
    grid-column: 1;
    grid-row: 2;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  }

  .feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .demo-panel {
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  }

  .contact-layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  }
}

@media (min-width: 1180px) {
  .primary-nav a {
    padding-inline: 0.85rem;
  }
}

@media (max-width: 430px) {
  :root {
    --container: min(100% - 24px, 1160px);
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-subtitle {
    font-size: 0.66rem;
  }

  .hero-stats,
  .score-row {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .cta-actions,
  .cookie-actions {
    align-items: stretch;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }
}
