/* SoundSenseAI redesign — shared styles for every page.
   Tokens, base type, nav, section headings, buttons, the blue booking band,
   the dark footer, and the phone/tablet rules for all of those. Page files
   add only what is specific to them. */
:root {
  --paper: #f6f8fb; --white: #fff; --ink: #0e1116; --ink-2: #5a6472; --ink-3: #828b98; --line: #dde1e8;
  --blue: #2d55f2; --blue-600: #1e42d8; --blue-400: #5577f6; --blue-300: #8aa2f9; --blue-100: #e4eafe; --blue-50: #f2f5ff;
  --midnight: #0b0e14; --midnight-2: #11151e;
  --sans: "Instrument Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; } html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; }

/* ---- nav ---- */
.top { display: flex; align-items: center; justify-content: space-between; height: 80px; padding: 0 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.brand svg { width: 26px; height: 26px; }
.brand b { color: var(--blue); }
.top nav { display: flex; gap: 32px; font-size: 15.5px; font-weight: 500; color: var(--ink-2); }
.top nav a:hover, .top nav a.on { color: var(--ink); }

/* ---- hero panel: tinted window with the drifting grid ---- */
.panel { position: relative; background: var(--blue-50); border-radius: 32px; overflow: hidden; isolation: isolate; }
.panel canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: 0; }
.panel > * { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 500; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--blue); border-radius: 2px; }
h1 { font-weight: 700; font-size: clamp(56px, 6.8vw, 96px); line-height: 0.98; letter-spacing: -0.035em; margin: 18px 0 0; }
h1 em { font-style: normal; color: var(--blue); }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 560px; margin: 14px 0 0; text-wrap: pretty; }
.acts { display: flex; gap: 18px; align-items: center; margin-top: 34px; flex-wrap: wrap; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 12px; background: var(--blue); color: #fff; padding: 16px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; box-shadow: 0 10px 26px rgba(45,85,242,0.28); }
.btn:hover { background: var(--blue-600); }
.btn svg { width: 18px; height: 18px; }
.btn-dark { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.btn-dark:hover { background: var(--blue); }
.btn-light { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); padding: 13px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.btn-light:hover { background: var(--blue-100); }
.btn-ghost { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: var(--ink); padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---- section heading pattern: dot, eyebrow, big two-tone title ---- */
.sec { padding: 72px 12px 24px; }
.sh { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.sh::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.sec h2, .h2 { font-size: clamp(32px, 3.6vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 14px 0 0; text-wrap: balance; max-width: 760px; }
.sec h2 em, .h2 em { font-style: normal; color: var(--blue); }
.sec .lead { font-size: 17.5px; max-width: 640px; margin-top: 16px; }
.dark { background: var(--midnight); color: #fff; border-radius: 32px; padding: 56px 56px 52px; }
.dark .sh { color: rgba(255,255,255,0.6); }
.dark h2 { color: #fff; }
.dark h2 em { color: var(--blue-400); }
.dark .lead { color: rgba(255,255,255,0.66); }
.tint { background: var(--paper); border-radius: 32px; padding: 56px 48px 48px; }

/* ---- blue band ---- */
.band { margin: 72px 0 0; background: var(--blue); color: #fff; border-radius: 32px; padding: 52px 56px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.band .k { font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,0.72); }
.band h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.03em; margin: 8px 0 0; }
.band h2 em { font-style: normal; color: var(--blue-100); }
.band p { margin: 12px 0 0; font-size: 16.5px; line-height: 1.5; color: rgba(255,255,255,0.8); max-width: 60ch; }
.band p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---- footer ---- */
.foot { margin-top: 64px; background: var(--midnight); color: #fff; }
.foot .in { max-width: 1280px; margin: 0 auto; padding: 56px 40px 32px; }
.foot .grid { display: grid; grid-template-columns: 1.4fr repeat(3, 0.8fr); gap: 32px; }
.foot .brand { color: #fff; }
.foot .brand b { color: var(--blue-400); }
.foot .tag { color: rgba(255,255,255,0.62); font-size: 15px; line-height: 1.55; max-width: 300px; margin: 18px 0 0; }
.foot h4 { font-size: 13.5px; font-weight: 600; margin: 0 0 14px; color: #fff; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.foot li a { color: rgba(255,255,255,0.62); font-size: 14.5px; }
.foot li a:hover { color: #fff; }
.foot .base { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.45); }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .wrap { padding: 0 16px; }
  .top { height: auto; flex-wrap: wrap; padding: 18px 4px 14px; gap: 12px 0; }
  .top nav { width: 100%; gap: 18px; font-size: 14px; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .top nav::-webkit-scrollbar { display: none; }
  h1 { font-size: clamp(44px, 12.5vw, 64px); }
  .lead { font-size: 16.5px; }
  .btn { width: 100%; justify-content: center; }
  .btn-ghost { width: 100%; justify-content: center; }
  .sec { padding: 52px 4px 16px; }
  .sec h2, .h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .dark, .band { padding: 32px 22px; border-radius: 24px; }
  .tint { padding: 36px 16px 20px; border-radius: 24px; }
  .band { grid-template-columns: 1fr; }
  .band .btn-light { width: 100%; justify-content: center; }
  .foot .in { padding: 44px 20px 28px; }
  .foot .grid { grid-template-columns: 1fr; gap: 28px; }
  .foot .base { flex-direction: column; gap: 8px; }
}
