/* Ktiquette — single light theme, matched to the live site.
   Layout: 896px content column, full-bleed tinted bands, sticky header. */
:root {
  --blue: #2663eb;
  --blue-700: #1d4fd0;
  --blue-50: #eff5ff;
  --blue-100: #dde8fd;
  --indigo: #4f46e5;
  --indigo-50: #eef0fe;
  --purple: #9333ea;
  --purple-50: #f8f2fe;
  --teal: #0e91b2;
  --teal-50: #e9fafc;
  --green: #16a34a;
  --green-50: #edfbf2;
  --orange: #ea580c;
  --orange-50: #fff3e8;
  --red: #dc2626;
  --red-50: #feeeee;
  --amber-50: #fcf5ea;
  --yellow-50: #fdf8c8;
  --ink: #141820;
  --text: #2a2f3a;
  --muted: #4b5262;
  --subtle: #7b8291;
  --line: #e6e9ef;
  --gray-50: #f8f9fb;
  --gray-100: #f2f4f7;
  --white: #ffffff;
  --footer-bg: #eef4fe;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --container: 896px;
  --header-h: 64px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(20, 24, 32, .04), 0 1px 3px rgba(20, 24, 32, .05);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.ph { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.125em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--blue); color: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 8px; }

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * max(16px, env(safe-area-inset-left, 0px)));
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.container-wide { --container: 960px; }
.section { padding-block: 80px; }
.section-sm { padding-block: 56px; }
.bg-gray { background: var(--gray-50); }
.bg-blue { background: var(--blue); color: var(--white); }
.section-head { text-align: center; display: grid; gap: 14px; justify-items: center; margin-bottom: 36px; }
.section-head p { color: var(--muted); max-width: 34em; }
.h2 { font-size: clamp(26px, 3.2vw, 32px); font-weight: 600; }
.h2-lg { font-size: clamp(28px, 3.6vw, 36px); font-weight: 600; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .grid-4.keep-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding-block: 56px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 8px;
  font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn .ph { font-size: 16px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-700); }
.btn-outline { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-50); }
.btn-neutral { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-neutral:hover { background: var(--gray-50); }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: var(--blue-50); }
.btn-indigo { background: var(--indigo); color: var(--white); }
.btn-indigo:hover { background: #4338ca; }
.btn-purple { background: var(--purple); color: var(--white); }
.btn-purple:hover { background: #7e22ce; }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: #0b7895; }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: #15803d; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .7; cursor: progress; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--white); /* solid: a backdrop-filter here would trap the fixed mobile menu */
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 16px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 8px; background: var(--blue); color: var(--white);
  display: grid; place-items: center; font-size: 20px; flex: none;
}
.brand-text { display: grid; line-height: 1.15; }
.brand-text strong { font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.brand-text small { font-size: 10.5px; color: var(--subtle); }
.main-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.main-nav ul { display: flex; gap: 2px; }
.nav-link {
  display: block; padding: 5px 8px; border-radius: 6px;
  font-size: 13px; color: var(--text); white-space: nowrap; transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--blue); }
.nav-link.is-active { background: var(--blue-50); color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 12px; flex: none; margin-left: auto; }
.lang-btn { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 6px 8px; border-radius: 6px; }
.lang-btn .ph { font-size: 15px; }
.lang-btn:hover { background: var(--gray-100); }
.menu-toggle {
  display: none; width: 40px; height: 40px; border-radius: 8px;
  place-items: center; font-size: 24px; color: var(--ink);
}
.menu-toggle:hover { background: var(--gray-100); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-menu {
  position: fixed; left: 0; right: 0;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); bottom: 0;
  background: var(--white); border-top: 1px solid var(--line);
  overflow-y: auto; overscroll-behavior: contain;
  padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  animation: menu-in .18s ease-out;
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mobile-menu ul { display: grid; gap: 2px; }
.mobile-menu .nav-link { font-size: 16px; padding: 13px 12px; border-radius: 10px; font-weight: 500; }
.mobile-menu .nav-link:hover { background: var(--gray-50); }
.mobile-menu .nav-link.is-active { background: var(--blue-50); }
.mobile-menu:not([hidden]) { display: flex; flex-direction: column; }
.mobile-menu-top { padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.mobile-cta { height: 48px; font-size: 15px; border-radius: 10px; margin-top: 12px; flex: none; }
.lang-seg-wrap { display: grid; gap: 8px; padding: 14px; background: var(--gray-50); border-radius: 12px; }
.lang-seg-label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }
.lang-seg-label .ph { font-size: 15px; }
.lang-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; background: var(--gray-100); border-radius: 10px; padding: 4px; }
.lang-seg .lang-option { text-align: center; padding: 10px 6px; border-radius: 7px; font-size: 14px; font-weight: 500; color: var(--muted); background: transparent; }
.lang-seg .lang-option:hover { color: var(--ink); background: transparent; }
.lang-seg .lang-option[aria-checked="true"] { background: var(--white); color: var(--blue); font-weight: 600; box-shadow: var(--shadow); }
@media (max-width: 1023px) {
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
  .header-actions .lang-btn { display: none; }
}
@media (max-width: 560px) {
  .header-actions .btn { display: none; }
}
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ---------- page hero ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
  text-align: center;
  padding-block: 72px 96px;
}
.page-hero .container { display: grid; justify-items: center; gap: 18px; }
.hero-icon {
  width: 48px; height: 48px; border-radius: 10px; background: var(--blue); color: var(--white);
  display: grid; place-items: center; font-size: 24px; margin-bottom: 4px;
}
.page-hero h1 { font-size: clamp(34px, 5.4vw, 48px); font-weight: 700; letter-spacing: -0.03em; }
.page-hero p { font-size: 16px; color: var(--muted); max-width: 36em; }
.page-hero .btn { margin-top: 8px; }
@media (max-width: 600px) { .page-hero { padding-block: 48px 64px; } }

/* ---------- cards & chips ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.icon-chip {
  width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; font-size: 20px;
  background: var(--blue-50); color: var(--blue); flex: none;
}
.icon-chip.lg { width: 44px; height: 44px; font-size: 22px; border-radius: 10px; }
.icon-chip.round { border-radius: 999px; }
.icon-chip.solid { background: var(--blue); color: var(--white); }
.tone-blue { --tone: var(--blue); --tone-50: var(--blue-50); }
.tone-indigo { --tone: var(--indigo); --tone-50: var(--indigo-50); }
.tone-purple { --tone: var(--purple); --tone-50: var(--purple-50); }
.tone-teal { --tone: var(--teal); --tone-50: var(--teal-50); }
.tone-green { --tone: var(--green); --tone-50: var(--green-50); }
.tone-orange { --tone: var(--orange); --tone-50: var(--orange-50); }
.tone-red { --tone: var(--red); --tone-50: var(--red-50); }
.icon-chip[class*="tone-"] { background: var(--tone-50); color: var(--tone); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color: var(--white); text-align: center; padding-block: 88px; }
.cta-band .container { display: grid; justify-items: center; gap: 16px; }
.cta-band h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 32px); font-weight: 600; }
.cta-band p { color: rgba(255, 255, 255, .9); max-width: 40em; }
.cta-band .btn { margin-top: 12px; }
@media (max-width: 600px) { .cta-band { padding-block: 64px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); padding-block: 40px 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid #d9e2f2; }
.footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.footer-brand strong { font-size: 20px; font-weight: 600; color: var(--ink); }
.footer-about p { color: var(--text); max-width: 30ch; line-height: 1.65; }
.footer-col h2 { font-size: 15px; font-weight: 600; letter-spacing: .02em; margin: 8px 0 16px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a:hover { color: var(--blue); }
.footer-col li { color: var(--text); }
.copyright { text-align: center; color: var(--text); font-size: 13px; padding-top: 26px; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- home ---------- */
.home-hero { background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%); padding-block: 76px 104px; }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 32px; align-items: center; }
.home-hero h1 { font-size: clamp(40px, 6vw, 56px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.home-hero h1 span { display: block; }
.home-hero h1 .accent { color: var(--blue); }
.home-hero-copy { display: grid; gap: 24px; justify-items: start; }
.home-hero-copy p { font-size: 15px; color: var(--text); max-width: 32em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media {
  aspect-ratio: 3 / 2; max-width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 18px 40px -18px rgba(20, 30, 60, .35);
}
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.img-placeholder {
  width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 8px;
  background: linear-gradient(135deg, #1b2440, #2a3a6b); color: rgba(255, 255, 255, .72); font-size: 13px;
}
.img-placeholder .ph { font-size: 36px; }
@media (max-width: 820px) {
  .home-hero { padding-block: 48px 72px; }
  .home-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
.help-card { padding: 16px; display: grid; align-content: start; gap: 10px; }
.help-card > .ph { font-size: 22px; color: var(--tone, var(--blue)); }
.help-card h3 { font-size: 19px; font-weight: 600; }
.help-card p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.center-row { display: flex; justify-content: center; margin-top: 28px; }
.impact-band { background: var(--blue); padding-block: 80px; }
.impact-band h2 { color: var(--white); text-align: center; margin-bottom: 32px; }
.impact-tile {
  background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--radius);
  color: var(--white); text-align: center; padding: 30px 16px 26px; display: grid; gap: 2px;
}
.impact-tile strong { font-size: clamp(32px, 4vw, 38px); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.impact-tile span { font-size: 15px; font-weight: 500; }
.difference { text-align: center; }
.difference .container { display: grid; gap: 16px; justify-items: center; }
.difference p { color: var(--text); max-width: 34em; }
.difference .btn-row { justify-content: center; margin-top: 12px; }

/* ---------- about ---------- */
.mv-card { background: var(--blue-50); border-radius: var(--radius-lg); padding: 28px 28px 32px; display: grid; gap: 16px; align-content: start; }
.mv-card h2 { font-size: 26px; font-weight: 600; }
.mv-card p { font-size: 13.5px; color: var(--text); }
.story { display: grid; gap: 18px; }
.story .lead { color: var(--blue); font-weight: 600; font-size: 15px; }
.story p { font-size: 14px; color: var(--text); }
.founder { padding: 32px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: start; }
.founder-id { display: grid; justify-items: center; gap: 4px; width: 160px; }
.avatar {
  width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #8aacf6, var(--blue)); color: var(--white); font-size: 44px; font-weight: 600; margin-bottom: 14px;
}
.founder-id strong { font-size: 18px; font-weight: 500; color: var(--ink); }
.founder-id span { color: var(--blue); font-size: 14px; font-weight: 500; }
.founder-body { display: grid; gap: 16px; }
.founder-body h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 600; }
.founder-body p { font-size: 13.5px; }
@media (max-width: 680px) { .founder { grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 24px; } .founder-body { text-align: left; } }
.value-card { padding: 28px 18px; text-align: center; display: grid; justify-items: center; gap: 10px; border: 0; box-shadow: var(--shadow); }
.value-card h3 { font-size: 19px; font-weight: 600; }
.value-card p { font-size: 13.5px; color: var(--muted); line-height: 1.5; max-width: 15em; }

/* ---------- features ---------- */
.feature { padding-block: 64px; }
.feature-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: center; }
.feature-copy { display: grid; gap: 16px; justify-items: start; padding-inline: 16px; }
.feature-copy h2 { font-size: clamp(28px, 3.4vw, 34px); font-weight: 600; }
.feature-copy .tagline { color: var(--tone); font-weight: 500; font-size: 15px; }
.feature-copy p { font-size: 14px; color: var(--text); }
.feature-icon { font-size: 32px; color: var(--tone); }
.benefits { background: var(--gray-50); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 16px; }
.benefits h3 { font-size: 19px; font-weight: 600; }
.benefits ul { display: grid; gap: 12px; }
.benefits li { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; }
.check { width: 22px; height: 22px; border-radius: 50%; background: var(--tone-50); color: var(--tone); display: grid; place-items: center; font-size: 13px; flex: none; margin-top: -1px; }
.feature-row.flip .benefits { order: -1; }
@media (max-width: 800px) {
  .feature { padding-block: 40px; }
  .feature-row { grid-template-columns: minmax(0, 1fr); }
  .feature-row.flip .benefits { order: 0; }
  .feature-copy { padding-inline: 0; }
}

/* ---------- guides ---------- */
.panel { background: var(--gray-50); border-radius: 20px; padding: 32px 28px; }
.panel > h2 { font-size: clamp(26px, 3.2vw, 32px); font-weight: 600; margin-bottom: 18px; }
.panel > .panel-sub { color: var(--text); font-size: 14px; margin: -10px 0 20px; }
.tile {
  display: flex; align-items: center; gap: 14px; padding: 14px; text-align: left; width: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.tile:hover { border-color: #cfdaf3; box-shadow: var(--shadow); }
.tile strong { font-weight: 600; font-size: 15px; color: var(--ink); }
.topic { display: grid; gap: 10px; align-content: start; padding: 16px 16px 28px; text-align: left; }
.topic strong { font-size: 15px; font-weight: 600; color: var(--ink); margin-top: 8px; }
.topic span { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.back-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); margin-bottom: 20px; }
.back-btn:hover { color: var(--blue); }
.detail-head { display: grid; gap: 18px; margin-bottom: 20px; }
.detail-head h2 { font-size: clamp(26px, 3.2vw, 32px); font-weight: 600; }
.detail-head p { font-size: 14px; }
.doc-list { display: grid; gap: 10px; }
.doc-row { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.doc-row > div { flex: 1; min-width: 0; display: grid; gap: 4px; }
.doc-row small { color: var(--blue); font-size: 13px; }
.doc-row strong { font-weight: 600; font-size: 15px; color: var(--ink); }
.pill-link { display: inline-flex; align-items: center; gap: 4px; padding: 5px 14px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-size: 13.5px; flex: none; }
.pill-link:hover { background: var(--blue-100); }
.article { background: var(--white); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; margin-bottom: 16px; }
.article h3 { font-size: 20px; font-weight: 600; }
.article h3 .num { color: var(--blue); margin-right: 4px; }
.article p { font-size: 14px; }
.tips { background: var(--amber-50); border-radius: 10px; padding: 18px 20px; margin-top: 4px; }
.tips-title { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.tips-title .ph { color: #f0a020; font-size: 22px; }
.tips ul { list-style: disc; padding-left: 38px; font-size: 13.5px; }
.help-box { background: var(--blue); color: var(--white); text-align: center; border-radius: var(--radius); padding: 30px 20px; display: grid; justify-items: center; gap: 10px; }
.help-box h3 { color: var(--white); font-size: 21px; font-weight: 600; }
.help-box p { font-size: 14px; color: rgba(255, 255, 255, .92); }
.empty-note { background: var(--white); border: 1px dashed #cdd5e3; border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.tips-split { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.tips-split h2 { font-size: clamp(26px, 3.2vw, 30px); font-weight: 600; margin-bottom: 18px; }
.tips-split .intro p { font-size: 15px; }
.tip-card { display: flex; gap: 14px; padding: 18px; }
.tip-card .icon-chip { width: 30px; height: 30px; font-size: 20px; border-radius: 8px; }
.tip-card strong { display: block; font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.tip-card p { font-size: 13.5px; }
@media (max-width: 760px) { .tips-split { grid-template-columns: minmax(0, 1fr); gap: 24px; } .panel { padding: 24px 16px; border-radius: 16px; } }

/* ---------- tabs ---------- */
.seg {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  background: var(--gray-100); border-radius: 10px; padding: 4px; max-width: 576px; margin-inline: auto;
}
.seg.wide { max-width: 648px; }
.seg button { padding: 8px 10px; border-radius: 7px; font-size: 13.5px; font-weight: 500; color: var(--subtle); transition: background .15s, color .15s; }
.seg button[aria-selected="true"] { background: var(--white); color: var(--ink); font-weight: 600; box-shadow: var(--shadow); }
.seg button:hover:not([aria-selected="true"]) { color: var(--ink); }
@media (max-width: 520px) {
  .seg.scroll { display: flex; overflow-x: auto; scrollbar-width: none; }
  .seg.scroll button { flex: none; padding-inline: 14px; }
}

/* ---------- language & culture ---------- */
.lc-head { margin: 56px 0 24px; display: grid; gap: 6px; }
.lc-head h2 { font-size: clamp(26px, 3.2vw, 32px); font-weight: 600; }
.lc-head p { font-size: 14.5px; }
.lc-stack { display: grid; gap: 20px; }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; background: var(--white); display: grid; gap: 12px; }
.box.tint-blue { background: var(--blue-50); border-color: #dde7fb; }
.box.tint-indigo { background: #f0f3fe; border-color: #dde3fb; }
.box.tint-purple { background: var(--purple-50); border-color: #efe2fb; }
.box.tint-teal { background: #f0faf8; border-color: #dcefea; }
.box-title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; color: var(--ink); }
.box-title .ph { font-size: 24px; color: var(--tone, var(--blue)); }
.box > p { font-size: 14px; }
.sub-box { background: var(--blue-50); border-radius: 10px; padding: 14px 12px; display: grid; gap: 10px; }
.sub-box h3 { font-size: 15px; font-weight: 600; }
.ns { background: var(--white); border-radius: 8px; padding: 10px 12px; font-size: 13px; display: grid; gap: 4px; }
.ns small { font-size: 13px; color: var(--text); }
.row-item { background: var(--gray-50); border-radius: 10px; padding: 10px 12px; font-size: 13px; display: flex; gap: 8px; align-items: baseline; }
.row-item .dot { width: 4px; height: 4px; background: var(--blue); border-radius: 50%; flex: none; transform: translateY(-3px); }
.white-items .row-item { background: var(--white); }
.bar-item { background: var(--white); border-radius: 10px; border-left: 3px solid var(--blue); padding: 10px 12px; font-size: 13px; }
.bar-item.lg { padding: 14px 16px; font-size: 14px; }
.cmp { background: var(--gray-100); border-radius: 10px; padding: 14px; display: grid; gap: 4px; font-size: 14px; }
.cmp small { color: var(--subtle); font-size: 13px; }
.cmp.purple { background: var(--purple-50); }
.cmp.cyan { background: #ecfdfd; }
.culture-card { padding: 20px; gap: 18px; }
.culture-card .box-title { font-size: 20px; }
.list-dots { display: grid; gap: 12px; font-size: 13px; }
.list-dots li { display: flex; gap: 8px; }
.list-dots li::before { content: ""; width: 4px; height: 4px; background: var(--blue); border-radius: 50%; flex: none; margin-top: 8px; }
.star { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.star-item { border-radius: 10px; border-left: 3px solid var(--tone); background: var(--tone-50); padding: 14px; font-size: 13px; display: grid; gap: 6px; align-content: start; }
.star-item b { font-size: 24px; font-weight: 600; color: var(--ink); }
.star-item.s { --tone: var(--blue); --tone-50: #dfe9fd; }
.star-item.t { --tone: var(--green); --tone-50: #dcfae6; }
.star-item.a { --tone: #ca8a04; --tone-50: var(--yellow-50); }
.star-item.r { --tone: var(--purple); --tone-50: #ebe6fd; }
@media (max-width: 700px) { .star { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.res-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--gray-50); border-radius: 10px; font-size: 14px; }
.res-link .ph { color: var(--blue); }
.res-link:hover { background: var(--blue-50); }

/* ---------- events ---------- */
.events-head { margin: 64px 0 20px; display: grid; gap: 10px; }
.events-head h2 { font-size: clamp(28px, 3.4vw, 32px); font-weight: 600; }
.event-card { overflow: hidden; display: flex; flex-direction: column; border-radius: var(--radius-lg); }
.event-top { padding: 14px 14px 14px; display: grid; gap: 8px; justify-items: start; background: linear-gradient(90deg, var(--tone-50), var(--white)); }
.event-top h3 { font-size: 20px; font-weight: 600; }
.badge { display: inline-block; padding: 1px 9px; border: 1px solid var(--tone); color: var(--tone); border-radius: 999px; font-size: 13px; background: var(--white); }
.event-body { padding: 10px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.event-meta { display: grid; gap: 8px; font-size: 14px; }
.event-meta li { display: flex; gap: 10px; align-items: center; }
.event-meta .ph { color: var(--blue); font-size: 18px; }
.event-body p { font-size: 14px; color: var(--text); }
.event-body .btn { margin-top: auto; } /* pins Register Now to the card bottom */
.event-body p { margin-bottom: 8px; }
.event-card[hidden] { display: none; }

/* ---------- checklist ---------- */
.progress-wrap { display: grid; gap: 10px; text-align: center; margin-bottom: 16px; }
.progress-label { font-size: 13px; }
.progress { position: relative; height: 18px; background: var(--gray-100); border-radius: 999px; overflow: hidden; }
.progress-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--blue); border-radius: 999px; transition: width .3s ease; }
.progress-text { position: relative; font-size: 11.5px; line-height: 18px; font-variant-numeric: tabular-nums; }
.phase { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; background: var(--white); }
.phase-head { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 18px 16px; background: var(--blue-50); }
.phase-head > div { flex: 1; min-width: 0; display: grid; gap: 4px; }
.phase-head strong { font-size: 19px; font-weight: 600; color: var(--ink); }
.phase-head span { font-size: 14.5px; }
.phase-head .ph { color: var(--blue); font-size: 20px; transition: transform .2s; }
.phase-head[aria-expanded="false"] .ph { transform: rotate(-90deg); }
.phase-count { font-size: 12px; font-weight: 600; color: var(--blue); background: var(--white); padding: 2px 9px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.phase-body { padding: 16px; display: grid; gap: 14px; }
.task { display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: var(--gray-50); border-radius: 10px; cursor: pointer; transition: background .15s; }
.task:hover { background: var(--gray-100); }
.task input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 1.5px solid #9ca3af; border-radius: 50%; margin: 0; flex: none; display: grid; place-items: center; cursor: pointer; background: var(--white); }
.task input:checked { background: var(--blue); border-color: var(--blue); }
.task input:checked::after { content: ""; width: 5px; height: 9px; border: solid var(--white); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.task div { display: grid; gap: 2px; min-width: 0; }
.task strong { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.task span { font-size: 13.5px; }
.task:has(input:checked) strong { color: var(--subtle); text-decoration: line-through; }
.tips-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.tips-grid .box { padding: 22px 16px; align-content: start; }
.tips-grid h2 { font-size: 20px; font-weight: 600; }
.tips-grid .list-dots { font-size: 13.5px; gap: 14px; }
@media (max-width: 680px) { .tips-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- stories ---------- */
.story-card { padding: 30px 24px; display: grid; gap: 8px; }
.story-card > .ph { font-size: 32px; color: var(--blue); margin-bottom: 18px; }
.story-card blockquote { margin: 0 0 10px; font-size: clamp(17px, 2.2vw, 19px); font-weight: 500; color: var(--ink); line-height: 1.45; }
.story-card .who { font-weight: 600; color: var(--ink); }
.story-card .role { color: var(--blue); font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.story-card p { font-size: 13.5px; }
.stat-card { padding: 28px 20px; text-align: center; display: grid; justify-items: center; gap: 8px; }
.stat-card .icon-chip { width: 44px; height: 44px; font-size: 20px; margin-bottom: 8px; }
.stat-card strong { font-size: 40px; font-weight: 600; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-card span { font-size: 14px; max-width: 16em; }

/* ---------- get involved ---------- */
.vol-card { padding: 12px; display: grid; gap: 8px; align-content: start; }
.vol-card h3 { font-size: 16px; font-weight: 600; margin-top: 4px; }
.vol-card p { font-size: 12.5px; line-height: 1.5; }
.give-card { padding: 16px 12px; text-align: center; display: grid; justify-items: center; gap: 6px; align-content: start; transition: border-color .15s, box-shadow .15s; }
.give-card:hover { border-color: #c7d6f8; box-shadow: var(--shadow); }
.give-card .icon-chip { width: 32px; height: 32px; font-size: 18px; margin-bottom: 6px; }
.give-card strong { font-size: 17px; font-weight: 600; color: var(--ink); }
.give-card span { font-size: 12.5px; line-height: 1.45; }
.your-impact { margin-top: 40px; display: grid; gap: 16px; }
.your-impact h3 { text-align: center; font-size: 18px; font-weight: 600; }
.yi { border-radius: var(--radius); padding: 22px 16px; text-align: center; display: grid; gap: 2px; }
.yi strong { font-size: 30px; font-weight: 600; line-height: 1.2; }
.yi span { font-size: 12.5px; color: var(--text); }
.yi.blue { background: var(--blue-50); } .yi.blue strong { color: var(--blue); }
.yi.indigo { background: #f0f2fe; } .yi.indigo strong { color: var(--indigo); }
.yi.purple { background: #f6f1fe; } .yi.purple strong { color: var(--purple); }
.partner { background: var(--blue); color: var(--white); border-radius: var(--radius-lg); padding: 28px; max-width: 576px; margin-inline: auto; display: grid; gap: 18px; justify-items: start; }
.partner-title { display: flex; align-items: center; gap: 10px; }
.partner-title .icon-chip { background: rgba(255, 255, 255, .22); color: var(--white); width: 44px; height: 44px; font-size: 24px; }
.partner-title h2 { color: var(--white); font-size: 19px; font-weight: 600; }
.partner p, .partner li { font-size: 12.5px; }
.partner ul { display: grid; gap: 14px; }
.partner li { display: flex; gap: 10px; }
.partner li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--white); margin-top: 7px; flex: none; }
.form-card { max-width: 576px; margin-inline: auto; padding: 28px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 14px; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: #a8afbc; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(38, 99, 235, .15); }
.form-status { font-size: 14px; color: var(--green); text-align: center; }
.form-status.error { color: var(--red); }

/* ---------- language menu ---------- */
.lang-wrap { position: relative; }
.lang-pop {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 70; min-width: 140px;
  background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 4px;
  box-shadow: 0 10px 30px -10px rgba(20, 24, 32, .25); display: grid;
}
.lang-option { text-align: left; padding: 8px 10px; border-radius: 7px; font-size: 13.5px; }
.lang-option:hover { background: var(--gray-50); }
.lang-option[aria-checked="true"] { color: var(--blue); font-weight: 600; background: var(--blue-50); }
.article-body { display: grid; gap: 10px; font-size: 14px; }
.tips ul strong { color: var(--ink); }
