/* ============================================================
   PRATIQUER — marketing site design system
   Brand: deep blue / cyan / orange, stacked-card lightbulb mark
   Type: Outfit (display) + Roboto (body)
   ============================================================ */

:root {
  /* Brand */
  --blue:        #1f56c9;
  --blue-deep:   #163a8c;
  --indigo:      #2b3f9e;
  --cyan:        #1fa7d2;
  --cyan-soft:   #6fd0ea;
  --orange:      #e85d22;
  --orange-soft: #ff8a52;

  /* Ink + neutrals (cool-warm navy) */
  --ink:    #0e1726;
  --ink-2:  #2c3a4f;
  --muted:  #5d6b80;
  --faint:  #8a96a8;
  --line:   #e5eaf2;
  --line-2: #eef2f8;
  --paper:  #ffffff;
  --mist:   #f4f7fb;
  --mist-2: #eef3fa;

  /* Tints */
  --blue-wash:   #eef3fe;
  --cyan-wash:   #e7f6fb;
  --orange-wash: #fdefe7;

  --radius:    16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(14,23,38,.06), 0 2px 6px rgba(14,23,38,.05);
  --shadow:    0 6px 18px rgba(14,23,38,.08), 0 2px 6px rgba(14,23,38,.05);
  --shadow-lg: 0 24px 60px rgba(18,39,86,.16), 0 8px 24px rgba(18,39,86,.08);
  --shadow-blue: 0 22px 50px rgba(31,86,201,.28);

  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-display: 'Outfit', 'Helvetica Neue', sans-serif;
  --font-body: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

/* Material Icons — define explicitly so ligatures render the moment the font loads */
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal; font-style: normal;
  line-height: 1; letter-spacing: normal; text-transform: none;
  display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr;
  -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ---------- eyebrow / heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; border-radius: 2px;
  background: var(--orange);
}
.eyebrow.center { justify-content: center; }
.h-xl  { font-size: clamp(40px, 6.2vw, 76px); }
.h-lg  { font-size: clamp(32px, 4.6vw, 54px); }
.h-md  { font-size: clamp(26px, 3.2vw, 38px); }
.lead  { font-size: clamp(17px, 1.5vw, 21px); color: var(--muted); line-height: 1.55; }
.kicker-c { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  padding: 14px 24px; border-radius: 12px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
  white-space: nowrap;
}
.btn .material-icons { font-size: 20px; }
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 10px 24px rgba(31,86,201,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(31,86,201,.4); background: #1c4dba; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: #cdd7e6; box-shadow: var(--shadow); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: #1a2740; }
.btn-lg { padding: 17px 30px; font-size: 17px; }
.btn-link { color: var(--blue); font-family: var(--font-display); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.btn-link .material-icons { font-size: 19px; transition: transform .2s var(--ease); }
.btn-link:hover .material-icons { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; background: #fff;
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 2px 8px rgba(14,23,38,.12); flex: none;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; color: var(--ink); }
.brand-word .co { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: 15.5px; color: var(--ink-2);
  padding: 9px 14px; border-radius: 9px; transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--mist); color: var(--ink); }
.nav-links a.active { color: var(--blue); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-signin { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; color: var(--ink-2); padding: 10px 12px; }
.nav-signin:hover { color: var(--blue); }
.nav-toggle { display: none; }
.nav-toggle-btn { }

/* mobile menu (shared across all pages) */
.mobile-menu {
  position: fixed; inset: 70px 0 auto 0; z-index: 49;
  background: #fff; border-bottom: 1px solid var(--line);
  flex-direction: column; gap: 4px; padding: 16px 18px 22px; display: none;
  box-shadow: var(--shadow);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-display); font-weight: 600; font-size: 17px; padding: 12px 8px; border-radius: 10px; color: var(--ink-2); }
.mobile-menu a.btn { justify-content: center; margin-top: 6px; }
@media (max-width: 920px) {
  .nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
}

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #c4cedd; padding: 72px 0 36px; }
.footer a { color: #c4cedd; transition: color .15s; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand-word { color: #fff; }
.footer-blurb { color: #8fa0b8; margin-top: 16px; max-width: 300px; font-size: 15px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-display); }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 15px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; color: #7e90a8; }
.footer-badge { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- generic cards / pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--mist); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px 7px 11px; font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}
.pill .material-icons { font-size: 16px; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d8e1ee; }

/* feature icon chip */
.ichip {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  color: #fff; flex: none;
}
.ichip .material-icons { font-size: 26px; }
.ichip.blue   { background: linear-gradient(150deg, #2b6bf0, #1741a8); }
.ichip.cyan   { background: linear-gradient(150deg, #34bce0, #1488ad); }
.ichip.orange { background: linear-gradient(150deg, #ff7b46, #d84a14); }
.ichip.indigo { background: linear-gradient(150deg, #4255c0, #28307e); }

/* utility */
.center { text-align: center; }
.muted { color: var(--muted); }
.grad-text { background: linear-gradient(100deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.orange-text { color: var(--orange); }
.divider-soft { height: 1px; background: var(--line); border: 0; }

/* locked CTAs + toast (pre-registration not live) */
a.cta-locked { cursor: not-allowed; }
a.cta-locked.btn:hover { transform: none; }
.cta-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 12px; font-family: var(--font-display); font-weight: 500; font-size: 14.5px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 9px; opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); z-index: 200; max-width: calc(100vw - 36px); }
.cta-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.cta-toast .material-icons { font-size: 18px; color: var(--cyan-soft); }

/* ---------- subjects: language + any subject ---------- */
.subj-split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; margin-top: 44px; align-items: stretch; }
.subj-lang { background: linear-gradient(160deg, var(--blue-deep), var(--blue)); color: #fff; border-radius: 20px; padding: 32px; }
.subj-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-soft); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 5px 12px; margin-bottom: 16px; }
.subj-tag .material-icons { font-size: 14px; }
.subj-lang h3 { color: #fff; font-size: 22px; margin: 0 0 18px; }
.subj-lang ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.subj-lang li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #dbe6f7; }
.subj-lang li .material-icons { font-size: 19px; color: var(--cyan-soft); flex: none; margin-top: 1px; }
.subj-any { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.subj-any .subj-head b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink); }
.subj-any .subj-head span { font-size: 14px; color: var(--muted); }
.subj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.subj-tile { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; padding: 18px 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--mist); font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--ink-2); transition: transform .16s var(--ease), box-shadow .16s, border-color .16s; }
.subj-tile .material-icons { font-size: 24px; color: var(--blue); }
.subj-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #d3deee; }
.subj-tile.lead-tile { background: var(--blue-wash); border-color: #cfdcfa; }
@media (max-width: 860px) { .subj-split { grid-template-columns: 1fr; } .subj-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .subj-grid { grid-template-columns: repeat(2, 1fr); } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .section { padding: 70px 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
