/* Original Sound — shared tokens
   Palette: the beach at dusk. Deep water for backgrounds (matches the app's dark mode),
   sand and driftwood for warm accents, sea glass for links and highlights. */
:root {
  --abyss:     #0B1D28;  /* page background, deepest water */
  --deep:      #10293A;  /* raised surfaces */
  --tide:      #17394D;  /* cards, app chrome */
  --current:   #2A6F86;  /* strong blue accent */
  --shallows:  #5FA8B8;  /* links, active states */
  --seaglass:  #A9D6D2;  /* soft highlight */
  --sand:      #DCC7A1;  /* warm accent, headings on dark */
  --dune:      #B8946A;  /* deeper sand */
  --driftwood: #7A6248;  /* muted warm */
  --foam:      #EFE6D6;  /* primary text */
  --mist:      #9DB2BB;  /* secondary text */
  --line:      rgba(169, 214, 210, 0.14);

  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Figtree", "Avenir Next", system-ui, sans-serif;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 28px;
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 62ch;
}

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

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

body {
  margin: 0;
  background: var(--abyss);
  color: var(--foam);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--seaglass); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--foam); }

:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--foam);
}

p { margin: 0; }

.wrap { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.8em 1.35em;
  border-radius: 999px;
  font: 600 1rem/1 var(--body);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.button--sand { background: var(--sand); color: var(--abyss); }
.button--sand:hover { background: var(--foam); color: var(--abyss); }
.button--ghost { border-color: rgba(220, 199, 161, .4); color: var(--sand); }
.button--ghost:hover { border-color: var(--sand); color: var(--foam); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
