/* Nexcore Hosting — single stylesheet. No build step, no external requests. */

/* ---------- tokens ---------- */
:root {
  --page: #0a0f14;
  --page-alt: #0d141b;
  --surface: #121a22;
  --surface-raised: #17212b;
  --border: #1e2a35;
  --border-hover: #2b3b49;
  --text: #e8eef4;
  --text-muted: #94a6b8;
  --text-faint: #6b7f92;
  --accent: #14b8a6;
  --accent-bright: #2dd4bf;
  --accent-deep: #0d9488;
  --accent-soft: rgba(20, 184, 166, 0.12);
  --accent-line: rgba(20, 184, 166, 0.3);
  --gradient: linear-gradient(135deg, #2dd4bf, #0d9488);
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.85);
  --glow: 0 10px 26px -12px rgba(20, 184, 166, 0.55);

  --radius-card: 14px;
  --radius-btn: 9px;
  --wrap: 1120px;
}

@media (prefers-color-scheme: light) {
  :root {
    --page: #f6f9fa;
    --page-alt: #eef4f6;
    --surface: #ffffff;
    --surface-raised: #f4f8fa;
    --border: #e3eaee;
    --border-hover: #cbd8de;
    --text: #0c1a22;
    --text-muted: #546878;
    --text-faint: #6f8291;
    --accent: #0d8f80;
    --accent-bright: #0d9488;
    --accent-deep: #0b7c6f;
    --accent-soft: rgba(13, 148, 136, 0.1);
    --accent-line: rgba(13, 148, 136, 0.28);
    --shadow: 0 16px 34px -24px rgba(12, 26, 34, 0.4);
    --glow: 0 10px 24px -14px rgba(13, 148, 136, 0.5);
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
}

h2 {
  font-size: clamp(23px, 3.2vw, 29px);
  font-weight: 700;
}

h3 {
  font-size: 16px;
  font-weight: 700;
}

p {
  margin: 0 0 14px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.muted {
  color: var(--text-muted);
}

.section {
  padding: 64px 0;
}

.section--alt {
  background: var(--page-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__head {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}

.section__head p {
  color: var(--text-muted);
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 10px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease,
    background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--gradient);
  color: #04231f;
  box-shadow: var(--glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hover);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ---------- notice bar ---------- */
.notice {
  background: var(--accent-soft);
  border-bottom: 1px solid var(--accent-line);
  color: var(--text);
  font-size: 13px;
}

.notice .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 9px;
  padding-bottom: 9px;
  text-align: center;
}

.notice svg {
  flex: 0 0 auto;
  color: var(--accent-bright);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--page); /* fallback for browsers without color-mix */
  background: color-mix(in srgb, var(--page) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.brand__name span {
  color: var(--accent-bright);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 76px 0 64px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(20, 184, 166, 0.16),
    transparent 68%
  );
  pointer-events: none;
}

.hero .wrap {
  position: relative;
}

.hero__inner {
  max-width: 680px;
}

.hero h1 .accent {
  color: var(--accent-bright);
}

.hero__sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-bright);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}

/* ---------- trust strip ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.trust__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.trust__icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-bright);
  display: grid;
  place-items: center;
}

.trust__item strong {
  display: block;
  font-size: 14px;
}

.trust__item span {
  font-size: 12.5px;
  color: var(--text-faint);
}

/* ---------- cards ---------- */
.grid {
  display: grid;
  gap: 20px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: var(--border-hover);
}

.card p:last-child {
  margin-bottom: 0;
}

.card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-bright);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.card__text {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

/* plan preview cards */
.plan-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-bright);
  margin-bottom: 14px;
}

.plan-card dl {
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 16px;
  font-size: 14px;
}

.plan-card dt {
  color: var(--text-faint);
}

.plan-card dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
}

/* ---------- table ---------- */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}

table.plans {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}

table.plans th,
table.plans td {
  padding: 14px 18px;
  text-align: right;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

table.plans th:first-child,
table.plans td:first-child {
  text-align: left;
}

table.plans thead th {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
  background: var(--surface-raised);
}

table.plans tbody tr:last-child td {
  border-bottom: none;
}

table.plans tbody tr:hover td {
  background: var(--surface-raised);
}

table.plans td.plan-name {
  font-weight: 700;
  color: var(--text);
}

.ask {
  color: var(--accent-bright);
  font-weight: 600;
}

/* ---------- lists ---------- */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 24px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--text-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 9px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 14px;
  max-width: 780px;
  margin: 0 auto;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 16px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent-bright);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* ---------- CTA band ---------- */
.cta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 44px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(20, 184, 166, 0.14),
    transparent 62%
  );
  pointer-events: none;
}

.cta > * {
  position: relative;
}

.cta p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

.cta .btn-row {
  justify-content: center;
}

/* ---------- email card ---------- */
.email-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  text-align: center;
}

.email-card a.email {
  display: inline-block;
  font-size: clamp(18px, 3.4vw, 26px);
  font-weight: 700;
  color: var(--accent-bright);
  margin: 8px 0 6px;
  word-break: break-word;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--page-alt);
  padding: 40px 0 24px;
  margin-top: 8px;
}

.site-footer .cols {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer .tagline {
  color: var(--text-faint);
  font-size: 13px;
  margin: 10px 0 0;
  max-width: 300px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 14px;
}

.footer-nav a {
  color: var(--text-muted);
}

.footer-base {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-faint);
}

/* ---------- page header (inner pages) ---------- */
.page-head {
  padding: 56px 0 8px;
}

.page-head p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0;
}

/* ---------- prose ---------- */
.prose {
  max-width: 720px;
}

.prose h2 {
  margin-top: 36px;
}

.prose p {
  color: var(--text-muted);
}

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .grid--3,
  .grid--2,
  .trust,
  .check-list {
    grid-template-columns: 1fr;
  }

  .trust {
    gap: 16px;
  }

  .site-header .wrap {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav {
    margin-left: 0;
    width: 100%;
    gap: 18px;
    order: 3;
  }

  .site-header .btn {
    margin-left: auto;
  }

  .hero {
    padding: 48px 0 44px;
  }

  .section {
    padding: 48px 0;
  }

  .cta {
    padding: 32px 20px;
  }
}

@media (max-width: 480px) {
  .check-list {
    grid-template-columns: 1fr;
  }

  .btn-row .btn {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover {
    transform: none;
  }
}
