/*
  The Debaters 2026 — design tokens
  Layer 1 (primitives): raw palette and scales. Never used directly by components.
  Layer 2 (semantic): roles that styles.css uses. Change a role here and every component follows.
  Layer 3 (component, 29/11/2026): --schedule-* for the Round 2 pages; points only at Layer 2 roles.
  Apollo landing tokens (29/11/2026): --apollo-* primitives read from apollo.edu.vn/dang-ky-nhan-hoc-bong, exposed as
  roles (--color-card-line, --color-hotline…, --shadow-card-soft). Kept for reference only: the Round 2 page was then
  redone with The Debaters' own tokens and fonts, so no component uses them today.
  Source of truth for Figma: _working/design-tokens.json (same names, same values).

  Visual language: the _working/Theme.png key visual — a debate stage. The Apollo blue team stands on the
  left, the pink team on the right, with silver stage light in between. Glossy blue condensed
  headlines, glass speech bubbles with line icons, coloured stage beams and soft light shadows.
  Restraint keeps it calm: blue leads everywhere, pink is kept for calls to action and small
  accents, gradients and beams stay in the hero and the prizes. Violet sits halfway between the
  two teams and marks only the middle age group.
*/

/* Apollo brand fonts (fonts/, supplied by Apollo) */
@font-face {
  font-family: "Brauer Neue VN";
  src: url("/landings/the-debaters/assets/fonts/BrauerNeueVN-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Baskerville AP";
  src: url("/landings/the-debaters/assets/fonts/Baskerville.ttf") format("truetype");
  font-weight: 100 500;
  font-display: swap;
}

@font-face {
  font-family: "Baskerville AP";
  src: url("/landings/the-debaters/assets/fonts/Baskerville-SemiBold.ttf") format("truetype");
  font-weight: 600 900; /* also serves 700/800, so bold text never gets a synthetic weight */
  font-display: swap;
}

/* Be Vietnam Pro (02/11/2026) – chữ nội dung: thiết kế cho tiếng Việt, chữ thường cao, rõ trên màn hình (cùng phông trang Teachers). */
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/landings/the-debaters/assets/fonts/be-vietnam-pro-400-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/landings/the-debaters/assets/fonts/be-vietnam-pro-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/landings/the-debaters/assets/fonts/be-vietnam-pro-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/landings/the-debaters/assets/fonts/be-vietnam-pro-500-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/landings/the-debaters/assets/fonts/be-vietnam-pro-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/landings/the-debaters/assets/fonts/be-vietnam-pro-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/landings/the-debaters/assets/fonts/be-vietnam-pro-600-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/landings/the-debaters/assets/fonts/be-vietnam-pro-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/landings/the-debaters/assets/fonts/be-vietnam-pro-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/landings/the-debaters/assets/fonts/be-vietnam-pro-700-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/landings/the-debaters/assets/fonts/be-vietnam-pro-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/landings/the-debaters/assets/fonts/be-vietnam-pro-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lời nhắn của thầy/cô: Lora Italic (nghiêng thật, đủ dấu tiếng Việt) + Dancing Script cho chữ ký. SIL OFL 1.1. */
/* vietnamese */
@font-face {
  font-family: "Dancing Script";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/landings/the-debaters/assets/fonts/dancing-script-600-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: "Dancing Script";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/landings/the-debaters/assets/fonts/dancing-script-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Dancing Script";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/landings/the-debaters/assets/fonts/dancing-script-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: "Lora";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("/landings/the-debaters/assets/fonts/lora-400-italic-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: "Lora";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("/landings/the-debaters/assets/fonts/lora-400-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Lora";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("/landings/the-debaters/assets/fonts/lora-400-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* ---------- Layer 1 · Color primitives ---------- */
  --blue-50: #edf5ff;
  --blue-100: #d6ecff;
  --blue-200: #b9e4ff;
  --blue-400: #3aa6ff;
  --blue-500: #1463e6;
  --blue-600: #0d50cc;
  --blue-700: #0a3ea8;
  --blue-800: #0c2f7a;
  --blue-900: #0b1f4d;

  --cyan-400: #35aef5;

  --pink-50: #fff0f6;
  --pink-100: #ffd6e8;
  --pink-300: #ff8cc0;
  --pink-500: #f0287f;
  --pink-600: #d4136b;
  --pink-700: #b20d5a;
  --pink-900: #8f0a48;

  --violet-50: #f3eeff;
  --violet-100: #ddd2ff;
  --violet-400: #8a63f0;
  --violet-500: #6a3fe0;
  --violet-700: #4f27b8;

  /* Medal metals, used only on the prize podium and the shape behind the third 2025 champion */
  --gold-50: #fff7e0;
  --gold-300: #f0d48a;
  --gold-600: #b8860b;
  --silver-700: #6b7a90;
  --bronze-50: #fcf0e6;
  --bronze-300: #e2b48f;
  --bronze-600: #a5592b;

  --silver-50: #f5f7fb;
  --silver-100: #ebf0f6;
  --silver-200: #dde5ef;
  --silver-300: #c5d1e0;

  --slate-0: #ffffff;
  --slate-400: #8593a8;
  --slate-500: #5b6a82;
  --slate-700: #34435c;
  --slate-900: #111d33;

  --red-50: #fdeced;
  --red-600: #c62828;

  /* Landing Apollo "Đăng ký nhận học bổng" (apollo.edu.vn/dang-ky-nhan-hoc-bong, vongquay.css + dang-ky.css,
     đọc ngày 29/11/2026). Giữ nguyên giá trị gốc để các landing Apollo nói cùng một giọng; tên gốc ghi trong ngoặc.
     Font Nunito của trang đó KHÔNG nạp ở đây: chữ đọc của The Debaters vẫn là Be Vietnam Pro. */
  --apollo-blue: #1e60c6; /* (--xanh-apollo) tiêu đề, link */
  --apollo-blue-soft: #e3eefa; /* (--xanh-nhat) */
  --apollo-navy: #14325f; /* tiêu đề thẻ, nút CTA phẳng */
  --apollo-navy-deep: #002a6c; /* (--xanh-sau) */
  --apollo-ink: #252525; /* (--than) chữ trên nút vàng */
  --apollo-text: #445064; /* đoạn dẫn dưới tiêu đề */
  --apollo-muted: #6e7683; /* (--xam) */
  --apollo-line: #e3e8ef; /* viền thẻ form */
  --apollo-field: #f6f8fa; /* nền ô nhập */
  --apollo-field-line: #d8dee6; /* viền ô nhập */
  --apollo-yellow: #ffce1f; /* nút Hotline trên đầu trang */
  --apollo-yellow-hover: #f5c21a;
  --apollo-gold: #c6a87e; /* (--gold) */
  --apollo-gold-light: #e8d5a8; /* (--gold-sang) */
  --apollo-pink: #ee3d8f; /* (--hong) */
  --apollo-cream: #faf5ee; /* (--kem) nền kem chuẩn của theme Apollo */
  --apollo-error: #d93a3a; /* (--do-loi) */

  /* ---------- Layer 2 · Color roles ---------- */
  --color-bg: var(--silver-50);
  --color-bg-subtle: var(--silver-100);
  --color-bg-translucent: rgb(255 255 255 / 88%);
  --color-surface: var(--slate-0);
  --color-surface-muted: var(--silver-50);
  --color-track: var(--silver-200);

  --color-text: var(--slate-900);
  --color-text-secondary: var(--slate-700);
  --color-text-muted: var(--slate-500);
  --color-text-placeholder: var(--slate-400);
  --color-heading: var(--blue-900);

  --color-border: var(--silver-200);
  --color-border-strong: var(--silver-300);

  --color-brand: var(--blue-500);
  --color-brand-hover: var(--blue-600);
  --color-brand-deep: var(--blue-700);
  --color-brand-soft: var(--blue-50);
  --color-brand-tint: var(--blue-100);
  --color-brand-light: var(--blue-400);
  --color-on-brand: var(--slate-0);

  --color-accent: var(--pink-600);
  --color-accent-hover: var(--pink-700);
  --color-accent-deep: var(--pink-900);
  --color-accent-bright: var(--pink-500);
  --color-accent-soft: var(--pink-50);
  --color-accent-tint: var(--pink-100);
  --color-accent-light: var(--pink-300);
  --color-on-accent: var(--slate-0);

  --color-violet: var(--violet-500);
  --color-violet-deep: var(--violet-700);
  --color-violet-soft: var(--violet-50);
  --color-violet-tint: var(--violet-100);

  --color-apollo: #2576b9; /* Apollo footer blue, as on apollo.edu.vn */
  --color-wave: #d4ebfd; /* Solid light blue of the wave sections, as on apollo.edu.vn */
  --color-cream: #fff8ec; /* Warm section background, as on apollo.edu.vn */
  --color-sky: var(--cyan-400);
  --color-sky-light: var(--blue-200);

  --color-inverse-bg: var(--blue-900);
  --color-inverse-text: var(--slate-0);
  --color-inverse-text-secondary: rgb(255 255 255 / 84%);
  --color-inverse-text-muted: rgb(255 255 255 / 66%);
  --color-inverse-border: rgb(255 255 255 / 22%);
  --color-inverse-border-strong: rgb(255 255 255 / 48%);

  /* Glass: speech bubbles and panels */
  --color-glass: rgb(255 255 255 / 80%);
  --color-glass-border: rgb(255 255 255 / 95%);
  --color-glass-inverse: rgb(255 255 255 / 10%);
  --color-glass-inverse-strong: rgb(255 255 255 / 18%);

  /* Stage light */
  --color-beam-blue: rgb(53 174 245 / 28%);
  --color-beam-pink: rgb(240 40 127 / 20%);
  --color-spotlight: rgb(255 255 255 / 90%);
  --color-overlay: rgb(11 31 77 / 80%); /* caption shade over photos */

  /* Vai trò mượn từ landing Apollo (29/11/2026): thẻ trắng viền mảnh, ô nền xám nhạt, nút Hotline vàng.
     Hiện chưa thành phần nào dùng (trang Vòng 2 đã về token của The Debaters); giữ để tham chiếu. */
     Chữ #252525 trên vàng #ffce1f ≈ 10:1. */
  --color-card-line: var(--apollo-line);
  --color-field: var(--apollo-field);
  --color-field-line: var(--apollo-field-line);
  --color-hotline: var(--apollo-yellow);
  --color-hotline-hover: var(--apollo-yellow-hover);
  --color-on-hotline: var(--apollo-ink);
  --color-apollo-navy: var(--apollo-navy);

  --color-danger: var(--red-600);
  --color-danger-soft: var(--red-50);
  --color-focus: var(--blue-500);
  --color-focus-inverse: var(--slate-0);
  --color-scrim: rgb(11 31 77 / 62%);

  /* ---------- Gradients ---------- */
  --gradient-section: linear-gradient(165deg, var(--blue-500) 0%, var(--blue-600) 55%, var(--blue-700) 100%);
  --gradient-navy: linear-gradient(170deg, var(--blue-900) 0%, var(--blue-800) 100%);
  --gradient-stage: linear-gradient(180deg, var(--silver-100) 0%, var(--silver-50) 45%, var(--slate-0) 100%);
  --gradient-brand: linear-gradient(180deg, var(--blue-500) 0%, var(--blue-700) 100%);
  --gradient-accent: linear-gradient(180deg, var(--pink-600) 0%, var(--pink-700) 100%);
  --gradient-accent-deep: linear-gradient(160deg, var(--pink-600) 0%, var(--pink-900) 100%);
  --gradient-title: linear-gradient(180deg, var(--blue-200) 0%, var(--blue-400) 30%, var(--blue-500) 58%, var(--blue-700) 100%); /* glossy "DEBATERS" */
  --gradient-glass-blue: linear-gradient(150deg, var(--slate-0) 10%, var(--blue-100) 100%);
  --gradient-glass-pink: linear-gradient(150deg, var(--slate-0) 10%, var(--pink-100) 100%);

  /* ---------- Patterns (decorative; kept to the hero and the journey so the page stays calm) ---------- */
  /* Crossing light planes from the key visual's backdrop */
  --pattern-planes:
    linear-gradient(56deg, transparent 0 34%, rgb(255 255 255 / 70%) 34% 46%, transparent 46% 100%),
    linear-gradient(-56deg, transparent 0 34%, rgb(255 255 255 / 70%) 34% 46%, transparent 46% 100%),
    linear-gradient(56deg, transparent 0 60%, rgb(255 255 255 / 45%) 60% 66%, transparent 66% 100%),
    linear-gradient(-56deg, transparent 0 60%, rgb(255 255 255 / 45%) 60% 66%, transparent 66% 100%);
  --pattern-dots: radial-gradient(rgb(20 99 230 / 22%) 1.6px, transparent 1.8px) 0 0 / 20px 20px;
  --pattern-dots-pink: radial-gradient(rgb(240 40 127 / 22%) 1.6px, transparent 1.8px) 0 0 / 20px 20px;
  /* Four-point sparkles and the wave edge, taken from apollo.edu.vn/ve-chung-toi */
  --sparkle-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 24C12 17.37 6.63 12 0 12C6.63 12 12 6.63 12 0C12 6.63 17.37 12 24 12C17.38 12 12 17.38 12 24Z' fill='%231463e6'/%3E%3C/svg%3E");
  --sparkle-pink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 24C12 17.37 6.63 12 0 12C6.63 12 12 6.63 12 0C12 6.63 17.37 12 24 12C17.38 12 12 17.38 12 24Z' fill='%23f0287f'/%3E%3C/svg%3E");
  --sparkle-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 24C12 17.37 6.63 12 0 12C6.63 12 12 6.63 12 0C12 6.63 17.37 12 24 12C17.38 12 12 17.38 12 24Z' fill='%23b9e4ff'/%3E%3C/svg%3E");
  --sparkle-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 24C12 17.37 6.63 12 0 12C6.63 12 12 6.63 12 0C12 6.63 17.37 12 24 12C17.38 12 12 17.38 12 24Z' fill='%23f5b82e'/%3E%3C/svg%3E");
  --sparkle-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 24C12 17.37 6.63 12 0 12C6.63 12 12 6.63 12 0C12 6.63 17.37 12 24 12C17.38 12 12 17.38 12 24Z' fill='%23ffffff'/%3E%3C/svg%3E");
  /* One long swell: low on the left, dipping, then rising gently to the right */
  --wave-edge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 116' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V58C1360 53 1250 51 1100 60C850 76 650 116 418 116C260 116 120 100 0 77Z'/%3E%3C/svg%3E");
  --wave-edge-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 116' preserveAspectRatio='none'%3E%3Cpath d='M0 116H1440V58C1360 63 1250 65 1100 56C850 40 650 0 418 0C260 0 120 16 0 39Z'/%3E%3C/svg%3E");
  --wave-height: clamp(48px, 7vw, 110px);
  /* Bottom swell only, for a section that slides up under the wave of the section above */
  --wave-mask-bottom:
    linear-gradient(#000 0 0) top / 100% calc(100% - var(--wave-height) + 1px) no-repeat,
    var(--wave-edge) bottom / 100% var(--wave-height) no-repeat;
  /* Shapes a section with a swell on both edges: top swell, solid middle, bottom swell */
  --wave-mask-both:
    var(--wave-edge-top) top / 100% var(--wave-height) no-repeat,
    linear-gradient(#000 0 0) center / 100% calc(100% - 2 * var(--wave-height) + 2px) no-repeat,
    var(--wave-edge) bottom / 100% var(--wave-height) no-repeat;

  /* Fades a pattern out toward its edges */
  --fade-radial: radial-gradient(closest-side, #000 30%, transparent 100%);

  /* ---------- Typography ---------- */
  /* Brauer Neue for display (capitals and figures only – its stacked diacritics break in lowercase).
     Be Vietnam Pro for all reading text (02/11/2026: Baskerville's thin strokes and small x-height read
     faint on Retina at body size). Baskerville stays for small serif accents; Lora Italic + Dancing Script
     only for the teacher's message on the nominee invitation. */
  --font-display: "Brauer Neue VN", "Arial Narrow", sans-serif;
  --font-serif: "Baskerville AP", "Noto Serif", "Times New Roman", Times, serif; /* accents */
  --font-label: var(--font-serif); /* small titles: menu, form choices, step and prize titles */
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; /* paragraphs, UI, forms */
  --font-letter: "Lora", "Baskerville AP", Georgia, serif; /* teacher's message (italic) */
  --font-sign: "Dancing Script", "Lora", cursive; /* teacher's signature */

  /* One reading scale: 15 labels · 16 meta · 17 body · 20 leads. Be Vietnam Pro's tall x-height reads
     larger than Baskerville at the same size, so 17px body matches the old 18px in feel, not in faintness. */
  --text-caption: 0.9375rem; /* 15px · uppercase labels, chips, eyebrows */
  --text-sm: 1rem; /* 16px · meta, hints, form labels */
  --text-base: 1.0625rem; /* 17px · body copy */
  --text-lg: 1.25rem; /* 20px · lead paragraphs, buttons */
  --text-xl: 1.5rem; /* 24px · small titles */
  --text-2xl: clamp(1.875rem, 1.5rem + 1.3vw, 2.75rem); /* 30 → 44 · card titles */
  --text-3xl: clamp(2.5rem, 1.75rem + 3vw, 4.5rem); /* 40 → 72 · section titles */
  --text-4xl: clamp(3rem, 1.8rem + 4.6vw, 6rem); /* 48 → 96 · statements */
  --text-display: clamp(4.5rem, 1.5rem + 8.6vw, 8.75rem); /* 72 → 140 · hero */

  /* Only these files are loaded (fonts/): Baskerville regular and semibold (semibold also covers
     700/800), Brauer Neue bold (extrabold on display renders as 700). */
  --weight-regular: 400;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  --leading-display: 0.88;
  --leading-tight: 1.1; /* uppercase Vietnamese needs room for stacked diacritics */
  --leading-snug: 1.25;
  --leading-normal: 1.65;
  --leading-relaxed: 1.7;

  --tracking-display: 0em;
  --tracking-tight: 0.005em;
  --tracking-snug: 0.01em;
  --tracking-button: 0.06em;
  --tracking-label: 0.14em;
  --tracking-slogan: 0.2em; /* "SPEAK YOUR UNIQUE VOICE" */

  /* ---------- Spacing (4px base) ---------- */
  --space-1: 0.25rem; /* 4 */
  --space-2: 0.5rem; /* 8 */
  --space-3: 0.75rem; /* 12 */
  --space-4: 1rem; /* 16 */
  --space-5: 1.25rem; /* 20 */
  --space-6: 1.5rem; /* 24 */
  --space-7: 2rem; /* 32 */
  --space-8: 2.5rem; /* 40 */
  --space-9: 3rem; /* 48 */
  --space-10: 4rem; /* 64 */
  --space-11: 5rem; /* 80 */
  --space-section: clamp(3rem, 2rem + 3vw, 4.5rem); /* 48 → 72 */

  /* ---------- Layout ---------- */
  --container: 1180px;
  --gutter: 24px;
  --header-height: 76px;

  /* ---------- Shape ---------- */
  --radius-xs: 8px;
  --radius-sm: 12px; /* inputs, tiles */
  --radius-md: 18px; /* small cards, bubbles, FAQ */
  --radius-lg: 28px; /* big cards, media, form */
  --radius-xl: 40px; /* hero stage */
  --radius-control: 8px; /* buttons, tabs, chips: squared off rather than pill-shaped */
  --radius-full: 999px; /* true circles only: dots, number badges, icon medallions */

  --border-hairline: 1px;
  --border-thin: 1.5px;
  --border-thick: 2px;

  /* ---------- Elevation (soft stage light) ---------- */
  --shadow-xs: 0 1px 2px rgb(11 31 77 / 6%);
  --shadow-sm: 0 4px 12px rgb(11 31 77 / 6%);
  --shadow-md: 0 10px 24px rgb(11 31 77 / 8%);
  --shadow-lg: 0 20px 44px rgb(11 31 77 / 11%);
  --shadow-dark: 0 20px 40px rgb(4 12 33 / 32%); /* cards on navy */
  --shadow-brand: 0 8px 18px rgb(20 99 230 / 22%);
  --shadow-accent: 0 8px 18px rgb(212 19 107 / 22%);
  --shadow-gloss: inset 0 1px 0 rgb(255 255 255 / 38%);
  --shadow-focus: 0 0 0 4px rgb(20 99 230 / 22%);
  --shadow-up: 0 -8px 24px rgb(11 31 77 / 10%);
  /* Landing Apollo (29/11/2026): bóng 2 lớp rất nhẹ của thẻ form, và của nút phẳng. */
  --shadow-card-soft: 0 1px 2px rgb(16 40 80 / 4%), 0 6px 20px rgb(16 40 80 / 6%);
  --shadow-button-flat: 0 2px 6px rgb(16 40 80 / 12%);
  --filter-title: drop-shadow(0 3px 0 var(--blue-800)) drop-shadow(0 14px 20px rgb(11 31 77 / 22%));
  /* ---------- Motion ---------- */
  --duration-fast: 160ms;
  --duration-base: 280ms;
  --duration-slow: 700ms;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --autoplay-round: 7s;
  --float-duration: 6s;
  --shine-duration: 4s; /* about 2.5s sweeping, 1.5s at rest */

  /* ---------- Layers ---------- */
  --z-floating: 9;
  --z-sticky: 10;
  --z-overlay: 20;

  /* ---------- Layer 3 · Component: trang Hướng dẫn Vòng 2 (#huong-dan, #coaching, #The-Audition), 29/11/2026 ----------
     Chỉ trỏ về token Layer 2 của The Debaters, giống trang chủ cuộc thi: nền xanh sóng của khu Vòng thi, tiêu đề
     Brauer Neue, nhãn nhỏ Baskerville, thẻ trắng như thẻ giải thưởng. Coaching xanh, The Audition hồng (như nhóm tuổi). */
  --schedule-page-bg: var(--color-wave);
  --schedule-max: 880px;
  --schedule-title-font: var(--font-display);
  --schedule-label-font: var(--font-label);
  --schedule-coaching: var(--color-brand);
  --schedule-coaching-deep: var(--color-brand-deep);
  --schedule-coaching-soft: var(--color-brand-soft);
  --schedule-audition: var(--color-accent);
  --schedule-audition-deep: var(--color-accent-deep);
  --schedule-audition-soft: var(--color-accent-soft);
  --schedule-region-bg: var(--color-surface);
  --schedule-region-border: var(--color-border);
  --schedule-region-radius: var(--radius-lg);
  --schedule-region-shadow: var(--shadow-md);
}

@media (max-width: 700px) {
  :root {
    --container: 520px;
    --gutter: 18px;
    --header-height: 64px;
  }
}
