@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  --navy: #0A2A4F;
  --blue: #1A5584;
  --teal: #00917A;
  --teal-dark: #007462;
  --teal-light: #E6F4F2;
  --ink: #474747;
  --muted: #6B7280;
  --line: #E1E9EF;
  --bg: #FFFFFF;
  --bg-soft: #F1F5F8;
  --radius: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 "Plus Jakarta Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Montserrat", "Plus Jakarta Sans", sans-serif; color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; flex-direction: column; text-decoration: none; }
.brand img { height: 28px; width: auto; }
.brand span { font: 500 11px/1 "Montserrat", sans-serif; color: var(--ink); letter-spacing: .26em; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 22px; font-weight: 500; font-size: 15px; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--teal); }
.nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 13px; }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }

.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: background .15s; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, #0F375F 60%, var(--blue) 100%); color: #E1E9EF; padding: 72px 0 80px; overflow: hidden; }
.hero .wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.15fr 1fr; } }
.hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.55rem); }
.hero h1 { color: #fff; }
.hero .eyebrow { color: #7FD3C4; font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.hero .lead { font-size: 1.15rem; color: #C3D3DF; max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Mock timetable */
.mock { background: #fff; border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); padding: 14px; color: var(--ink); font-size: 11px; min-width: 0; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-weight: 600; color: var(--navy); font-size: 12px; }
.mock-bar .pill { background: #FEF3C7; color: #92400E; border-radius: 999px; padding: 2px 8px; font-size: 10px; }
.grid { display: grid; grid-template-columns: 56px repeat(5, minmax(0, 1fr)); gap: 4px; }
.grid .h { font-weight: 600; color: var(--muted); text-align: center; padding: 2px 0; }
.grid .p { color: var(--muted); font-size: 10px; display: flex; align-items: center; }
.grid .c { border-radius: 6px; padding: 5px 6px; min-height: 40px; line-height: 1.25; border-left: 3px solid; overflow: hidden; }
.grid .c b { display: block; font-weight: 600; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grid .c i { font-style: normal; color: var(--muted); font-size: 10px; white-space: nowrap; }
.grid .brk { grid-column: 2 / -1; background: var(--bg-soft); border-radius: 6px; text-align: center; color: var(--muted); font-size: 10px; padding: 3px; }
.c.ma { background: #EEF2FF; border-color: #6366F1; }
.c.en { background: #FDF2F8; border-color: #EC4899; }
.c.sc { background: #ECFDF5; border-color: #10B981; }
.c.hi { background: #FFFBEB; border-color: #F59E0B; }
.c.la { background: #F0F9FF; border-color: #0EA5E9; }
.c.ar { background: #F5F3FF; border-color: #8B5CF6; }
.c.pe { background: #F7FEE7; border-color: #84CC16; }
.c.clash { background: #FEF2F2; border-color: #EF4444; box-shadow: inset 0 0 0 1px #FCA5A5; }
.c.empty { border: 1px dashed #C3D3DF; background: transparent; }
@media (max-width: 480px) { .grid .c i { display: none; } .grid { grid-template-columns: 40px repeat(5, minmax(0, 1fr)); } }

/* Sections */
section { padding: 80px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.kicker { color: var(--teal); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }

.features { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.icon { width: 42px; height: 42px; border-radius: 10px; background: var(--teal-light); color: var(--teal); display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; }

.soft { background: var(--bg-soft); }
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat; }
.checks b { color: var(--navy); }

.steps { counter-reset: s; display: grid; gap: 16px; }
.steps div { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 18px 64px; position: relative; }
.steps div::before { content: counter(s); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 14px/30px "Montserrat", sans-serif; text-align: center; }
.steps b { color: var(--navy); display: block; }
.steps span { color: var(--muted); font-size: 15px; }

.cta { background: var(--navy); color: #C3D3DF; text-align: center; }
.cta h2 { color: #fff; }
.cta p { max-width: 36em; margin: 0 auto 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { margin-top: 1.4em; }
.legal table { border-collapse: collapse; width: 100%; margin: 0 0 1em; font-size: 15px; }
.legal td { border-bottom: 1px solid var(--line); padding: 8px 10px 8px 0; vertical-align: top; }
.legal td:first-child { font-weight: 600; color: var(--navy); width: 34%; }
.todo { background: #FEF3C7; color: #92400E; border-radius: 4px; padding: 0 6px; }
.updated { color: var(--muted); font-size: 14px; }
