/* 07 quiet — pale gray, hairline borders, air. Motion lives on the face only. */

:root {
  --bg: #f3f3f1;
  --text: #2c2c2a;
  --ink: #1f1f1d;
  --muted: #6e6d69;
  --faint: #9c9b96;
  --line: #deddd8;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 880px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.55rem 0.75rem;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  transform: translateY(-160%);
  z-index: 20;
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.8rem;
  padding: 1.1rem 0;
}

.wordmark {
  grid-row: 1;
  grid-column: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 0.42em;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
}

.header-tools { display: contents; }

.header-nav {
  grid-row: 2;
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.15rem;
}

.header-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.header-nav a:hover { color: var(--ink); }

.lang-switch {
  grid-row: 1;
  grid-column: 2;
  justify-self: end;
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.lang-switch button {
  appearance: none;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--faint);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
}

.lang-switch button + button {
  border-left: 1px solid var(--line);
}

.lang-switch button[aria-pressed="true"] {
  color: var(--ink);
  background: #e9e9e6;
}

:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

/* Face — medium, recolored for the pale field. Geometry only so the rig can move. */

.hero-face {
  margin: 0 0 2.75rem;
}

.face-stage {
  position: relative;
  width: 196px;
  height: 196px;
  display: grid;
  place-items: center;
  overflow: visible;
}

.face-rig {
  width: 148px;
  height: 148px;
  transform-origin: 50% 60%;
  z-index: 1;
}

.face-orb {
  position: relative;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%,
    #fbfbfa 0%,
    #e6e5e1 16%,
    #c4c3bd 40%,
    #9a9993 68%,
    #7a7974 100%);
  box-shadow:
    0 18px 36px rgba(42, 42, 40, 0.07),
    inset 0 0 14px rgba(255, 255, 255, 0.55),
    inset 8px 10px 16px rgba(255, 255, 255, 0.62),
    inset -12px -16px 20px rgba(70, 70, 66, 0.28);
  transform-origin: 50% 62%;
  cursor: pointer;
}

.face-orb::before {
  content: "";
  position: absolute;
  top: 11%;
  left: 17%;
  width: 36%;
  height: 18%;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.05) 72%, transparent);
  pointer-events: none;
}

.face-eyes {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 64px;
  height: 32px;
  margin-left: -32px;
  margin-top: -16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.face-eye {
  width: 11px;
  height: 26px;
  border-radius: 999px;
  background: #2a2a28;
  box-shadow: none;
  flex: 0 0 auto;
}

.face-shadow {
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 86px;
  height: 12px;
  margin-left: -43px;
  border-radius: 50%;
  background: rgba(42, 42, 40, 0.08);
  filter: blur(2px);
  z-index: 0;
}

.face-spray {
  position: absolute;
  left: 50%;
  top: 68%;
  width: 0;
  height: 0;
  z-index: 3;
  pointer-events: none;
}

.face-drop {
  position: absolute;
  width: 5px;
  height: 8px;
  margin: -4px 0 0 -2px;
  border-radius: 40%;
  background: #8d8c87;
  animation: face-drop 620ms cubic-bezier(0.12, 0.7, 0.2, 1) forwards;
}

@keyframes face-drop {
  0% { opacity: 0; transform: translate(0, 0) scale(0.35); }
  18% { opacity: 0.9; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.25); }
}

.hero {
  padding: 4.75rem 0 6.5rem;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-title {
  margin: 0;
  max-width: 100%;
  font-size: clamp(1.25rem, 5.15vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.044em;
  line-height: 0.92;
  color: var(--ink);
  text-wrap: wrap;
}

.hero-lead {
  margin: 1.65rem 0 0;
  max-width: 32rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--muted);
}

.hero-actions { margin: 2.15rem 0 0; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 0.72rem 1rem;
  border-radius: 2px;
  border: 1px solid var(--ink);
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover { background: rgba(31, 31, 29, 0.04); }

.btn-primary {
  color: var(--bg);
  background: var(--ink);
}

.btn-primary:hover { background: #111110; }

.section {
  padding: 5.5rem 0;
  border-top: 1px solid var(--line);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 520;
  letter-spacing: -0.034em;
  line-height: 1.05;
  color: var(--ink);
}

.section-lead {
  margin: 0.85rem 0 0;
  max-width: 28rem;
  color: var(--muted);
}

.steps {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1.25rem 1.75rem;
  padding: 2.15rem 0;
  border-bottom: 1px solid var(--line);
}

.step-num {
  color: var(--faint);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  padding-top: 0.28rem;
}

.step h3,
.include-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.step p,
.include-card p {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
}

.include-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 3rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.include-card {
  padding: 1.85rem 1.7rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.include-card:last-child {
  grid-column: 1 / -1;
}

.section-cta { padding: 6rem 0 6.5rem; }

.cta-inner h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 520;
  letter-spacing: -0.034em;
  line-height: 1.05;
  color: var(--ink);
}

.cta-inner p {
  margin: 0.9rem 0 1.75rem;
  max-width: 28rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.25rem 0 2.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem 2rem;
}

.footer-wordmark { margin-bottom: 1rem; }

.footer-tag,
.footer-name,
.footer-address,
.footer-cols p,
.footer-copy {
  margin: 0;
}

.footer-name { margin-top: 1.15rem; color: var(--text); }

.footer-address { margin-top: 0.35rem; }

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
}

.footer-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 560;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.footer-cols a { text-decoration: none; }

.footer-cols a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

.footer-copy {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  color: var(--faint);
  font-size: 0.85rem;
}

@media (min-width: 760px) {
  .header-inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 1.5rem;
  }
  .header-tools {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.35rem;
  }
  .header-nav { grid-column: auto; }
}

@media (max-width: 720px) {
  .include-grid { grid-template-columns: 1fr; }
  .include-card:last-child { grid-column: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 420px) {
  .wrap { width: min(100% - 2.5rem, var(--wrap)); }
  .hero { padding: 3.25rem 0 4.25rem; }
  .hero-face { margin-bottom: 2.15rem; }
  .hero-lead { font-size: 1rem; }
  .section-head h2,
  .cta-inner h2 { font-size: 1.125rem; }
  .section { padding: 3.75rem 0; }
  .section-cta { padding: 4rem 0 4.25rem; }
  .step { padding: 1.65rem 0; gap: 0.85rem; }
  .include-card { padding: 1.45rem 1.15rem 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  .face-drop { animation: none; }
}
