/* Four Star Host — shared stylesheet. No framework, no build step. */
:root{
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px; --radius-lg: 22px;
  --maxw: 1180px;
  --gold: #f5b301; --gold-600: #d99a00;
  /* light theme */
  --bg: #f7f8fb; --bg-alt: #eef1f7; --surface: #ffffff; --surface-2: #f2f4f9;
  --text: #121a2b; --muted: #536079; --border: #dfe4ee;
  --primary: #1d4ed8; --primary-600: #1e40af; --primary-contrast: #ffffff;
  --accent: var(--gold); --accent-text: #1a1300;
  --hero-from: #0b1630; --hero-to: #1b2f63; --hero-text: #f4f6fb; --hero-muted: #c2cbe0;
  --ok: #0f9d58; --danger: #c62828;
  --shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px rgba(16,24,40,.08);
  --shadow-lg: 0 18px 48px rgba(16,24,40,.16);
  color-scheme: light;
}
:root[data-theme="dark"]{
  --bg: #0b1020; --bg-alt: #0f1629; --surface: #131b31; --surface-2: #182241;
  --text: #e8ecf5; --muted: #a3afc6; --border: #26314f;
  --primary: #6ea0ff; --primary-600: #8fb5ff; --primary-contrast: #0b1020;
  --hero-from: #070c1a; --hero-to: #142450; --hero-text: #f4f6fb; --hero-muted: #b4bfd8;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  --shadow-lg: 0 18px 48px rgba(0,0,0,.5);
  color-scheme: dark;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{margin:0;font-family:var(--font);font-size:1.0625rem;line-height:1.65;color:var(--text);background:var(--bg);transition:background-color .2s,color .2s}
img{max-width:100%;height:auto;display:block}
a{color:var(--primary);text-underline-offset:3px}
a:hover{color:var(--primary-600)}
h1,h2,h3,h4{font-family:var(--font-display);line-height:1.15;letter-spacing:-.02em;margin:0 0 .6em}
h1{font-size:clamp(2.1rem,5.2vw,3.6rem);font-weight:800}
h2{font-size:clamp(1.65rem,3.4vw,2.5rem);font-weight:800}
h3{font-size:1.25rem;font-weight:700}
p{margin:0 0 1em}
.container{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:20px}
.skip-link{position:absolute;left:-999px;top:8px;background:var(--accent);color:var(--accent-text);padding:.6em 1em;border-radius:8px;z-index:100;font-weight:700}
.skip-link:focus{left:8px}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:6px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Top bar + header */
.topbar{background:var(--hero-from);color:var(--hero-muted);font-size:.875rem}
.topbar .container{display:flex;gap:1rem;justify-content:space-between;align-items:center;min-height:38px;flex-wrap:wrap}
.topbar a{color:var(--hero-text);text-decoration:none;font-weight:600}
.topbar a:hover{color:var(--gold)}
.site-header{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--surface) 88%,transparent);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--border)}
.header-inner{display:flex;align-items:center;gap:1rem;min-height:72px}
.brand{display:flex;align-items:center;flex-shrink:0;text-decoration:none}
.brand img{height:52px;width:auto}
.nav{margin-left:auto}
.nav ul{list-style:none;margin:0;padding:0;display:flex;gap:.25rem;align-items:center}
.nav a{display:block;padding:.55rem .8rem;border-radius:10px;color:var(--text);text-decoration:none;font-weight:600;font-size:.98rem}
.nav a:hover{background:var(--surface-2);color:var(--text)}
.nav a[aria-current="page"]{color:var(--primary);background:var(--surface-2)}
.header-actions{display:flex;align-items:center;gap:.5rem}
.theme-toggle,.nav-toggle{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;padding:0}
.theme-toggle:hover,.nav-toggle:hover{background:var(--surface-2)}
.theme-toggle svg,.nav-toggle svg{width:22px;height:22px}
.theme-toggle .icon-sun{display:none}
:root[data-theme="dark"] .theme-toggle .icon-sun{display:block}
:root[data-theme="dark"] .theme-toggle .icon-moon{display:none}
.nav-toggle{display:none}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;padding:.8em 1.35em;border-radius:12px;font-weight:700;text-decoration:none;border:2px solid transparent;cursor:pointer;font-size:1rem;line-height:1.2;transition:transform .12s,background-color .15s,box-shadow .15s}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--accent);color:var(--accent-text)}
.btn-primary:hover{background:var(--gold-600);color:var(--accent-text)}
.btn-blue{background:var(--primary);color:var(--primary-contrast)}
.btn-blue:hover{background:var(--primary-600);color:var(--primary-contrast)}
.btn-ghost{border-color:var(--border);color:var(--text);background:transparent}
.btn-ghost:hover{background:var(--surface-2);color:var(--text)}
.hero .btn-ghost{border-color:rgba(255,255,255,.35);color:var(--hero-text)}
.hero .btn-ghost:hover{background:rgba(255,255,255,.1);color:#fff}
.btn-sm{padding:.55em 1em;font-size:.92rem}
.btn-block{width:100%}

@media (max-width: 960px){
  .nav-toggle{display:inline-grid}
  .nav{position:absolute;left:0;right:0;top:100%;background:var(--surface);border-bottom:1px solid var(--border);box-shadow:var(--shadow);display:none;margin:0}
  .nav.open{display:block}
  .nav ul{flex-direction:column;align-items:stretch;padding:.75rem 20px 1rem}
  .nav a{padding:.8rem .75rem}
  .header-actions{margin-left:auto}
  .brand img{height:44px}
}

/* Hero */
.hero{background:radial-gradient(1200px 500px at 85% -10%,rgba(245,179,1,.18),transparent 60%),linear-gradient(135deg,var(--hero-from),var(--hero-to));color:var(--hero-text);padding:clamp(56px,9vw,112px) 0 clamp(56px,8vw,96px);position:relative;overflow:hidden}
.hero h1{color:#fff}
.hero p.lead{color:var(--hero-muted);font-size:clamp(1.05rem,2vw,1.3rem);max-width:40ch}
.hero-grid{display:grid;gap:2.5rem;align-items:center}
@media (min-width: 900px){.hero-grid{grid-template-columns:1.1fr .9fr}}
@media (max-width: 899px){.hero-art{max-height:220px}}
.split>*{min-width:0}
.hero-grid>*{min-width:0}
.hero-art{justify-self:center;width:auto;max-width:min(100%,420px);max-height:440px;object-fit:contain;filter:drop-shadow(0 30px 60px rgba(0,0,0,.35))}
.eyebrow{display:inline-flex;align-items:center;gap:.5em;font-size:.8rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--primary);margin-bottom:.9rem}
.hero .eyebrow{color:var(--gold)}
.hero-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.5rem}
.hero-badges{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin:1.75rem 0 0;padding:0;list-style:none;color:var(--hero-muted);font-size:.95rem}
.hero-badges li::before{content:"✓";color:var(--gold);font-weight:800;margin-right:.4em}
.page-hero{padding:clamp(48px,7vw,84px) 0}
.page-hero p.lead{max-width:60ch}

/* Domain search */
.domain-search{background:var(--surface);color:var(--text);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);padding:1.25rem;margin-top:2rem;max-width:640px}
.domain-search label{font-weight:700;display:block;margin-bottom:.5rem}
.domain-search .row{display:flex;gap:.5rem;flex-wrap:wrap}
.domain-search input{flex:1 1 240px}
.tld-list{display:flex;flex-wrap:wrap;gap:.4rem .9rem;margin:.85rem 0 0;padding:0;list-style:none;font-size:.92rem;color:var(--muted)}
.tld-list strong{color:var(--text)}
input,textarea,select{font:inherit;color:var(--text);background:var(--surface);border:1.5px solid var(--border);border-radius:12px;padding:.8em 1em;width:100%;min-height:48px}
input:focus,textarea:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 4px color-mix(in srgb,var(--primary) 22%,transparent)}

/* Sections */
.section{padding:clamp(56px,8vw,96px) 0}
.section.alt{background:var(--bg-alt)}
.section-head{max-width:720px;margin:0 auto 2.75rem;text-align:center}
.section-head p{color:var(--muted);font-size:1.1rem}
.grid{display:grid;gap:1.25rem}
.grid-2{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr))}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr))}
.grid-4{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow)}
.card h3{margin-bottom:.4rem}
.card p{color:var(--muted);margin:0}
.card .icon{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,var(--primary) 14%,transparent);color:var(--primary);margin-bottom:1rem}
.card .icon svg{width:24px;height:24px}
a.card{text-decoration:none;color:inherit;transition:transform .15s,box-shadow .15s}
a.card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);color:inherit}
.split{display:grid;gap:2.5rem;align-items:center}
@media (min-width: 900px){.split{grid-template-columns:1fr 1fr}.split.reverse>:first-child{order:2}}
.split img{border-radius:var(--radius-lg);box-shadow:var(--shadow)}
.checklist{list-style:none;padding:0;margin:1rem 0}
.checklist li{position:relative;padding-left:1.9em;margin:.55em 0}
.checklist li::before{content:"";position:absolute;left:0;top:.3em;width:1.2em;height:1.2em;border-radius:50%;background:color-mix(in srgb,var(--ok) 18%,transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f9d58' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/70% no-repeat}

/* Pricing */
.billing-switch{display:inline-flex;padding:4px;border-radius:999px;background:var(--surface);border:1px solid var(--border);margin:0 auto 2rem;box-shadow:var(--shadow)}
.billing-switch button{font:inherit;font-weight:700;border:0;background:transparent;color:var(--muted);padding:.55em 1.2em;border-radius:999px;cursor:pointer;min-height:40px}
.billing-switch button[aria-pressed="true"]{background:var(--primary);color:var(--primary-contrast)}
.billing-switch .save{font-size:.78em;color:var(--ok);margin-left:.35em}
.billing-switch button[aria-pressed="true"] .save{color:inherit;opacity:.9}
.center{text-align:center}
.pricing{display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));align-items:stretch}
.plan{position:relative;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.75rem;box-shadow:var(--shadow)}
.plan.featured{border:2px solid var(--primary);box-shadow:var(--shadow-lg)}
.plan .badge{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:var(--accent);color:var(--accent-text);font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:.35em .9em;border-radius:999px;white-space:nowrap}
.plan h3{font-size:1.3rem;margin-bottom:.25rem}
.plan .tagline{color:var(--muted);font-size:.95rem;margin:0 0 1rem}
.price{display:flex;align-items:baseline;gap:.35rem;margin:.25rem 0 .15rem}
.price .amount{font-family:var(--font-display);font-size:2.75rem;font-weight:800;letter-spacing:-.03em;line-height:1}
.price .per{color:var(--muted);font-weight:600}
.price-note{color:var(--muted);font-size:.88rem;min-height:1.4em;margin:0 0 1.1rem}
.plan .checklist{margin:1.1rem 0 1.5rem;font-size:.96rem;flex:1}
.plan .checklist li{margin:.4em 0}
.plan .btn{margin-top:auto}
[data-cycle="yearly"] .show-monthly, [data-cycle="monthly"] .show-yearly{display:none}
.fineprint{color:var(--muted);font-size:.88rem;margin-top:1.5rem;text-align:center}

/* Domain price strip */
.tld-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.75rem}
.tld{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem;text-align:center}
.tld b{display:block;font-family:var(--font-display);font-size:1.35rem}
.tld span{color:var(--muted);font-size:.95rem}

/* Stats, testimonials */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;text-align:center}
.stat b{display:block;font-family:var(--font-display);font-size:2.25rem;color:var(--primary)}
.stat span{color:var(--muted)}
blockquote.quote{margin:0}
.quote p{color:var(--text);font-size:1.05rem}
.quote footer{color:var(--muted);font-size:.95rem;margin-top:.75rem}
.quote footer strong{color:var(--text)}
.stars{color:var(--gold);letter-spacing:.1em;margin-bottom:.5rem}

/* FAQ */
.faq{max-width:820px;margin:0 auto}
.faq details{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:.75rem;box-shadow:var(--shadow)}
.faq summary{cursor:pointer;font-weight:700;padding:1.1rem 3rem 1.1rem 1.25rem;position:relative;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:1.25rem;top:50%;transform:translateY(-50%);font-size:1.5rem;color:var(--primary);font-weight:400}
.faq details[open] summary::after{content:"–"}
.faq details>div{padding:0 1.25rem 1.1rem;color:var(--muted)}

/* CTA band */
.cta-band{background:linear-gradient(135deg,var(--hero-from),var(--hero-to));color:var(--hero-text);border-radius:var(--radius-lg);padding:clamp(28px,5vw,56px);display:grid;gap:1.25rem;align-items:center}
@media (min-width: 800px){.cta-band{grid-template-columns:1fr auto}}
.cta-band h2{color:#fff;margin-bottom:.3em}
.cta-band p{color:var(--hero-muted);margin:0}

/* Notices, promo */
.notice{border:1px solid var(--border);border-left:5px solid var(--accent);background:var(--surface);border-radius:var(--radius);padding:1rem 1.25rem;box-shadow:var(--shadow)}
.notice.info{border-left-color:var(--primary)}
.code-chip{display:inline-block;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:800;background:var(--surface-2);border:1.5px dashed var(--accent);color:var(--text);padding:.25em .7em;border-radius:8px;letter-spacing:.04em}
.hero .code-chip{background:rgba(255,255,255,.08);color:#fff}
.promo-img{border-radius:var(--radius-lg);box-shadow:var(--shadow)}
.logo-row{display:flex;flex-wrap:wrap;gap:1.5rem 2.5rem;align-items:center;justify-content:center}
.logo-row img{height:32px;width:auto;background:#fff;padding:6px 10px;border-radius:8px}

/* Forms */
.form-grid{display:grid;gap:1rem}
@media (min-width: 700px){.form-grid{grid-template-columns:1fr 1fr}.form-grid .full{grid-column:1/-1}}
.field label{display:block;font-weight:700;margin-bottom:.35rem}
.field .hint{color:var(--muted);font-size:.85rem}
.req{color:var(--danger)}
.hp{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
.form-status{margin-top:1rem;font-weight:600}
.form-status.ok{color:var(--ok)}.form-status.err{color:var(--danger)}
.field-error{color:var(--danger);font-size:.88rem;margin-top:.3rem}
[aria-invalid="true"]{border-color:var(--danger)}

/* Password generator */
.pw-output{display:flex;gap:.5rem}
.pw-output input{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:1.15rem}
.pw-options{display:flex;flex-wrap:wrap;gap:.75rem 1.5rem;margin:1.25rem 0}
.pw-options label{display:flex;gap:.5rem;align-items:center;font-weight:600}
.pw-options input[type=checkbox]{width:20px;height:20px;min-height:0}
input[type=range]{padding:0;min-height:0;border:0;background:transparent;accent-color:var(--primary)}
.strength{height:8px;border-radius:99px;background:var(--surface-2);overflow:hidden;margin-top:.75rem}
.strength span{display:block;height:100%;width:0;background:var(--ok);transition:width .2s}

/* Prose (privacy) */
.prose{max-width:760px;margin:0 auto}
.prose h2{font-size:1.5rem;margin-top:2rem}
.prose p,.prose li{color:var(--text)}

/* Footer */
.site-footer{background:var(--hero-from);color:var(--hero-muted);padding:56px 0 28px;margin-top:0}
.site-footer a{color:var(--hero-text);text-decoration:none}
.site-footer a:hover{color:var(--gold);text-decoration:underline}
.footer-grid{display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.footer-grid h2{font-size:1rem;color:#fff;letter-spacing:.04em;text-transform:uppercase;margin-bottom:.9rem}
.footer-grid ul{list-style:none;padding:0;margin:0}
.footer-grid li{margin:.45rem 0}
.footer-brand img{height:56px;width:auto;margin-bottom:.75rem}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:2.5rem;padding-top:1.25rem;display:flex;flex-wrap:wrap;gap:.75rem;justify-content:space-between;font-size:.9rem}
.mt-0{margin-top:0}.mt-2{margin-top:2rem}.mb-0{margin-bottom:0}.muted{color:var(--muted)}
