:root {
  color-scheme: dark;
  --ink: #07131f;
  --ink-soft: #0d2030;
  --ink-raised: #112b3b;
  --paper: #f3ead7;
  --paper-soft: #dcd2bd;
  --white: #fffdf6;
  --cyan: #31b5c4;
  --cyan-light: #77dce5;
  --orange: #ff7a1a;
  --red: #f04f35;
  --green: #74f597;
  --yellow: #ffd15a;
  --line: rgba(255, 255, 255, 0.16);
  --muted: #a8bac5;
  --shadow: 10px 10px 0 rgba(0, 0, 0, 0.32);
  --font-sans: Inter, "Segoe UI", Arial, sans-serif;
  --font-mono: "Cascadia Mono", "Lucida Console", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(7, 19, 31, 0.965), rgba(7, 19, 31, 0.965)),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(49, 181, 196, 0.08) 3px 4px);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 800;
}

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

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(119, 220, 229, 0.26);
  background: rgba(7, 19, 31, 0.91);
  backdrop-filter: blur(16px);
}

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

.brand {
  width: 224px;
  padding: 5px 10px;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--cyan);
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  text-decoration: none;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--orange);
  transition: transform 150ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--cyan);
  padding: 8px 12px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(72px, 8vw, 118px) clamp(80px, 10vw, 150px);
}

.hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  top: -250px;
  right: -140px;
  border: 1px solid rgba(49, 181, 196, 0.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(49, 181, 196, 0.025),
    0 0 0 140px rgba(255, 122, 26, 0.02);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(560px, 1.18fr);
  gap: clamp(48px, 7vw, 88px);
  align-items: center;
}

.eyebrow,
.section-kicker,
.terminal-label {
  margin: 0 0 20px;
  color: var(--cyan-light);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-light {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 122, 26, 0.13), 0 0 16px var(--orange);
}

.product-mark {
  width: min(320px, 78%);
  margin: 0 0 26px;
  border: 2px solid var(--paper);
  padding: 8px 12px;
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--cyan);
}

.product-mark img {
  width: 100%;
  height: auto;
}

.hero h1,
.section-heading h2,
.manifesto h2,
.local-copy h2,
.pricing-copy h2,
.company-details h2,
.legal-hero h1 {
  margin: 0;
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 620px;
  font-family: var(--font-mono);
  font-size: clamp(3rem, 6.2vw, 6.1rem);
}

.hero h1 span {
  display: block;
  margin-top: 20px;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 0.43em;
  font-weight: 760;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero-lede {
  max-width: 600px;
  margin: 30px 0 0;
  color: #c5d2d9;
  font-size: clamp(1.04rem, 1.7vw, 1.25rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  padding: 11px 18px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 5px 5px 0 var(--white);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--white);
}

.button-primary {
  background: var(--orange);
  color: var(--ink);
}

.availability {
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 50px 0 0;
  padding: 1px;
  border: 1px solid var(--line);
  list-style: none;
  background: var(--line);
}

.quick-facts li {
  min-width: 0;
  padding: 14px 12px 12px;
  background: var(--ink);
}

.quick-facts strong,
.quick-facts span {
  display: block;
}

.quick-facts strong {
  overflow: hidden;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.91rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-facts span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
}

.hero-visual {
  position: relative;
}

.app-window {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--paper);
  background: #000;
  box-shadow: var(--shadow), 0 0 0 1px var(--ink);
  transform: rotate(1.2deg);
}

.app-window::after {
  content: "";
  position: absolute;
  inset: 37px 0 0;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,0.035) 3px 4px);
  pointer-events: none;
}

.window-bar {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
}

.window-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-controls {
  white-space: nowrap;
}

.app-window > img {
  width: 100%;
  aspect-ratio: 118 / 76;
  object-fit: cover;
}

.visual-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  margin: 19px 0 0;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.visual-note span::before {
  content: "[X] ";
}

.manifesto {
  position: relative;
  color: var(--ink);
  background: var(--paper);
}

.manifesto::before,
.manifesto::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 7px;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 25%, var(--orange) 25% 50%, var(--red) 50% 75%, var(--ink) 75% 100%);
}

.manifesto::before { top: 0; }
.manifesto::after { bottom: 0; }

.manifesto-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(44px, 9vw, 120px);
  align-items: start;
}

.manifesto .section-kicker {
  color: #177f8b;
}

.manifesto h2 {
  max-width: 500px;
  font-size: clamp(2.7rem, 5.4vw, 5.7rem);
}

.manifesto-grid > p {
  max-width: 650px;
  margin: 3px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.68;
}

.features {
  background:
    radial-gradient(circle at 82% 18%, rgba(49, 181, 196, 0.12), transparent 28rem),
    var(--ink-soft);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 52px;
}

.section-heading h2,
.local-copy h2,
.pricing-copy h2,
.company-details h2 {
  font-size: clamp(2.4rem, 4.5vw, 4.7rem);
}

.section-heading > p:last-child,
.pricing-copy > p:last-child {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-card {
  position: relative;
  min-height: 336px;
  border: 1px solid rgba(119, 220, 229, 0.3);
  padding: 26px 24px;
  background: rgba(7, 19, 31, 0.76);
  box-shadow: 6px 6px 0 rgba(49, 181, 196, 0.11);
}

.feature-card:nth-child(even) {
  border-color: rgba(255, 122, 26, 0.4);
  box-shadow: 6px 6px 0 rgba(255, 122, 26, 0.11);
}

.feature-number {
  display: inline-flex;
  width: 42px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 900;
}

.feature-card:nth-child(even) .feature-number {
  background: var(--orange);
}

.feature-card h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
}

.feature-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.68;
}

.local-first {
  background: #050d13;
}

.local-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(50px, 8vw, 110px);
  border: 1px solid rgba(116, 245, 151, 0.48);
  padding: clamp(30px, 5vw, 70px);
  background:
    linear-gradient(rgba(4, 20, 12, 0.96), rgba(4, 20, 12, 0.96)),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(116, 245, 151, 0.12) 3px 4px);
  box-shadow: 10px 10px 0 rgba(116, 245, 151, 0.08);
}

.terminal-label {
  color: var(--green);
}

.local-copy h2 {
  max-width: 600px;
  font-family: var(--font-mono);
}

.local-copy > p:last-child {
  max-width: 640px;
  margin: 24px 0 0;
  color: #b6cbbd;
}

.local-stats {
  display: grid;
  gap: 1px;
  margin: 0;
  border: 1px solid rgba(116, 245, 151, 0.28);
  background: rgba(116, 245, 151, 0.28);
}

.local-stats div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 17px 18px;
  background: #06150d;
}

.local-stats dt {
  color: #a8bcae;
  font-size: 0.9rem;
}

.local-stats dd {
  margin: 0;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-section {
  background: var(--paper);
  color: var(--ink);
}

.gallery-section .section-kicker {
  color: #177f8b;
}

.section-heading-split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: end;
}

.section-heading-split > p {
  margin: 0 0 4px;
  color: #4a5660;
}

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

.gallery-card {
  margin: 0;
  border: 2px solid var(--ink);
  padding: 9px;
  background: var(--white);
  box-shadow: 8px 8px 0 var(--ink);
}

.gallery-card-wide {
  grid-column: 1 / -1;
}

.screenshot-button {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 0;
  padding: 0;
  background: var(--ink);
  color: var(--white);
  cursor: zoom-in;
}

.screenshot-button img {
  width: 100%;
  aspect-ratio: 118 / 76;
  object-fit: cover;
  transition: transform 200ms ease, opacity 200ms ease;
}

.gallery-card:not(.gallery-card-wide) .screenshot-button img {
  aspect-ratio: 16 / 10;
}

.screenshot-button > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.screenshot-button:hover img {
  opacity: 0.88;
  transform: scale(1.012);
}

.screenshot-button:hover > span,
.screenshot-button:focus-visible > span {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 18px;
  padding: 14px 8px 7px;
}

.gallery-card figcaption strong {
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.gallery-card figcaption span {
  color: #5b6269;
  font-size: 0.9rem;
}

.gallery-note {
  margin: 27px 0 0;
  color: #60676d;
  font-size: 0.83rem;
}

.pricing-section {
  background:
    linear-gradient(130deg, rgba(49, 181, 196, 0.08), transparent 40%),
    var(--ink);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 0.9fr 0.8fr;
  gap: clamp(50px, 11vw, 150px);
  align-items: center;
}

.price-card {
  border: 2px solid var(--paper);
  padding: clamp(24px, 4vw, 40px);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 12px 12px 0 var(--cyan);
}

.price-card-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 13px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 32px 0 0;
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 900;
}

.price span {
  font-size: clamp(4rem, 8vw, 6.8rem);
  line-height: 0.85;
  letter-spacing: -0.1em;
}

.price-subtitle {
  margin: 12px 0 0;
  color: #525c63;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 30px 0;
  padding: 25px 0;
  border-top: 1px solid rgba(7, 19, 31, 0.24);
  border-bottom: 1px solid rgba(7, 19, 31, 0.24);
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "[X]";
  position: absolute;
  left: 0;
  color: #177f8b;
  font-family: var(--font-mono);
  font-weight: 900;
}

.coming-soon {
  border: 2px solid var(--ink);
  padding: 15px 16px;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
}

.coming-soon strong,
.coming-soon span {
  display: block;
}

.coming-soon strong {
  font-family: var(--font-mono);
  font-size: 1rem;
  text-transform: uppercase;
}

.coming-soon span {
  margin-top: 4px;
  font-size: 0.88rem;
}

.company-section {
  background: var(--ink-soft);
}

.company-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(50px, 10vw, 130px);
  align-items: center;
}

.company-brand-card {
  border: 1px solid var(--line);
  padding: 34px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 10px 10px 0 rgba(255, 122, 26, 0.8);
}

.company-brand-card img {
  width: 100%;
  height: auto;
}

.company-brand-card p {
  margin: 28px 0 0;
  border-top: 1px solid rgba(7, 19, 31, 0.18);
  padding-top: 22px;
  color: #43505a;
}

.business-data {
  display: grid;
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
}

.business-data div {
  display: grid;
  grid-template-columns: minmax(140px, 0.7fr) 1.3fr;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.business-data dt {
  color: var(--muted);
}

.business-data dd {
  margin: 0;
  font-weight: 700;
}

.company-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer {
  border-top: 1px solid rgba(119, 220, 229, 0.24);
  padding-block: 54px 24px;
  background: #030b11;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 50px;
}

.footer-grid > div > strong {
  color: var(--cyan-light);
  font-family: var(--font-mono);
  font-size: 1.05rem;
}

.footer-grid > div > p {
  margin: 8px 0 0;
  color: var(--muted);
}

.footer-grid nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
}

.footer-grid nav a {
  color: #cfdae0;
  font-size: 0.9rem;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 30px;
  margin-top: 44px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: #7e939f;
  font-family: var(--font-mono);
  font-size: 0.73rem;
}

.lightbox {
  width: min(1400px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  border: 2px solid var(--paper);
  padding: 46px 10px 10px;
  background: #02070b;
  color: var(--white);
  box-shadow: 14px 14px 0 rgba(0,0,0,0.55);
}

.lightbox::backdrop {
  background: rgba(1, 7, 11, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox img {
  width: 100%;
  max-height: calc(100dvh - 100px);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 1px solid var(--cyan);
  padding: 5px 9px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

/* Legal pages */
.legal-page {
  background: var(--paper);
  color: var(--ink);
}

.legal-page .site-header {
  background: rgba(7, 19, 31, 0.96);
  color: var(--white);
}

.legal-main {
  min-height: 70vh;
}

.legal-hero {
  padding-block: clamp(56px, 8vw, 96px) 38px;
  background: var(--ink);
  color: var(--white);
}

.legal-hero .section-kicker {
  margin-bottom: 16px;
}

.legal-hero h1 {
  max-width: 900px;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.legal-hero p:last-child {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-content {
  width: min(850px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: 62px 100px;
}

.legal-content section + section {
  margin-top: 48px;
  border-top: 1px solid rgba(7, 19, 31, 0.2);
  padding-top: 42px;
}

.legal-content h2 {
  margin: 0 0 16px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.2;
}

.legal-content h3 {
  margin: 30px 0 10px;
  font-size: 1.05rem;
}

.legal-content p,
.legal-content li {
  color: #37444d;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content ol {
  padding-left: 24px;
}

.legal-content li + li {
  margin-top: 9px;
}

.legal-content blockquote {
  margin: 24px 0;
  border-left: 4px solid var(--cyan);
  padding: 18px 20px;
  background: rgba(49, 181, 196, 0.1);
}

.legal-content blockquote p {
  margin: 0;
}

.legal-fields {
  display: grid;
  border-top: 1px solid rgba(7, 19, 31, 0.2);
}

.legal-fields div {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) 1.3fr;
  gap: 24px;
  border-bottom: 1px solid rgba(7, 19, 31, 0.2);
  padding: 15px 0;
}

.legal-fields dt {
  font-weight: 700;
}

.legal-fields dd {
  margin: 0;
}

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

  .hero-copy {
    max-width: 780px;
  }

  .hero-visual {
    width: min(830px, 100%);
    margin-left: auto;
  }

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

  .feature-card {
    min-height: 290px;
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 72px;
  }

  .brand {
    width: 190px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--cyan);
    padding: 8px;
    background: var(--ink);
    box-shadow: 8px 8px 0 rgba(49, 181, 196, 0.22);
  }

  .main-nav[data-open="true"] {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .main-nav a::after {
    display: none;
  }

  .manifesto-grid,
  .local-panel,
  .pricing-grid,
  .company-grid,
  .section-heading-split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading-split {
    gap: 20px;
  }

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

  .gallery-card-wide {
    grid-column: auto;
  }

  .footer-grid nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .shell,
  .legal-content {
    width: min(100% - 28px, 1180px);
  }

  .site-header .shell {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    width: 166px;
    box-shadow: 3px 3px 0 var(--cyan);
  }

  .nav-toggle {
    padding: 7px 9px;
    font-size: 0.75rem;
  }

  .hero {
    padding-top: 54px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 15vw, 4.4rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .visual-note {
    justify-content: flex-start;
  }

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

  .feature-card {
    min-height: 0;
  }

  .feature-number {
    margin-bottom: 34px;
  }

  .local-panel {
    padding: 24px 18px;
  }

  .local-stats div,
  .business-data div,
  .legal-fields div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .price-card {
    box-shadow: 7px 7px 0 var(--cyan);
  }

  .company-brand-card {
    padding: 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
