/* The Align — shop design system. Tokens mirror the landing page exactly. */
:root {
  --cream: #F4F1EA;
  --cream-deep: #E9E3D6;
  --ink: #151221;
  --ink-soft: #514C5C;
  --muted: #6E6858;
  --violet: #6A3FE0;
  --violet-dark: #5324C4;
  --white: #FFFFFF;
  --ok: #2F7D52;
  --line: rgba(21, 18, 33, .14);
  --container: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-body: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mark: "Sofia", cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

body::after {
  position: fixed;
  inset: 0;
  z-index: 3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  content: "";
  opacity: .035;
  pointer-events: none;
}
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 16px; color: var(--white); background: var(--ink); transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--violet-dark); font-size: .75rem; font-weight: 700; letter-spacing: .18em; line-height: 1.2; text-transform: uppercase; }
.eyebrow::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; width: 100%; border-bottom: 1px solid transparent; background: rgba(244,241,234,.92); backdrop-filter: blur(16px); transition: border-color .25s ease; }
.site-header.scrolled { border-color: var(--line); }
.header-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; }
.brand-logo { display: block; width: auto; height: 46px; }
.header-nav { display: flex; align-items: center; gap: 26px; }
.header-nav a { position: relative; padding: 12px 0; color: var(--ink-soft); font-size: .86rem; font-weight: 600; text-decoration: none; }
.header-nav a::after { position: absolute; right: 0; bottom: 8px; left: 0; height: 1px; background: var(--ink); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease); }
.header-nav a:hover::after, .header-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 999px; color: var(--white); background: var(--ink); font-size: .9rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), color .25s ease, background .25s ease, border-color .25s ease; }
.button:hover { color: var(--white); background: var(--violet-dark); border-color: var(--violet-dark); transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.985); transition-duration: .06s; }
.button[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.button.violet { border-color: var(--violet); background: var(--violet); }
.button.violet:hover { border-color: var(--ink); background: var(--ink); }
.button.secondary { border-color: var(--line); color: var(--ink); background: transparent; }
.button.secondary:hover { border-color: var(--ink); color: var(--ink); background: var(--white); }
.button.block { width: 100%; }

/* ---------- footer ---------- */
.footer { padding: 52px 0 34px; color: var(--white); background: var(--ink); }
.footer-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; padding-bottom: 42px; }
.footer-logo { display: block; width: auto; height: clamp(90px, 19vw, 188px); }
.footer-tag { max-width: 28ch; margin: 0 0 12px; color: #ACA6B7; font-size: .92rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); color: #8E8799; font-size: .75rem; }
.footer-privacy { flex: 1 1 34ch; max-width: 46ch; }
.footer-bottom a { color: #C9C4D0; }

@media (max-width: 860px) {
  .header-nav { gap: 16px; }
  .header-nav a.hide-sm { display: none; }
  .footer-top { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 68px; }
  .brand-logo { height: 40px; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
