/* ============================================================
   2104 Apps landing page
   Palette: ink / porcelain / one accent (vermilion)
   Type: native system sans stack
   ============================================================ */

:root {
  --ink: #16181a;
  --ink-soft: #2a2d30;
  --paper: #f7f7f4;
  --paper-raise: #ffffff;
  --line: #e2e2dc;
  --line-dark: #33373b;
  --muted: #5f6469;
  --muted-on-dark: #9aa0a6;
  --accent: #d84315;
  --accent-deep: #b23610;
  --accent-tint: #fbe9e2;
  --radius: 8px;
  --radius-lg: 8px;
  --font-display: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --container: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html,
body {
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 { font-size: 4.2rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 1.35rem; }

p { max-width: 62ch; }

a { color: inherit; text-decoration: none; }

.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

/* ---------------- header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 244, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.brand-mark.small { font-size: 1.05rem; }

.brand-colon { color: var(--accent); }

.brand-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.site-nav a { color: var(--muted); transition: color 0.15s ease; }
.site-nav a:hover { color: var(--ink); }

.site-nav .nav-cta {
  color: var(--paper);
  background: var(--ink);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.site-nav .nav-cta:hover { background: var(--accent); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------------- hero ---------------- */

.hero {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(216, 67, 21, 0.14), transparent 65%),
    repeating-linear-gradient(0deg, transparent 0 71px, rgba(255,255,255,0.03) 71px 72px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3rem;
  align-items: center;
  padding-top: clamp(3.5rem, 8vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.hero-copy .kicker { color: var(--accent); }

.hero h1 { color: #fff; }

.hero-copy {
  min-width: 0;
  max-width: 100%;
}

.lede {
  margin-top: 1.4rem;
  font-size: 1.1rem;
  color: var(--muted-on-dark);
  max-width: 44ch;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

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

.btn-ghost {
  border: 1px solid var(--line-dark);
  color: var(--paper);
}
.btn-ghost:hover { border-color: var(--paper); }

.hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.88rem;
  color: var(--muted-on-dark);
}

.hero-facts strong { color: #fff; font-weight: 600; }

/* ---- hero scene ---- */

.hero-scene {
  position: relative;
  height: 520px;
  min-width: 0;
}

.scene-clock {
  position: absolute;
  top: 8px;
  right: 4px;
  z-index: 3;
  text-align: right;
  background: rgba(22, 24, 26, 0.7);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  backdrop-filter: blur(6px);
}

.scene-clock-time {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.scene-clock-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

.phone {
  position: absolute;
  width: 235px;
  height: 470px;
  border-radius: 34px;
  background: #0c0d0e;
  border: 1px solid #3a3e42;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.phone-a {
  left: 4%;
  top: 24px;
  transform: rotate(-4deg);
  z-index: 2;
}

.phone-b {
  right: 6%;
  top: 70px;
  transform: rotate(3.5deg);
  z-index: 1;
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 18px;
  background: #0c0d0e;
  border-radius: 999px;
  z-index: 2;
}

.phone-screen {
  height: 100%;
  border-radius: 25px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.screen-curio { background: #fdfcf9; color: var(--ink); }
.screen-protocol { background: #1d2124; color: #e8e8e4; }

.app-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 34px 16px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.78rem;
  font-weight: 700;
}

.app-topbar-dark { border-bottom-color: rgba(255, 255, 255, 0.08); }

.app-dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.dot-curio { background: var(--accent); }
.dot-protocol { background: #7cb342; }

.chat {
  flex: 1;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.72rem;
  line-height: 1.45;
}

.bubble {
  border-radius: 13px;
  padding: 8px 11px;
  max-width: 88%;
}

.bubble-q {
  align-self: flex-end;
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.bubble-a {
  align-self: flex-start;
  background: var(--accent-tint);
  border-bottom-left-radius: 4px;
}

.bubble-alt { background: #eef0ec; }

.bubble-lang {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-right: 4px;
}

.bubble-alt .bubble-lang { color: var(--muted); }

.chat-input {
  margin: 0 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0efe9;
  border-radius: 999px;
  padding: 8px 8px 8px 14px;
}

.chat-hint { font-size: 0.7rem; color: var(--muted); }

.chat-send {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  flex: 0 0 auto;
}

.chat-send::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

.checklist {
  flex: 1;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.72rem;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 9px 11px;
}

.check-box {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  flex: 0 0 auto;
  position: relative;
}

.check-done .check-box {
  background: #7cb342;
  border-color: #7cb342;
}

.check-done .check-box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border-right: 2px solid #14181b;
  border-bottom: 2px solid #14181b;
  transform: rotate(40deg);
}

.check-done { color: rgba(232, 232, 228, 0.55); }

.readiness { padding: 0 14px 18px; }

.readiness-label {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 232, 228, 0.5);
  margin-bottom: 6px;
}

.readiness-bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.readiness-bar span {
  display: block;
  height: 100%;
  width: 56%;
  border-radius: 999px;
  background: #7cb342;
}

/* ---- hero strip ---- */

.hero-strip {
  position: relative;
  border-top: 1px solid var(--line-dark);
  overflow: hidden;
  padding: 0.9rem 0;
}

.strip-track {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  width: max-content;
  animation: strip-scroll 28s linear infinite;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  white-space: nowrap;
}

.strip-track i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

@keyframes strip-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- sections ---------------- */

.section { padding: clamp(4rem, 9vw, 7rem) 0; }

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section-sub { margin-top: 1rem; color: var(--muted); font-size: 1.05rem; }

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

.section-dark .section-sub { color: var(--muted-on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }

/* ---------------- app cards ---------------- */

.app-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.app-card {
  background: var(--paper-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(22, 24, 26, 0.08);
}

.app-card-visual {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.visual-curio { background: #fbe9e2; }
.visual-protocol { background: #1d2124; }

.mini-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(300px, 82%);
  font-size: 0.8rem;
  line-height: 1.45;
}

.mini-bubble { border-radius: 14px; padding: 10px 14px; box-shadow: 0 6px 18px rgba(22,24,26,0.07); }

.mini-q {
  align-self: flex-end;
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 4px;
  max-width: 85%;
}

.mini-a {
  align-self: flex-start;
  background: #fff;
  border-bottom-left-radius: 4px;
  max-width: 90%;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: min(300px, 82%);
}

.mini-tile {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  color: #e8e8e4;
}

.tile-accent { background: rgba(216, 67, 21, 0.18); border-color: rgba(216, 67, 21, 0.4); }

.tile-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
}

.tile-label {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 232, 228, 0.55);
}

.app-card-body {
  padding: 1.8rem 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 1;
}

.app-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.status {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.status-dev { background: var(--accent-tint); color: var(--accent-deep); }

.app-platform {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
}

.app-tagline {
  font-weight: 600;
  color: var(--accent-deep);
  margin-top: -0.5rem;
}

.app-card-body > p:not(.app-tagline) { color: var(--muted); font-size: 0.96rem; }

.app-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.app-points li {
  position: relative;
  padding-left: 1.3rem;
}

.app-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}

.text-link {
  margin-top: auto;
  padding-top: 0.6rem;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.text-link .arrow { transition: transform 0.15s ease; color: var(--accent); }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---------------- pipeline ---------------- */

.pipeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  counter-reset: stage;
}

.pipe-stage {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
}

.pipe-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.pipe-stage h3 { font-size: 1.15rem; }

.pipe-stage p {
  font-size: 0.9rem;
  color: var(--muted-on-dark);
}

.pipe-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: auto; }

.pipe-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 67, 21, 0.5);
  color: #f0a58e;
  white-space: nowrap;
}

/* ---------------- principles ---------------- */

.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.principle {
  background: var(--paper-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.principle-index {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
}

.principle h3 { font-size: 1.2rem; }
.principle p { color: var(--muted); font-size: 0.95rem; }

/* ---------------- contact ---------------- */

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

.section-contact h2 { color: #fff; }
.section-contact .section-sub { color: var(--muted-on-dark); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 2rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
}

.contact-mail {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: #fff;
  word-break: break-word;
  border-bottom: 2px solid var(--accent);
  align-self: flex-start;
  padding-bottom: 2px;
  transition: color 0.15s ease;
}

.contact-mail:hover { color: var(--accent); }

.contact-note { font-size: 0.9rem; color: var(--muted-on-dark); }

.contact-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-dark);
}

.contact-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.88rem;
}

.contact-row-label {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 2px;
}

.contact-row-value { color: var(--muted-on-dark); }

/* ---------------- footer ---------------- */

.site-footer {
  background: var(--ink);
  color: var(--muted-on-dark);
  border-top: 1px solid var(--line-dark);
  padding: 2.2rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem 2rem;
  font-size: 0.85rem;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-brand .brand-mark { color: #fff; }

.footer-legal { margin-left: auto; }
.footer-legal a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  margin-left: 0.45rem;
}

/* ---------------- legal ---------------- */

.legal-page {
  background: var(--paper);
  min-height: 70vh;
}

.legal-hero {
  padding: 8rem 0 3rem;
  background: var(--ink);
  color: var(--paper);
}

.legal-hero h1 {
  color: #fff;
  font-size: 3.2rem;
}

.legal-hero .lede {
  color: var(--muted-on-dark);
  margin-top: 1rem;
}

.legal-section {
  padding-top: 3.5rem;
}

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

.legal-card {
  background: var(--paper-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.legal-card h2 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.legal-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-card a {
  color: var(--accent-deep);
  border-bottom: 1px solid var(--accent);
}

/* ---------------- reveal animation ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   responsive
   ============================================================ */

@media (max-width: 960px) {
  h1 { font-size: 3.6rem; }
  h2 { font-size: 2.35rem; }

  .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; }

  .hero-scene {
    height: 480px;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .app-cards, .principles-grid { grid-template-columns: 1fr; }

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

  .contact-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}

@media (max-width: 680px) {
  h1 { font-size: 3.05rem; }
  h2 { font-size: 2.1rem; }

  .hero-copy {
    width: 100%;
    max-width: 320px;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 0.6rem 20px 1.1rem;
  }

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

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    margin-top: 0.9rem;
    text-align: center;
    border-bottom: 0;
    border-radius: 999px;
  }

  .nav-toggle { display: flex; }

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

  .lede { max-width: 30ch; }

  .hero-scene {
    height: 420px;
    overflow: hidden;
  }

  .phone { width: 190px; height: 380px; border-radius: 28px; }
  .phone-a { left: 10px; }
  .phone-b { right: 10px; }

  .scene-clock { padding: 0.45rem 0.8rem; }
  .scene-clock-time { font-size: 1.25rem; }

  .hero-facts { flex-direction: column; gap: 0.55rem; }

  .hero-strip { display: none; }

  .contact-row { grid-template-columns: 1fr; gap: 0.15rem; }
  .legal-grid { grid-template-columns: 1fr; }
  .footer-legal { margin-left: 0; }
}

@media (max-width: 380px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.85rem; }
  .contact-mail { font-size: 1.25rem; }

  .hero-scene { height: 380px; }
  .phone { width: 165px; height: 340px; }
  .phone-a { left: 0; }
  .phone-b { right: 0; }
  .chat, .checklist { font-size: 0.66rem; }
}
