@charset "UTF-8";
/* ============================================================
   APTIVOO · Base reset + typography
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Kill default iOS Safari blue/gray tap flash for premium feel */
a, button, [role="button"], .magnet, .nav__burger, .accordion__head {
  -webkit-tap-highlight-color: transparent;
}

/* Skip-to-content (a11y) — visible only on keyboard focus */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: 999px;
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 500;
  z-index: 10001;
  text-decoration: none;
  box-shadow: var(--sh-3);
  transition: top var(--d-fast) var(--e-out);
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 16px;
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: var(--fs-5);
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 300;
  letter-spacing: -0.028em;
  line-height: 1.02;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: var(--fs-1); font-weight: 300; letter-spacing: -0.04em; }
h2 { font-size: var(--fs-2); }
h3 { font-size: var(--fs-3); }
h4 { font-size: var(--fs-4); font-weight: 400; letter-spacing: -0.015em; }
.em { font-style: italic; font-weight: 300; color: var(--ink-2); }

p { margin: 0; }
p + p { margin-top: var(--s-2); }

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

/* Utility type */
.mono {
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.lead {
  font-size: var(--fs-4);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 62ch;
  text-wrap: pretty;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--clay);
}

/* Container */
.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

/* Theme variants */
.theme-ink  { background: var(--ink);  color: var(--paper); }
.theme-ink  h1, .theme-ink h2, .theme-ink h3, .theme-ink h4 { color: var(--paper); }
.theme-ink  .mono, .theme-ink .eyebrow { color: rgba(245,241,234,0.55); }
.theme-ink  .lead { color: rgba(245,241,234,0.75); }
.theme-clay { background: var(--clay); color: var(--paper); }
.theme-clay h1, .theme-clay h2, .theme-clay h3, .theme-clay h4 { color: var(--paper); }
.theme-clay .em { color: rgba(245,241,234,0.7); }
.theme-clay .mono, .theme-clay .eyebrow { color: rgba(245,241,234,0.7); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Selection */
::selection { background: var(--clay); color: var(--paper); }

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

/* Buttons (shared chrome) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform var(--d-fast) var(--e-out),
              background var(--d-fast) var(--e-out),
              color var(--d-fast) var(--e-out);
}
.btn:hover { background: var(--clay); border-color: var(--clay); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--clay { background: var(--clay); border-color: var(--clay); }
.btn--clay:hover { background: var(--clay-deep); border-color: var(--clay-deep); transform: translateY(-2px); }
.btn--lg { padding: 18px 28px; font-size: 16px; }
.btn svg { width: 16px; height: 16px; }

/* Arrow that slides on hover */
.btn .arrow { transition: transform var(--d-fast) var(--e-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* Sections */
section { position: relative; }
.section-pad { padding: var(--s-7) 0; }
.section-pad-sm { padding: var(--s-6) 0; }
