:root {
  --ink: #1c1917;
  --muted: #475569;
  --paper: #fffdf7;
  --surface: #f8fafc;
  --mint: #b9f6ca;
  --cyan: #67e8f9;
  --blue: #38bdf8;
  --pink: #fb7185;
  --violet: #a78bfa;
  --yellow: #fef08a;
  --line: #1c1917;
  --shadow: 8px 8px 0 #1c1917;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 10;
  background: var(--yellow);
  border: 3px solid var(--line);
  padding: 8px 12px;
  font-weight: 800;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 253, 247, 0.92);
  border-bottom: 3px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
}

.brand img {
  border: 3px solid var(--line);
  background: var(--mint);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  font-weight: 800;
}

.nav-actions a {
  text-decoration: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 3px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 4px 4px 0 var(--line);
  padding: 5px 8px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
}

.language-switch button {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 3px 4px;
}

.language-switch button[aria-pressed="true"] {
  background: var(--yellow);
}

.language-switch button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.nav-actions a:focus-visible,
.button:focus-visible {
  outline: 4px solid var(--blue);
  outline-offset: 4px;
}

.hero-section {
  background:
    radial-gradient(circle at 8% 18%, rgba(254, 240, 138, 0.9) 0 90px, transparent 92px),
    linear-gradient(135deg, #b9f6ca 0%, #67e8f9 58%, #a78bfa 100%);
  border-bottom: 4px solid var(--line);
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: clamp(640px, calc(100svh - 72px), 860px);
  margin: 0 auto;
  padding: 54px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  align-items: center;
  gap: 46px;
}

.hero-copy,
.hero-media,
.showcase-copy,
.showcase-media {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #334155;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero-text {
  max-width: 610px;
  color: #334155;
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  font-weight: 700;
}

.hero-actions,
.install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 18px;
  box-shadow: 5px 5px 0 var(--line);
  text-decoration: none;
  font-weight: 900;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

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

.button.primary {
  background: var(--pink);
  color: white;
}

.button.secondary {
  background: white;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.82);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.hero-stats dt {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 1.15rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-media,
.showcase-media {
  max-width: 100%;
  width: 100%;
  background: white;
  border: 5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-media img,
.showcase-media img {
  width: 100%;
  height: auto;
}

.strip {
  background: var(--ink);
  color: white;
  overflow: hidden;
}

.strip-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 14px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 900;
  text-align: center;
}

.strip-inner span {
  border-left: 2px dashed rgba(255, 255, 255, 0.55);
}

.strip-inner span:first-child {
  border-left: 0;
}

.section,
.showcase-section,
.install-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.feature-card,
.privacy-grid > div,
.install-section {
  border: 4px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 260px;
  padding: 22px;
}

.feature-card.pink {
  background: #fecdd3;
}

.feature-card.blue {
  background: #bae6fd;
}

.feature-card.violet {
  background: #ddd6fe;
}

.feature-card.mint {
  background: #bbf7d0;
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 34px;
  margin-bottom: 28px;
  background: white;
  border: 3px solid var(--line);
  border-radius: 6px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 900;
}

.feature-card p,
.showcase-copy p,
.privacy-grid p,
.install-section p {
  color: var(--muted);
  font-weight: 650;
}

.showcase-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(420px, 1.25fr);
  align-items: center;
  gap: 42px;
}

.showcase-copy {
  max-width: 480px;
}

.privacy-section {
  padding-top: 42px;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.privacy-grid > div {
  background: var(--surface);
  padding: 24px;
}

.install-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--yellow);
  padding: 34px;
}

.install-section > div:first-child {
  max-width: 640px;
}

.install-actions {
  margin-top: 0;
  justify-content: flex-end;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 46px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  color: var(--muted);
  font-weight: 750;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer div {
  display: flex;
  gap: 18px;
}

.site-footer a {
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

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

  .hero-inner {
    min-height: auto;
    padding-top: 42px;
  }

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

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

  .install-section {
    display: grid;
  }

  .install-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .nav {
    width: 100%;
    min-height: auto;
    padding: 14px 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.9rem;
  }

  .language-switch {
    width: 100%;
    justify-content: center;
  }

  h1 {
    max-width: 100%;
    font-size: 2.2rem;
    line-height: 1.03;
    text-wrap: wrap;
  }

  .hero-text {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .install-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 320px);
  }

  .button {
    width: 100%;
    text-align: center;
  }

  .hero-media,
  .showcase-media,
  .feature-card,
  .privacy-grid > div,
  .install-section {
    box-shadow: 5px 5px 0 var(--line);
  }

  .hero-stats,
  .feature-grid,
  .strip-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    width: 100%;
    display: block;
    padding: 42px 16px 36px;
  }

  .hero-copy,
  .hero-text,
  .hero-media {
    width: min(100%, 320px);
    max-width: 320px;
  }

  .hero-text {
    white-space: normal;
  }

  .hero-media {
    margin-top: 34px;
  }

  .section,
  .showcase-section,
  .install-section,
  .site-footer {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .strip-inner {
    padding: 16px 0;
    text-align: left;
  }

  .strip-inner span,
  .strip-inner span:first-child {
    border-left: 0;
    border-top: 2px dashed rgba(255, 255, 255, 0.55);
    padding-top: 10px;
  }

  .strip-inner span:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .section,
  .showcase-section,
  .install-section {
    padding: 56px 0;
  }

  .install-section {
    padding: 24px;
  }

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

  .site-footer div {
    flex-wrap: wrap;
  }
}
