/* The Training Pharmacist: public website and sign-in pages. Mobile-first, fluid at every width. */
@font-face { font-family: "Rubik"; src: url(/front_assets/fonts/landing-fonts/rubik-regular-webfont.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Rubik"; src: url(/front_assets/fonts/landing-fonts/rubik-medium-webfont.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Rubik"; src: url(/front_assets/fonts/landing-fonts/rubik-bold-webfont.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Rubik"; src: url(/front_assets/fonts/landing-fonts/rubik-light-webfont.woff2) format("woff2"); font-weight: 300; font-display: swap; }

:root {
  --teal: #1fa7c9; --teal-d: #148aa8; --teal-500: #5dcde9; --teal-050: #ebf8fc; --teal-100: #d3f0f8;
  --green: #4fae36; --green-500: #64c14d; --green-050: #eef8eb;
  --navy: #0b2536; --navy-2: #0f3347; --ink: #14212d; --ink-2: #3c4856; --muted: #627083; --faint: #98a3b1;
  --line: #e2e9ef; --bg: #f5f9fb; --card: #fff; --red: #d64545; --red-050: #fdeeee;
  --grad: linear-gradient(135deg, #1fa7c9 0%, #3db59a 55%, #64c14d 100%);
  --radius: 18px; --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11, 37, 54, .04), 0 8px 24px rgba(11, 37, 54, .06);
  --shadow-lg: 0 24px 60px rgba(11, 37, 54, .16);
  --wrap: 1180px; --head: 72px;
  --font: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 12px); }
body.w-site { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink-2); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; display: flex; flex-direction: column; min-height: calc(100vh / var(--z)); }
img, iframe, video { max-width: 100%; } img { height: auto; }
a { color: var(--teal-d); text-decoration: none; } a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 12px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(31, 167, 201, .45); outline-offset: 2px; border-radius: 8px; }
.w-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.w-main { flex: 1; }
.sr-only, .hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.w-skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; } .w-skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.w-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 500; font-size: 15.5px; line-height: 1.2; cursor: pointer; text-align: center; transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s; }
.w-btn:hover { text-decoration: none; transform: translateY(-1px); }
.w-btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(31, 167, 201, .32); } .w-btn-primary:hover { box-shadow: 0 12px 26px rgba(31, 167, 201, .42); color: #fff; }
.w-btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); } .w-btn-ghost:hover { border-color: var(--teal); color: var(--teal-d); }
.w-btn-white { background: #fff; color: var(--navy); } .w-btn-white:hover { color: var(--teal-d); }
.w-btn-sm { min-height: 40px; padding: 8px 18px; font-size: 14.5px; }
.w-btn-block { width: 100%; }
.w-btn[disabled] { opacity: .55; cursor: default; transform: none; }
.w-link-btn { background: none; border: 0; padding: 0; color: var(--teal-d); cursor: pointer; font-weight: 500; } .w-link-btn:hover { text-decoration: underline; }

/* ---------- header ---------- */
.w-head { position: sticky; top: 0; z-index: 60; height: var(--head); background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.5) blur(12px); -webkit-backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.w-head.is-stuck { border-color: var(--line); box-shadow: 0 4px 20px rgba(11, 37, 54, .05); }
.w-head-in { height: 100%; display: flex; align-items: center; gap: 18px; }
.w-logo { display: flex; align-items: center; flex-shrink: 0; } .w-logo img { height: 46px; width: auto; display: block; }
.w-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.w-nav a { color: var(--ink-2); padding: 9px 13px; border-radius: 10px; font-size: 15px; white-space: nowrap; } .w-nav a:hover { background: var(--bg); color: var(--ink); text-decoration: none; } .w-nav a.is-active { color: var(--teal-d); font-weight: 500; }
.w-head-cta { display: flex; align-items: center; gap: 8px; margin-left: 10px; } .w-head-cta form { margin: 0; }
.w-bell { position: relative; width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); } .w-bell:hover { background: var(--bg); text-decoration: none; }
.w-bell b { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; padding: 0 5px; background: var(--red); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 500; }
.w-burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 18px; cursor: pointer; align-items: center; justify-content: center; }
.w-sheet { display: none; }
@media (max-width: 960px) {
  .w-nav, .w-head-cta { display: none; }
  .w-burger { display: inline-flex; }
  .w-sheet { display: block; position: fixed; inset: var(--head) 0 0 0; z-index: 59; background: #fff; padding: 14px clamp(16px, 4vw, 32px) 28px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; }
  body.nav-open { overflow: hidden; } body.nav-open .w-sheet { transform: none; opacity: 1; visibility: visible; }
  .w-sheet a.w-sheet-link, .w-sheet button.w-sheet-link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font-size: 17px; font-weight: 500; text-align: left; cursor: pointer; }
  .w-sheet a.w-sheet-link:hover { text-decoration: none; color: var(--teal-d); } .w-sheet-link i { color: var(--faint); font-size: 13px; }
  .w-sheet-cta { display: grid; gap: 10px; margin-top: 22px; } .w-sheet form { margin: 0; }
}

/* ---------- sections ---------- */
.w-section { padding: clamp(52px, 8vw, 96px) 0; }
.w-section-soft { background: var(--bg); }
/* Two shaded sections in a row read as one band: do not double up the spacing between them. */
.w-section-soft + .w-section-soft { padding-top: 0; }
.w-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--teal-050); color: var(--teal-d); font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.w-section-head { max-width: 720px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.w-section-head h2 { font-size: clamp(27px, 3.6vw, 40px); margin-top: 14px; } .w-section-head p { margin: 14px 0 0; font-size: 17px; color: var(--muted); }
.w-grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- hero ---------- */
.w-hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); background: radial-gradient(900px 480px at 88% -10%, rgba(100, 193, 77, .16), transparent 60%), radial-gradient(760px 520px at -8% 20%, rgba(31, 167, 201, .16), transparent 62%), #fff; }
.w-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.w-hero h1 { font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-d); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; } .w-hero h1::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--grad); }
.w-hero h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; color: var(--navy); }
.w-hero-lead { margin: 22px 0 0; font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); max-width: 580px; }
.w-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.w-hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--ink-2); } .w-hero-points i { color: var(--green); margin-right: 7px; }
.w-hero-art { position: relative; padding: 0 0 26px 0; }
.w-hero-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4; background: #fff; box-shadow: var(--shadow-lg); } .w-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.w-float { position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 14px 16px; display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); line-height: 1.35; } .w-float b { display: block; color: var(--ink); font-size: 15.5px; font-weight: 500; }
.w-float-a { left: -18px; bottom: 0; } .w-float-b { right: -10px; top: 26px; }
.w-float-ring { width: 50px; height: 50px; border-radius: 50%; background: conic-gradient(var(--green-500) 0 82%, #e6edf2 0); display: grid; place-items: center; flex-shrink: 0; } .w-float-ring span { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--ink); }
.w-float-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--teal-050); color: var(--teal-d); display: grid; place-items: center; font-size: 17px; flex-shrink: 0; }
@media (max-width: 900px) { .w-hero-grid { grid-template-columns: 1fr; } .w-hero-art { max-width: 560px; margin: 8px auto 0; width: 100%; } .w-float-a { left: 8px; } .w-float-b { right: 8px; } }
@media (max-width: 480px) { .w-hero-actions .w-btn { width: 100%; } .w-float { padding: 10px 12px; font-size: 12.5px; } .w-float b { font-size: 14px; } .w-float-b { top: 12px; } }

/* ---------- cards and grids ---------- */
.w-grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.w-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
/* Blog cards keep their column width even when there are only one or two posts, so images never stretch across the page. */
.w-grid-3.w-posts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
/* On wide screens three-column grids stay at exactly three columns, so six cards sit as an even 3 x 2 rather than 4 + 2. */
@media (min-width: 1000px) { .w-grid-3, .w-grid-3.w-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.w-grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.w-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: center; }
.w-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--shadow); min-width: 0; }
.w-feature { transition: transform .2s, box-shadow .2s, border-color .2s; } .w-feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 37, 54, .10); border-color: var(--teal-100); }
.w-feature-ico { width: 52px; height: 52px; border-radius: 15px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; box-shadow: 0 8px 18px rgba(31, 167, 201, .28); }
.w-feature h3 { font-size: 18px; margin-bottom: 8px; } .w-feature p { margin: 0; color: var(--muted); font-size: 15.5px; }
.w-center { text-align: center; } .w-mt { margin-top: clamp(24px, 3vw, 40px); }

.w-parts { display: grid; gap: 16px; } .w-part { display: flex; gap: 16px; } .w-part-no { width: 46px; height: 46px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.w-part h3 { font-size: 19px; margin-bottom: 6px; } .w-part p { margin: 0; color: var(--muted); }
.w-media { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--grad); aspect-ratio: 16 / 10; } .w-media img, .w-media iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.w-steps { counter-reset: step; } .w-step { position: relative; text-align: center; padding-top: 30px; } .w-step::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(31, 167, 201, .35); }
.w-step i { font-size: 26px; color: var(--teal); margin-bottom: 12px; display: block; } .w-step h3 { font-size: 16.5px; font-weight: 500; line-height: 1.4; }
.w-steps.w-grid { row-gap: 34px; margin-top: clamp(44px, 6vw, 64px); }

/* ---------- sample questions ---------- */
.w-quiz { max-width: 820px; margin: 0 auto; }
.sample-item { animation: w-in .25s ease; } @keyframes w-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.w-quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; } .w-quiz-no { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-d); }
.w-quiz-dots { display: flex; gap: 6px; } .w-quiz-dots span { width: 26px; height: 5px; border-radius: 3px; background: var(--line); } .w-quiz-dots span.on { background: var(--grad); }
.w-quiz-desc { color: var(--muted); margin-bottom: 10px; } .w-quiz-q { font-size: 18px; color: var(--ink); font-weight: 500; margin-bottom: 18px; overflow-wrap: anywhere; } .w-quiz-q p:last-child, .w-quiz-desc p:last-child { margin-bottom: 0; }
.w-opts { display: grid; gap: 10px; }
.w-opt { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; overflow-wrap: anywhere; }
.w-opt:hover { border-color: var(--teal-500); background: #fbfeff; } .w-opt input { position: absolute; opacity: 0; pointer-events: none; }
.w-opt-letter { width: 30px; height: 30px; border-radius: 9px; background: var(--bg); color: var(--ink-2); font-weight: 500; font-size: 14px; display: grid; place-items: center; flex-shrink: 0; transition: .15s; }
.w-opt-text { padding-top: 3px; min-width: 0; } .w-opt-text p { margin: 0; }
.w-opt:has(input:checked) { border-color: var(--teal); background: var(--teal-050); } .w-opt:has(input:checked) .w-opt-letter { background: var(--teal); color: #fff; } .w-opt:has(input:focus-visible) { outline: 3px solid rgba(31, 167, 201, .45); outline-offset: 2px; }
.w-quiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; } .w-quiz-nav .w-btn { min-width: 120px; }
.sample-score { font-size: 20px; color: var(--ink); text-align: center; padding: 18px; border-radius: 16px; background: var(--teal-050); margin-bottom: 16px; } .sample-score b { color: var(--teal-d); }
.sample-answer { border: 1px solid var(--line); border-left: 5px solid var(--faint); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; background: #fff; overflow-wrap: anywhere; } .sample-answer.right { border-left-color: var(--green-500); } .sample-answer.wrong { border-left-color: var(--red); }
.sample-answer-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; color: var(--ink); } .sample-answer-head span { font-size: 13px; font-weight: 500; padding: 2px 10px; border-radius: 999px; background: var(--bg); color: var(--muted); } .sample-answer.right .sample-answer-head span { background: var(--green-050); color: var(--green); } .sample-answer.wrong .sample-answer-head span { background: var(--red-050); color: var(--red); }
.sample-answer p { margin: 0 0 6px; } .sample-answer p p { display: inline; } .sample-explanation { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 15px; }
.sample-cta { text-align: center; padding: 28px 20px; border-radius: 20px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #cfdde6; margin-top: 18px; } .sample-cta h3 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.sample-cta-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 24px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 500; margin: 8px 6px 0; } .sample-cta-btn:hover { text-decoration: none; color: #fff; }
.sample-again { background: none; border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; min-height: 46px; padding: 10px 22px; border-radius: 999px; cursor: pointer; margin: 8px 6px 0; }

/* ---------- free band ---------- */
.w-band { position: relative; overflow: hidden; border-radius: clamp(20px, 3vw, 32px); padding: clamp(28px, 5vw, 60px); background: radial-gradient(600px 300px at 100% 0, rgba(100, 193, 77, .28), transparent 60%), radial-gradient(520px 320px at 0 100%, rgba(31, 167, 201, .32), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-2)); color: #cfdde6; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.w-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); } .w-band p { margin: 14px 0 0; font-size: 16.5px; }
.w-band .w-eyebrow { background: rgba(255, 255, 255, .12); color: #fff; margin-bottom: 14px; }
.w-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; } .w-ticks li { display: flex; gap: 12px; align-items: flex-start; color: #e8f1f5; } .w-ticks i { width: 26px; height: 26px; border-radius: 50%; background: rgba(100, 193, 77, .22); color: #8be071; display: grid; place-items: center; font-size: 12px; flex-shrink: 0; margin-top: 1px; }
@media (max-width: 820px) { .w-band { grid-template-columns: 1fr; } }

/* ---------- blog ---------- */
.w-post { display: flex; flex-direction: column; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; } .w-post:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 37, 54, .10); border-color: var(--teal-100); }
.w-post-date { font-size: 13px; color: var(--faint); margin-bottom: 8px; } .w-post h2, .w-post h3 { font-size: 19px; margin-bottom: 8px; } .w-post p { color: var(--muted); font-size: 15.5px; flex: 1; } .w-post-more { color: var(--teal-d); font-weight: 500; font-size: 14.5px; margin-top: 8px; }
.w-pager { display: flex; justify-content: center; gap: 8px; margin-top: 32px; flex-wrap: wrap; } .w-pager a, .w-pager span { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); background: #fff; } .w-pager a:hover { border-color: var(--teal); text-decoration: none; } .w-pager .on { background: var(--teal); border-color: var(--teal); color: #fff; }

/* ---------- newsletter ---------- */
.w-news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(22px, 4vw, 52px); align-items: center; }
.w-news h2 { font-size: clamp(24px, 3vw, 32px); } .w-news-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; color: var(--muted); } .w-news-points i { color: var(--green); margin-right: 9px; }
.w-news-row { display: flex; gap: 10px; } .w-news-row input { flex: 1; min-width: 0; }
.w-news .error-red { min-height: 0; } .newsletter-ok { color: var(--green) !important; }
@media (max-width: 820px) { .w-news { grid-template-columns: 1fr; } } @media (max-width: 480px) { .w-news-row { flex-direction: column; } }

/* ---------- forms ---------- */
.w-field { margin-bottom: 16px; min-width: 0; } .w-label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 6px; } .w-label em { font-style: normal; color: var(--red); } .w-label small { font-weight: 400; color: var(--muted); }
.w-input, .w-field input[type=text], .w-field input[type=email], .w-field input[type=password], .w-field input[type=tel], .w-field select, .w-field textarea, .w-news-row input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-size: 16px; transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none; }
.w-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23627083' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.w-field textarea { min-height: 130px; resize: vertical; }
.w-field input:focus, .w-field select:focus, .w-field textarea:focus, .w-news-row input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(31, 167, 201, .16); }
.w-field input::placeholder, .w-field textarea::placeholder { color: var(--faint); }
.w-help { font-size: 13.5px; color: var(--muted); margin-top: 6px; } .error-red { color: var(--red); font-size: 13.5px; margin-top: 5px; min-height: 0; } .error-red:empty { display: none; }
.w-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; } .w-span-2 { grid-column: 1 / -1; } @media (max-width: 600px) { .w-form-grid { grid-template-columns: 1fr; } }
.w-inline { display: flex; gap: 8px; } .w-inline > input { flex: 1; min-width: 0; } .w-inline .w-prefix { flex: 0 0 68px; width: 68px; text-align: center; background: var(--bg) !important; color: var(--muted) !important; padding-left: 6px !important; padding-right: 6px !important; }
.w-inline .w-btn { border-radius: 12px; flex-shrink: 0; white-space: nowrap; } @media (max-width: 420px) { .w-inline.w-wrap-sm { flex-wrap: wrap; } .w-inline.w-wrap-sm .w-btn { width: 100%; } }
.w-check { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 11px; font-size: 15px; color: var(--ink-2); cursor: pointer; } .w-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); flex-shrink: 0; }
.w-row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; } .w-row-between .w-check { margin: 0; }
.flash-stack { margin-bottom: 16px; display: grid; gap: 8px; }
.alert { position: relative; padding: 13px 44px 13px 16px; border-radius: 12px; border: 1px solid; font-size: 15px; } .alert-danger { background: var(--red-050); border-color: #f3c7c7; color: #9c2b2b; } .alert-success { background: var(--green-050); border-color: #c7e6bd; color: #2f7a1c; } .alert-info { background: var(--teal-050); border-color: var(--teal-100); color: #0f6f88; }
.alert .close { position: absolute; right: 8px; top: 6px; width: 34px; height: 34px; border: 0; background: none; font-size: 22px; line-height: 1; color: inherit; opacity: .6; cursor: pointer; } .alert .close:hover { opacity: 1; }

/* ---------- page hero and prose ---------- */
.w-page-hero { padding: clamp(34px, 5vw, 60px) 0; background: radial-gradient(700px 300px at 100% 0, rgba(100, 193, 77, .14), transparent 60%), radial-gradient(600px 300px at 0 100%, rgba(31, 167, 201, .14), transparent 60%), var(--bg); border-bottom: 1px solid var(--line); }
.w-page-hero h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; letter-spacing: -.02em; color: var(--navy); } .w-crumbs { font-size: 14px; color: var(--muted); margin-bottom: 10px; } .w-crumbs i { font-size: 10px; margin: 0 8px; color: var(--faint); }
.w-page-hero p { margin: 12px 0 0; color: var(--muted); font-size: 17px; max-width: 640px; }
.w-page { padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 7vw, 88px); background: var(--bg); }
.w-narrow { max-width: 860px; margin: 0 auto; }
.w-prose { font-size: 16.5px; line-height: 1.75; color: var(--ink-2); overflow-wrap: anywhere; }
.w-prose h1, .w-prose h2, .w-prose h3, .w-prose h4 { margin: 1.5em 0 .5em; } .w-prose h1 { font-size: 28px; } .w-prose h2 { font-size: 23px; } .w-prose h3 { font-size: 19px; } .w-prose > :first-child { margin-top: 0; } .w-prose > :last-child { margin-bottom: 0; }
.w-prose p { margin: 0 0 1em; } .w-prose ul, .w-prose ol { padding-left: 1.3em; margin: 0 0 1em; } .w-prose li { margin-bottom: .4em; } .w-prose img { border-radius: 12px; } .w-prose blockquote { margin: 1em 0; padding: 4px 18px; border-left: 4px solid var(--teal); color: var(--muted); }
.w-prose table { display: block; overflow-x: auto; border-collapse: collapse; max-width: 100%; } .w-prose td, .w-prose th { border: 1px solid var(--line); padding: 8px 12px; } .w-prose pre { overflow-x: auto; background: var(--bg); padding: 14px; border-radius: 10px; }
.w-article h1 { font-size: clamp(27px, 3.8vw, 38px); font-weight: 700; letter-spacing: -.02em; } .w-article-meta { color: var(--muted); font-size: 14.5px; margin: 12px 0 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.w-cta-box { margin-top: 32px; padding: 26px; border-radius: 18px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #cfdde6; text-align: center; } .w-cta-box h3 { color: #fff; font-size: 21px; margin-bottom: 6px; } .w-cta-box .w-btn { margin-top: 10px; }

/* ---------- contact ---------- */
.w-contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(16px, 3vw, 28px); align-items: start; } @media (max-width: 860px) { .w-contact { grid-template-columns: 1fr; } }
.w-contact-info { background: radial-gradient(420px 260px at 100% 0, rgba(100, 193, 77, .28), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2)); color: #cfdde6; border: 0; } .w-contact-info h2 { color: #fff; font-size: 26px; margin-bottom: 10px; }
.w-contact-row { display: flex; gap: 14px; align-items: flex-start; margin-top: 20px; overflow-wrap: anywhere; } .w-contact-row i { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; flex-shrink: 0; } .w-contact-row a { color: #fff; font-size: 14.5px; } .w-contact-row small { display: block; color: #9fb6c4; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- sign-in pages ---------- */
.w-auth { flex: 1; min-height: calc(100vh / var(--z) - var(--head)); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--bg); }
.w-auth-side { position: relative; overflow: hidden; padding: clamp(32px, 4vw, 64px); background: radial-gradient(520px 320px at 100% 0, rgba(100, 193, 77, .30), transparent 60%), radial-gradient(520px 380px at 0 100%, rgba(31, 167, 201, .38), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2)); color: #cfdde6; display: flex; flex-direction: column; justify-content: center; }
.w-auth-side h2 { color: #fff; font-size: clamp(26px, 2.8vw, 38px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; } .w-auth-side p { margin: 16px 0 26px; font-size: 16.5px; max-width: 420px; }
.w-auth-main { padding: clamp(24px, 5vw, 64px) clamp(16px, 4vw, 48px); display: flex; align-items: center; justify-content: center; }
.w-auth-card { width: 100%; max-width: 460px; } .w-auth-card.is-wide { max-width: 720px; }
.w-auth-card h1 { font-size: clamp(26px, 3vw, 32px); font-weight: 700; letter-spacing: -.02em; } .w-auth-sub { color: var(--muted); margin: 8px 0 22px; }
.w-auth-foot { text-align: center; margin-top: 18px; color: var(--muted); font-size: 15px; } .w-auth-foot a { font-weight: 500; }
.w-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--green-050); color: #2f7a1c; font-size: 14.5px; margin-bottom: 20px; }
.w-otp { text-align: center; font-size: 26px !important; letter-spacing: .4em; font-weight: 500; max-width: 260px; margin: 0 auto; display: block; }
@media (max-width: 900px) { .w-auth { grid-template-columns: 1fr; } .w-auth-side { display: none; } }
.w-msg { max-width: 540px; margin: 0 auto; text-align: center; } .w-msg-ico { width: 84px; height: 84px; border-radius: 24px; background: var(--grad); color: #fff; font-size: 34px; display: grid; place-items: center; margin: 0 auto 20px; box-shadow: 0 14px 30px rgba(31, 167, 201, .3); }
.w-msg h1 { font-size: clamp(25px, 3.4vw, 32px); font-weight: 700; margin-bottom: 10px; } .w-msg p { color: var(--muted); font-size: 16.5px; } .w-msg-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* ---------- footer ---------- */
.w-foot { background: var(--navy); color: #a9bdc9; padding: clamp(40px, 6vw, 68px) 0 0; font-size: 15px; }
.w-foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(22px, 4vw, 48px); }
.w-foot-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 14px; } .w-foot-logo img { height: 44px; width: auto; display: block; }
.w-foot p { margin: 16px 0 0; max-width: 320px; } .w-foot h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.w-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; } .w-foot a { color: #a9bdc9; } .w-foot a:hover { color: #fff; text-decoration: none; }
.w-social { display: flex; gap: 10px; } .w-social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; transition: .15s; } .w-social a:hover { background: var(--teal); transform: translateY(-2px); }
.w-foot-base { margin-top: clamp(28px, 4vw, 48px); padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: #7f97a6; }
@media (max-width: 820px) { .w-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .w-foot-brand { grid-column: 1 / -1; } } @media (max-width: 420px) { .w-foot-grid { grid-template-columns: 1fr; } }

/* ---------- cookie notice ---------- */
.w-cookie { position: fixed; left: 50%; bottom: 20px; z-index: 80; width: min(860px, calc(100% - 32px)); transform: translate(-50%, 24px); opacity: 0; transition: transform .22s ease, opacity .22s ease; display: flex; align-items: center; gap: 16px; background: #fff; color: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: 0 24px 60px rgba(11, 37, 54, .22); font-size: 14.5px; line-height: 1.5; }
.w-cookie[hidden] { display: none; } .w-cookie.is-in { transform: translate(-50%, 0); opacity: 1; }
.w-cookie-ico { flex: none; width: 44px; height: 44px; border-radius: 13px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 18px; }
.w-cookie-text { flex: 1; min-width: 0; } .w-cookie-text b { display: block; color: var(--navy); font-size: 15.5px; font-weight: 600; margin-bottom: 2px; } .w-cookie-text p { margin: 0; color: var(--muted); } .w-cookie-text a { color: var(--teal-d); text-decoration: underline; }
.w-cookie-actions { flex: none; display: flex; gap: 8px; } .w-cookie-actions .w-btn { white-space: nowrap; }
@media (max-width: 720px) { .w-cookie { flex-wrap: wrap; bottom: 12px; padding: 16px; } .w-cookie-ico { display: none; } .w-cookie-text { flex-basis: 100%; } .w-cookie-actions { width: 100%; } .w-cookie-actions .w-btn { flex: 1; justify-content: center; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .w-head, .w-foot, .w-cookie, .w-sheet { display: none !important; } }

/* ---------- very large and 4K screens: scale the whole interface up instead of leaving it small ---------- */
:root { --z: 1; }
@media (min-width: 2200px) { :root { --z: 1.2; } html { zoom: 1.2; } }
@media (min-width: 2560px) { :root { --z: 1.35; } html { zoom: 1.35; } }
@media (min-width: 3000px) { :root { --z: 1.6; } html { zoom: 1.6; } }
@media (min-width: 3600px) { :root { --z: 1.9; } html { zoom: 1.9; } }
@media (min-width: 4400px) { :root { --z: 2.3; } html { zoom: 2.3; } }

/* wide desktops: more room, and the sign-in panels meet in the middle instead of drifting apart */
@media (min-width: 1500px) {
  :root { --wrap: 1320px; }
  body.w-site { font-size: 17px; }
  .w-auth { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .w-auth-side { align-items: flex-end; padding-right: clamp(48px, 5vw, 96px); } .w-auth-side-in { width: 100%; max-width: 520px; }
  .w-auth-main { justify-content: flex-start; padding-left: clamp(48px, 5vw, 96px); }
  .w-auth-card { max-width: 500px; } .w-auth-card.is-wide { max-width: 760px; }
}
@media (min-width: 1800px) { :root { --wrap: 1440px; } .w-hero-grid { gap: 88px; } }

/* ---------- blog: featured images and long-form article content ---------- */
.w-post.has-img { padding: 0; overflow: hidden; } .w-post.has-img > * { margin-left: 24px; margin-right: 24px; } .w-post.has-img > .w-post-more { margin-bottom: 24px; }
.w-post.has-img > .w-post-img { display: block; margin: 0 0 18px; aspect-ratio: 16 / 9; background: var(--bg); overflow: hidden; } .w-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; } .w-post:hover .w-post-img img { transform: scale(1.03); }
.w-article-img { margin: 0 0 28px; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg); } .w-article-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.w-article .w-prose h2 { font-size: clamp(22px, 2.6vw, 27px); margin-top: 1.8em; letter-spacing: -.01em; } .w-article .w-prose h3 { font-size: clamp(18px, 2vw, 21px); }
.w-article .w-prose table { width: 100%; font-size: 15px; line-height: 1.5; } .w-article .w-prose th { background: var(--bg); color: var(--navy); text-align: left; font-weight: 600; } .w-article .w-prose td, .w-article .w-prose th { vertical-align: top; overflow-wrap: normal; word-break: normal; min-width: 130px; }
.w-article .w-prose a { color: var(--teal-d); text-decoration: underline; } .w-article .w-prose iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; margin: 0 0 1em; }
.w-article .w-prose [role="region"]:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ---------- no visible page scroll bar ---------- */
html { scrollbar-width: none; -ms-overflow-style: none; } html::-webkit-scrollbar { width: 0; height: 0; display: none; }
