/* BlueXnet 2026 -- site styles. Every color is a token; dark mode only swaps the tokens. */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f4f8fa;
  --surface: #ffffff;
  --text: #1e272c;
  --text-soft: #56646b;
  --line: #dde6ea;
  --logo: #333333;            /* logo letters */
  --brand: #3dbad5;           /* logo cyan: accents only, 2.3:1 on white is too light for text */
  --brand-ink: #0b7186;       /* the same cyan, dark enough for text and buttons (5.6:1) */
  --brand-ink-hover: #085a6b;
  --brand-tint: #e6f6fa;
  --on-brand: #ffffff;
  --ok: #1d7a46;
  --ok-tint: #e8f5ec;
  --bad: #a12a2a;
  --cta-a: #0b7186;
  --cta-b: #0a4655;
  --shadow: 0 1px 2px rgb(15 40 50 / 6%), 0 10px 30px rgb(15 40 50 / 8%);
  --sun: none;                /* theme button shows the moon in light mode */
  --moon: block;
  --radius: 14px;
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0f1518;
    --bg-soft: #141c20;
    --surface: #182227;
    --text: #e3ebee;
    --text-soft: #9fb0b7;
    --line: #26343a;
    --logo: #e3ebee;
    --brand-ink: #5fcde4;
    --brand-ink-hover: #8adcec;
    --brand-tint: #15323a;
    --on-brand: #06232b;
    --ok: #5fd08f;
    --ok-tint: #143024;
    --bad: #f08a8a;
    --cta-a: #0d5e70;
    --cta-b: #0a3540;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 10px 30px rgb(0 0 0 / 35%);
    --sun: block;
    --moon: none;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1518;
  --bg-soft: #141c20;
  --surface: #182227;
  --text: #e3ebee;
  --text-soft: #9fb0b7;
  --line: #26343a;
  --logo: #e3ebee;
  --brand-ink: #5fcde4;
  --brand-ink-hover: #8adcec;
  --brand-tint: #15323a;
  --on-brand: #06232b;
  --ok: #5fd08f;
  --ok-tint: #143024;
  --bad: #f08a8a;
  --cta-a: #0d5e70;
  --cta-b: #0a3540;
  --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 10px 30px rgb(0 0 0 / 35%);
  --sun: block;
  --moon: none;
}

/* ---- Base ---- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font);
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--brand-ink); text-underline-offset: .2em; }
a:hover { color: var(--brand-ink-hover); }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
@media (min-width: 700px) {
  .wrap { width: min(100% - 48px, var(--wrap)); }
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.i {
  display: inline-block;
  flex: none;
  width: 1.25em;
  height: 1.25em;
  vertical-align: -.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* An h2 that looks like an h3 (keeps the outline right where cards sit under the page title). */
.h3 { font-size: 1.2rem; }
.tile .h3 { font-size: 1.125rem; margin-bottom: .35em; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: -999px; top: .75rem; z-index: 100; padding: .5rem 1rem; border-radius: 8px; background: var(--surface); }
.skip:focus { left: 16px; }

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .75em 1.25em;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--brand-ink); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-ink-hover); color: var(--on-brand); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand-ink); color: var(--brand-ink); }
.btn-sm { padding: .45em .9em; font-size: .9375rem; }

/* ---- Header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-row { display: flex; align-items: center; gap: 1rem; min-height: 4rem; }

.logo {
  display: inline-flex;
  align-items: baseline;
  color: var(--logo);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
  text-decoration: none;
}
.logo:hover { color: var(--logo); }
.logo .x, .logo .tld { color: var(--brand); }
.logo .tld { margin-left: .08em; font-size: .6em; font-weight: 500; letter-spacing: 0; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.site-nav a {
  display: block;
  padding: .5rem .75rem;
  border-radius: 8px;
  color: var(--text);
  font-size: .975rem;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover { background: var(--bg-soft); color: var(--brand-ink); }
.site-nav a[aria-current="page"] { color: var(--brand-ink); }

.header-tools { display: flex; gap: .25rem; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.icon-btn:hover { background: var(--bg-soft); }

/* Both buttons need JS; without it the menu is simply always open. */
.theme-toggle, .menu-toggle { display: none; }
.js .theme-toggle { display: inline-grid; }
.theme-toggle .i-sun { display: var(--sun); }
.theme-toggle .i-moon { display: var(--moon); }

@media (max-width: 999px) {
  .header-row { flex-wrap: wrap; }
  .header-tools { margin-left: auto; }
  .site-nav { order: 3; width: 100%; margin: 0; }
  .site-nav ul { flex-wrap: wrap; }
  .js .menu-toggle { display: inline-grid; }
  .js .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    padding: .5rem 16px 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav:not(.open) { display: none; }
}

/* ---- Hero ---- */

.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(60rem 30rem at 85% -10%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%),
    var(--bg);
  overflow: hidden;
}

.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin-bottom: 1.25rem;
  padding: .35em .85em;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-ink);
  font-size: .875rem;
  font-weight: 600;
}

.lead { max-width: 36em; color: var(--text-soft); font-size: clamp(1.1rem, 1rem + .4vw, 1.25rem); }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0; }

.ticks { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding: 0; list-style: none; color: var(--text-soft); font-size: .95rem; }
.ticks li { display: flex; align-items: center; gap: .4em; }
.ticks .i { color: var(--ok); }

/* A drawn browser window: what the customer gets, without stock pictures. */
.hero-art { position: relative; width: 100%; max-width: 30rem; margin-inline: auto; padding: 1.75rem 0; }

.browser { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.browser-bar { display: flex; align-items: center; gap: .75rem; padding: .7rem .9rem; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.dots { display: flex; gap: .35rem; }
.dots i { width: .6rem; height: .6rem; border-radius: 50%; background: var(--line); }
.url {
  display: flex;
  flex: 1;
  align-items: center;
  gap: .4em;
  padding: .3em .8em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  font-size: .85rem;
}
.browser-body { display: grid; gap: .8rem; padding: 1.1rem 1.25rem 1.25rem; }
.url .caret { display: inline-block; width: 1px; height: 1em; margin-left: -.3em; background: currentColor; animation: blink 1s steps(1) infinite; }
@keyframes blink {
  50% { opacity: 0; }
}

/* A small website inside the drawing; js/site.js takes it through a few example businesses. */
.mini { --site-a: #d08a55; --site-b: #8f4f2c; }
.mini[data-variant="1"] { --site-a: #3dbad5; --site-b: #0b7186; }
.mini[data-variant="2"] { --site-a: #8790f2; --site-b: #4b50c6; }
.mini > * { transition: opacity .35s ease, transform .35s ease; }
.mini > :nth-child(2) { transition-delay: .07s; }
.mini > :nth-child(3) { transition-delay: .14s; }
.mini.swap > * { opacity: 0; transform: translateY(6px); transition-delay: 0s; }

.mini-nav { display: flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; }
.mini-logo { width: 1.1rem; height: 1.1rem; border-radius: 6px; background: linear-gradient(135deg, var(--site-a), var(--site-b)); }
.mini-links { display: flex; gap: .4rem; margin-left: auto; }
.mini-links i { width: 1.9rem; height: .4rem; border-radius: 99px; background: var(--line); }
.mini-hero {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: .35rem;
  min-height: 8.25rem;   /* room for a two-line title: no jump when the example changes */
  padding: 1rem 1.1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--site-a), var(--site-b));
  color: #ffffff;
}
.mini-hero strong { font-size: 1.05rem; line-height: 1.2; }
.mini-hero small { font-size: .75rem; opacity: .9; }
.mini-btn { margin-top: .25rem; padding: .3rem .75rem; border-radius: 999px; background: #ffffff; color: var(--site-b); font-size: .72rem; font-weight: 700; }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.mini-cards > div {
  display: grid;
  justify-items: start;
  gap: .35rem;
  padding: .65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
  font-size: .72rem;
  font-weight: 600;
}
.mini-cards .i { color: var(--site-a); }

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .5em;
  padding: .6em .9em;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
}
.chip .i { color: var(--brand-ink); }
.chip-up { top: 0; right: 0; animation: float 6s ease-in-out infinite; }
.chip-up .i { color: var(--ok); }
.chip-mail { bottom: 0; left: 0; animation: float 6s ease-in-out -3s infinite; }
@keyframes float {
  50% { transform: translateY(-5px); }
}
@media (min-width: 600px) {
  .chip-up { right: -1.25rem; }
  .chip-mail { left: -1.25rem; }
}

/* ---- Sections ---- */

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-flush { padding-top: 0; }

.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin: 0; color: var(--text-soft); font-size: 1.125rem; }

.grid-4 { display: grid; gap: 1.25rem; }
@media (min-width: 560px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.note { margin: 1.75rem auto 0; max-width: 46rem; color: var(--text-soft); font-size: .95rem; text-align: center; }

/* ---- Plans ---- */

.plan {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .15s;
}
.plan:hover { border-color: var(--brand); }
.plan :is(h2, h3) { margin: 0; color: var(--brand-ink); font-size: 1.1rem; }

.price { display: flex; align-items: baseline; gap: .35rem; margin: .6rem 0 .3rem; }
.price strong { font-size: 2.75rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price span { color: var(--text-soft); font-size: .95rem; }

.terms { margin: 0 0 1.25rem; color: var(--text-soft); font-size: .875rem; }

.features { display: grid; gap: .6rem; margin: 0 0 1.5rem; padding: 0; list-style: none; font-size: .95rem; }
.features li { display: flex; align-items: flex-start; gap: .55em; }
.features .i { margin-top: .15em; vertical-align: 0; color: var(--ok); }
.features .no, .features .no .i { color: var(--text-soft); }

.plan .btn { margin-top: auto; }

/* ---- Domains ---- */

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
}
.split .lead { margin-bottom: 0; }

.tlds { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; }
.tlds span { padding: .3em .75em; border-radius: 8px; background: var(--brand-tint); color: var(--brand-ink); font-weight: 700; }

.card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }

.search label { display: block; margin-bottom: .6rem; font-weight: 600; }
.search-row { display: flex; gap: .5rem; }
.search-row input {
  flex: 1;
  min-width: 0;
  padding: .7em .9em;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.search-row input:focus-visible { outline: 3px solid var(--brand); outline-offset: 0; border-color: var(--brand-ink); }
.hint { margin: .6rem 0 0; color: var(--text-soft); font-size: .85rem; }

.results { display: grid; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.result {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  padding: .6rem .75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.result .dom { flex: 1; font-weight: 600; overflow-wrap: anywhere; }
.result .state { color: var(--text-soft); font-size: .875rem; font-weight: 600; }
.result.free { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); background: var(--ok-tint); }
.result.free .state { color: var(--ok); }
.result.taken .dom { color: var(--text-soft); font-weight: 500; }

.whois-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand-ink);
  font: inherit;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.whois-btn:hover { color: var(--brand-ink-hover); }
.whois { flex-basis: 100%; padding-top: .6rem; border-top: 1px dashed var(--line); font-size: .875rem; }
.whois .msg { margin: 0; }
.whois dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: 0; }
.whois dt { color: var(--text-soft); }
.whois dd { margin: 0; overflow-wrap: anywhere; }

.msg { margin: 1rem 0 0; color: var(--text-soft); font-size: .95rem; }
.msg.err { color: var(--bad); }

/* ---- Why us ---- */

.tile { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tile h3 { margin-bottom: .35em; font-size: 1.125rem; }
.tile p { margin: 0; color: var(--text-soft); font-size: .975rem; }
.tile-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand-ink);
}

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin: 3rem 0 0; padding-top: 2.5rem; border-top: 1px solid var(--line); }
@media (min-width: 800px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}
.stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stats dt { color: var(--text-soft); font-size: .95rem; }
.stats-plain { margin-top: 0; padding-top: 0; border-top: 0; }
.stats dd { margin: 0; color: var(--brand-ink); font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }

/* ---- FAQ ---- */

.faq { display: grid; gap: .75rem; max-width: 48rem; margin-inline: auto; }
.faq details { padding: 0 1.25rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: .55rem;
  height: .55rem;
  border-right: 2px solid var(--text-soft);
  border-bottom: 2px solid var(--text-soft);
  transform: translateY(-25%) rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(25%) rotate(-135deg); }
.faq details p { margin: 0 0 1.1rem; color: var(--text-soft); }
.faq + h2 { margin-top: 3rem; }

.more { margin: 1.75rem 0 0; text-align: center; }
.more a { font-weight: 600; text-decoration: none; }
.more a:hover { text-decoration: underline; }

/* ---- Call to action ---- */

.cta-box {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--cta-a), var(--cta-b));
  color: #ffffff;
}
@media (min-width: 800px) {
  .cta-box { grid-template-columns: 1fr auto; }
}
.cta-box h2 { margin-bottom: .25em; }
.cta-box p { margin: 0; opacity: .9; }
.cta-box .actions { margin: 0; }
.cta-box .btn-light { background: #ffffff; color: #0a4655; }
.cta-box .btn-light:hover { background: #e6f6fa; color: #0a4655; }
.cta-box .btn-line { border-color: rgb(255 255 255 / 45%); color: #ffffff; }
.cta-box .btn-line:hover { border-color: #ffffff; color: #ffffff; }

/* ---- Footer ---- */

.site-footer { padding: 3.5rem 0 2rem; border-top: 1px solid var(--line); color: var(--text-soft); font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.footer-grid .logo { margin-bottom: .75rem; }
.footer-grid p { max-width: 18rem; margin: 0; }
.site-footer h2 { margin-bottom: .9rem; color: var(--text); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--text-soft); text-decoration: none; }
.site-footer a:hover { color: var(--brand-ink); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .875rem; }

/* ---- Inner pages ---- */

.page-head {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(50rem 20rem at 90% -20%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.8rem); }
.page-head .lead { margin: 0; }

.narrow { max-width: 48rem; }

/* Long text: terms, privacy. */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.5rem; font-size: clamp(1.4rem, 1.15rem + 1vw, 1.8rem); }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .4rem; }
.toc { margin: 0 0 2rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.toc ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.toc a { font-weight: 600; }

/* ---- Plan periods (plans page): one small PayPal form per period ---- */

.periods { display: grid; gap: .5rem; margin: 0 0 1.25rem; }
.period {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .75rem;
  margin: 0;
  padding: .6rem .75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}
.period-name { flex: 1; font-size: .95rem; font-weight: 600; }
.period-name small { display: block; color: var(--text-soft); font-size: .8rem; font-weight: 400; }
.period-price { font-weight: 700; }
.badge { display: inline-block; margin-left: .35em; padding: .1em .45em; border-radius: 6px; background: var(--ok-tint); color: var(--ok); font-size: .75rem; font-weight: 700; vertical-align: .1em; }
.period-none { color: var(--text-soft); font-size: .875rem; }

.pay-note { display: flex; align-items: center; justify-content: center; gap: .5em; margin: 1.5rem 0 0; color: var(--text-soft); font-size: .9rem; text-align: center; }

/* ---- Two numbered options (domain page) ---- */

.options { display: grid; gap: 1.25rem; }
@media (min-width: 860px) {
  .options { grid-template-columns: 1fr 1fr; }
}
.option { display: flex; flex-direction: column; }
.option-num {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand-ink);
  font-weight: 800;
}
.option h3 { display: flex; align-items: center; gap: .5em; }
.option h3 .i { color: var(--brand-ink); }
.option p { color: var(--text-soft); }
.option .btn, .option form { margin-top: auto; }
.chosen { margin: 0 0 1rem; padding: .7rem .9rem; border-radius: 10px; background: var(--brand-tint); color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.chosen:empty { display: none; }

/* ---- Contact ---- */

.contact-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1.6fr 1fr; }
}
.contact-card h2 { margin-bottom: .75rem; }
.contact-mail { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; overflow-wrap: anywhere; }
.contact-card .features .i { color: var(--brand-ink); }

/* ---- Numbered steps (transfer form) ---- */

.steps { display: grid; gap: .6rem; margin: 0 0 2.5rem; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
.steps li { position: relative; padding: .9rem 1rem .9rem 3.1rem; border: 1px solid var(--line); border-radius: 12px; font-size: .95rem; counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute;
  top: .85rem;
  left: 1rem;
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand-ink);
  font-size: .85rem;
  font-weight: 800;
}

/* ---- Forms ---- */

.form { display: grid; gap: 1.75rem; }
.form-gap { margin-top: 2rem; }
.form fieldset { display: grid; gap: 1rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.form legend { margin-bottom: .75rem; padding: 0; font-size: 1.1rem; font-weight: 700; }
.fields-2 { display: grid; gap: 1rem; }
@media (min-width: 620px) {
  .fields-2 { grid-template-columns: 1fr 1fr; }
}
.field { display: grid; gap: .35rem; min-width: 0; }
.field > label, .field > .label { font-weight: 600; font-size: .95rem; }
.req { color: var(--bad); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .65em .8em;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 0;
  border-color: var(--brand-ink);
}
.help { margin: 0; color: var(--text-soft); font-size: .85rem; }

.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: block;
  padding: .5em .9em;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  cursor: pointer;
  font-size: .95rem;
}
.choice input:checked + span { border-color: var(--brand-ink); background: var(--brand-tint); color: var(--brand-ink); font-weight: 600; }
.choice input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.choice input:disabled + span { opacity: .45; cursor: not-allowed; }

.check { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; }
.check input { flex: none; width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; accent-color: var(--brand-ink); }

.total { margin: 0; padding: .8rem 1rem; border-radius: 10px; background: var(--bg-soft); font-weight: 600; }
.total:empty { display: none; }

/* Honeypot: people never see it, bots fill it. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-actions .help { flex: 1; min-width: 14rem; }

.notice { display: flex; gap: .75rem; padding: 1rem 1.25rem; border-radius: 12px; background: var(--brand-tint); }
.notice .i { margin-top: .15em; color: var(--brand-ink); }
.notice p { margin: 0; }

/* ---- Thank-you page: one message per form, picked by the #hash ---- */

.thanks > div { display: none; }
.thanks > .generic, .thanks > :target { display: block; }
.thanks:has(> :target) > .generic { display: none; }
.thanks-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--ok-tint);
  color: var(--ok);
}
.thanks-icon .i { width: 1.75rem; height: 1.75rem; }
.thanks .help { margin-top: 2rem; }

/* ---- Ads and the cookie notice ---- */

/* An ad box stays hidden until the visitor accepts cookies and the ad script loads. */
.ad { display: none; margin: 3rem auto 0; max-width: 46rem; }
.ad.on { display: block; }
.ad-label { margin: 0 0 .4rem; color: var(--text-soft); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.ad ins { display: block; }

.cookie-notice {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 60;
  display: grid;
  gap: .75rem;
  max-width: 24rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: .9rem;
}
@media (min-width: 600px) {
  .cookie-notice { right: auto; bottom: 20px; left: 20px; }
}
.cookie-notice p { margin: 0; color: var(--text-soft); }
.cookie-actions { display: flex; gap: .5rem; }
.cookie-actions .btn { flex: 1; }
@media (prefers-reduced-motion: no-preference) {
  .cookie-notice { animation: rise .3s ease-out; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .url .caret { display: none; }
}
