/* Marketing — 1 viewport; shared CSS grid column (logo ↔ content same vertical line) */
:root {
  --bg: #131b25;
  --bg-2: #1c2434;
  --panel: #1c2434;
  --brand: #3bd671;
  --text: #e6eaeb;
  --line: #2d3340;
  --on-brand: #131b25;
  --page-w: 1040px;
  --page-pad: 1rem;
  --col: min(var(--page-w), calc(100% - 2 * var(--page-pad)));
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }
html, body { height: 100%; margin: 0; }
body {
  min-height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Helvetica, Arial, sans-serif;
  line-height: 1.45;
  padding: var(--safe-top) 0 var(--safe-bottom);
}

.page {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--text); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
img { display: block; max-width: 100%; height: auto; }

/*
  Shared 3-column grid:
  [ fluid ] [ content column = --col ] [ fluid ]
  Header bar / footer bar = full width background;
  .wrap sits in the middle track → logo and content share one vertical line.
*/
.site-header,
main.hero,
.site-footer {
  display: grid;
  grid-template-columns: minmax(var(--page-pad), 1fr) var(--col) minmax(var(--page-pad), 1fr);
  width: 100%;
}

.wrap {
  grid-column: 2;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.site-header {
  flex: 0 0 auto;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 56px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 700;
  font-size: 0.98rem;
}
.brand:hover { color: var(--text); }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.2rem;
}
.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.35rem 0.55rem;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
}
.primary-nav a.is-active { color: var(--brand); }
.primary-nav .btn { margin-left: 0.25rem; }
.primary-nav a.btn-main,
.primary-nav a.btn-main:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
}
.primary-nav a.btn-main .material-symbols-sharp {
  color: var(--on-brand);
  font-size: 20px;
}
.btn .material-symbols-sharp.md-20 { font-size: 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.45rem 1.05rem;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-main { background: var(--brand); color: var(--on-brand); }
.btn-main:hover { filter: brightness(1.06); color: var(--on-brand); }
.btn-line { background: transparent; border-color: var(--line); color: var(--text); }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }

main.hero {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: 1.25rem 0;
  align-content: center;
}
.hero-main,
.topic {
  width: 100%;
  max-width: none;
}

/* Hero seal: size only — no CSS disc/shadow (logo webp is already transparent) */
.hero-logo {
  display: block;
  width: clamp(120px, 22vmin, 180px);
  height: auto;
  margin: 0 0 0.55rem;
  aspect-ratio: 1 / 1;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.brand img {
  background: transparent !important;
}
@media (max-width: 720px) {
  .hero-logo { width: clamp(100px, 18vmin, 140px); margin-bottom: 0.35rem; }
}
@media (max-height: 620px) {
  .hero-logo { width: 96px; }
}


.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.65rem, 3.4vw, 2.45rem);
  line-height: 1.12;
  font-weight: 800;
  color: var(--text);
}
.lead {
  margin: 0 0 1rem;
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  max-width: 46rem;
}

.lead--oneline {
  max-width: none;
  white-space: normal;
}
@media (min-width: 992px) {
  .lead--oneline {
    white-space: nowrap;
  }
}

.bullets {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.bullets .material-symbols-sharp { color: var(--brand); font-size: 22px; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
}
.feature-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 0.75rem 0.8rem;
  color: var(--text);
  min-height: 72px;
}
.feature-card:hover { border-color: var(--brand); color: var(--text); }
.feature-card strong {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.86rem;
}
.feature-card span { font-size: 0.74rem; line-height: 1.3; }
.feature-card .material-symbols-sharp { color: var(--brand); font-size: 20px; }

.site-footer {
  flex: 0 0 auto;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  min-height: 44px;
}
.footer-bar p {
  margin: 0;
  color: var(--text);
  font-size: 0.8rem;
}
.footer-bar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-bar a {
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.footer-bar a:hover { color: var(--brand); }
@media (max-width: 640px) {
  .footer-bar { justify-content: center; text-align: center; }
  .footer-bar ul { justify-content: center; }
}

.topic .cta-row { margin-bottom: 0; }

@media (max-width: 960px) {
  .feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header { position: relative; }
  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 56px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    z-index: 40;
    max-height: calc(100dvh - 56px);
    overflow: auto;
  }
  body.nav-open .primary-nav { display: block; }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0.75rem 0.75rem;
  }
  .primary-nav a { min-height: 44px; }
  .primary-nav .btn { margin-left: 0; }
}
@media (max-height: 720px) {
  h1 { font-size: 1.55rem; }
  .feature-card { min-height: 0; padding: 0.55rem 0.65rem; }
  .bullets { margin-bottom: 0.85rem; }
}
@media (max-height: 640px) {
  .feature-row { display: none; }
}

/* —— Pricing (CloudNS-style plan cards; scrollable page) —— */
body.pricing-page {
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
}
body.pricing-page .page {
  max-height: none;
  overflow: visible;
}
body.pricing-page .site-header,
body.pricing-page .site-footer {
  display: grid;
  grid-template-columns: minmax(var(--page-pad), 1fr) var(--col) minmax(var(--page-pad), 1fr);
  width: 100%;
}
.pricing-main {
  display: grid;
  grid-template-columns: minmax(var(--page-pad), 1fr) var(--col) minmax(var(--page-pad), 1fr);
  width: 100%;
  flex: 1 1 auto;
  padding: 1.25rem 0 2.5rem;
}
.pricing-main > .wrap { grid-column: 2; }
.pricing-intro { margin-bottom: 1.5rem; }
.pricing-logo {
  width: 120px;
  height: 120px;
  margin: 0 0 0.75rem;
}
.pricing-intro h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  line-height: 1.2;
}

.lead--wrap {
  white-space: normal;
  width: 100%;
  max-width: none;
  color: #b8c0cc;
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0 0 1.25rem;
}
.plan-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
}
.plan-card--featured {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}
.plan-card__badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-brand);
  background: var(--brand);
  padding: 0.2rem 0.45rem;
}
.plan-card__name {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}
.plan-card__price {
  margin: 0 0 0.85rem;
  font-size: 1.65rem;
  line-height: 1.1;
}
.plan-card__price span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #b8c0cc;
  margin-left: 0.15rem;
}
.plan-card__list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  flex: 1 1 auto;
}
.plan-card__list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.35rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.plan-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--brand);
}
.plan-card__cta {
  width: 100%;
  justify-content: center;
  min-height: 44px;
}

.pricing-trust {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--bg-2);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.pricing-trust li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.pricing-trust .material-symbols-sharp {
  color: var(--brand);
  font-size: 1.15rem;
  line-height: 1.2;
}

.pricing-block {
  margin: 0 0 2rem;
}
.pricing-block h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}
.pricing-block__lead {
  display: block;
  margin: 0 0 1rem;
  width: 100%;
  max-width: none;
  color: #b8c0cc;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.check-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 0.9rem 0.95rem;
}
.check-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
.check-card p {
  margin: 0 0 0.65rem;
  color: #b8c0cc;
  font-size: 0.92rem;
}
.check-card a { font-weight: 700; }

.plan-compare {
  border: 1px solid var(--line);
  overflow: hidden;
}
.plan-compare__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.plan-compare__row:first-child { border-top: 0; }
.plan-compare__row > div {
  padding: 0.65rem 0.75rem;
  font-size: 0.92rem;
  border-left: 1px solid var(--line);
}
.plan-compare__row > div:first-child { border-left: 0; font-weight: 700; }
.plan-compare__head {
  background: var(--bg-2);
  font-weight: 800;
}
.plan-compare__head > div { font-weight: 800; }

.pricing-faq details {
  border: 1px solid var(--line);
  background: var(--panel);
  margin: 0 0 0.5rem;
  padding: 0.65rem 0.85rem;
}
.pricing-faq summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.pricing-faq details p {
  margin: 0.35rem 0 0.25rem;
  color: #b8c0cc;
}

@media (max-width: 900px) {
  .plan-grid,
  .check-grid,
  .pricing-trust { grid-template-columns: 1fr; }
  .plan-compare { overflow-x: auto; }
  .plan-compare__row { min-width: 560px; }
}

.steps-list {
  margin: 0;
  padding: 0 0 0 1.25rem;
  max-width: 46rem;
}
.steps-list li {
  margin: 0 0 0.75rem;
  padding-left: 0.25rem;
  color: #b8c0cc;
}
.steps-list li strong { color: var(--text); }
.steps-list code,
.pricing-block code {
  font-size: 0.9em;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 0.05rem 0.35rem;
  color: var(--text);
}

.pricing-row--new {
  display: block;
  width: 100%;
  clear: both;
  margin: 0 0 1rem;
}

