/* ==========================================================================
   TranscriptHow design tokens
   ========================================================================== */
:root {
  --brand: #05603f;
  --brand-dark: #034a30;
  --forest: #062e20;
  --forest-2: #0b3d2b;
  --lime: #d4f46a;
  --mint: #e8f4ee;
  --mint-border: #c9e4d6;
  --canvas: #f6f8f5;
  --white: #ffffff;
  --ink: #0f1a14;
  --text-2: #4a5a52;
  --text-body: #33433b;
  --muted: #66756d;
  --border: #e3e8e4;
  --border-strong: #d3dbd5;
  --neutral: #f1f3f1;
  --amber: #a35a06;
  --amber-bg: #fef6e4;
  --amber-ink: #6b3a04;
  --red: #b42318;
  --red-bg: #fdecec;
  --on-dark: #b8ccc2;
  --on-dark-muted: #9db8ab;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --pill: 999px;

  --shadow-raised: 0 24px 48px -28px rgba(6, 46, 32, 0.4);
  --shadow-float: 0 40px 80px -36px rgba(6, 46, 32, 0.55);
  --container: 1312px;
  --gutter: 64px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
img { display: block; max-width: 100%; }
svg { display: inline-block; vertical-align: middle; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--mint-border);
  outline-offset: 2px;
  border-radius: 8px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--mono); }
.eyebrow { font-size: 13px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.1em; }
.eyebrow.on-dark { color: var(--lime); }
.muted { color: var(--muted); }
.dots {
  background-color: var(--canvas);
  background-image: radial-gradient(#d9e3dc 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}
.highlight { background: linear-gradient(transparent 64%, var(--lime) 64%); padding: 0 4px; }

.h-display { font-size: clamp(42px, 6vw, 76px); line-height: 1.02; font-weight: 800; letter-spacing: -0.045em; }
.h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; font-weight: 800; letter-spacing: -0.045em; }
.h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; font-weight: 800; letter-spacing: -0.035em; }
.h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -0.03em; }
.lead { font-size: clamp(16px, 1.5vw, 20px); line-height: 1.6; color: var(--text-2); }

.section { padding: 96px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head .stack { display: flex; flex-direction: column; gap: 10px; }

/* ==========================================================================
   Buttons, badges, inputs
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px;
  border-radius: var(--pill); border: 1px solid transparent;
  font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; font-weight: 800; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest:hover { background: #000; color: #fff; }
.btn-lime { background: var(--lime); color: var(--forest); font-weight: 800; }
.btn-lime:hover { background: #c6ea55; color: var(--forest); }
.btn-outline { background: #fff; border-color: var(--border-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-soft { background: var(--canvas); color: var(--ink); }
.btn-white { background: #fff; color: var(--forest); font-weight: 800; }
.btn-amber { background: var(--amber-bg); color: var(--amber); }
.btn-block { width: 100%; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--pill);
  font-size: 12px; font-weight: 700; line-height: 1.2; white-space: nowrap;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-green { background: var(--mint); color: var(--brand); }
.badge-amber { background: var(--amber-bg); color: var(--amber); }
.badge-red { background: var(--red-bg); color: var(--red); }
.badge-neutral { background: var(--neutral); color: var(--text-2); }
.badge-dark { background: var(--forest); color: var(--lime); }
.badge-solid { background: var(--brand); color: #fff; }
.badge-outline { background: #fff; border: 1px solid var(--border); color: var(--text-2); font-weight: 600; }

.chip {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px;
  border-radius: var(--pill); border: 1px solid var(--border);
  background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer;
}
.chip[aria-pressed='true'], .chip[aria-selected='true'], .chip.active { background: var(--forest); border-color: var(--forest); color: #fff; font-weight: 700; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; }
.field .opt { font-weight: 500; color: var(--muted); }
.field .hint { font-size: 12px; font-weight: 500; color: var(--muted); }
.field .error { font-size: 12px; font-weight: 600; color: var(--red); }
.input, .select, .textarea {
  width: 100%; height: 52px; padding: 0 18px;
  border: 1px solid var(--border-strong); border-radius: 14px; background: #fff;
  font-size: 15px; font-weight: 500;
}
.textarea { height: auto; padding: 14px 18px; line-height: 1.55; resize: vertical; border-radius: 16px; }
.input:focus, .select:focus, .textarea:focus { outline: 3px solid var(--mint-border); border-color: var(--brand); }
.input[aria-invalid='true'] { border: 2px solid var(--red); }

.searchbar {
  display: flex; align-items: center; gap: 12px;
  height: 72px; padding: 0 8px 0 24px;
  background: #fff; border: 1px solid var(--border-strong); border-radius: var(--pill);
  box-shadow: 0 18px 40px -20px rgba(6, 46, 32, 0.35);
}
.searchbar.focused { border: 2px solid var(--brand); box-shadow: 0 0 0 5px var(--mint); height: 64px; }
.searchbar input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 18px; font-weight: 500; }
.searchbar .kbd { font-family: var(--mono); font-size: 12px; color: var(--text-2); border: 1px solid var(--border); border-radius: var(--pill); padding: 4px 10px; }
.searchbar .btn { height: 56px; }

/* Hero search autocomplete */
.hero-search-form {
  position: relative;
  z-index: 30;
}
.hero-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 40px -10px rgba(6, 46, 32, 0.22), 0 2px 10px rgba(0, 0, 0, 0.04);
  padding: 8px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 100;
  animation: heroDropdownFade 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes heroDropdownFade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-autocomplete-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: background-color 0.12s ease;
  cursor: pointer;
  margin-bottom: 2px;
}
.hero-autocomplete-item:hover,
.hero-autocomplete-item.active {
  background: var(--canvas);
  color: var(--ink);
}
.hero-autocomplete-item.active {
  background: rgba(5, 96, 63, 0.08);
}
.hero-autocomplete-item .left-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.hero-autocomplete-item .meta-text {
  min-width: 0;
  flex: 1;
}
.hero-autocomplete-item .inst-name {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-autocomplete-item .inst-sub {
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-autocomplete-item .right-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 12px;
}
.hero-autocomplete-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  margin-top: 6px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  background: var(--canvas);
  border-radius: 12px;
}
.hero-autocomplete-footer kbd {
  font-family: inherit;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 11px;
}
.hero-autocomplete-footer a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}
.hero-autocomplete-footer a:hover {
  text-decoration: underline;
}


.card { border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; }
.note { display: flex; gap: 12px; padding: 16px 18px; border-radius: 18px; font-size: 14px; line-height: 1.6; }
.note svg { flex-shrink: 0; margin-top: 2px; }
.note-amber { background: var(--amber-bg); color: var(--amber-ink); }
.note-soft { background: var(--canvas); color: var(--text-2); }
.note-green { background: var(--mint); color: var(--brand-dark); }
.note-red { background: var(--red-bg); color: #7a1a12; }

.logo-tile,
.school-logo-tile {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  border-radius: 16px; background: #ffffff; border: 1px solid var(--border);
  font-weight: 800; color: var(--brand); font-size: 13px;
  overflow: hidden; position: relative; vertical-align: middle;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.logo-tile img,
.school-logo-tile img {
  width: 100%; height: 100%; object-fit: contain;
  border-radius: inherit;
}
.school-logo-fallback {
  color: var(--brand); background: var(--canvas);
  font-weight: 800; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px; line-height: 1; letter-spacing: -0.01em;
  text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ==========================================================================
   Header / footer
   ========================================================================== */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 44px; padding: 8px 16px; background: var(--forest); color: #e3ede8;
  font-size: 14px; font-weight: 500; text-align: center; flex-wrap: wrap;
}
.announce a { color: var(--lime); font-weight: 700; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.site-header .left { display: flex; align-items: center; gap: 36px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo .word { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.logo .word b { color: var(--brand); font-weight: 800; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 9px 14px; border-radius: var(--pill); color: var(--text-2); font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--ink); background: var(--canvas); }
.nav a.active { color: var(--brand); background: var(--mint); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-search {
  display: flex; align-items: center; gap: 10px; width: 280px; height: 44px; padding: 0 8px 0 16px;
  border: 1px solid var(--border); border-radius: var(--pill); background: var(--canvas);
  color: var(--muted); font-size: 14px; font-weight: 500;
}
.header-search span.grow { flex: 1; }
.header-search .kbd { font-family: var(--mono); font-size: 11px; color: var(--text-2); background: #fff; border: 1px solid var(--border); border-radius: var(--pill); padding: 3px 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--canvas); display: none; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.mobile-menu { display: none; }

.site-footer { background: var(--forest); color: #fff; margin-top: 96px; }
.site-footer .top { display: grid; grid-template-columns: 5fr 2fr 3fr 2fr; gap: 24px; padding: 64px 0 40px; }
.site-footer .brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.site-footer p { color: var(--on-dark); font-size: 15px; line-height: 1.65; max-width: 380px; }
.site-footer .col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.site-footer .col h4 { margin: 0; font-size: 12px; font-weight: 700; color: #7fa696; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer .col a { color: #e3ede8; }
.site-footer .col a:hover { color: var(--lime); }
.site-footer .bottom { display: flex; justify-content: space-between; gap: 32px; padding: 24px 0 32px; border-top: 1px solid #1b4535; font-size: 13px; color: var(--on-dark-muted); }

/* ==========================================================================
   Home
   ========================================================================== */
.hero { border-bottom: 1px solid var(--border); padding: 72px 0 88px; }
.hero .grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.hero .copy { display: flex; flex-direction: column; gap: 26px; }
.hero .pill-intro {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 8px; border-radius: var(--pill); background: #fff; border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--brand);
}
.hero .pill-intro .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--mint); display: flex; align-items: center; justify-content: center; }
.hero form { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.popular-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.popular-row .label { color: var(--muted); font-weight: 500; margin-right: 4px; }
.popular-row a { padding: 7px 14px; border-radius: var(--pill); background: #fff; border: 1px solid var(--border); color: var(--ink); font-weight: 600; }
.disclaimer-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }

.preview { position: relative; min-height: 540px; }
.preview .main-card {
  position: absolute; top: 36px; left: 20px; right: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 26px;
  display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-float);
}
.preview .float-top { position: absolute; top: 0; right: -12px; padding: 12px 16px; border-radius: 16px; background: var(--forest); color: #fff; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-raised); }
.preview .float-bottom { position: absolute; bottom: 0; left: -8px; padding: 10px 16px; border-radius: var(--pill); background: #fff; border: 1px solid var(--border); display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow-raised); }
.mini-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mini-facts div { padding: 12px; border-radius: 14px; background: var(--canvas); display: flex; flex-direction: column; gap: 4px; }
.mini-facts span { font-size: 11px; color: var(--muted); font-weight: 600; }
.mini-facts strong { font-size: 14px; }
.mini-steps { display: flex; flex-direction: column; gap: 10px; }
.mini-steps div { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.num-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }

.trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 40px 0 0; }
.trust-item { display: flex; gap: 14px; padding: 20px; border-radius: var(--r-md); border: 1px solid var(--border); }
.trust-item .ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: var(--mint); display: flex; align-items: center; justify-content: center; color: var(--brand); }
.trust-item strong { display: block; font-size: 16px; }
.trust-item span { font-size: 14px; line-height: 1.5; color: var(--text-2); }

.dest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dest {
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  min-height: 260px; padding: 26px; border-radius: 24px; color: var(--ink);
}
.dest:hover { color: inherit; transform: translateY(-2px); }
.dest { transition: transform 0.2s; }
.dest .ico { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.dest strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.dest p { font-size: 14px; line-height: 1.55; }
.dest .more { display: block; margin-top: 12px; font-size: 14px; font-weight: 700; }
.dest-dark { background: var(--forest); color: #fff; }
.dest-dark p { color: var(--on-dark); }
.dest-dark .ico { background: var(--lime); color: var(--forest); }
.dest-dark .more { color: var(--lime); }
.dest-mint { background: var(--mint); }
.dest-soft { background: var(--canvas); }
.dest-mint p, .dest-soft p { color: var(--text-2); }
.dest-mint .ico, .dest-soft .ico { background: #fff; color: var(--brand); }
.dest-mint .more, .dest-soft .more { color: var(--brand); }

.inst-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.inst-card {
  display: flex; flex-direction: column; gap: 18px; padding: 24px;
  border-radius: 22px; border: 1px solid var(--border); background: #fff; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.inst-card:hover { color: var(--ink); border-color: var(--mint-border); box-shadow: var(--shadow-raised); }
.inst-card .top { display: flex; justify-content: space-between; align-items: flex-start; }
.inst-card .name { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.inst-card .foot { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid #eef2ef; font-size: 14px; font-weight: 600; }

.how-band { margin: 96px 32px 0; padding: 72px 0; border-radius: var(--r-xl); background: var(--forest); color: #fff; }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.how-step { padding: 30px; border-radius: 24px; background: var(--forest-2); display: flex; flex-direction: column; gap: 14px; }
.how-step .n { font-family: var(--mono); font-size: 48px; color: var(--lime); line-height: 1; }
.how-step strong { font-size: 22px; font-weight: 800; }
.how-step p { font-size: 15px; line-height: 1.6; color: var(--on-dark); }

.inside { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
.inside-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.inside-list div { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: var(--canvas); font-weight: 700; font-size: 15px; }
.inside-list .tick { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--brand); }
.inside-mock { padding: 28px; border-radius: var(--r-lg); background: var(--canvas); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }

.country-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.country-tile { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; border: 1px solid var(--border); color: var(--ink); }
.country-tile:hover { color: var(--ink); border-color: var(--mint-border); background: var(--canvas); }
.code-tile { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--mint); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; color: var(--brand); overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); }
.country-tile strong { display: block; font-size: 15px; }
.country-tile span { font-size: 12px; color: var(--muted); }

/* Modern Country Flag Library Styling */
.country-flag {
    display: inline-block;
    vertical-align: -2px;
    flex-shrink: 0;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
}
.country-flag-xs {
    width: 18px;
    height: 12px;
    border-radius: 2px;
}
.country-flag-sm {
    width: 22px;
    height: 15px;
    border-radius: 3px;
}
.country-flag-md {
    width: 28px;
    height: 19px;
    border-radius: 4px;
}
.country-flag-lg {
    width: 36px;
    height: 24px;
    border-radius: 5px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 2px 5px rgba(0, 0, 0, 0.08);
}
.country-flag-xl {
    width: 48px;
    height: 32px;
    border-radius: 6px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), 0 3px 8px rgba(0, 0, 0, 0.1);
}

.recent-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.recent-card { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--r-md); background: var(--canvas); color: var(--ink); }
.recent-card:hover { color: var(--ink); background: var(--mint); }

.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.article { display: flex; flex-direction: column; border-radius: 24px; border: 1px solid var(--border); overflow: hidden; color: var(--ink); }
.article:hover { color: var(--ink); box-shadow: var(--shadow-raised); }
.article .cover { height: 150px; display: flex; align-items: flex-end; padding: 18px; }
.article .cover-mint { background: var(--mint); }
.article .cover-dark { background: var(--forest); }
.article .cover-lime { background: var(--lime); }
.article .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.article .body strong { font-size: 19px; line-height: 1.3; font-weight: 800; letter-spacing: -0.02em; }
.article .body p { font-size: 14px; line-height: 1.6; color: var(--text-2); }

.faq-wrap { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border-radius: 18px; border: 1px solid var(--border); background: #fff; }
.faq-item.open { background: var(--canvas); }
.faq-item button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; background: none; border: 0; font-size: 17px; font-weight: 700; text-align: left; cursor: pointer; }
.faq-item .sign { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--neutral); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.faq-item.open .sign { background: var(--brand); color: #fff; }
.faq-item p { padding: 0 70px 22px 22px; font-size: 15px; line-height: 1.65; color: var(--text-2); }

.cta-band { margin-top: 96px; padding: 56px; border-radius: 32px; background: var(--lime); display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta-band h2 { color: var(--forest); }
.cta-band p { color: #1f3f31; font-size: 17px; line-height: 1.6; margin-top: 12px; }

/* ==========================================================================
   Page headers
   ========================================================================== */
.page-head { border-bottom: 1px solid var(--border); padding: 40px 0 48px; }
.page-head .stack { display: flex; flex-direction: column; gap: 20px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 500; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 700; }
.dark-head { margin: 24px 32px 0; padding: 36px 32px 40px; border-radius: 32px; background: var(--forest); color: #fff; }
.dark-head .breadcrumb, .dark-head .breadcrumb a { color: var(--on-dark-muted); }
.dark-head .breadcrumb [aria-current] { color: #fff; }

/* ==========================================================================
   Search
   ========================================================================== */
.layout-2 { display: grid; grid-template-columns: 8fr 3fr; gap: 48px; align-items: start; }
.result-best {
  display: flex; gap: 20px; padding: 26px; border-radius: 24px;
  border: 1px solid var(--mint-border); background: #fff; color: var(--ink); box-shadow: var(--shadow-raised);
}
.result-best:hover { color: var(--ink); }
.result-row { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--border); color: var(--ink); }
.result-row:hover { color: var(--ink); border-color: var(--mint-border); background: var(--canvas); }
.arrow-circle { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.side-dark { padding: 24px; border-radius: 24px; background: var(--forest); color: #fff; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.side-dark p { font-size: 14px; line-height: 1.6; color: var(--on-dark); }
.side-soft { padding: 20px; border-radius: var(--r-md); background: var(--canvas); font-size: 13px; line-height: 1.6; color: var(--text-2); }

.empty { padding: 72px 0 0; max-width: 720px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.empty ul { list-style: disc; padding-left: 20px; color: var(--text-2); line-height: 1.8; }

/* ==========================================================================
   Institution
   ========================================================================== */
.inst-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.inst-head .btn-white { margin-left: auto; align-self: flex-end; }
.inst-head .ident { display: flex; gap: 24px; align-items: center; }
.inst-head .logo-big {
  width: 104px; height: 104px; border-radius: 28px; background: #ffffff; color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 22px; flex-shrink: 0;
  overflow: hidden; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25); border: 2px solid rgba(255, 255, 255, 0.2);
}
.inst-head .logo-big img {
  width: 100%; height: 100%; object-fit: contain; border-radius: inherit;
}
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: #c9dbd2; font-weight: 500; }
.guide-card { display: flex; flex-direction: column; gap: 22px; padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--mint-border); background: var(--canvas); color: var(--ink); }
.guide-card:hover { color: var(--ink); box-shadow: var(--shadow-raised); }
.soon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.soon { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px; border-radius: var(--r-md); border: 1px dashed var(--border-strong); color: var(--text-2); }
.details { padding: 24px; border-radius: 24px; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 16px; }
.details dl { margin: 0; display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.details dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.details dd { margin: 3px 0 0; font-weight: 600; }

/* ==========================================================================
   Guide
   ========================================================================== */
.guide-head .grid { display: grid; grid-template-columns: 8fr 4fr; gap: 24px; align-items: end; }
.cta-panel { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-raised); }
.cta-panel small { font-size: 11.5px; line-height: 1.45; color: var(--muted); text-align: center; }
.facts { margin: 16px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.facts > div { position: relative; padding: 8px 12px; min-height: 50px; border-radius: 10px; background: #fff; border: 1px solid var(--border); display: flex; flex-direction: column; justify-content: center; box-shadow: 0 1px 2px rgba(6, 46, 32, 0.02); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.facts > div.has-tooltip { cursor: pointer; }
.facts > div.has-tooltip:hover { border-color: var(--mint-border); box-shadow: 0 3px 10px rgba(6, 46, 32, 0.06); }
.facts dt { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 700; line-height: 1.1; }
.facts dd { margin: 2px 0 0; font-size: 12.5px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Fact Tooltip */
.fact-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--forest);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: normal;
  width: max-content;
  max-width: 280px;
  box-shadow: 0 12px 28px -6px rgba(6, 46, 32, 0.35), 0 6px 12px -4px rgba(6, 46, 32, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s;
  z-index: 50;
  text-align: center;
}
.fact-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: var(--forest) transparent transparent transparent;
}
.facts > div:hover .fact-tooltip,
.facts > div:focus-within .fact-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.facts > div:first-child .fact-tooltip {
  left: 0;
  transform: translateY(4px);
}
.facts > div:first-child .fact-tooltip::after {
  left: 24px;
  transform: none;
}
.facts > div:first-child:hover .fact-tooltip,
.facts > div:first-child:focus-within .fact-tooltip {
  transform: translateY(0);
}
.facts > div:last-child .fact-tooltip {
  left: auto;
  right: 0;
  transform: translateY(4px);
}
.facts > div:last-child .fact-tooltip::after {
  left: auto;
  right: 24px;
  transform: none;
}
.facts > div:last-child:hover .fact-tooltip,
.facts > div:last-child:focus-within .fact-tooltip {
  transform: translateY(0);
}

.guide-body { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: 48px; align-items: start; padding-top: 48px; }
.article-body { display: flex; flex-direction: column; gap: 48px; max-width: 820px; }
.g-section { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 100px; }
.g-title { display: flex; align-items: center; gap: 12px; }
.g-num { width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px; background: var(--mint); color: var(--brand); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; }
.prose { font-size: 16px; line-height: 1.7; color: var(--text-body); }
.req-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.req { display: flex; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); background: #fff; }
.req .check { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; background: var(--mint); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.req strong { display: block; font-size: 14.5px; font-weight: 700; }
.req span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.steps { display: flex; flex-direction: column; gap: 12px; }
.step { display: flex; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--canvas); border: 1px solid var(--border); }
.step .n { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: var(--forest); color: var(--lime); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 14px; font-weight: 700; }
.step small { font-size: 11px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.08em; }
.step h3 { font-size: 16px; font-weight: 800; letter-spacing: -0.015em; margin: 4px 0 6px; }
.step p { font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.table-wrap { border-radius: 18px; border: 1px solid var(--border); overflow-x: auto; }
table.fees { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
table.fees th { background: var(--canvas); text-align: left; padding: 12px 18px; font-size: 11.5px; font-weight: 700; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.06em; }
table.fees td { padding: 14px 18px; border-top: 1px solid #eef2ef; }
.two-up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dark-card { padding: 20px 22px; border-radius: 18px; background: var(--forest); color: #fff; display: flex; flex-direction: column; gap: 8px; }
.dark-card .big { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.dark-card small { font-size: 13px; color: var(--on-dark-muted); }
.line-card { padding: 20px 22px; border-radius: 18px; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sources { display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: var(--r-lg); background: var(--canvas); border: 1px solid var(--border); scroll-margin-top: 100px; }
.source { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--border); }
.source .ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.source .label { font-size: 12px; font-weight: 700; }
.source strong { display: block; font-size: 16px; }
.source span.meta { font-size: 13px; color: var(--muted); }

.guide-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
.verify-panel { padding: 26px; border-radius: 26px; background: var(--forest); color: #fff; display: flex; flex-direction: column; gap: 12px; }
.verify-panel .big { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.verify-panel p { font-size: 14px; line-height: 1.6; color: var(--on-dark); }
.toc { padding: 22px; border-radius: 22px; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 2px; }
.toc a { padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.toc a:hover, .toc a.active { background: var(--mint); color: var(--brand); font-weight: 700; }

.alert-warn { display: flex; gap: 16px; padding: 20px 24px; border-radius: 18px; background: var(--amber-bg); border: 1px solid #f6dfa6; border-left: 4px solid var(--amber); color: var(--amber-ink); align-items: center; flex-wrap: wrap; }
.alert-warn .txt { flex: 1; min-width: 240px; }
.alert-warn h2 { font-size: 18px; font-weight: 800; }
.alert-warn p { font-size: 15px; line-height: 1.6; margin-top: 4px; }

/* ==========================================================================
   Countries
   ========================================================================== */
.region { display: flex; flex-direction: column; gap: 18px; margin-top: 48px; }
.region-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.country-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--border); color: var(--ink); }
.country-row:hover { color: var(--ink); border-color: var(--mint-border); background: var(--canvas); }
.country-row .go { width: 34px; height: 34px; border-radius: 50%; background: var(--canvas); display: flex; align-items: center; justify-content: center; color: var(--brand); font-weight: 800; }
.inst-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }

/* ==========================================================================
   Modal
   ========================================================================== */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(6, 46, 32, 0.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 28px; box-shadow: 0 20px 50px rgba(15, 26, 20, 0.25); }
.modal .m-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 26px 28px 0; }
.modal .m-body { padding: 24px 28px; display: flex; flex-direction: column; gap: 20px; }
.modal .m-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 28px 24px; border-top: 1px solid var(--border); }
.modal .done { padding: 40px 32px 32px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }

/* ==========================================================================
   Suggest
   ========================================================================== */
.suggest-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: start; padding-top: 32px; }
.suggest-aside { padding: 40px; border-radius: 32px; background: var(--forest); color: #fff; display: flex; flex-direction: column; gap: 26px; }
.suggest-aside p { color: var(--on-dark); font-size: 17px; line-height: 1.65; }
.next-step { display: flex; gap: 14px; padding: 16px; border-radius: 18px; background: var(--forest-2); }
.next-step .n { font-family: var(--mono); font-size: 18px; color: var(--lime); }
.next-step strong { display: block; font-size: 15px; }
.next-step span { font-size: 13px; line-height: 1.5; color: var(--on-dark); }
.form { display: flex; flex-direction: column; gap: 22px; }
.form-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.success-card { padding: 48px; border-radius: 32px; border: 1px solid var(--mint-border); background: var(--canvas); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.success-ico { width: 64px; height: 64px; border-radius: 20px; background: var(--brand); color: var(--lime); display: flex; align-items: center; justify-content: center; }

/* ==========================================================================
   Admin
   ========================================================================== */
.admin { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; background: var(--canvas); }
.admin-side { background: var(--forest); color: #c9dbd2; padding: 20px 14px; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 0; height: 100vh; }
.admin-side nav { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.admin-side nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; color: #c9dbd2; }
.admin-side nav a .d { width: 8px; height: 8px; border-radius: 3px; background: #3f6b5a; }
.admin-side nav a:hover { background: var(--forest-2); color: #fff; }
.admin-side nav a.active { background: var(--lime); color: var(--forest); }
.admin-side nav a.active .d { background: var(--brand); }
.admin-main { padding: 32px 40px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.admin-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.admin-title h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.sample { padding: 4px 10px; border-radius: var(--pill); background: var(--neutral); border: 1px dashed #8fa398; color: var(--text-2); font-size: 12px; font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.stat .v { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.panel-head h2 { font-size: 17px; font-weight: 800; }
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
table.data th { text-align: left; background: var(--canvas); padding: 12px 16px; font-size: 12px; font-weight: 700; color: var(--text-2); }
table.data td { padding: 14px 16px; border-top: 1px solid #eef2ef; vertical-align: middle; }
.act { display: inline-flex; gap: 6px; }
.act .btn { height: 34px; padding: 0 12px; font-size: 13px; }
.btn-verify { background: var(--mint); color: var(--brand); border-color: var(--brand); }
.editor-grid { display: grid; grid-template-columns: 8fr 4fr; gap: 24px; align-items: start; }
.editor-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.editor-card h2 { font-size: 16px; font-weight: 800; }
.seg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--border-strong); border-radius: var(--pill); overflow: hidden; }
.seg button { height: 40px; border: 0; background: #fff; font-size: 13px; font-weight: 600; color: var(--text-2); cursor: pointer; }
.seg button[aria-pressed='true'] { background: var(--mint); color: var(--brand); font-weight: 800; }
.src-mini { padding: 10px 12px; border: 1px solid var(--border); border-left: 3px solid var(--brand); border-radius: 12px; font-size: 13px; }
.src-mini.secondary { border-left-color: var(--border-strong); }
.step-edit { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: 14px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .header-search { display: none; }
  .hero .grid { grid-template-columns: minmax(0, 1fr); }
  .preview { max-width: 520px; }
  .trust-strip, .dest-grid, .recent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .country-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .region-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .container { padding: 0 24px; }
  .nav, .header-actions .btn { display: none; }
  .icon-btn { display: inline-flex; }
  .mobile-menu.open { display: flex; flex-direction: column; gap: 4px; padding: 12px 24px 20px; border-top: 1px solid var(--border); background: #fff; }
  .mobile-menu a { padding: 12px 14px; border-radius: 12px; font-weight: 700; color: var(--ink); }
  .mobile-menu a:hover { background: var(--canvas); }
  .inst-grid, .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-grid { grid-template-columns: minmax(0, 1fr); }
  .inside, .faq-wrap, .layout-2, .suggest-grid, .guide-head .grid, .editor-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .guide-body { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .guide-side { position: static; order: -1; }
  .guide-side .toc { display: none; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
  .site-footer .top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer .brand { grid-column: 1 / -1; }
  .inst-list { grid-template-columns: minmax(0, 1fr); }
  .admin { grid-template-columns: minmax(0, 1fr); }
  .admin-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .admin-side nav { flex-direction: row; flex-wrap: wrap; }
  .admin-side .who { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding-top: 56px; }
  .hero { padding: 36px 0 44px; }
  .searchbar { height: auto; flex-wrap: wrap; padding: 8px; border-radius: 28px; gap: 8px; }
  .searchbar svg { margin-left: 12px; }
  .searchbar input { font-size: 16px; height: 44px; }
  .searchbar .kbd { display: none; }
  .searchbar .btn { width: 100%; height: 52px; }
  .preview { min-height: 0; }
  .preview .main-card { position: static; }
  .preview .float-top, .preview .float-bottom { display: none; }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .trust-item { flex-direction: column; padding: 16px; gap: 10px; }
  .dest-grid, .inst-grid, .article-grid, .recent-grid, .req-grid, .two-up, .soon-grid, .form-2 { grid-template-columns: minmax(0, 1fr); }
  .dest { min-height: 0; flex-direction: row; align-items: center; gap: 14px; padding: 18px; }
  .dest .more { display: none; }
  .country-grid, .region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-band, .dark-head { margin-left: 12px; margin-right: 12px; }
  .how-band { padding: 36px 0; border-radius: 28px; }
  .dark-head { padding: 24px 20px; border-radius: 26px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inst-head .ident { flex-direction: column; align-items: flex-start; }
  .inst-head .logo-big { width: 72px; height: 72px; border-radius: 20px; }
  .inst-head .btn-white { display: none; }
  .result-best { flex-direction: column; }
  .result-best .arrow-circle { display: none; }
  .result-row { flex-wrap: wrap; }
  .step { flex-direction: column; gap: 10px; padding: 18px; }
  .source { flex-direction: column; align-items: flex-start; }
  .faq-item p { padding: 0 18px 18px; }
  .inside-list { grid-template-columns: minmax(0, 1fr); }
  .suggest-aside { padding: 26px 20px; }
  .success-card { padding: 32px 22px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-main { padding: 20px; }
  .site-footer .top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-top: 40px; }
  .site-footer .bottom { flex-direction: column; }
  .modal { border-radius: 24px; }
}

/* Mobile overflow guards */
@media (max-width: 640px) {
  .country-row span { min-width: 0; }
  .country-row span span:last-child { overflow-wrap: anywhere; }
  .facts dd { overflow-wrap: anywhere; }
  .editor-card .row-between { flex-wrap: wrap; }
  .step-edit .input { min-width: 0; }
}

/* Header fit */
.logo svg { flex-shrink: 0; width: 32px; height: 32px; }
.nav a { white-space: nowrap; }
@media (max-width: 1500px) {
  .nav a[href='/#desk'] { display: none; }
  .site-header .left { gap: 24px; }
  .header-search { width: 240px; }
}

/* Professional Pagination Component */
.pagination-container {
  margin-top: 36px;
  padding: 24px 0 12px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 640px) {
  .pagination-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.pagination-info {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
}

.pagination-info strong {
  color: var(--ink);
  font-weight: 700;
}

.pagination-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.page-item {
  display: inline-flex;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.15s ease;
  user-select: none;
}

.page-link.num {
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}

.page-link.num:hover {
  background: var(--canvas);
  border-color: var(--mint-border);
  color: var(--brand);
}

.page-item.active .page-link.num {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(5, 96, 63, 0.22);
  cursor: default;
}

.page-link.dots {
  min-width: 32px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  cursor: default;
}

.page-link.prev-next {
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  gap: 6px;
}

.page-link.prev-next:hover:not(.disabled) {
  background: var(--mint);
  border-color: var(--mint-border);
  color: var(--brand);
}

.page-item.disabled .page-link.prev-next {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--canvas);
  border-color: var(--border);
  color: var(--muted);
  pointer-events: none;
}

@media (max-width: 480px) {
  .page-link.prev-next .btn-text {
    display: none;
  }
  .page-link.prev-next {
    padding: 0 10px;
  }
}

/* ==========================================================================
   Modern Searchable Select
   ========================================================================== */
.mss-native-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mss-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.mss-wrap.mss-pill {
  display: inline-block;
  width: auto;
}

.mss-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  user-select: none;
  position: relative;
}

.mss-trigger:hover:not(:disabled) {
  border-color: var(--brand);
  background: #fbfdfc;
}

.mss-trigger:focus-visible,
.mss-wrap.mss-open .mss-trigger {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--mint-border);
}

.mss-trigger.mss-placeholder .mss-label-text {
  color: var(--muted);
  font-weight: 500;
}

.mss-trigger:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--canvas);
}

.mss-trigger.mss-invalid {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px var(--red-bg) !important;
}

@keyframes mssShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

.mss-shake {
  animation: mssShake 0.35s ease;
}

.mss-pill-trigger {
  border-radius: var(--pill) !important;
  padding: 0 16px !important;
  font-size: 14px;
  height: 42px;
  box-shadow: 0 1px 2px rgba(6, 46, 32, 0.04);
}

.mss-trigger-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mss-label-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mss-chevron {
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease;
}

.mss-wrap.mss-open .mss-chevron {
  transform: rotate(180deg);
  color: var(--brand);
}

.mss-flag {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
  vertical-align: middle;
}

.mss-dropdown {
  position: fixed;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 18px 40px -4px rgba(6, 46, 32, 0.18), 0 4px 14px -2px rgba(6, 46, 32, 0.08);
  z-index: 999999;
  overflow: hidden;
  display: none;
  opacity: 0;
  transform: translateY(-4px) scale(0.99);
  transition: opacity 0.15s ease, transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.mss-dropdown.mss-open,
.mss-wrap.mss-open .mss-dropdown {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mss-dropdown.mss-drop-up {
  transform: translateY(4px) scale(0.99);
}

.mss-dropdown.mss-drop-up.mss-open,
.mss-wrap.mss-open .mss-dropdown.mss-drop-up {
  transform: translateY(0) scale(1);
}

.mss-dropdown.mss-align-right {
  left: auto;
  right: 0;
}

.mss-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
}

.mss-search-icon {
  color: var(--muted);
  flex-shrink: 0;
}

.mss-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  padding: 0;
}

.mss-search-input::placeholder {
  color: var(--muted);
}

.mss-search-clear {
  border: none;
  background: transparent;
  padding: 2px;
  border-radius: 4px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mss-search-clear:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.06);
}

.mss-options-list {
  max-height: 250px;
  overflow-y: auto;
  padding: 6px;
  overscroll-behavior: contain;
}

.mss-options-list::-webkit-scrollbar {
  width: 6px;
}

.mss-options-list::-webkit-scrollbar-track {
  background: transparent;
}

.mss-options-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

.mss-options-list::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.25);
}

.mss-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.1s ease, color 0.1s ease;
}

.mss-option.active {
  background: rgba(5, 96, 63, 0.07);
  color: var(--brand-dark);
}

.mss-option.selected {
  background: var(--mint);
  color: var(--brand-dark);
  font-weight: 700;
}

.mss-option.selected.active {
  background: #dbeef1;
}

.mss-option.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.mss-option-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.mss-option-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mss-check-icon {
  color: var(--brand);
  flex-shrink: 0;
}

.mss-mark {
  background: rgba(212, 244, 106, 0.65);
  color: var(--brand-dark);
  font-weight: 800;
  border-radius: 3px;
  padding: 0 2px;
}

.mss-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 16px;
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
}

.mss-empty-icon {
  opacity: 0.6;
  color: var(--muted);
}

/* ==========================================================================
   Sonner Toastify Alert System
   ========================================================================== */
.sonner-toaster {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999999;
  width: 380px;
  max-width: calc(100vw - 32px);
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  pointer-events: none;
  gap: 0;
  transition: gap 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sonner-toaster.is-expanded {
  gap: 10px;
}

.sonner-toast {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  background: #ffffff;
  color: var(--ink);
  border-radius: 16px;
  border: 1px solid rgba(15, 26, 20, 0.08);
  box-shadow: 0 16px 36px -8px rgba(6, 46, 32, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.04);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(20px) scale(0.92);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.2s ease;
  transform-origin: bottom center;
  overflow: hidden;
  cursor: default;
}

.sonner-toast.is-visible {
  opacity: 1;
}

.sonner-toast.is-removing {
  opacity: 0 !important;
  transform: translateY(16px) scale(0.92) !important;
  pointer-events: none;
}

.sonner-icon-wrap {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.sonner-toast-default .sonner-icon-wrap {
  background: var(--neutral);
  color: var(--brand);
}

.sonner-toast-success .sonner-icon-wrap {
  background: #ecfdf3;
  color: #027a48;
}

.sonner-toast-error .sonner-icon-wrap {
  background: #fef3f2;
  color: #d92d20;
}

.sonner-toast-warning .sonner-icon-wrap {
  background: #fffbeb;
  color: #b45309;
}

.sonner-toast-info .sonner-icon-wrap {
  background: var(--mint);
  color: var(--brand);
}

.sonner-toast-loading .sonner-icon-wrap {
  background: #f0fdf4;
  color: var(--brand);
}

.sonner-spin {
  animation: sonner-rotate 1s linear infinite;
}

@keyframes sonner-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.sonner-content {
  flex: 1;
  min-width: 0;
}

.sonner-title {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.sonner-message {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.45;
  word-break: break-word;
}

.sonner-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.sonner-action-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.sonner-action-btn:hover {
  background: var(--brand-dark);
}

.sonner-cancel-btn {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.sonner-close-btn {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.15s, background 0.15s;
  padding: 0;
  margin-top: 2px;
}

.sonner-close-btn:hover {
  opacity: 1;
  background: var(--neutral);
}

.sonner-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(5, 96, 63, 0.25);
  width: 100%;
  animation: sonner-drain linear forwards;
  transform-origin: left;
}

.sonner-toast-error .sonner-progress {
  background: rgba(217, 45, 32, 0.3);
}

.sonner-toast-warning .sonner-progress {
  background: rgba(180, 83, 9, 0.3);
}

@keyframes sonner-drain {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 640px) {
  .sonner-toaster {
    right: 16px;
    left: 16px;
    bottom: 16px;
    width: auto;
    max-width: 100%;
    align-items: center;
  }
}

/* ==========================================================================
   Modern Modal Confirmations
   ========================================================================== */
.modern-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  background: rgba(6, 46, 32, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-confirm-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modern-confirm-dialog {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 24px 60px -12px rgba(6, 46, 32, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: scale(0.94) translateY(10px);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.modern-confirm-backdrop.is-open .modern-confirm-dialog {
  transform: scale(1) translateY(0);
}

.m-confirm-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.m-confirm-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.m-confirm-icon.type-danger {
  background: #fee4e2;
  color: #d92d20;
  box-shadow: 0 0 0 4px #fef3f2;
}

.m-confirm-icon.type-warning {
  background: #fef0c7;
  color: #b54708;
  box-shadow: 0 0 0 4px #fffaeb;
}

.m-confirm-icon.type-info {
  background: var(--mint);
  color: var(--brand);
  box-shadow: 0 0 0 4px #f0fdf4;
}

.m-confirm-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.15s, background 0.15s;
}

.m-confirm-close:hover {
  opacity: 1;
  background: var(--neutral);
}

.m-confirm-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modern-confirm-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.3;
}

.modern-confirm-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
  margin: 0;
}

.modern-confirm-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.btn-confirm-cancel {
  flex: 1;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text-body);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-confirm-cancel:hover {
  background: var(--neutral);
  border-color: #cbd5e1;
}

.btn-confirm-proceed {
  flex: 1;
  height: 44px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.15s, transform 0.1s;
}

.btn-confirm-proceed:active {
  transform: scale(0.98);
}

.btn-confirm-proceed.type-danger {
  background: #d92d20;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(217, 45, 32, 0.28);
}

.btn-confirm-proceed.type-danger:hover {
  filter: brightness(0.92);
}

.btn-confirm-proceed.type-warning {
  background: #d97706;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.28);
}

.btn-confirm-proceed.type-warning:hover {
  filter: brightness(0.92);
}

.btn-confirm-proceed.type-info {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(5, 96, 63, 0.28);
}

.btn-confirm-proceed.type-info:hover {
  background: var(--brand-dark);
}


