/* OSP Web Hosting — brand styles (colours from the OSP logo) */
:root {
  --blue: #0078C0;          /* logo blue */
  --blue-700: #00609C;
  --blue-50: #EAF4FB;
  --blue-100: #D4E9F7;
  --green: #00813A;         /* logo green, darkened for readable buttons */
  --green-700: #006B30;
  --green-brand: #009040;   /* exact logo green, for icons and accents */
  --green-50: #E7F5ED;
  --red: #E81820;           /* logo red, for small accents only */
  --red-text: #C8102E;
  --navy: #06213F;
  --navy-2: #0B2E55;
  --navy-3: #12396A;
  --line-dark: #22466F;
  --ink: #0E1C2F;
  --ink-2: #26364B;
  --muted: #4A5A70;
  --muted-light: #A7B7CC;
  --on-dark: #CAD7E8;
  --bg-soft: #F5F8FC;
  --line: #DDE5EF;
  --ok: #00813A;
  --bad: #C8102E;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(6,33,63,0.06), 0 1px 3px rgba(6,33,63,0.08);
  --shadow-md: 0 10px 30px rgba(6,33,63,0.10);
  --shadow-lg: 0 24px 60px rgba(6,33,63,0.18);
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Space Grotesk", Inter, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -0.015em; color: inherit; }
p { margin: 0; }
a { color: var(--blue-700); }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 22px; border-radius: 10px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; text-align: center; line-height: 1.2; transition: background-color .15s, border-color .15s, color .15s, transform .1s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(0,129,58,0.25); }
.btn-accent:hover { background: var(--green-700); color: #fff; }
.btn-primary, .btn-dark { background: var(--blue); color: #fff; }
.btn-primary:hover, .btn-dark:hover { background: var(--blue-700); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue-700); background: #fff; }
.btn-outline:hover { background: var(--blue-50); color: var(--blue-700); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-50); color: var(--navy); }
.btn-ghost-light { border-color: rgba(255,255,255,0.55); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }
.btn-danger { background: var(--bad); color: #fff; }
.btn-small { min-height: 38px; padding: 8px 14px; font-size: 14px; }
.btn-large { min-height: 54px; padding: 15px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-link { background: none; border: 0; padding: 0; font: inherit; color: var(--blue-700); text-decoration: underline; cursor: pointer; }
.btn-link-light { color: #fff; }
.btn[disabled], .btn.is-loading { opacity: .8; cursor: progress; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; display: inline-block; animation: spin .7s linear infinite; flex: 0 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: var(--on-dark); font-size: 14px; }
.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 7px; padding-bottom: 7px; }
.topbar-contact, .topbar-actions { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.topbar-contact svg { vertical-align: -3px; margin-right: 6px; }
.country-form { display: flex; gap: 8px; align-items: center; }
.country-form select { font: inherit; font-size: 14px; background: var(--navy-2); color: #fff; border: 1px solid var(--line-dark); border-radius: 6px; padding: 5px 8px; min-height: 34px; }
.site-header { background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.4) blur(8px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.logo img { width: 52px; height: 52px; display: block; }
.logo-words { display: flex; flex-direction: column; line-height: 1.05; }
.logo-words strong { font-family: var(--font-head); font-size: 21px; color: var(--blue); letter-spacing: -0.01em; }
.logo-words span { font-size: 13px; font-weight: 600; color: var(--green-brand); letter-spacing: 0.02em; }
.logo:hover { color: var(--navy); }
.nav-links { display: flex; align-items: center; gap: 4px 26px; flex-wrap: wrap; }
.nav-links > a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-links > a:hover { color: var(--blue); }
.nav-links > a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.nav-auth { display: flex; gap: 10px; align-items: center; }
.nav-auth .btn { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.nav-toggle { display: none; background: #fff; border: 1px solid var(--line); color: var(--navy); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; }
.mobile-auth { display: none; }
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 6px 0 10px; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 13px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-links > a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav-auth { padding-top: 12px; }
  .nav-auth .btn { flex: 1 1 0; min-height: 48px; }
  .mobile-auth { display: flex; gap: 8px; margin-left: auto; }
  .mobile-auth .btn { min-height: 40px; padding: 8px 14px; font-size: 14px; }
}
@media (max-width: 520px) {
  .logo img { width: 44px; height: 44px; }
  .logo-words strong { font-size: 18px; }
  .mobile-auth .btn-outline { display: none; }
  .topbar-contact a:nth-child(2) { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-blue { background: var(--blue-50); }
.section-dark { background: var(--navy); color: #fff; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 740px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.section-head-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.section-head-row .section-head { margin-bottom: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; font-size: 13.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--red); }
.section-dark .eyebrow, .hero .eyebrow { color: #7FC4F0; }
.h2 { font-size: clamp(28px, 4vw, 42px); color: var(--navy); }
.section-dark .h2 { color: #fff; }
.lead { font-size: 18px; line-height: 1.65; color: var(--muted); }
.section-dark .lead { color: var(--on-dark); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, #0F4C86 0%, rgba(15,76,134,0) 60%), var(--navy); color: #fff; padding: 76px 0 88px; }
.hero-orbits { position: absolute; right: -140px; top: -80px; width: 760px; height: 760px; opacity: .55; pointer-events: none; }
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-orbits { width: 520px; height: 520px; right: -220px; } }
.hero-inner { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.06; letter-spacing: -0.025em; }
.hero h1 .hl { color: #5BD08A; }
.hero .lead { color: var(--on-dark); font-size: 19px; max-width: 640px; }
.hero-small { padding: 60px 0 64px; }
.hero-small h1 { font-size: clamp(30px, 4.4vw, 48px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.signup-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 18px; border-top: 5px solid var(--green-brand); }
.signup-card h2 { font-size: 24px; color: var(--navy); }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: step; }
.steps li { display: flex; gap: 14px; align-items: flex-start; counter-increment: step; }
.steps li::before { content: counter(step); flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--blue-50); color: var(--blue-700); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steps strong { display: block; color: var(--navy); }
.steps span { color: var(--muted); font-size: 14.5px; }
.signup-card .small-print { font-size: 14px; color: var(--muted); text-align: center; }

.domain-form { background: #fff; border-radius: 14px; padding: 8px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 760px; box-shadow: var(--shadow-lg); }
.domain-form input { flex: 1 1 280px; min-width: 0; font: inherit; font-size: 18px; color: var(--ink); border: 0; padding: 14px 16px; border-radius: 10px; background: var(--bg-soft); }
.domain-form input:focus { outline: 2px solid var(--blue); background: #fff; }
.domain-form .btn { flex: 0 0 auto; font-size: 17px; min-height: 54px; padding: 14px 28px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chip { border: 1px solid rgba(255,255,255,0.28); border-radius: 999px; padding: 6px 14px; color: #fff; font-size: 14.5px; text-decoration: none; background: rgba(255,255,255,0.04); }
.chip:hover { color: #fff; border-color: #fff; }
.chip-dark { color: var(--on-dark); border-color: var(--line-dark); font-size: 14px; padding: 8px 14px; }
.hero-chips { color: var(--on-dark); font-size: 15px; }

/* Trust strip */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; padding: 28px 0; }
.trust { display: flex; gap: 14px; align-items: flex-start; }
.trust strong { display: block; font-weight: 700; color: var(--navy); }
.trust span { color: var(--muted); font-size: 14.5px; }
.icon-circle { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--blue-50); color: var(--blue); }
.icon-circle.green { background: var(--green-50); color: var(--green-brand); }
.icon-circle.red { background: #FDECEC; color: var(--red-text); }

/* ---------- Cards & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.card h3 { font-size: 19px; color: var(--navy); }
.card p { color: var(--muted); line-height: 1.6; }
.feature-card .icon-circle { margin-bottom: 4px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.plan:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.plan-featured { border: 2px solid var(--green-brand); box-shadow: var(--shadow-md); }
.plan-tag { position: absolute; top: -14px; left: 32px; background: var(--green); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 999px; letter-spacing: .02em; }
.plan h3 { font-size: 26px; color: var(--navy); }
.plan-blurb { color: var(--muted); min-height: 50px; }
.plan-price { font-family: var(--font-head); font-size: clamp(30px, 3vw, 38px); font-weight: 700; letter-spacing: -0.02em; color: var(--navy); }
.plan-price small { white-space: nowrap; font-family: var(--font); font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-sub { color: var(--muted); font-size: 15px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; color: var(--ink-2); font-size: 15px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; flex: 0 0 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--green-50) no-repeat center/13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23009040' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E"); }
.section-dark .plan { background: var(--navy-2); border-color: var(--line-dark); color: #fff; box-shadow: none; }
.section-dark .plan h3, .section-dark .plan-price { color: #fff; }
.section-dark .plan-featured { border-color: #5BD08A; }
.section-dark .plan-blurb, .section-dark .plan-sub, .section-dark .plan-price small { color: var(--on-dark); }
.section-dark .ticks { color: #E3EAF4; }
.section-dark .ticks li::before { background-color: rgba(91,208,138,0.15); }
.cycle-toggle { display: inline-flex; background: #E6EDF6; border-radius: 12px; padding: 4px; gap: 4px; }
.cycle-toggle a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 16px; border-radius: 9px; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-2); }
.cycle-toggle a[aria-current="true"] { background: #fff; color: var(--blue-700); box-shadow: var(--shadow-sm); }
.cycle-toggle .save { background: var(--green-50); color: var(--green); font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 8px; }
.section-dark .cycle-toggle { background: var(--navy-2); }
.section-dark .cycle-toggle a { color: var(--on-dark); }
.section-dark .cycle-toggle a[aria-current="true"] { background: #fff; color: var(--navy); }
.note { color: var(--muted); font-size: 15px; margin-top: 22px; }
.section-dark .note { color: var(--on-dark); }

.pay-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 12px 18px; font-weight: 600; box-shadow: var(--shadow-sm); }
.pay-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-brand); }
.split { display: flex; flex-wrap: wrap; gap: 44px; align-items: center; justify-content: space-between; }
.split > * { flex: 1 1 420px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tld-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow-sm); }
.tld-card .tld { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--blue); }
.tld-card .price { font-size: 19px; font-weight: 700; color: var(--navy); }
.tld-card .small { color: var(--muted); font-size: 14px; }

/* Domain search results */
.results { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; max-width: 760px; }
.result { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; box-shadow: var(--shadow-sm); }
.result-name { font-weight: 700; font-size: 18px; word-break: break-all; color: var(--navy); }
.result-status { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.result-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.result-status.available { color: var(--ok); }
.result-status.taken { color: var(--bad); }
.result-status.unknown { color: var(--muted); }
.skeleton { background: linear-gradient(90deg, #EEF2F7 25%, #F7F9FC 37%, #EEF2F7 63%); background-size: 400% 100%; animation: shimmer 1.3s ease infinite; border-radius: 8px; }
.skeleton-line { height: 14px; margin: 6px 0; }
.result.is-skeleton { min-height: 72px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; background: #fff; box-shadow: var(--shadow-sm); }
.faq details[open] { border-color: var(--blue-100); }
.faq summary { font-weight: 600; font-size: 17px; cursor: pointer; color: var(--navy); }
.faq details p { margin-top: 12px; color: var(--muted); line-height: 1.65; }

/* CTA band */
.cta-band { background: linear-gradient(100deg, var(--blue) 0%, var(--blue-700) 100%); padding: 64px 0; color: #fff; }
.cta-band .split h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); flex: 1 1 520px; }
.cta-band .split > .row { flex: 0 0 auto; }

/* Prose */
.prose { max-width: 820px; }
.prose h2 { font-size: 24px; margin: 32px 0 10px; color: var(--navy); }
.prose p, .prose li { color: var(--ink-2); line-height: 1.75; }
.prose p + p { margin-top: 12px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--muted-light); padding: 64px 0 28px; font-size: 15px; border-top: 4px solid var(--blue); }
.site-footer a { color: var(--muted-light); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 20px; font-weight: 700; color: #fff; }
.footer-brand img { width: 48px; height: 48px; }
.footer-title { color: #fff; font-weight: 600; margin-bottom: 4px; }
.footer-countries { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 36px; padding-top: 20px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(0,0,0,0.25); z-index: 60; transition: transform .15s; }
.whatsapp-float:hover { transform: scale(1.06); }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 15px; color: var(--ink-2); }
.field .hint { color: var(--muted); font-size: 13.5px; }
.input, .field input, .field select, .field textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid #BDC9D8; border-radius: 10px; padding: 11px 14px; min-height: 48px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,120,192,0.15); outline: none; }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.field-msg { font-size: 13.5px; font-weight: 600; min-height: 1em; }
.field-msg.ok { color: var(--ok); }
.field-msg.bad { color: var(--bad); }
.input-wrap { position: relative; }
.input-wrap input { padding-right: 76px; }
.reveal-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: var(--bg-soft); border: 0; border-radius: 8px; padding: 7px 10px; font: inherit; font-size: 13px; font-weight: 600; color: var(--blue-700); cursor: pointer; min-height: 36px; }
.pw-meter { height: 6px; border-radius: 999px; background: #E6EDF6; overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; background: var(--bad); transition: width .2s, background-color .2s; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: 0 0 auto; }
.choice-list { display: grid; gap: 10px; }
.choice { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; background: #fff; }
.choice:has(input:checked) { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 1px var(--blue); }
.choice input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); }
.choice strong { display: block; color: var(--navy); }
.choice span { color: var(--muted); font-size: 14px; }
.auth-wrap { min-height: 72vh; display: flex; align-items: center; justify-content: center; padding: 56px 20px; background: radial-gradient(900px 400px at 100% 0%, var(--blue-50), transparent 60%), var(--bg-soft); }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 38px; width: 100%; max-width: 540px; display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow-md); border-top: 5px solid var(--blue); }
.auth-card h1 { font-size: 30px; color: var(--navy); }
.auth-card .muted { color: var(--muted); }
.auth-logo { width: 64px; height: 64px; }
.auth-perks { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.auth-perks span::before { content: "✓ "; color: var(--green-brand); font-weight: 700; }
.flash-wrap { padding-top: 20px; }
.alert { border-radius: 10px; padding: 14px 18px; margin-bottom: 12px; font-weight: 500; border: 1px solid; }
.alert-success { background: #E9F6EE; border-color: #9FD3B3; color: #0F4D27; }
.alert-error { background: #FDECEE; border-color: #F2AEB7; color: #7A0E1D; }
.alert-info { background: var(--blue-50); border-color: #A9D2EE; color: #0B3D64; }
.alert-warning { background: #FFF5E6; border-color: #F3CD8F; color: #6E4106; }

/* ---------- App (client & admin) ---------- */
.app-body { background: var(--bg-soft); }
.app-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.app-header-admin { background: var(--navy); border-bottom-color: var(--navy); }
.app-header-inner { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 24px; }
.app-header .logo img { width: 42px; height: 42px; }
.app-header-admin .logo-words strong { color: #fff; }
.app-header-admin .logo-words span { color: #5BD08A; }
.app-user { display: flex; gap: 18px; align-items: center; font-size: 15px; color: var(--ink-2); }
.app-header-admin .app-user, .app-header-admin .app-user a, .app-header-admin .btn-link { color: #fff; }
.app-shell { display: flex; flex-wrap: wrap; min-height: calc(100vh - 64px); }
.app-nav { flex: 1 1 220px; max-width: 260px; background: #fff; border-right: 1px solid var(--line); padding: 20px 12px; display: flex; flex-direction: column; gap: 2px; }
.app-nav a { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 11px 14px; border-radius: 9px; font-weight: 600; color: var(--ink-2); }
.app-nav a svg { flex: 0 0 18px; color: var(--muted); }
.app-nav a:hover { background: var(--bg-soft); color: var(--blue-700); }
.app-nav a[aria-current="page"] { background: var(--blue-50); color: var(--blue-700); }
.app-nav a[aria-current="page"] svg { color: var(--blue); }
.app-nav .nav-sep { height: 1px; background: var(--line); margin: 10px 6px; }
.app-main { flex: 999 1 560px; min-width: 0; padding: 32px; display: flex; flex-direction: column; gap: 24px; max-width: 1240px; }
@media (max-width: 760px) {
  .app-nav { max-width: none; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px; gap: 4px; }
  .app-nav a { white-space: nowrap; padding: 9px 12px; }
  .app-nav .nav-sep { display: none; }
  .app-main { padding: 20px 16px; }
  .app-user .hide-sm { display: none; }
}
.page-title { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.page-title h1 { font-size: 28px; color: var(--navy); }
.welcome { background: linear-gradient(110deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; border-radius: 18px; padding: 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.welcome h1 { font-size: 28px; }
.welcome p { color: var(--on-dark); margin-top: 6px; }
.quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.quick { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; text-decoration: none; color: var(--navy); font-weight: 700; box-shadow: var(--shadow-sm); transition: box-shadow .15s, border-color .15s, transform .15s; }
.quick:hover { border-color: var(--blue-100); box-shadow: var(--shadow-md); color: var(--blue-700); transform: translateY(-2px); }
.quick small { display: block; font-weight: 500; color: var(--muted); font-size: 13.5px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-sm); }
.panel h2 { font-size: 20px; color: var(--navy); }
.panel-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--blue); }
.stat:nth-child(2) { border-left-color: var(--green-brand); }
.stat:nth-child(3) { border-left-color: var(--red); }
.stat .num { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--navy); }
.stat .label { color: var(--muted); font-size: 14px; }
.table-box { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--bg-soft); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #FAFCFE; }
.table .num-col { text-align: right; white-space: nowrap; }
.empty { color: var(--muted); padding: 28px; text-align: center; }
.badge { display: inline-block; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.badge-ok { background: var(--green-50); color: #0F5A2C; }
.badge-warn { background: #FFF1D6; color: #6E4106; }
.badge-bad { background: #FDE3E6; color: #7A0E1D; }
.badge-muted { background: #E9EEF4; color: #3B4A5E; }
.dl { display: grid; grid-template-columns: minmax(140px, 200px) 1fr; gap: 10px 20px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 500; word-break: break-word; }
.ns-box { display: flex; flex-wrap: wrap; gap: 10px; }
.ns { display: inline-flex; align-items: center; gap: 10px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 8px 8px 8px 14px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; }
.copy-btn { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font: inherit; font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--blue-700); cursor: pointer; }
.msg { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: #fff; }
.msg-staff { background: var(--blue-50); border-color: #BFDDF2; }
.msg-head { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.msg-body { white-space: pre-wrap; line-height: 1.6; }
.invoice-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.invoice-head { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.invoice-head img { width: 64px; height: 64px; }
.total-row td { font-weight: 700; font-size: 17px; }
.pay-box { border: 2px solid var(--green-brand); }
.summary { position: sticky; top: 90px; }
.summary-lines { display: flex; flex-direction: column; gap: 10px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.summary-total { display: flex; justify-content: space-between; gap: 12px; font-size: 20px; font-weight: 700; color: var(--navy); border-top: 1px solid var(--line); padding-top: 12px; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
@media (max-width: 980px) { .order-layout { grid-template-columns: minmax(0, 1fr); } .summary { position: static; } }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.filters .field { min-width: 180px; }
.pager { display: flex; gap: 12px; align-items: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mt { margin-top: 16px; }
@media print {
  .app-header, .app-nav, .no-print, .whatsapp-float { display: none !important; }
  .app-main { padding: 0; }
  .invoice-box { border: 0; }
}
.summary-line strong { white-space: nowrap; }
.hero-grid { align-items: start; }
@media (min-width: 981px) { .hero .signup-card { margin-top: 40px; } }
