/* Shared foundation for the Nova home page and the Smile&Shine Global page: tokens, reset, type, buttons and common layout.
   Page-specific styles live in styles.css (home) and projects/smile-and-shine/styles.css. */
:root {
  --bg: #fbfcff;
  --surface: #ffffff;
  --surface-2: #f2f4fc;
  --fg: #23233a;
  --muted: #6b6d86;
  --line: #e6e8f3;
  --violet: #6c6fd9;
  --sky: #3fa9e6;
  --sky-soft: #8fd0f0;
  --on-accent: #ffffff;
  --wave-a: #c9ccf5;
  --wave-b: #b5e0f6;
  --wave-c: #e8eaf8;
  color-scheme: light;
  --display: "Jost", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font: 400 17px/1.65 var(--body); margin: 0; overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
.eyebrow { font: 500 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--violet); }

/* buttons and links */
.btn { display: inline-block; text-decoration: none; background: linear-gradient(100deg, var(--violet), var(--sky)); color: var(--on-accent); font: 500 15px/1 var(--body); padding: 14px 24px; border-radius: 999px; }
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: none; color: var(--fg); border: 1px solid var(--line); }
.textlink { display: inline-block; color: var(--violet); text-decoration: none; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* header, hero, sections, footer (common parts) */
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; z-index: 2; }
nav { display: flex; align-items: center; }
.hero { position: relative; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--violet), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); }
section { padding-block: 96px 0; }
.sec-head { margin-bottom: 40px; }
.sec-head h2, .split h2 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 300; margin-top: 14px; }
.about { max-width: 700px; display: grid; gap: 18px; justify-items: start; }
.about h2 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 300; }
.about p { margin: 0; color: var(--muted); }
.note { margin-top: 18px; font-size: 14px; color: var(--muted); }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; color: var(--muted); font-size: 14px; }

@media (max-width: 800px) {
  section { padding-block: 72px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  header { padding-block: 14px; }
  .btn { padding: 12px 18px; font-size: 14px; }
  .cta { flex-direction: column; align-items: stretch; }
  .cta .btn { text-align: center; }
  .sec-head { margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
