/* Sharkify Pro · light theme base: warm-stone tokens, type, buttons, nav, footer, cards */

:root {
  --canvas: #FAF9F7;
  --canvas-deep: #F4F1EC;
  --surface: #FFFFFF;
  --surface-tint: #FBF6EC;
  --ink: #17130E;
  --ink-body: #4A443B;
  --ink-muted: #8A8177;
  --hairline: #E9E4DC;
  --hairline-strong: #D8D1C6;

  --gold: #B98F3E;
  --gold-deep: #8A6A2F;
  --gold-soft: #E7D2A4;
  --gold-wash: #F6EDDA;

  --wa: #25D366;
  --wa-hover: #1DA851;

  --shadow-hue: 43, 33, 16;
  --ring: inset 0 0 0 1px rgba(var(--shadow-hue), 0.07);
  --shadow-1: 0 1px 2px rgba(var(--shadow-hue), 0.05);
  --shadow-2: 0 1px 1px rgba(var(--shadow-hue), 0.03), 0 2px 2px rgba(var(--shadow-hue), 0.03), 0 4px 4px rgba(var(--shadow-hue), 0.03);
  --shadow-3: 0 2px 4px rgba(var(--shadow-hue), 0.04), 0 12px 24px -8px rgba(var(--shadow-hue), 0.10);
  --shadow-4: 0 1px 1px rgba(var(--shadow-hue), 0.04), 0 8px 16px -4px rgba(var(--shadow-hue), 0.08), 0 28px 40px -12px rgba(var(--shadow-hue), 0.12);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;

  --text-hero: clamp(2.9rem, 1.4rem + 6.2vw, 5.6rem);
  --text-h2: clamp(2rem, 1.2rem + 2.8vw, 3.25rem);
  --text-h3: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  --text-lead: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);

  --space-section: clamp(5rem, 4rem + 6vw, 9rem);
  --pad-x: clamp(1.25rem, 4vw, 2.5rem);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink-body);
  font-family: var(--font-body);
  font-feature-settings: "cv01", "ss03";
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

/* grain: the biggest cheap-to-premium lever on light */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  font-weight: 430;
  color: var(--ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: var(--text-hero);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--text-h2);
  line-height: 1.08;
  letter-spacing: -0.022em;
  max-width: 20ch;
}

h3 {
  font-size: var(--text-h3);
  line-height: 1.2;
  letter-spacing: -0.012em;
}

.display-accent {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
}

p {
  margin: 0 0 1em;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--gold-soft);
  color: var(--ink);
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 100;
  background: var(--ink);
  color: var(--canvas);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  transition: top 200ms var(--ease-out-expo);
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- layout ---------- */

.section {
  padding: var(--space-section) var(--pad-x);
  position: relative;
}

.section-inner {
  max-width: 76rem;
  margin: 0 auto;
}

.kicker,
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.2rem;
}

.body-lg {
  font-size: var(--text-lead);
  line-height: 1.55;
  color: var(--ink-body);
  max-width: 46ch;
}

.text-link {
  color: var(--gold-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gold-soft);
  transition: text-decoration-color 200ms;
}

.text-link:hover {
  text-decoration-color: var(--gold-deep);
}

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

.card {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--ring), var(--shadow-2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: box-shadow 300ms, transform 300ms var(--ease-out-expo);
}

.card:hover {
  box-shadow: var(--ring), var(--shadow-3), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.card-gilt {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(160deg, var(--gold-soft) 0%, var(--hairline) 40%, var(--hairline) 60%, var(--gold-soft) 100%) border-box;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 48px;
  padding: 0 26px;
  border-radius: 9999px;
  border: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background 250ms, box-shadow 250ms, transform 250ms var(--ease-out-expo);
  will-change: transform;
}

.btn-ink {
  background: var(--ink);
  color: var(--canvas);
  box-shadow: var(--shadow-2);
}

.btn-ink:hover {
  background: #000;
  box-shadow: var(--shadow-3);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 24px -6px rgba(185, 143, 62, 0.55);
}

.btn-gold:hover {
  background: var(--gold-deep);
}

.btn-wa {
  background: var(--wa);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 8px 24px -6px rgba(37, 211, 102, 0.5);
}

.btn-wa:hover {
  background: var(--wa-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--hairline-strong);
}

.btn-ghost:hover {
  box-shadow: inset 0 0 0 1px var(--gold);
  background: var(--gold-wash);
}

.btn-sm {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.wa-ic,
.mic-ic {
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
  flex: none;
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0.8rem var(--pad-x);
  transition: background 300ms, border-color 300ms, box-shadow 300ms;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(250, 249, 247, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-color: var(--hairline);
}

.nav-inner {
  max-width: 76rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.fin {
  width: 26px;
  height: 26px;
  fill: var(--gold);
  flex: none;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 1.7rem;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-body);
  transition: color 200ms;
}

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

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .nav-inner {
    justify-content: space-between;
  }
}

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

footer {
  border-top: 1px solid var(--hairline);
  padding: 3.5rem var(--pad-x) 4.5rem;
  background: var(--canvas-deep);
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 2.5rem;
}

.foot-brand p {
  color: var(--ink-muted);
  margin-top: 1rem;
  max-width: 30ch;
}

.foot-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.foot-links a {
  color: var(--ink-body);
  transition: color 200ms;
}

.foot-links a:hover {
  color: var(--gold-deep);
}

.foot-meta {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.foot-meta p {
  margin-bottom: 0.4rem;
}

.fine {
  font-size: 0.82rem;
  opacity: 0.8;
}

@media (max-width: 767px) {
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---------- reveal motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms var(--ease-out-expo), transform 700ms var(--ease-out-expo);
  transition-delay: var(--d, 0s);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .btn:hover,
  .card,
  .card:hover {
    transform: none;
  }
}
