/* ==========================================================================
   HOSTINGDON — WEBSITE LAYER (loads after core.css)
   ========================================================================== */
body { background: #fff; }
main > section { padding: var(--section-y) 0; position: relative; }
main > section.alt, main > section[style*="--cream-soft"] { background: var(--bg); }

.section-header { text-align: center; max-width: 780px; margin: 0 auto clamp(2rem, 4.5vw, 3.5rem); }
.section-header h2 { margin-top: .9rem; }
.section-header .lead, .section-header > p { margin: 1rem auto 0; color: var(--body); }
.section-header.left { text-align: left; margin-left: 0; }
.section-header.left .lead { margin-left: 0; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split-wide { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .split, .split-wide { grid-template-columns: 1fr; } }

/* ============================ HOME HERO ============================ */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--grad-navy); color: #C9D6F2; padding: clamp(2.5rem, 5vw, 4.25rem) 0 clamp(6rem, 10vw, 8.5rem); }
.hero-bg { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(55% 70% at 85% 15%, rgba(47, 111, 235, .38), transparent 62%),
  radial-gradient(40% 55% at 0% 100%, rgba(234, 179, 8, .18), transparent 60%); }
.hero-grid { position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 65% 35%, #000 25%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse at 65% 35%, #000 25%, transparent 78%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero-content > * + * { margin-top: 1.35rem; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.75rem); line-height: 1.06; margin-bottom: 0; }
.hero .lead { color: #B8C7E6; margin-top: 1.25rem; }
.domain-search { display: flex; max-width: 580px; background: #fff; border-radius: 14px; padding: 6px; box-shadow: 0 18px 44px rgba(0, 0, 0, .38); }
.domain-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .75rem 1rem; min-height: 48px; font-size: 1rem; box-shadow: none !important; border-radius: 10px; }
.domain-search .btn { border-radius: 10px; min-height: 48px; }
.tld-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.tld-chips span, .tld-chips a { padding: .25rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); font: 600 .8rem var(--font-mono); color: #D6E0F7; text-decoration: none; }
.tld-chips a:hover { background: rgba(250, 204, 21, .15); border-color: rgba(250, 204, 21, .4); color: var(--lime); }
.hero-points { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem 1.5rem; font-size: .93rem; color: #D6E0F7; }
.hero-points li::before { content: "✓"; color: var(--lime); margin-right: .45rem; font-weight: 800; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual > img { width: 100%; max-width: 640px; margin-inline: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .35)); }
.metric-card { position: absolute; display: flex; align-items: center; gap: .75rem; padding: .65rem 1.1rem .65rem .7rem; border-radius: 14px; background: rgba(11, 27, 68, .85); border: 1px solid rgba(96, 165, 250, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; box-shadow: 0 16px 34px rgba(0, 0, 0, .35); animation: bob 6s ease-in-out infinite; }
.metric-card-1 { top: 6%; right: -1%; }
.metric-card-2 { bottom: 16%; left: -2%; animation-delay: -2s; }
.metric-card-3 { bottom: 2%; right: 6%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.metric-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(250, 204, 21, .15); color: var(--lime); flex: none; }
.metric-icon svg { width: 20px; height: 20px; }
.metric-num { font: 800 1.05rem var(--font-display); color: #fff; line-height: 1.1; }
.metric-label { font-size: .76rem; color: #A9BCE6; }
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; }
  .metric-card-1 { right: 0; } .metric-card-2 { left: 0; }
}
@media (max-width: 520px) { .metric-card { padding: .5rem .8rem .5rem .55rem; } .metric-num { font-size: .92rem; } .metric-label { display: none; } .domain-search { flex-wrap: wrap; } .domain-search .btn { width: 100%; } }

/* stats strip overlapping hero */
.stats-strip { position: relative; z-index: 5; margin-top: calc(-1 * clamp(3rem, 5vw, 4rem)); padding: 0 !important; }
.stats-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.strip-item { display: flex; gap: .9rem; align-items: center; padding: 1.35rem 1.5rem; }
.strip-item + .strip-item { border-left: 1px solid var(--line-soft); }
.strip-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--grad-navy); color: var(--lime); flex: none; }
.strip-icon svg { width: 22px; height: 22px; }
.strip-num { font: 800 1.5rem var(--font-display); color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.strip-num small { font-size: .85rem; color: var(--muted); font-weight: 700; margin-left: 1px; }
.strip-label { font-size: .84rem; color: var(--muted); line-height: 1.3; }
@media (max-width: 900px) { .stats-strip-grid { grid-template-columns: repeat(2, 1fr); } .strip-item:nth-child(3) { border-left: 0; } .strip-item:nth-child(n+3) { border-top: 1px solid var(--line-soft); } }
@media (max-width: 480px) { .strip-item { padding: 1rem; gap: .65rem; } .strip-icon { width: 38px; height: 38px; } .strip-num { font-size: 1.2rem; } }

/* included strip */
.included-strip { padding: clamp(2.5rem, 5vw, 3.5rem) 0 0 !important; }
.included-strip .label { text-align: center; font-size: .85rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.25rem; }
.included-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.included-list li { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.included-list svg { color: var(--green-600); width: 16px; height: 16px; }

/* ============================ HOSTING CARDS ============================ */
.hosting-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 1.5rem; }
.hosting-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xs); transition: transform .25s, box-shadow .25s, border-color .25s; }
.hosting-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.hosting-card-art { background: var(--grad-navy); position: relative; overflow: hidden; }
.hosting-card-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 0%, rgba(47, 111, 235, .4), transparent 65%); }
.hosting-card-art img { position: relative; width: 100%; }
.hosting-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.6rem; }
.hosting-card-icon { display: none; }
.hosting-card h3 { margin-bottom: .35rem; }
.hosting-card-price { font-size: .9rem; color: var(--muted); margin-bottom: .9rem; }
.hosting-card-price strong { font: 800 1.5rem var(--font-display); color: var(--ink); letter-spacing: -.02em; }
.hosting-card p { font-size: .95rem; }
.hosting-card ul { list-style: none; padding: 0; margin: .25rem 0 1.4rem; display: grid; gap: .5rem; font-size: .92rem; color: var(--ink-soft); }
.hosting-card ul li, .checklist li { position: relative; padding-left: 1.65rem; }
.hosting-card ul li::before, .checklist li::before { content: ""; position: absolute; left: 0; top: .28em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23A16207' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 8.4l2.3 2.3 4.7-5'/%3E%3C/svg%3E") center/70% no-repeat; }
.hosting-card-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy-700); }
.hosting-card-link::after { content: "→"; transition: transform .2s; }
.hosting-card-link:hover { text-decoration: none; color: var(--green-700); }
.hosting-card-link:hover::after { transform: translateX(4px); }

/* ============================ FEATURES ============================ */
.features, .features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 960px) { .features, .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features, .features-grid { grid-template-columns: 1fr; } }
.features-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .features-2 { grid-template-columns: 1fr; } }
.feature, .feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; }
.feature:hover, .feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.feature-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--grad-navy); color: var(--lime); margin-bottom: 1.1rem; box-shadow: 0 8px 18px rgba(8, 19, 48, .22); }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3, .feature h4, .feature-card h3, .feature-card h4 { margin-bottom: .4rem; font-size: 1.1rem; }
.feature p, .feature-card p { margin: 0; font-size: .94rem; }
main > section[style*="--cream-soft"] .feature, main > section.alt .feature { background: #fff; }

/* ======================= CONTROL PANEL SHOWCASE ======================= */
.showcase { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.showcase-art { position: relative; }
.showcase-art::before { content: ""; position: absolute; inset: 10% -4% -6% 8%; background: var(--grad-navy); border-radius: 28px; z-index: 0; }
.showcase-art img { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 20px 40px rgba(8, 19, 48, .3)); }
.showcase-list { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: 1rem; }
.showcase-list li { display: flex; gap: .9rem; align-items: flex-start; }
.showcase-list .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--mint); color: var(--green-700); flex: none; }
.showcase-list .ic svg { width: 20px; height: 20px; }
.showcase-list strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.02rem; }
.showcase-list span { font-size: .93rem; }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } .showcase-art::before { inset: 6% -2% -4% 2%; } }

/* ======================= NAVY PANELS (stats, network, CTA) ======================= */
.stats-section, .datacenters, .cta-section { position: relative; isolation: isolate; overflow: hidden; background: var(--grad-navy); color: #C9D6F2; border-radius: var(--radius-xl); padding: clamp(2rem, 5vw, 4rem); }
.stats-section::before, .datacenters::before, .cta-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(50% 70% at 90% 0%, rgba(47, 111, 235, .35), transparent 62%),
  radial-gradient(40% 60% at 0% 100%, rgba(234, 179, 8, .16), transparent 60%); }
.stats-section h2, .datacenters h2, .cta-section h2 { color: #fff; }
.stats-section p, .datacenters p, .cta-section p { color: #B8C7E6; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 2.5rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; overflow: hidden; }
.stat-item { background: rgba(8, 19, 48, .55); padding: 1.6rem 1.4rem; }
.stat-num { font: 800 clamp(2rem, 4.5vw, 3rem) var(--font-display); color: var(--lime); letter-spacing: -.03em; line-height: 1; }
.stat-num small { font-size: .5em; color: #FDE68A; margin-left: 2px; }
.stat-label { margin-top: .6rem; font-size: .9rem; color: #B8C7E6; }
@media (max-width: 800px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stats-inline { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 1rem; }
.stats-inline > .stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem 1.3rem; }
.stats-inline > .stat .stat-num { color: var(--navy-700); }
.stats-inline > .stat .stat-num small { color: var(--muted); }
.stats-inline > .stat .stat-label { color: var(--muted); margin-top: .4rem; }

.datacenters h2 { margin-top: 1rem; }
.world-map { position: relative; aspect-ratio: 2 / 1; width: 100%; }
.world-map > img, .world-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dc-pin { position: absolute; width: 14px; height: 14px; transform: translate(-50%, -50%); }
.dc-pin::before { content: ""; position: absolute; inset: -6px; }
.dc-pin span { position: absolute; bottom: 150%; left: 50%; transform: translateX(-50%) translateY(4px); white-space: nowrap; padding: .25rem .6rem; border-radius: 8px; background: #fff; color: var(--ink); font-size: .74rem; font-weight: 700; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: .15s; }
.dc-pin:hover span, .dc-pin:focus span, .dc-pin.show span { opacity: 1; transform: translateX(-50%); }
.dc-pin.show { z-index: 2; }
.dc-latency { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.75rem; }
.dc-latency div { padding: .9rem 1rem; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.dc-latency b { display: block; font: 800 1.5rem var(--font-display); color: #fff; }
.dc-latency b small { font-size: .75rem; color: var(--lime); margin-left: 2px; }
.dc-latency span { font-size: .8rem; color: #A9BCE6; }
@media (max-width: 700px) { .dc-latency { grid-template-columns: repeat(2, 1fr); } }

.cta-section { text-align: center; }
.cta-section > * { position: relative; }
.cta-section h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin: 1rem auto 1rem; max-width: 18ch; }
.cta-section p { max-width: 56ch; margin: 0 auto 1.75rem; }
.cta-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ============================ PRICING ============================ */
.pricing-toggle { display: inline-flex; margin-top: 1.5rem; padding: 4px; background: var(--line-soft); border: 1px solid var(--line); border-radius: 999px; }
.pricing-toggle button { border: 0; background: transparent; padding: .5rem 1.15rem; border-radius: 999px; font-weight: 650; font-size: .9rem; color: var(--muted); display: inline-flex; gap: .5rem; align-items: center; }
.pricing-toggle button.active { background: var(--navy-900); color: #fff; box-shadow: var(--shadow-sm); }
.pricing-toggle .save { font-size: .66rem; font-weight: 800; letter-spacing: .04em; padding: .12rem .45rem; border-radius: 5px; background: var(--lime); color: var(--navy-900); }
.plan-tabs { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.plan-tabs .btn { border-radius: 999px; background: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.25rem; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 1.75rem 1.5rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-xs); transition: transform .2s, box-shadow .2s; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card h3 { margin-bottom: .2rem; font-size: 1.25rem; }
.price-card .price-tag { font-size: .88rem; color: var(--muted); margin-bottom: 1.1rem; }
.price-num { font: 800 clamp(2.4rem, 4vw, 3rem) var(--font-display); color: var(--ink); letter-spacing: -.035em; line-height: 1; }
.price-num small { font-size: .42em; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.price-num small:first-of-type:not(:last-of-type) { font-size: .5em; vertical-align: .72em; }
.price-period { font-size: .82rem; color: var(--muted); margin: .55rem 0 1.35rem; }
.price-card ul { list-style: none; margin: 0 0 1.6rem; padding: 1.2rem 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: .6rem; font-size: .92rem; color: var(--ink-soft); }
.price-card ul li { position: relative; padding-left: 1.6rem; }
.price-card ul li::before { content: ""; position: absolute; left: 0; top: .28em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23A16207' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 8.4l2.3 2.3 4.7-5'/%3E%3C/svg%3E") center/70% no-repeat; }
.price-card .btn { margin-top: auto; width: 100%; }
.price-card.featured { background: var(--grad-navy); border-color: var(--navy-600); color: #C9D6F2; box-shadow: 0 24px 50px rgba(8, 19, 48, .35); }
.price-card.featured h3, .price-card.featured .price-num { color: #fff; }
.price-card.featured .price-num small, .price-card.featured .price-tag, .price-card.featured .price-period { color: #9FB0D3 !important; }
.price-card.featured ul { border-color: rgba(255, 255, 255, .12); color: #D6E0F7; }
.price-card.featured ul li::before { background-color: rgba(250, 204, 21, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23FACC15' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 8.4l2.3 2.3 4.7-5'/%3E%3C/svg%3E"); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: .28rem .85rem; border-radius: 999px; background: var(--grad-lime); color: var(--navy-900); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 6px 14px rgba(234, 179, 8, .35); }
.spec-num { font: 800 1.6rem var(--font-display); color: var(--ink); }
.spec-num small { font-size: .55em; color: var(--muted); }
.spec-note { font-size: .82rem; color: var(--muted); }
.price-card.featured .spec-num { color: #fff; } .price-card.featured .spec-note { color: #9FB0D3; }
.rail-hint { display: none; }
@media (max-width: 720px) {
  .pricing-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding: 14px var(--gutter) 10px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .pricing-grid::-webkit-scrollbar { display: none; }
  .price-card { scroll-snap-align: start; }
  .rail-hint { display: flex; justify-content: center; align-items: center; gap: .75rem; margin-top: .5rem; font-size: .8rem; color: var(--muted); }
  .rail-dots { display: flex; gap: 6px; }
  .rail-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); transition: .2s; }
  .rail-dots span.is-active { width: 20px; border-radius: 4px; background: var(--navy-700); }
}
.compare-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.compare-table table { min-width: 640px; width: 100%; border-collapse: collapse; }
.compare-table th.highlighted { background: var(--mint-soft); color: var(--green-700); }
.compare-table .check { color: var(--green-600); font-weight: 800; }
.compare-table .no { color: #B7C1D6; }

/* ============================ TESTIMONIALS / FAQ ============================ */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 1.25rem; }
.testimonial { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 1.75rem; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; }
.testimonial::before { content: "“"; position: absolute; top: .3rem; right: 1.25rem; font: 800 5rem/1 var(--font-display); color: var(--mint); }
.testimonial-stars { color: #F5A524; letter-spacing: .12em; margin-bottom: .9rem; font-size: .95rem; }
.testimonial-text { color: var(--ink-soft); font-size: 1rem; position: relative; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: .8rem; margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); }
.testimonial-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad-navy); color: var(--lime); font-weight: 800; font-size: .85rem; flex: none; }
.testimonial-name { font-weight: 700; color: var(--ink); font-size: .95rem; }
.testimonial-role { font-size: .83rem; color: var(--muted); }

.faq-grid, .faq-list { display: grid; gap: .75rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .2s, box-shadow .2s; }
.faq-item:hover { border-color: var(--line-strong); }
.faq-item[open] { border-color: #FDE68A; box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.35rem; font-family: var(--font-display); font-weight: 700; font-size: 1.03rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231D3A7A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8 3.5v9M3.5 8h9'/%3E%3C/svg%3E") center/55% no-repeat; transition: transform .25s, background-color .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--mint); }
.faq-item-content { padding: 0 1.35rem 1.3rem; color: var(--body); max-width: 78ch; }

/* ============================ CONTENT BLOCKS ============================ */
.seo-block { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.seo-block-head h2 { margin-top: 1rem; }
@media (max-width: 900px) { .seo-block { grid-template-columns: 1fr; } }
.prose > * + * { margin-top: 1rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.25rem; display: grid; gap: .55rem; }
.prose li::marker { color: var(--green-600); }
.prose strong { color: var(--ink); }
.callout { background: var(--mint-soft); border: 1px solid #FDE68A; border-left: 4px solid var(--green-500); border-radius: var(--radius); padding: 1.1rem 1.3rem; }
.callout > * + * { margin-top: .5rem; }
.callout-title { font: 800 1rem var(--font-display); color: var(--ink); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.about-mission { max-width: 820px; margin: 0 auto; text-align: center; }
.about-mission h2 { margin-top: 1rem; }
.about-mission p { font-size: 1.12rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .88rem; color: #93A6CC; margin-top: 1.25rem; }
.legal-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.legal-meta span { padding: .3rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #D6E0F7; font-size: .8rem; font-weight: 600; }

/* legal */
.legal-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.1rem 1.2rem; max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; }
.legal-toc summary { list-style: none; font: 800 .8rem var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); cursor: pointer; margin-bottom: .6rem; }
.legal-toc summary::-webkit-details-marker { display: none; }
.legal-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.legal-toc a { display: block; padding: .38rem .65rem; border-radius: 8px; font-size: .88rem; color: var(--body); font-weight: 550; }
.legal-toc a:hover { background: var(--blue-50); color: var(--navy-700); text-decoration: none; }
.legal-toc a.is-active { background: var(--mint-soft); color: var(--green-700); font-weight: 700; }
.legal-layout > * { min-width: 0; }
.legal-article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(1.4rem, 4vw, 2.75rem); }
.legal-article h2 { font-size: 1.5rem; margin: 2.25rem 0 .75rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); }
.legal-article h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-article h3 { font-size: 1.12rem; margin: 1.5rem 0 .5rem; }
.legal-article ul, .legal-article ol { padding-left: 1.3rem; display: grid; gap: .5rem; margin: 0 0 1rem; }
.legal-article li::marker { color: var(--green-600); }
.legal-article strong { color: var(--ink); }
.legal-article blockquote { margin: 1rem 0; padding: .9rem 1.2rem; border-left: 4px solid var(--green-500); background: var(--mint-soft); border-radius: 0 12px 12px 0; }
.legal-article table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1rem 0; display: block; overflow-x: auto; }
.legal-article table th, .legal-article table td { text-align: left; padding: .65rem .9rem; border-bottom: 1px solid var(--line-soft); }
.legal-article table th { background: var(--bg); font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 980px) { .legal-layout { grid-template-columns: 1fr; } .legal-toc { position: static; max-height: none; } }
.policy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.policy-link-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem; color: inherit; transition: .2s; }
.policy-link-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #FDE68A; }
.policy-link-card h4 { margin-bottom: .3rem; } .policy-link-card p { margin: 0; font-size: .9rem; color: var(--muted); }

/* contact, forms */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
.contact-info-card { position: relative; isolation: isolate; overflow: hidden; background: var(--grad-navy); color: #C9D6F2; border-radius: var(--radius-xl); padding: clamp(1.5rem, 4vw, 2.5rem); }
.contact-info-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 100% 0%, rgba(47, 111, 235, .35), transparent 65%); }
.contact-info-card h2, .contact-info-card h3 { color: #fff; }
.contact-info-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-info-list li { display: flex; gap: .8rem; }
.contact-info-list svg { color: var(--lime); flex: none; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid > form, .contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(1.4rem, 3.5vw, 2.25rem); box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .86rem; font-weight: 650; color: var(--ink-soft); margin-bottom: .35rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* team, careers */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1.25rem; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 1.5rem; text-align: center; transition: .2s; }
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.team-avatar, .team-photo { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 1rem; border-radius: 50%; background: var(--grad-navy); color: var(--lime); font: 800 1.6rem var(--font-display); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line-strong); }
.team-name, .team-card h4 { margin: 0; } .team-role { font-size: .88rem; color: var(--muted); }
.leader-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1rem; align-items: center; padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.job-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .86rem; color: var(--muted); }
@media (max-width: 720px) { .leader-row { grid-template-columns: 1fr 1fr; } }

/* code + api + status bits */
.code-block { background: var(--navy-950); color: #D6E0F7; border-radius: var(--radius); padding: 1.1rem 1.25rem; overflow-x: auto; font: 500 .86rem/1.7 var(--font-mono); border: 1px solid var(--navy-700); }
.code-block .keyword, .keyword { color: #7DD3FC; } .code-block .string, .string { color: var(--lime); } .code-block .comment, .comment { color: #6F83AD; } .punc { color: #8FA3CC; }
.method-badge { display: inline-block; font: 800 .72rem var(--font-mono); padding: .15rem .55rem; border-radius: 6px; margin-right: .5rem; }
.m-get { background: #FEF3C7; color: #A16207; } .m-post { background: #E3ECFF; color: #1D4ED8; } .m-put { background: #FFF0D1; color: #92400E; } .m-del { background: #FDE3E0; color: #B42318; }
.status-dot, .dot-ok { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(234, 179, 8, .2); margin-right: .5rem; }
.diff-badge { font-size: .72rem; font-weight: 800; padding: .15rem .55rem; border-radius: 6px; }
.diff-beg { background: #FEF3C7; color: #A16207; } .diff-int { background: #FFF0D1; color: #92400E; } .diff-adv { background: #FDE3E0; color: #B42318; }
.server-card { background: var(--navy-950); border: 1px solid var(--navy-700); border-radius: 16px; padding: 1.1rem 1.25rem; font-family: var(--font-mono); font-size: .82rem; color: #A9BCE6; }
.server-card-header { display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem; padding-bottom: .75rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.server-dots { display: flex; gap: 6px; } .server-dots span { width: 10px; height: 10px; border-radius: 50%; background: #FF6B6B; } .server-dots span:nth-child(2) { background: #FFC857; } .server-dots span:nth-child(3) { background: #34D27B; }
.server-title { font-size: .75rem; color: #6F83AD; }
.server-line { line-height: 1.9; } .server-line .prompt, .server-line .ok { color: var(--lime); } .server-line .cmd { color: #fff; } .server-line .out { color: #8FA3CC; }
.cursor { display: inline-block; width: 8px; height: 1em; background: var(--lime); vertical-align: -2px; animation: blinkc 1s steps(2) infinite; } @keyframes blinkc { 50% { opacity: 0; } }
.page-hero-visual > div[style*="font-family: var(--font-mono)"] { color: #8FA3CC !important; }
.page-hero-visual .glass { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; backdrop-filter: blur(8px); }
.hero-art-chip { position: absolute; left: 0; bottom: 4%; display: flex; gap: .75rem; align-items: center; padding: .7rem 1rem; border-radius: 14px; background: rgba(11, 27, 68, .88); border: 1px solid rgba(96, 165, 250, .35); color: #fff; box-shadow: 0 16px 34px rgba(0, 0, 0, .35); animation: bob 6s ease-in-out infinite; }
.hero-art-chip b { font: 800 1.2rem var(--font-display); color: var(--lime); display: block; line-height: 1.1; } .hero-art-chip span { font-size: .76rem; color: #A9BCE6; }

/* inline styles written for the old light hero: keep them readable on navy */
.page-hero [style*="color: var(--ink-soft)"],
.page-hero [style*="color:var(--ink-soft)"],
.page-hero [style*="color: var(--text)"],
.page-hero [style*="color:var(--text)"] { color: #D6E0F7 !important; }
.page-hero [style*="color: var(--muted)"],
.page-hero [style*="color:var(--muted)"] { color: #A9BCE6 !important; }
.page-hero [style*="color: var(--green-deep)"],
.page-hero [style*="color:var(--green-deep)"] { color: #fff !important; }
.page-hero [style*="color: var(--emerald)"],
.page-hero [style*="color:var(--emerald)"],
.page-hero [style*="color: #A16207"],
.page-hero [style*="color:#A16207"] { color: var(--lime) !important; }
.page-hero [style*="background: #A16207"],
.page-hero [style*="background:#A16207"] { background: var(--lime) !important; }
.page-hero [style*="rgba(11,21,48,0.06)"] { background: rgba(255,255,255,.1) !important; }
.page-hero [style*="border: 1px solid var(--border)"],
.page-hero [style*="border:1px solid var(--border)"] { border-color: rgba(255,255,255,.18) !important; }
.page-hero [style*="--surface"] [style*="--muted"], .page-hero [style*="--surface"] { color: var(--muted) !important; }
.page-hero [style*="--surface"] svg { color: var(--muted); }

/* 404 */
.nf { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
@media (max-width: 800px) { .nf { grid-template-columns: 1fr; text-align: center; } }

/* page header (breadcrumb sits inside the navy banner) */
.page-hero > .container > .breadcrumbs { margin-bottom: 1.5rem; }

/* 404 */
@media (max-width: 800px) { .nf-grid { grid-template-columns: 1fr !important; } .nf-grid > img { display: none; } }

/* V3: features as a ruled spec list, not a wall of identical cards */
.features { gap: 0; border-top: 1px solid var(--line); }
.features .feature { background: transparent !important; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 1.6rem 1.75rem 1.6rem 0; box-shadow: none; display: grid; grid-template-columns: 36px 1fr; column-gap: 1rem; align-content: start; }
.features .feature:hover { transform: none; box-shadow: none; }
.features .feature:not(:nth-child(3n+1)) { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.features .feature-icon { grid-row: span 2; width: 36px; height: 36px; border-radius: 8px; margin: 0; box-shadow: none; background: var(--navy-900); color: var(--yellow); }
.features .feature-icon svg { width: 18px; height: 18px; }
.features .feature h3, .features .feature h4 { font-size: 1.02rem; margin: .35rem 0 .3rem; }
@media (max-width: 900px) {
  .features .feature, .features .feature:not(:nth-child(3n+1)) { padding: 1.25rem 0; border-left: 0; }
}
/* stats strip: flatter */
.stats-strip-grid { box-shadow: var(--shadow-md); }
.strip-num { font-weight: 600; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha-box { display: block; margin: .25rem 0 1rem; }
.captcha-box .label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--ink); }
.captcha-box .input { width: 100%; padding: .7rem .9rem; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; }
.captcha-box .error { display: block; margin-top: .35rem; color: var(--error); font-size: .85rem; }

/* ===== V4: light bluish home hero ===== */
.hero { background: var(--grad-sky); color: var(--body); border-bottom: 1px solid var(--sky-200); }
.hero-bg { display: none; }
.hero-grid { opacity: 1; background-image: linear-gradient(rgba(37, 99, 235, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .06) 1px, transparent 1px) !important; }
.hero h1 { color: var(--ink); }
.hero .lead { color: var(--body); }
.hero-points { color: var(--ink-soft); }
.hero-points li::before { color: var(--sky-600); }
.hero-visual > img { filter: drop-shadow(0 26px 40px rgba(29, 78, 216, .20)); }
.domain-search { box-shadow: 0 10px 30px rgba(29, 78, 216, .12); border: 1px solid var(--sky-200); }
.tld-chips span, .tld-chips a { background: #fff; border-color: var(--sky-200); color: var(--ink-soft); }
.tld-chips a:hover { background: var(--sky-100); border-color: var(--sky-300); color: var(--sky-800); }
.metric-card, .hero-art-chip { background: rgba(255, 255, 255, .92) !important; border: 1px solid var(--sky-200) !important; box-shadow: 0 12px 28px rgba(29, 78, 216, .14) !important; backdrop-filter: blur(6px); }
.metric-card .metric-num, .metric-num, .hero-art-chip b { color: var(--ink) !important; }
.metric-card .metric-label, .metric-label, .hero-art-chip span { color: var(--muted) !important; }
.page-hero-visual .glass { background: rgba(255, 255, 255, .75); border: 1px solid var(--sky-200); }
.page-hero-visual > div[style*="font-family: var(--font-mono)"] { color: var(--muted) !important; }
/* inline colours written for the old dark hero -> readable on light */
body .page-hero [style*="color: var(--ink-soft)"], body .page-hero [style*="color:var(--ink-soft)"],
body .page-hero [style*="color: var(--text)"], body .page-hero [style*="color:var(--text)"] { color: var(--ink-soft) !important; }
body .page-hero [style*="color: var(--muted)"], body .page-hero [style*="color:var(--muted)"] { color: var(--muted) !important; }
body .page-hero [style*="color: var(--green-deep)"], body .page-hero [style*="color:var(--green-deep)"] { color: var(--ink) !important; }
body .page-hero [style*="color: var(--emerald)"], body .page-hero [style*="color:var(--emerald)"],
body .page-hero [style*="color: #A16207"], body .page-hero [style*="color:#A16207"] { color: var(--sky-700) !important; }
body .page-hero [style*="background: #A16207"], body .page-hero [style*="background:#A16207"] { background: var(--sky-600) !important; }
body .page-hero [style*="rgba(11,21,48,0.06)"] { background: rgba(37, 99, 235, .06) !important; }
body .page-hero [style*="border: 1px solid var(--border)"], body .page-hero [style*="border:1px solid var(--border)"] { border-color: var(--sky-200) !important; }
body .page-hero [style*="color: var(--cream)"], body .page-hero [style*="color:var(--cream)"] { color: var(--ink) !important; }
body .page-hero [style*="rgba(214,224,247"], body .page-hero [style*="rgba(214, 224, 247"] { color: var(--muted) !important; }
