/* NameCentury buyer product site — soft-launch.product.html
   Wholesale B2B shell (reference IA: sms-gateway.app; brand: Name Century) */

:root {
  --sg-primary: #0f52ba;
  --sg-accent: #00a8e8;
  --sg-ink: #0b1f3a;
  --sg-muted: #5b6b7f;
  --sg-line: #d7e0ec;
  --sg-surface: #ffffff;
  --sg-canvas: #eef3f9;
  --sg-font: Manrope, "Segoe UI", sans-serif;
  --sg-display: Sora, Manrope, sans-serif;
  --sg-radius: 14px;
  --sg-shadow: 0 18px 48px rgba(11, 31, 58, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body.gw-site {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sg-font);
  color: var(--sg-ink);
  background:
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(0, 168, 232, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 40% at 0% 20%, rgba(15, 82, 186, 0.1), transparent 50%),
    linear-gradient(180deg, #f7fafc 0%, var(--sg-canvas) 42%, #f4f7fb 100%);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--sg-primary);
}

.gw-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Slim install notice — not a loud hero banner */
.gw-banner {
  display: none;
  background: rgba(15, 82, 186, 0.92);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  padding: 0.55rem 1rem;
}
.gw-banner.is-on {
  display: block;
  animation: gwFadeDown 0.45s ease both;
}

/* Masthead */
.gw-mast {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(215, 224, 236, 0.9);
}

.gw-mast-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
  padding: 0.55rem 0;
}

.gw-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.gw-brand-mark {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--sg-primary), #083a8a);
  color: #fff;
  font-family: var(--sg-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 20px rgba(15, 82, 186, 0.28);
}

.gw-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.gw-brand-name {
  font-family: var(--sg-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.gw-brand-host {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sg-muted);
}

.gw-logo {
  height: 2.25rem;
  width: auto;
  display: block;
}

.gw-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.15rem;
  flex: 1;
  min-width: 0;
  justify-content: flex-end;
}

.gw-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 650;
  color: #334155;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.gw-nav-link:hover {
  background: rgba(15, 82, 186, 0.08);
  color: var(--sg-primary);
}

.gw-nav-link.is-active {
  background: rgba(15, 82, 186, 0.12);
  color: var(--sg-primary);
}

.gw-mast-actions {
  display: none;
  gap: 0.45rem;
  flex-shrink: 0;
}

@media (min-width: 980px) {
  .gw-mast-actions {
    display: flex;
  }
  .gw-nav {
    justify-content: center;
  }
}

/* Hero */
.gw-hero {
  position: relative;
  overflow: hidden;
  color: #f8fafc;
  padding: 3.25rem 0 2.75rem;
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(0, 168, 232, 0.28), transparent 55%),
    linear-gradient(155deg, #071a33 0%, #0f52ba 48%, #0a3a7a 100%);
}

.gw-hero-plane {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%),
    radial-gradient(circle at 12% 80%, rgba(0, 168, 232, 0.2), transparent 40%);
  pointer-events: none;
  animation: gwPlane 14s ease-in-out infinite alternate;
}

.gw-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  animation: gwRise 0.65s ease both;
}

.gw-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.72);
}

.gw-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--sg-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #fff;
}

.gw-hero-lead {
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(248, 250, 252, 0.9);
  max-width: 34rem;
}

.gw-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.gw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.65rem;
  padding: 0.55rem 1.15rem;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.gw-btn:hover {
  transform: translateY(-1px);
}

.gw-btn--accent {
  background: var(--sg-accent);
  color: #062033;
  box-shadow: 0 10px 24px rgba(0, 168, 232, 0.35);
}

.gw-btn--primary {
  background: #fff;
  color: var(--sg-primary);
}

.gw-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.gw-btn--ghost-dark {
  background: transparent;
  color: var(--sg-primary);
  border-color: color-mix(in srgb, var(--sg-primary) 35%, #fff);
}

.gw-btn--solid {
  background: var(--sg-primary);
  color: #fff;
}

/* Ops strip — secondary, not the product story */
.gw-ops {
  margin-top: -1.35rem;
  position: relative;
  z-index: 2;
  animation: gwRise 0.75s ease 0.08s both;
}

.gw-ops-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  padding: 0.95rem 1.2rem;
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  border: 1px solid var(--sg-line);
  box-shadow: var(--sg-shadow);
}

.gw-ops-meta {
  flex: 1;
  min-width: 12rem;
}

.gw-ops-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sg-muted);
}

.gw-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.84rem;
}

.gw-status-pill .dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent);
}

.gw-status-pill.is-online {
  background: #dcfce7;
  color: #166534;
}
.gw-status-pill.is-offline {
  background: #fee2e2;
  color: #991b1b;
}
.gw-status-pill.is-unknown {
  background: #e8eef6;
  color: #475569;
}

.gw-lic,
.gw-ops-status {
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  color: var(--sg-muted);
  line-height: 1.4;
}

.gw-ops-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* Main content */
.gw-main {
  padding: 2rem 0 3.5rem;
}

.gw-panel {
  background: var(--sg-surface);
  border: 1px solid var(--sg-line);
  border-radius: calc(var(--sg-radius) + 2px);
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.06);
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  animation: gwRise 0.7s ease 0.12s both;
}

.gw-page-body {
  line-height: 1.6;
  color: #334155;
  font-size: 1rem;
}

.gw-page-text {
  white-space: normal;
}

.gw-sec {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--sg-line);
}

.gw-sec:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.gw-sec-title {
  margin: 0 0 0.45rem;
  font-family: var(--sg-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sg-ink);
}

.gw-sec-body {
  margin: 0.25rem 0;
  color: #475569;
  line-height: 1.55;
}

.gw-sec-cap {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  color: var(--sg-muted);
}

.gw-sec--cta {
  background: linear-gradient(165deg, #f8fbff, #eef5ff);
  border: 1px solid #d5e4f7;
  border-radius: var(--sg-radius);
  padding: 1.1rem 1.2rem;
  border-top: 1px solid #d5e4f7;
}

.gw-sec-cta {
  margin: 0.85rem 0 0;
}

.gw-video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: 0.65rem 0;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
}

.gw-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gw-img {
  margin: 0.65rem 0;
}

.gw-img img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.gw-compare-wrap {
  overflow-x: auto;
  margin: 0.85rem 0 0.25rem;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  border: 1px solid var(--sg-line);
}

.gw-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  min-width: 52rem;
}

.gw-compare th,
.gw-compare td {
  border-bottom: 1px solid #e2e8f0;
  padding: 0.55rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.gw-compare th {
  background: var(--sg-ink);
  color: #f8fafc;
  font-weight: 650;
}

.gw-compare tr.is-nc td {
  background: #eff6ff;
  font-weight: 550;
}

.gw-compare tbody tr:nth-child(even):not(.is-nc) td {
  background: #f8fafc;
}

.gw-contact {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--sg-muted);
}

.gw-buy {
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--sg-radius);
  border: 1px dashed color-mix(in srgb, var(--sg-accent) 45%, var(--sg-line));
  background: rgba(0, 168, 232, 0.06);
}

.gw-buy p {
  margin: 0.35rem 0 0;
}

.gw-foot {
  padding: 1.75rem 0 2.5rem;
  border-top: 1px solid var(--sg-line);
  color: var(--sg-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.gw-footer-links {
  margin-top: 0.45rem;
}

.gw-footer-links a {
  font-weight: 650;
  margin-right: 0.35rem;
  text-decoration: none;
}

.gw-footer-links a:hover {
  text-decoration: underline;
}

.gw-foot-meta {
  margin-top: 0.85rem;
}

.gw-foot-meta code {
  font-size: 0.82rem;
  background: rgba(15, 82, 186, 0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

@keyframes gwRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gwFadeDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gwPlane {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-2%, 1.5%, 0);
  }
}

@media (max-width: 720px) {
  .gw-mast-inner {
    flex-wrap: wrap;
  }
  .gw-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
  }
  .gw-nav-link {
    flex-shrink: 0;
  }
  .gw-mast-actions {
    display: flex;
    margin-left: auto;
  }
  .gw-hero {
    padding: 2.4rem 0 2.2rem;
  }
}

/* ——— Type scale (Org Admin: sm / md / lg) ——— */
html[data-gw-type='sm'] {
  --gw-type-kicker: 0.68rem;
  --gw-type-h1: clamp(1.45rem, 3.6vw, 2.05rem);
  --gw-type-lead: 0.92rem;
  --gw-type-body: 0.9rem;
  --gw-type-nav: 0.78rem;
}
html[data-gw-type='md'],
html:not([data-gw-type]) {
  --gw-type-kicker: 0.78rem;
  --gw-type-h1: clamp(1.85rem, 4.5vw, 2.65rem);
  --gw-type-lead: 1.05rem;
  --gw-type-body: 1rem;
  --gw-type-nav: 0.84rem;
}
html[data-gw-type='lg'] {
  --gw-type-kicker: 0.86rem;
  --gw-type-h1: clamp(2.15rem, 5.2vw, 3.15rem);
  --gw-type-lead: 1.2rem;
  --gw-type-body: 1.08rem;
  --gw-type-nav: 0.92rem;
}
body.gw-site {
  font-size: var(--gw-type-body, 1rem);
}
.gw-kicker {
  font-size: var(--gw-type-kicker) !important;
}
.gw-hero h1 {
  font-size: var(--gw-type-h1) !important;
}
.gw-hero-lead {
  font-size: var(--gw-type-lead) !important;
}
.gw-nav-link {
  font-size: var(--gw-type-nav) !important;
}

/* ——— Frame packs (structure — not just color) ——— */

/* 1) Harbor bleed — default (already base styles) */
body.gw-frame-harbor-bleed .gw-hero {
  border-radius: 0;
}

/* 2) Slate rail — left ops rail + content column */
@media (min-width: 960px) {
  body.gw-frame-slate-rail {
    display: grid;
    grid-template-columns: 15.5rem 1fr;
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas:
      'rail banner'
      'rail hero'
      'rail main'
      'rail foot';
  }
  body.gw-frame-slate-rail .gw-banner {
    grid-area: banner;
  }
  body.gw-frame-slate-rail .gw-mast {
    grid-area: rail;
    position: sticky;
    top: 0;
    height: 100vh;
    width: 15.5rem;
    border-right: 1px solid var(--sg-line);
    border-bottom: none;
    background: var(--sg-ink);
    color: #e2e8f0;
  }
  body.gw-frame-slate-rail .gw-mast-inner {
    flex-direction: column;
    align-items: stretch;
    min-height: 100vh;
    padding: 1.25rem 0.85rem;
    gap: 1rem;
  }
  body.gw-frame-slate-rail .gw-brand {
    color: #f8fafc;
  }
  body.gw-frame-slate-rail .gw-brand-host {
    color: #94a3b8;
  }
  body.gw-frame-slate-rail .gw-nav {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex: 1;
  }
  body.gw-frame-slate-rail .gw-nav-link {
    color: #cbd5e1;
    border-radius: 8px;
  }
  body.gw-frame-slate-rail .gw-nav-link.is-active,
  body.gw-frame-slate-rail .gw-nav-link:hover {
    background: rgba(56, 189, 248, 0.16);
    color: #fff;
  }
  body.gw-frame-slate-rail .gw-mast-actions {
    display: flex;
    flex-direction: column;
    margin-left: 0;
  }
  body.gw-frame-slate-rail .gw-hero {
    grid-area: hero;
    padding: 2rem 0 1.5rem;
    background: linear-gradient(180deg, #1e293b 0%, #334155 100%);
  }
  body.gw-frame-slate-rail .gw-ops {
    display: none;
  }
  body.gw-frame-slate-rail .gw-main {
    grid-area: main;
    width: min(960px, calc(100% - 2rem));
  }
  body.gw-frame-slate-rail .gw-foot {
    grid-area: foot;
  }
}

/* 3) Signal split — two-column hero */
body.gw-frame-signal-split .gw-hero {
  background:
    radial-gradient(ellipse 50% 70% at 0% 50%, rgba(34, 211, 238, 0.35), transparent 55%),
    linear-gradient(120deg, #083344 0%, #0369a1 55%, #0e7490 100%);
}
body.gw-frame-signal-split .gw-hero-inner {
  max-width: none;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 880px) {
  body.gw-frame-signal-split .gw-hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
  body.gw-frame-signal-split .gw-ops {
    margin-top: -6.5rem;
  }
  body.gw-frame-signal-split .gw-ops-inner {
    border-radius: 16px;
    border: 2px solid color-mix(in srgb, var(--sg-accent) 45%, #fff);
    box-shadow: 0 22px 50px rgba(8, 51, 68, 0.22);
  }
}
body.gw-frame-signal-split .gw-nav-link {
  border-radius: 8px;
}

/* 4) Ledger stack — minimal white boardroom, no bleed gradient */
body.gw-frame-ledger-stack {
  background: var(--sg-canvas) !important;
}
body.gw-frame-ledger-stack .gw-mast {
  background: #fff;
  border-bottom: 2px solid var(--sg-line);
  backdrop-filter: none;
}
body.gw-frame-ledger-stack .gw-nav-link {
  border-radius: 4px;
}
body.gw-frame-ledger-stack .gw-hero {
  color: var(--sg-ink);
  padding: 2.4rem 0 1.4rem;
  background: #fff;
  border-bottom: 1px solid var(--sg-line);
}
body.gw-frame-ledger-stack .gw-hero-plane {
  display: none;
}
body.gw-frame-ledger-stack .gw-kicker {
  color: var(--sg-primary);
}
body.gw-frame-ledger-stack .gw-hero h1 {
  color: var(--sg-ink);
}
body.gw-frame-ledger-stack .gw-hero-lead {
  color: var(--sg-muted);
}
body.gw-frame-ledger-stack .gw-btn--ghost {
  color: var(--sg-primary);
  border-color: var(--sg-line);
}
body.gw-frame-ledger-stack .gw-ops {
  margin-top: 0;
}
body.gw-frame-ledger-stack .gw-ops-inner,
body.gw-frame-ledger-stack .gw-panel {
  border-radius: 6px;
  box-shadow: none;
  border: 1px solid var(--sg-line);
}

/* 5) Field cards — soft card hero cluster */
body.gw-frame-field-cards .gw-hero {
  margin: 1rem auto 0;
  width: min(1120px, calc(100% - 2rem));
  border-radius: calc(var(--sg-radius) + 4px);
  padding: 2.5rem 1.5rem;
  background:
    radial-gradient(ellipse 60% 80% at 90% 10%, rgba(45, 212, 191, 0.35), transparent 50%),
    linear-gradient(145deg, #134e4a 0%, #0f766e 50%, #115e59 100%);
  box-shadow: 0 20px 48px rgba(19, 78, 74, 0.22);
}
body.gw-frame-field-cards .gw-ops {
  margin-top: 1rem;
}
body.gw-frame-field-cards .gw-ops-inner {
  border-radius: 18px;
}
body.gw-frame-field-cards .gw-panel {
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--sg-accent) 35%, var(--sg-line));
}
body.gw-frame-field-cards .gw-mast {
  background: color-mix(in srgb, var(--sg-canvas) 80%, #fff);
}

/* 6) Night console — dark monitoring desk */
body.gw-frame-night-console {
  background: #070b14 !important;
  color: #e2e8f0;
}
body.gw-frame-night-console .gw-mast {
  background: rgba(17, 24, 39, 0.94);
  border-bottom: 1px solid #1f2937;
  backdrop-filter: blur(10px);
}
body.gw-frame-night-console .gw-brand-name,
body.gw-frame-night-console .gw-brand-host {
  color: #e2e8f0;
}
body.gw-frame-night-console .gw-nav-link {
  color: #94a3b8;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
body.gw-frame-night-console .gw-nav-link.is-active {
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
}
body.gw-frame-night-console .gw-hero {
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.08), transparent 40%),
    #0b1220;
  border-bottom: 1px solid #1f2937;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
body.gw-frame-night-console .gw-kicker {
  color: #38bdf8;
  letter-spacing: 0.16em;
}
body.gw-frame-night-console .gw-ops-inner,
body.gw-frame-night-console .gw-panel,
body.gw-frame-night-console .gw-buy {
  background: #111827;
  border-color: #1f2937;
  color: #e2e8f0;
  box-shadow: none;
}
body.gw-frame-night-console .gw-foot {
  background: #070b14;
  color: #94a3b8;
  border-top: 1px solid #1f2937;
}
body.gw-frame-night-console a {
  color: #38bdf8;
}
