/* public/styles/brand.css
   Single source of truth for design tokens. Modern Warm V3 (web).
   See docs/branding/PLANNA-CLASSIC-WEB-GUIDELINES.md. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;1,9..144,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-ui:      "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --ink: #1E2B3A;
  --ink-soft: #4A576A;
  --ink-muted: #8894A6;

  --warm-white: #FEFCF9;
  --surface: #FFFFFF;

  --teal: #3AABB0;
  --teal-deep: #2B8F93;
  --teal-light: #5DC1C5;

  --coral: #E8836B;
  --coral-deep: #D06A52;
  --coral-soft: #F4B8A6;

  --soft-teal: #E6F5F5;
  --soft-warm: #FFF0EA;

  --border:        rgba(30, 43, 58, 0.06);
  --border-strong: rgba(30, 43, 58, 0.10);

  --grad: linear-gradient(135deg, #3AABB0, #5DC1C5, #E8836B);

  --r-xs: 8px;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-7: 32px;
  --s-8: 40px;
  --s-9: 56px;
  --s-10: 72px;
  --s-11: 96px;
  --s-12: 128px;

  --shadow-sm: 0 2px 12px rgba(30, 43, 58, 0.06);
  --shadow-md: 0 6px 20px rgba(30, 43, 58, 0.10);

  --epc-a: #19A85A;
  --epc-b: #5DC15D;
  --epc-c: #C3D147;
  --epc-d: #F5CB3A;
  --epc-e: #EFA33A;
  --epc-f: #E87A3A;
  --epc-g: #D6533A;

  --dur-fast: 180ms;
  --ease-soft: cubic-bezier(0.2, 0.6, 0.2, 1);
}

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

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
}

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

a { color: var(--teal-deep); text-decoration: none; }
a:hover { color: var(--ink); }

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

/* Headline gradient — single canonical rule. */
h1 em, h2 em, h3 em {
  background: linear-gradient(110deg,
    #E8836B 0%,
    #F5C97B 35%,
    #5DC1C5 68%,
    #2B8F93 92%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-style: normal;
}
.hero h1 em { font-style: italic; font-weight: 400; }

.t-display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.04;
}
.t-section {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.06;
}
.t-eyebrow {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.t-tabular { font-variant-numeric: tabular-nums; }

.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--s-6);
}
@media (max-width: 720px) {
  .wrap { padding-inline: var(--s-5); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
