/* GLOYEE theme — ink navy #0F1E3A, gradient #1E4BFF → #19D3E0, page #F7FAFF, white cards, 16px radius. */

@font-face { font-family: 'Sora'; font-style: normal; font-weight: 100 800; font-display: swap; src: url('../fonts/sora-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 100 800; font-display: swap; src: url('../fonts/sora-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #0F1E3A;
  --ink-muted: #516485;
  --brand: #1E4BFF;
  --brand-dark: #0D33D9;
  --cyan: #19D3E0;
  --page: #F7FAFF;
  --subtle: #F0F5FD;
  --secondary: #EEF4FF;
  --line: #E2E8F0;
  --input: #CBD5E1;
  --danger: #DC2626;
  --radius: 16px;
  --shadow: 0 4px 20px -2px rgba(15, 30, 58, 0.06);
  --shadow-hover: 0 12px 32px -4px rgba(30, 75, 255, 0.12);
  --gradient: linear-gradient(135deg, #1E4BFF 0%, #19D3E0 100%);
  --font-head: 'Sora', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-weight: 800; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.12; }
h2 { font-weight: 700; font-size: clamp(1.5rem, 3vw, 1.9rem); }
h3, .h3 { font-weight: 700; font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(30, 75, 255, 0.45); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.icon { width: 1em; height: 1em; flex-shrink: 0; vertical-align: -0.125em; }

.container { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
@media (min-width: 640px) { .container { padding: 0 32px; } }
.section { padding: 64px 0; }
.section.container { padding-left: 20px; padding-right: 20px; }
@media (min-width: 640px) { .section.container { padding-left: 32px; padding-right: 32px; } }
.section-sm { padding-top: 48px; padding-bottom: 48px; }
.section-white { background: #fff; }
.muted { color: var(--ink-muted); }
.small { font-size: 0.9rem; }
.tiny { font-size: 0.78rem; margin-top: 14px; }
.tiny a { text-decoration: underline; }
.center { text-align: center; }
.strong { font-family: var(--font-head); font-weight: 600; }
.min-w-0 { min-width: 0; }
.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 40px; }
.eyebrow { font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin: 0 0 12px; }
.lead { font-size: 1.125rem; color: var(--ink-muted); max-width: 640px; }
.gradient-text { background: linear-gradient(90deg, #1E4BFF 0%, #1677FF 50%, #19D3E0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.92rem; color: var(--brand); transition: color 150ms ease, gap 150ms ease; }
.text-link:hover { color: var(--brand-dark); gap: 9px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; font-weight: 600; font-size: 0.95rem; cursor: pointer; white-space: nowrap; transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-pill { border-radius: 999px; }
.btn-lg { height: 50px; padding: 0 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--brand-dark); }
.btn-glow { box-shadow: 0 8px 24px -6px rgba(30, 75, 255, 0.5); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-outline:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--cyan); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover:not(:disabled) { background: var(--subtle); }
.btn-row { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
@media (min-width: 640px) { .btn-row { flex-direction: row; flex-wrap: wrap; } }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; color: var(--ink-muted); transition: background-color 150ms ease, color 150ms ease; }
.icon-btn:hover { background: var(--subtle); color: var(--ink); }
.spin-fast { animation: gloyee-spin 0.8s linear infinite; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(226, 232, 240, 0.8); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: block; height: 28px; width: auto; }
@media (min-width: 640px) { .logo { height: 32px; } }
.logo-sm { height: 26px; }
.main-nav { display: none; gap: 4px; }
@media (min-width: 768px) { .main-nav { display: flex; } }
.nav-link { padding: 8px 12px; border-radius: 8px; font-size: 0.92rem; font-weight: 500; color: var(--ink-muted); transition: color 150ms ease; }
.nav-link:hover { color: var(--ink); }
.nav-link.is-active { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { height: 40px; padding: 0 16px; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; font-size: 1.25rem; }
.menu-toggle:hover { background: var(--subtle); }
@media (min-width: 768px) { .menu-toggle { display: none; } }
.mobile-nav { display: flex; flex-direction: column; padding: 8px 20px 16px; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav a { padding: 12px; border-radius: 10px; font-weight: 500; }
.mobile-nav a:hover { background: var(--subtle); }
@media (min-width: 768px) { .mobile-nav { display: none !important; } }

/* ---------- footer ---------- */
.site-footer { margin-top: 96px; background: var(--ink); color: #F8FAFC; padding: 56px 0; }
.footer-top { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
@media (min-width: 640px) { .footer-top { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-top p { max-width: 440px; margin: 0; font-size: 0.9rem; color: #94A3B8; }
.footer-logo-card { display: inline-flex; width: fit-content; align-items: center; padding: 10px 16px; background: #fff; border: 1px solid rgba(226, 232, 240, 0.8); border-radius: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-grid h3 { color: #fff; font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; }
.footer-grid li + li { margin-top: 10px; }
.footer-grid a { font-size: 0.9rem; color: #CBD5E1; transition: color 150ms ease; }
.footer-grid a:hover { color: var(--cyan); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.78rem; color: #94A3B8; }
.site-main { min-height: 60vh; }

/* ---------- toast ---------- */
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 60; max-width: calc(100vw - 40px); padding: 12px 18px; background: var(--ink); color: #fff; border-radius: 12px; box-shadow: 0 12px 32px rgba(15, 30, 58, 0.25); font-size: 0.9rem; animation: gloyee-fade-up 250ms ease both; }

/* ---------- orbit motif ---------- */
.orbit { pointer-events: none; }
.orbit .spin, .orbit .spin-rev { transform-origin: 200px 200px; }
.orbit .spin { animation: gloyee-spin 60s linear infinite; }
.orbit .spin-rev { animation: gloyee-spin 90s linear infinite reverse; }
.orbit-divider svg { display: block; width: 100%; height: 32px; }
@keyframes gloyee-spin { to { transform: rotate(360deg); } }
@keyframes gloyee-fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes gloyee-step-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.fade-up { animation: gloyee-fade-up 500ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.step-in { animation: gloyee-step-in 260ms ease-out both; }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card.pad { padding: 24px; }
.card-hover { transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
.card-hover:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: rgba(30, 75, 255, 0.35); }
.glass { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 500; white-space: nowrap; }
.badge-muted { background: #F1F5F9; color: #64748B; }
.fact { font-weight: 500; color: var(--ink); }
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid-2-mobile { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .grid-2-mobile { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.section-head > div { max-width: 680px; }
.section-head p.muted { margin: 12px 0 0; }
@media (min-width: 640px) { .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; } }

/* provider card */
.provider-card { display: flex; flex-direction: column; padding: 24px; }
.provider-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.provider-card-head h3 { margin: 0; font-size: 1.15rem; }
.provider-id { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.provider-id h3 { margin: 0; }
.logo-tile { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 76px; height: 40px; padding: 6px 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.logo-tile-sm { width: 60px; height: 30px; padding: 4px; border-radius: 8px; }
.logo-tile-lg { width: auto; min-width: 120px; max-width: 220px; height: 64px; padding: 10px 16px; margin-bottom: 20px; border-radius: 14px; box-shadow: var(--shadow); }
.logo-tile img, .p-logo { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* ---------- logo scroll ---------- */
.logo-strip { padding: 8px 0 40px; }
.logo-strip-label { margin: 0 0 18px; font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); text-align: center; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.marquee-track { display: flex; width: max-content; animation: gloyee-marquee var(--marquee-duration, 30s) linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 16px; padding-right: 16px; }
.marquee-item { display: flex; align-items: center; justify-content: center; width: 168px; height: 72px; padding: 14px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
.marquee-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: rgba(30, 75, 255, 0.35); }
.marquee-item img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (min-width: 640px) { .marquee-item { width: 196px; height: 80px; } }
@keyframes gloyee-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .marquee-group { flex-wrap: wrap; justify-content: center; padding: 0 20px; }
}
.provider-card-arrow { color: var(--ink-muted); transition: transform 200ms ease, color 200ms ease; }
.provider-card:hover .provider-card-arrow { color: var(--brand); transform: translateX(3px); }
.provider-card-facts { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.9rem; }
.provider-card-facts div { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.provider-card-facts div + div { margin-top: 8px; }
.provider-card-facts dt { color: var(--ink-muted); flex-shrink: 0; }
.provider-card-facts dd { margin: 0; text-align: right; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.15fr 1fr; padding-top: 80px; padding-bottom: 96px; } }
.pill-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; margin-bottom: 20px; background: #fff; border: 1px solid rgba(30, 75, 255, 0.15); border-radius: 999px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.hero-title { font-size: clamp(2.25rem, 6vw, 3.6rem); line-height: 1.08; }
.hero .lead { margin-top: 24px; }
.hero-visual { position: relative; width: 100%; max-width: 440px; margin: 0 auto; }
@media (min-width: 1024px) { .hero-visual { max-width: none; } }
.hero-orbit { position: absolute; width: 480px; height: 480px; top: -64px; right: -96px; opacity: 0.9; }
.hero-card { position: relative; max-width: 380px; margin-left: auto; padding: 24px; }
.hero-card-title { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin: 0 0 20px; }
.hero-steps li { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; }
.hero-steps li + li { margin-top: 12px; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--secondary); color: var(--brand); font-family: var(--font-head); font-weight: 700; font-size: 0.75rem; }
.hero-card-foot { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--subtle); color: var(--ink-muted); font-size: 0.78rem; }
.hero-card-foot .icon { color: var(--brand); }

/* steps, countries, guides */
.step-card { position: relative; padding: 24px; }
.step-num { position: absolute; top: 14px; right: 20px; font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--subtle); }
.icon-tile { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 12px; background: var(--gradient); color: #fff; font-size: 1.2rem; }
.country-chip { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--page); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.code-tile { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(15, 30, 58, 0.08); color: var(--brand); font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; }
.code-tile-lg { width: 44px; height: 44px; background: var(--secondary); box-shadow: none; margin-bottom: 16px; }
.chip-text { display: flex; flex-direction: column; min-width: 0; }
.chip-text strong { font-family: var(--font-head); font-size: 0.9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip-text small { font-size: 0.75rem; color: var(--ink-muted); }
.country-card { display: flex; flex-direction: column; padding: 20px; }
.country-card .country-name { font-family: var(--font-head); font-size: 1.1rem; }
.country-card .text-link { margin-top: 16px; }
.guide-card { display: flex; flex-direction: column; padding: 24px; }
.guide-cat { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 0.75rem; font-weight: 600; color: var(--brand); }
.guide-card .text-link { margin-top: auto; padding-top: 20px; }

/* FAQ */
.faq-section { display: grid; gap: 40px; }
@media (min-width: 1024px) { .faq-section { grid-template-columns: 1fr 1.6fr; } }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; transition: background-color 150ms ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--subtle); }
.faq-icon { color: var(--brand); transition: transform 200ms ease; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 20px; margin: 0; color: var(--ink-muted); font-size: 0.95rem; }

/* CTA */
.cta-banner { position: relative; overflow: hidden; margin-top: 32px; padding: 56px 24px; border-radius: 24px; background: var(--ink); color: #fff; }
@media (min-width: 640px) { .cta-banner { padding: 56px 48px; } }
.cta-orbit { position: absolute; width: 420px; height: 420px; top: -96px; right: -128px; opacity: 0.4; }
.cta-copy { position: relative; max-width: 560px; }
.cta-copy h2 { color: #fff; font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.3rem); }
.cta-copy p { color: #CBD5E1; }
.cta-copy .btn { margin-top: 16px; }
.dark-box { padding: 24px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.dark-box h2, .dark-box h3 { color: #fff; }
.dark-box p { color: #CBD5E1; font-size: 0.92rem; }

/* ---------- page header ---------- */
.page-header { position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.page-header-inner { position: relative; padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 640px) { .page-header-inner { padding-top: 64px; padding-bottom: 64px; } }
.page-header-orbit { display: none; position: absolute; width: 460px; height: 460px; top: -160px; right: -160px; opacity: 0.5; }
@media (min-width: 768px) { .page-header-orbit { display: block; } }
.page-title { max-width: 820px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 20px; font-size: 0.875rem; color: var(--ink-muted); }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs .current { color: var(--ink); }
.placeholder-note { display: inline-flex; margin: 16px 0 0; padding: 4px 12px; border-radius: 999px; background: #FFFBEB; color: #92400E; font-size: 0.75rem; font-weight: 500; }

/* ---------- forms ---------- */
.form-card { padding: 24px; }
.form-lg { padding: 24px; }
@media (min-width: 640px) { .form-lg { padding: 32px; } }
.field { margin-top: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: 0.9rem; font-weight: 500; }
.field input[type="email"], .field input[type="tel"], .field input:not([type]), .field select, .filters input, .filters select {
  width: 100%; height: 44px; padding: 0 12px; background: #fff; border: 1px solid var(--input); border-radius: 10px; font-size: 0.95rem; transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field input:focus, .field select:focus, .filters input:focus, .filters select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30, 75, 255, 0.15); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin: 6px 0 0; font-size: 0.875rem; color: var(--danger); }
.consent { display: flex !important; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--subtle); cursor: pointer; font-weight: 400 !important; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--brand); }
.form-card .btn-block { margin-top: 22px; }
.success-dot { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--gradient); color: #fff; }

/* ---------- quiz ---------- */
.quiz { padding-top: 40px; padding-bottom: 40px; }
@media (min-width: 640px) { .quiz { padding-top: 56px; } }
.quiz-progress { margin-bottom: 32px; }
.quiz-progress-meta { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.9rem; }
.quiz-progress-meta strong { font-family: var(--font-head); font-weight: 600; }
.progress { height: 8px; overflow: hidden; border-radius: 999px; background: var(--line); }
.progress-fill { height: 100%; width: 0; border-radius: 999px; background: var(--gradient); transition: width 500ms ease-out; }
.quiz-title { font-size: clamp(1.5rem, 3.5vw, 1.9rem); margin-bottom: 8px; }
.options { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 640px) { .options-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.option { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 16px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease; }
@media (min-width: 640px) { .option { padding: 18px 20px; } }
.option:hover { transform: translateY(-2px); border-color: rgba(30, 75, 255, 0.5); }
.option strong { display: block; font-family: var(--font-head); font-weight: 600; }
.option small { display: block; margin-top: 2px; color: var(--ink-muted); font-size: 0.875rem; }
.option-check { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 50%; color: transparent; font-size: 0.85rem; transition: background-color 150ms ease, border-color 150ms ease; }
.option[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(30, 75, 255, 0.1); }
.option[aria-pressed="true"] .option-check { background: var(--brand); border-color: var(--brand); color: #fff; }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 32px; }

/* results */
.results { max-width: 900px; padding-top: 48px; padding-bottom: 48px; }
.alert-success { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 32px; padding: 16px; border: 1px solid #A7F3D0; border-radius: var(--radius); background: #ECFDF5; color: #065F46; font-size: 0.9rem; }
.alert-success .icon { margin-top: 3px; }
.results-list { margin-top: 32px; }
.result-card { display: flex; flex-direction: column; gap: 20px; padding: 24px; }
.result-card + .result-card { margin-top: 20px; }
@media (min-width: 768px) { .result-card { flex-direction: row; justify-content: space-between; align-items: flex-start; padding: 28px; } }
.result-card.is-top { box-shadow: 0 0 0 2px rgba(30, 75, 255, 0.7), var(--shadow); }
.result-body { flex: 1; min-width: 0; }
.result-body h2 { margin: 8px 0 4px; font-size: 1.5rem; }
.result-id { margin-top: 10px; }
.result-id h2 { margin: 0; }
.rank { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--secondary); color: var(--brand); font-family: var(--font-head); font-weight: 700; font-size: 0.75rem; }
.rank-top { background: var(--gradient); color: #fff; }
.why { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--subtle); font-size: 0.9rem; }
.result-facts { display: grid; gap: 8px; margin: 16px 0 0; font-size: 0.9rem; }
@media (min-width: 640px) { .result-facts { grid-template-columns: 1fr 1fr; } }
.result-facts div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.result-facts dt { color: var(--ink-muted); }
.result-facts dd { margin: 0; }
.result-actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
@media (min-width: 640px) and (max-width: 767px) { .result-actions { flex-direction: row; } }

/* ---------- compare & tables ---------- */
.filters { display: grid; gap: 12px; margin-bottom: 24px; padding: 16px; }
@media (min-width: 640px) { .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.filters input, .filters select { height: 40px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table th { padding: 12px 14px; background: #F8FAFC; border-bottom: 1px solid var(--line); text-align: left; font-weight: 600; color: var(--ink); white-space: nowrap; }
.table td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table td.wrap, .table td:last-child { min-width: 200px; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background-color 150ms ease; }
.table tbody tr:hover { background: #FAFCFF; }
.table tr.is-selected { background: rgba(238, 244, 255, 0.7); }
.table a:hover { color: var(--brand); }
.cmp-check { width: 18px; height: 18px; accent-color: var(--brand); cursor: pointer; }
.empty-box { padding: 32px; text-align: center; color: var(--ink-muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.cmp-grid[data-count="2"], .cmp-grid[data-count="3"], .cmp-grid[data-count="4"] { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cmp-grid[data-count="2"], .cmp-grid[data-count="3"], .cmp-grid[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cmp-grid[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cmp-grid[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cmp-card { display: flex; flex-direction: column; padding: 20px; animation: gloyee-fade-up 300ms ease both; }
.cmp-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.cmp-card-head h3 { margin: 0; }
.cmp-card dl { margin: 0; font-size: 0.9rem; }
.cmp-card dl div + div { margin-top: 12px; }
.cmp-card dt { margin-bottom: 4px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-muted); }
.cmp-card dd { margin: 0; }
.cmp-actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 20px; }

/* ---------- detail pages ---------- */
.two-col { display: grid; gap: 40px; }
@media (min-width: 1024px) { .two-col { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } .sticky-aside { position: sticky; top: 96px; align-self: start; } }
.icon-list li { display: flex; gap: 10px; font-size: 0.92rem; }
.icon-list li + li { margin-top: 12px; }
.icon-list .ok { color: #059669; margin-top: 2px; }
.icon-list .no { color: #94A3B8; margin-top: 2px; }
.highlight-box { padding: 20px; border-radius: var(--radius); background: var(--subtle); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 0.875rem; transition: border-color 150ms ease, color 150ms ease; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.facts { margin: 0; font-size: 0.9rem; }
.facts div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.facts div + div { border-top: 1px solid var(--line); }
.facts dt { color: var(--ink-muted); }
.facts dd { margin: 0; }
.answer-box { padding: 24px; background: #fff; border-left: 4px solid var(--brand); border-radius: var(--radius); box-shadow: var(--shadow); }
.answer-box p:last-child { margin: 0; }
.note-list li { display: flex; gap: 12px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink-muted); font-size: 0.9rem; }
.note-list li + li { margin-top: 12px; }
.note-list .icon { color: var(--brand); margin-top: 3px; }
.weight-row { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .weight-row { flex-direction: row; align-items: center; } .weight-meta { width: 210px; flex-shrink: 0; } }
.weight-meta strong { display: block; margin-bottom: 8px; font-family: var(--font-head); font-size: 1.05rem; }
.weight-meta small { display: block; margin-top: 4px; font-size: 0.75rem; }
.weight-row p { margin: 0; }
.contact-grid { display: grid; gap: 40px; max-width: 1000px; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }

/* prose (editor content) */
.prose { color: var(--ink-muted); line-height: 1.75; }
.prose h2 { margin-top: 40px; font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 24px; }
.prose ul { margin: 0 0 1em; padding-left: 20px; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand); text-decoration: underline; }
.prose + .section-sm, article .section-sm { padding-bottom: 32px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
