/* Egg Tracker / Tyam Productions — egg-tracker.com
   EggClipse-Palette (siehe egg-tracker/site/privacy und
   frontend/src/styles/shared/theme-tokens.css), eigenständig gehalten:
   kein Build-Schritt, keine externen Ressourcen. */

:root {
  --bg: #090314;
  --bg-glow-a: rgba(139, 92, 246, 0.28);
  --bg-glow-b: rgba(217, 70, 239, 0.18);
  --card: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #F3EEFF;
  --text-muted: #BCA9DC;
  --accent: #C4A2FF;
  --heading: #E9DDFF;
  --cta-grad-top: #826bfb;
  --cta-grad-bottom: #4a2fe2;

  /* Gemeinsames Seitenraster: alle Bereiche liegen auf denselben Aussenkanten.
     --content-max ist die Breite der Inhaltsflaeche selbst (76rem = 1216px). */
  --content-max: 76rem;
  --content-pad: 1.5rem;
  /* Lesespalte fuer Fliesstext (Unterseiten, Disclaimer) */
  --measure: 52rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 60% at 75% 25%, rgba(139, 92, 246, 0.25), transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(217, 70, 239, 0.15), transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% -10%, rgba(168, 85, 247, 0.2), transparent 70%);
  background-attachment: fixed;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main, .hero-section, .wrap {
  flex: 1 0 auto;
}

/* Ein Container fuer Header, Hero, Feature-Karten, Disclaimer und Footer —
   Unterseiten (.wrap) liegen auf denselben Aussenkanten wie die Startseite. */
.site-nav,
.hero-container,
.hero-chips-container,
.wrap,
.site-footer-inner {
  width: 100%;
  max-width: calc(var(--content-max) + var(--content-pad) * 2);
  margin-inline: auto;
  padding-inline: var(--content-pad);
}

.wrap {
  padding-block: 1.75rem 3rem;
}

/* Fliesstext-Bloecke der Unterseiten bleiben auf Lesebreite, mittig im Raster */
.wrap > .card,
.wrap > .page-head,
.wrap > .page-block {
  max-width: var(--measure);
  margin-inline: auto;
}

a { color: var(--accent); }
strong { color: #fff; }
[hidden] { display: none !important; }

/* ---------- Header Top Bar ---------- */

.site-header-bar {
  width: 100%;
  background: rgba(12, 5, 26, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  position: relative;
  z-index: 100;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(168, 85, 247, 0.4));
}

.brand-name {
  font-weight: 800;
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
}

/* ---------- Sprachumschalter ---------- */

.lang-switch {
  display: flex;
  gap: 0.25rem;
  margin-left: 0.5rem;
}

.lang-switch button {
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.lang-switch button:hover { color: var(--text); }

.lang-switch button[aria-pressed="true"] {
  color: #fff;
  background: rgba(196, 162, 255, 0.22);
  border-color: rgba(196, 162, 255, 0.5);
}

.lang-switch button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Page head (Legal / Subpages) ---------- */

header.page-head {
  text-align: center;
  padding: 1.5rem 0 1.75rem;
}

.mascot-small {
  display: block;
  width: auto;
  height: clamp(72px, 17vw, 104px);
  margin: 0 auto 1rem;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
}

.wordmark {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.65rem;
  font-weight: 700;
}

header.page-head h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: #fff;
  font-weight: 800;
}

header.page-head .subtitle {
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 34rem;
}

header.page-head .subtitle-divider {
  width: 4rem;
  height: 1px;
  margin: 0.9rem auto;
  background: linear-gradient(90deg, transparent, rgba(196, 162, 255, 0.4), transparent);
}

header.page-head .subtitle-secondary {
  margin-top: 0;
}

/* ---------- Disclaimer Page Head (Egg Lawyer side-by-side) ---------- */

header.page-head.page-head-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  gap: 1.5rem;
  padding: 1.5rem 0 1.75rem;
}

.mascot-disclaimer {
  display: block;
  width: auto;
  height: clamp(110px, 20vw, 150px);
  flex-shrink: 0;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.5));
}

.page-head-disclaimer .page-head-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-head-disclaimer h1 {
  margin: 0 0 0.35rem;
  text-align: left;
}

.page-head-disclaimer .subtitle {
  margin: 0;
  text-align: left;
}

@media (max-width: 580px) {
  header.page-head.page-head-disclaimer {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }
  .page-head-disclaimer .page-head-text {
    align-items: center;
    text-align: center;
  }
  .page-head-disclaimer h1,
  .page-head-disclaimer .subtitle {
    text-align: center;
  }
}

/* ---------- Hero Section ---------- */

/* Die Sektion traegt `flex: 1 0 auto` (siehe oben): der Restplatz des Viewports
   sammelt sich unter dem Disclaimer und trennt Inhalt vom Footer — ohne Margin. */
.hero-section {
  position: relative;
  padding: 1.75rem 0 2.5rem;
  overflow-x: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: 1.25rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 0.65rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hero-accent {
  color: var(--accent);
  display: inline-block;
}

.hero-tagline {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: #E9DDFF;
  margin: 0 0 1rem;
  line-height: 1.3;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  background: rgba(196, 162, 255, 0.08);
  border: 1px solid rgba(196, 162, 255, 0.22);
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 500;
  margin-bottom: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.brand-badge a {
  color: #D8B4FE;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(216, 180, 254, 0.4);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.brand-badge a:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(43, 20, 75, 0.7);
  border: 1px solid rgba(196, 162, 255, 0.3);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.status-badge .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #C4A2FF;
  box-shadow: 0 0 10px #C4A2FF;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  width: 100%;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 85%;
  height: 85%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, rgba(126, 34, 206, 0.12) 50%, transparent 75%);
  filter: blur(35px);
  z-index: -1;
  pointer-events: none;
}

.hero-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.6));
  border-radius: 1.25rem;
  transition: transform 0.4s ease;
}

.hero-img:hover {
  transform: translateY(-3px) scale(1.01);
}

/* ---------- Feature Chips Grid ---------- */

.hero-chips-container {
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

/* ---------- Dezenter Hinweis / Disclaimer ----------
   Hintergrundpanel wie die Kacheln, linksbuendig, mit Icon badge. */

.notice-discreet {
  width: fit-content;
  max-width: calc(100% - var(--content-pad) * 2);
  margin-inline: auto;
  margin-top: 1.25rem;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #BCA9DC;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.1rem;
  padding: 0.95rem 1.25rem;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  text-align: left;
}

.notice-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.notice-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(196, 162, 255, 0.15);
  border: 1px solid rgba(196, 162, 255, 0.4);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1;
  margin-top: 0.1rem;
}

.notice-discreet p {
  margin: 0;
  max-width: none;
}

.notice-discreet strong {
  color: #C4A2FF;
  font-weight: 600;
}

/* ---------- Verankerter Footer-Abschluss ----------
   Verankerung ueber die Flex-Column des `body` (`margin-top: auto`) — bewusst
   nicht `position: fixed/sticky`, der Footer scrollt mit. */

.site-footer-bar {
  margin-top: auto;
  flex-shrink: 0;
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 38px;
  background: rgba(12, 5, 26, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4rem 0;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.site-footer-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 0.78rem;
  color: #9A89C2;
}

.foot-copy {
  color: #9A89C2;
  font-weight: 500;
}

.foot-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.foot-nav a {
  color: #BCA9DC;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.foot-nav a:hover {
  color: #FFFFFF;
}

.foot-sep {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 0.2rem;
}

.hero-chips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.chip-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.1rem;
  padding: 0.75rem 1rem 0.65rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.chip-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 162, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 20px rgba(168, 85, 247, 0.12);
}

.chip-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.4rem;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.chip-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 0.3rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card-accent {
  color: #C4A2FF;
  font-weight: 800;
}

.chip-desc {
  font-size: 0.82rem;
  color: #BCA9DC;
  margin: 0;
  line-height: 1.45;
  font-weight: 400;
}

.beer-icon {
  display: inline-block;
  vertical-align: -0.18em;
  margin-left: 0.2rem;
  color: var(--accent);
  width: 1.15em;
  height: 1.15em;
}

/* ---------- Card / Legal-Sections ---------- */

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 1.25rem;
  padding: 1.5rem 1.35rem;
  margin-top: 1.5rem;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.card:first-of-type {
  margin-top: 0;
}

section + section {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 0.6rem;
  line-height: 1.35;
}

p { margin: 0 0 0.9rem; }
p:last-child { margin-bottom: 0; }

.address p { margin: 0; }
.address p.spaced { margin-top: 0.9rem; }

ul.plain {
  margin: 0 0 0.9rem;
  padding-left: 1.1rem;
}
ul.plain li { margin-bottom: 0.4rem; }
ul.plain li:last-child { margin-bottom: 0; }

.contact-block {
  margin-top: 1.1rem;
}

.contact-block:first-child {
  margin-top: 0;
}

.contact-block h3 {
  font-size: 0.98rem;
  color: var(--heading);
  margin: 0 0 0.35rem;
}

.contact-block a.email {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.02rem;
}

/* ---------- Warnbox (Disclaimer-Kernaussage, wie in der App) ---------- */

.warning-box {
  background: rgba(196, 162, 255, 0.08);
  border: 1px solid rgba(196, 162, 255, 0.28);
  border-radius: 1rem;
  padding: 1rem 1.15rem;
  margin: 0 0 1.35rem;
}

.warning-box p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

/* ---------- Zusammenfassungs-Liste mit Haken ---------- */

.summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.summary-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.summary-list svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  color: var(--accent);
}

/* ---------- FAQ (details/summary — funktioniert ohne JavaScript) ---------- */

.faq-item {
  border-bottom: 1px solid var(--card-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 0.25rem;
  color: var(--heading);
  font-weight: 600;
  transition: color 0.2s ease;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item > summary:hover {
  color: #fff;
}

.faq-item > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 0.5rem;
}

.faq-chevron {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--accent);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  margin: 0;
  padding: 0 0.25rem 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- Kontaktformular (oeffnet das E-Mail-Programm, kein Server) ---------- */

.contact-form {
  margin-top: 1.1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--heading);
}

.form-group input,
.form-group textarea {
  font: inherit;
  width: 100%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  padding: 0.7rem 0.9rem;
}

.form-group textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(188, 169, 220, 0.6);
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 138, 175, 0.7);
}

.btn-primary {
  font: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.7rem;
  border: 1px solid rgba(196, 162, 255, 0.45);
  border-radius: 0.9rem;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(180deg, var(--cta-grad-top), var(--cta-grad-bottom));
  box-shadow: 0 6px 20px rgba(74, 47, 226, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(74, 47, 226, 0.45);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.contact-note {
  margin-top: 0.85rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.imprint-logo {
  display: block;
  width: clamp(140px, 30vw, 200px);
  height: auto;
  margin: 0 auto 1.1rem;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
}

/* ---------- Ueber Tyam Productions ---------- */

/* Querformat-Wortmarke (400x187) */
.about-logo {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%),
                      linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%),
              linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.about-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.about-card {
  padding: 1.35rem 1.25rem;
  text-align: left;
  align-items: flex-start;
}

.about-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.about-card-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0.85rem;
  background: rgba(196, 162, 255, 0.12);
  border: 1px solid rgba(196, 162, 255, 0.3);
  color: var(--accent);
  margin-bottom: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.about-card .chip-title {
  font-size: 1.08rem;
  margin-bottom: 0;
}

.about-card .chip-desc {
  font-size: 0.9rem;
  line-height: 1.5;
}

.about-contact-card {
  margin-top: 0;
}

.about-contact-card h2 {
  margin-bottom: 0;
}

.email-inline {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.email-inline:hover {
  text-decoration: underline;
}

.value-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.value-list li {
  padding-left: 0.95rem;
  border-left: 2px solid rgba(196, 162, 255, 0.4);
  color: var(--text-muted);
  font-size: 0.94rem;
}

.value-list strong {
  display: block;
  color: var(--heading);
  font-weight: 700;
}

@media (max-width: 900px) {
  :root {
    --content-pad: 1.25rem;
  }
  .hero-section {
    padding: 1.5rem 0 3rem;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero-visual {
    order: 2;
  }
  .hero-img {
    max-width: 330px;
    margin-top: 0;
  }
  .hero-chips-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

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

@media (max-width: 540px) {
  :root {
    --content-pad: 1rem;
  }
  .site-nav {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .nav-links {
    gap: 0.85rem;
    font-size: 0.88rem;
    flex-wrap: wrap;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-tagline {
    font-size: 1.15rem;
  }
  .status-badge {
    font-size: 0.82rem;
    padding: 0.45rem 0.95rem;
  }
  .hero-chips-grid {
    grid-template-columns: 1fr;
  }
  .site-footer-inner {
    justify-content: flex-end;
  }
  .card {
    padding: 1.2rem 1rem;
  }
}
