/* KAILA Design System tokens — from the KAILA Design System (colors, type, spacing, elevation, motion, base). Do not edit; override in styles.css. */
/* KAILA webfonts.
   Korean + Latin UI: Pretendard Variable — self-hosted (OFL 1.1, © 2021 Kil Hyung-jin).
   Latin display / UI: Archivo — nearest available match to the geometric grotesque
   used in the KAILA wordmark and conference posters (SUBSTITUTION, see readme.md).
   Editorial serif: Source Serif 4. Identifiers: JetBrains Mono. */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&family=JetBrains+Mono:wght@400;500&display=swap");
@font-face{font-family:"Pretendard Variable";font-weight:45 920;font-style:normal;font-display:swap;src:url("fonts/PretendardVariable.woff2") format("woff2-variations")}

/* ---- colors ---- */
/* KAILA color system — sampled from the KAILA AI Literacy Global Conference 2025 posters. */
:root{
  /* Institutional navy — the brand foundation */
  --navy-900:#0A1520;--navy-800:#0E1C2A;--navy-700:#142535;--navy-600:#1B3149;--navy-500:#203751;--navy-400:#2E4A69;--navy-300:#47638A;--navy-200:#7B90AC;--navy-100:#C3CEDC;--navy-050:#E5EAF1;

  /* Intelligence blue — the accent of the AI LITERACY lockup */
  --blue-700:#2A45B8;--blue-600:#3855DB;--blue-500:#4A6CF0;--blue-400:#7189F4;--blue-300:#A6B5F8;--blue-100:#DDE3FD;--blue-050:#EFF2FE;

  /* Civic gold — used for emphasis, invitation, certification */
  --gold-700:#A87A1E;--gold-600:#C8952F;--gold-500:#F0B050;--gold-400:#F4C378;--gold-300:#F9DCAC;--gold-100:#FDF1DE;

  /* Warm neutrals — paper, human warmth */
  --ivory-050:#FBFAF7;--ivory-100:#F5F3EE;--ivory-200:#EBE8E1;
  --gray-900:#1A1D21;--gray-700:#4A5058;--gray-500:#767D87;--gray-400:#9AA1AA;--gray-300:#C6CBD2;--gray-200:#E2E5E9;--gray-100:#F1F3F5;
  --white:#FFFFFF;--black:#000000;

  /* Semantic status — restrained, institutional */
  --teal-600:#0E7C74;--teal-100:#DBF0EE;
  --amber-600:#B4761A;--amber-100:#FBEBD2;
  --red-600:#A8322C;--red-100:#F8E3E1;
  --green-600:#1E7A4C;--green-100:#DCF0E5;

  /* ---- Semantic aliases: use these in components ---- */
  --text-strong:var(--navy-900);
  --text-body:var(--gray-900);
  --text-muted:var(--gray-500);
  --text-subtle:var(--gray-400);
  --text-inverse:var(--ivory-100);
  --text-inverse-muted:var(--navy-100);
  --text-accent:var(--blue-600);
  --text-link:var(--blue-600);
  --text-link-hover:var(--blue-700);

  --surface-page:var(--ivory-050);
  --surface-card:var(--white);
  --surface-sunken:var(--ivory-100);
  --surface-inverse:var(--navy-700);
  --surface-inverse-deep:var(--navy-900);
  --surface-accent-soft:var(--blue-050);
  --surface-gold-soft:var(--gold-100);

  --border-hairline:var(--gray-200);
  --border-default:var(--gray-300);
  --border-strong:var(--navy-700);
  --border-inverse:rgba(255,255,255,.18);

  --action-primary:var(--navy-700);
  --action-primary-hover:var(--navy-900);
  --action-accent:var(--blue-500);
  --action-accent-hover:var(--blue-600);
  --action-gold:var(--gold-500);
  --action-gold-hover:var(--gold-600);
  --focus-ring:var(--blue-500);

  /* Brand hierarchy tiers (see readme: Institutional / Knowledge / Community) */
  --tier-institutional:var(--navy-700);
  --tier-knowledge:var(--blue-500);
  --tier-community:var(--gold-500);
}

/* ---- typography ---- */
:root{
  --font-display:"Archivo","Pretendard Variable",Pretendard,system-ui,sans-serif;
  --font-sans:"Pretendard Variable",Pretendard,"Archivo",system-ui,sans-serif;
  --font-serif:"Source Serif 4","Pretendard Variable",Georgia,serif;
  --font-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,monospace;

  --fw-regular:400; /* @kind font */
  --fw-medium:500; /* @kind font */
  --fw-semibold:600; /* @kind font */
  --fw-bold:700; /* @kind font */
  --fw-extrabold:800; /* @kind font */
  --fw-black:900; /* @kind font */

  /* Type scale — 1.25 major third above body, tightened at display sizes */
  --fs-3xs:11px;--fs-2xs:12px;--fs-xs:13px;--fs-sm:15px;--fs-base:17px;--fs-md:19px;
  --fs-lg:22px;--fs-xl:27px;--fs-2xl:33px;--fs-3xl:41px;--fs-4xl:52px;--fs-5xl:66px;--fs-6xl:84px;

  --lh-tight:1.05; /* @kind other */
  --lh-snug:1.2; /* @kind other */
  --lh-normal:1.45; /* @kind other */
  --lh-relaxed:1.65; /* @kind other */

  --ls-display:-0.02em; /* @kind other */
  --ls-tight:-0.01em; /* @kind other */
  --ls-normal:0; /* @kind other */
  --ls-wide:0.06em; /* @kind other */
  --ls-eyebrow:0.16em; /* @kind other */

  /* Named roles */
  --type-display:var(--fw-black) var(--fs-5xl)/var(--lh-tight) var(--font-display); /* @kind font */
  --type-h1:var(--fw-extrabold) var(--fs-3xl)/var(--lh-snug) var(--font-display); /* @kind font */
  --type-h2:var(--fw-bold) var(--fs-2xl)/var(--lh-snug) var(--font-sans); /* @kind font */
  --type-h3:var(--fw-semibold) var(--fs-xl)/var(--lh-snug) var(--font-sans); /* @kind font */
  --type-h4:var(--fw-semibold) var(--fs-lg)/var(--lh-normal) var(--font-sans); /* @kind font */
  --type-body:var(--fw-regular) var(--fs-base)/var(--lh-relaxed) var(--font-sans); /* @kind font */
  --type-body-sm:var(--fw-regular) var(--fs-sm)/var(--lh-normal) var(--font-sans); /* @kind font */
  --type-lead:var(--fw-regular) var(--fs-md)/var(--lh-relaxed) var(--font-sans); /* @kind font */
  --type-editorial:var(--fw-regular) var(--fs-2xl)/1.3 var(--font-serif); /* @kind font */
  --type-eyebrow:var(--fw-bold) var(--fs-2xs)/1.2 var(--font-sans); /* @kind font */
  --type-mono:var(--fw-regular) var(--fs-2xs)/1.4 var(--font-mono); /* @kind font */
}

/* ---- spacing ---- */
:root{
  /* 4px base grid */
  --sp-0:0px; /* @kind spacing */--sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-5:20px;--sp-6:24px;--sp-8:32px;--sp-10:40px;--sp-12:48px;--sp-16:64px;--sp-20:80px;--sp-24:96px;--sp-32:128px;--sp-40:160px;

  /* Layout */
  --container-max:1280px;--container-narrow:760px;--container-wide:1440px;
  --gutter:24px;--gutter-lg:40px;
  --grid-columns:12; /* @kind other */
  --section-y:var(--sp-24);--section-y-tight:var(--sp-16);

  /* Radii — institutional, nearly square */
  --radius-0:0;--radius-sm:2px;--radius-md:4px;--radius-lg:8px;--radius-xl:14px;--radius-pill:999px;

  /* Borders */
  --bw-hairline:1px;--bw-rule:2px;--bw-accent:4px;
}

/* ---- elevation ---- */
:root{
  /* Elevation is used sparingly: hairline borders carry most separation. */
  --shadow-none:none;
  --shadow-xs:0 1px 2px rgba(10,21,32,.06);
  --shadow-sm:0 2px 6px rgba(10,21,32,.07);
  --shadow-md:0 6px 20px rgba(10,21,32,.09);
  --shadow-lg:0 18px 48px rgba(10,21,32,.13);
  --shadow-inset-hairline:inset 0 0 0 1px var(--border-hairline);
  --ring-focus:0 0 0 3px rgba(74,108,240,.32);
  --scrim-navy:linear-gradient(180deg,rgba(10,21,32,0) 0%,rgba(10,21,32,.72) 70%,rgba(10,21,32,.9) 100%); /* @kind other */
  --blur-glass:saturate(140%) blur(14px); /* @kind other */
}

/* ---- motion ---- */
:root{
  --dur-fast:120ms; /* @kind other */
  --dur-base:180ms; /* @kind other */
  --dur-slow:280ms; /* @kind other */
  --dur-page:420ms; /* @kind other */
    --ease-standard:cubic-bezier(.2,0,.2,1); /* @kind other */
  --ease-out:cubic-bezier(0,0,.22,1); /* @kind other */
  --ease-in-out:cubic-bezier(.45,0,.25,1); /* @kind other */
  --transition-control:background-color var(--dur-base) var(--ease-standard),color var(--dur-base) var(--ease-standard),border-color var(--dur-base) var(--ease-standard),box-shadow var(--dur-base) var(--ease-standard);
}

/* ---- base ---- */
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--surface-page);color:var(--text-body);font:var(--type-body);-webkit-font-smoothing:antialiased;text-wrap:pretty}
h1,h2,h3,h4,h5,h6{margin:0;color:var(--text-strong)}
p{margin:0}
a{color:var(--text-link);text-decoration:none;border-bottom:1px solid color-mix(in srgb,var(--text-link) 30%,transparent);transition:var(--transition-control)}
a:hover{color:var(--text-link-hover);border-bottom-color:var(--text-link-hover)}
:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}
::selection{background:var(--blue-100);color:var(--navy-900)}
.kaila-eyebrow{font:var(--type-eyebrow);letter-spacing:var(--ls-eyebrow);text-transform:uppercase;color:var(--text-muted)}
