/* Hallmark · macrostructure: Bright Corporate · hero knobs: light canvas, EN display + JP statement, wave field
 * theme: custom · vibe: "clear white, one confident blue" · paper: oklch(99.3% 0.003 250) · accent: oklch(52% 0.2 258)
 * display: Space Grotesk · body: Zen Kaku Gothic New · axes: light / geometric sans / chromatic-blue ~258 (cool)
 * studied: engineer-mikata.com, ksquad.jp, youngcorn.co.jp · context: user-provided · tone: clear × trustworthy · locale: ja
 */

/* ============================================================================
   HARUKASU — design tokens (single source of truth)
   fingerprint: white canvas / pale-blue surfaces / rounded cards with soft
   shadows / one blue gradient for the hero type, the feature panel and the
   CTA / navy footer / no photography (type + hand-built SVG)
   Every colour and every font in this project comes through a token below.
   ========================================================================= */

:root {
  color-scheme: light;

  /* --- Paper (cool near-white) ------------------------------------------- */
  --color-paper: oklch(99.3% 0.003 250);
  --color-surface: oklch(97.2% 0.012 250);
  --color-surface-2: oklch(94.2% 0.022 250);

  /* --- Ink (near-black, cooled) ------------------------------------------ */
  --color-ink: oklch(23% 0.045 264);
  --color-ink-2: oklch(40% 0.035 264);
  --color-ink-3: oklch(50% 0.03 264);

  /* --- Rules -------------------------------------------------------------- */
  --color-rule: oklch(91% 0.014 255);
  --color-rule-2: oklch(82% 0.022 255);

  /* --- Accent (electric blue) -------------------------------------------- */
  --color-accent: oklch(52% 0.2 258);
  --color-accent-hover: oklch(44% 0.19 260);
  --color-accent-soft: oklch(95% 0.03 252);
  --color-accent-on-deep: oklch(80% 0.12 235);

  /* --- Brand gradient (hero type, feature panel, CTA) --------------------- */
  --color-accent-deep: oklch(38% 0.17 266);
  --color-accent-2: oklch(62% 0.16 236);
  --color-accent-3: oklch(55% 0.18 250);
  --grad-brand: linear-gradient(118deg, var(--color-accent-deep) 0%, var(--color-accent) 52%, var(--color-accent-3) 100%);
  --grad-text: linear-gradient(100deg, var(--color-accent-deep) 0%, var(--color-accent) 45%, var(--color-accent-2) 100%);
  --color-glow: oklch(88% 0.07 240 / 0.55);
  --color-glass: oklch(100% 0 0 / 0.14);
  --color-glass-deep: oklch(23% 0.07 266 / 0.34);
  --color-glass-rule: oklch(100% 0 0 / 0.28);

  /* --- Elevation ---------------------------------------------------------- */
  --shadow-sm: 0 1px 2px oklch(30% 0.06 262 / 0.06), 0 4px 12px -6px oklch(40% 0.1 262 / 0.12);
  --shadow-card: 0 1px 2px oklch(30% 0.06 262 / 0.05), 0 18px 40px -22px oklch(42% 0.14 262 / 0.28);
  --shadow-pop: 0 2px 4px oklch(30% 0.06 262 / 0.06), 0 28px 56px -24px oklch(42% 0.16 262 / 0.38);

  /* --- Deep band (reverse) ------------------------------------------------ */
  --color-deep: oklch(23% 0.07 266);
  --color-on-deep: oklch(98.5% 0.004 250);
  --color-on-deep-2: oklch(82% 0.03 255);
  --color-rule-deep: oklch(38% 0.07 266);

  /* --- Feedback ----------------------------------------------------------- */
  --color-danger: oklch(52% 0.19 25);
  --color-focus: oklch(50% 0.19 259);

  /* --- Type families (2 + 1: display · body · outlier) -------------------- */
  --font-display: "Space Grotesk", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", system-ui, sans-serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* --- Type scale (major third, 1.25) ------------------------------------ */
  --text-xs: 0.6875rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.25rem;
  --text-lg: 1.5625rem;
  --text-xl: 1.9531rem;
  --text-2xl: 2.4414rem;
  --text-display-s: clamp(1.95rem, 3.4vw + 0.9rem, 3.1rem);
  --text-display: clamp(2.5rem, 4.2vw + 1rem, 4.4rem);

  /* --- Space (4 pt) ------------------------------------------------------- */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* --- Frame -------------------------------------------------------------- */
  --page-max: 78rem;
  --page-gutter: clamp(1.25rem, 4vw, 3.5rem);
  --measure: 65ch;
  --measure-jp: 34em;
  --nav-h: 4.5rem;

  /* --- Shape (rounded cards, pill controls) -------------------------------- */
  --radius-chip: 999px;
  --radius-card: 1.25rem;
  --radius-input: 0.75rem;
  --radius-panel: clamp(1.5rem, 3vw, 2.5rem);
  --radius-btn: 999px;

  /* --- Motion ------------------------------------------------------------- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur-base: 240ms;
  --dur-slow: 360ms;
  /* per-element orchestration hooks (set inline in markup, default here) */
  --rise-delay: 0ms;
  --reveal-delay: 0ms;

  /* --- Depth (named scale) ------------------------------------------------ */
  --z-raised: 10;
  --z-nav: 100;
  --z-scrim: 90;
  --z-panel: 210;
  --z-drawer: 300;
  --z-toast: 400;
}
