/* NetStoic marketing site — matches the app's design language:
   Raleway display / Inter body, brand blue #00679E, page tint #EEF2F6,
   10px cards, pill CTAs. Static, no frameworks. */

:root {
  --brand: #00679E;
  --brand-dark: #004E78;
  --ink: #1A2733;
  --muted: #5B6B7A;
  --page: #EEF2F6;
  --card: #FFFFFF;
  --line: #D8E0E8;
  --navy: #0E1626;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.6;
}

h1, h2, h3, .brand-font {
  font-family: 'Raleway', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
.nav {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.nav .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav .logo img { height: 34px; width: auto; }
.nav .logo span { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 20px; color: var(--ink); }
.nav .links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--brand); }

.btn {
  display: inline-block; background: var(--brand); color: #fff;
  border: none; border-radius: 999px; padding: 12px 26px;
  font: 600 15px 'Inter', sans-serif; text-decoration: none;
  cursor: pointer; transition: background .15s;
}
.btn:hover { background: var(--brand-dark); }
.btn.ghost { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn.ghost:hover { background: rgba(0,103,158,.08); }
.btn.big { padding: 15px 34px; font-size: 16px; }
.btn:disabled { opacity: .55; cursor: default; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #12324E 60%, var(--brand-dark) 100%);
  color: #fff; padding: 88px 0 72px; text-align: center;
}
.hero img.mark { height: 92px; width: auto; margin-bottom: 22px; }
.hero h1 { font-size: 52px; letter-spacing: -.5px; }
.hero p.sub { font-size: 19px; color: #BCD3E4; margin: 16px auto 34px; max-width: 560px; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .btn.ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.hero .btn.ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- sections ---------- */
section { padding: 72px 0; }
section h2 { font-size: 32px; text-align: center; margin-bottom: 10px; }
section p.lead { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 44px; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 28px;
}
.card h3 { font-size: 19px; margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card .ic {
  width: 46px; height: 46px; border-radius: 10px;
  background: rgba(0,103,158,.1); display: grid; place-items: center;
  font-size: 22px;
}

/* ---------- pricing ---------- */
#pricing { background: var(--card); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.price-card {
  background: var(--page); border: 1px solid var(--line);
  border-radius: 10px; padding: 30px; text-align: center; position: relative;
}
.price-card.popular { border: 2px solid var(--brand); }
.price-card .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; border-radius: 999px;
  font: 600 12px 'Inter'; padding: 4px 14px;
}
.price-card .size { font-family: 'Raleway'; font-weight: 700; font-size: 26px; }
.price-card .amount { font-size: 40px; font-weight: 700; font-family: 'Raleway'; margin: 14px 0 0; }
.price-card .amount small { font-size: 16px; color: var(--muted); font-family: 'Inter'; font-weight: 400; }
.price-card .billed { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.price-card ul { list-style: none; text-align: left; margin: 0 0 24px; }
.price-card li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink); }
.price-card li:last-child { border-bottom: none; }
.price-card li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 9px; }

.biz-strip {
  margin-top: 26px; background: var(--navy); color: #fff;
  border-radius: 10px; padding: 34px 38px;
  display: flex; align-items: center; gap: 30px; flex-wrap: wrap;
}
.biz-strip h3 { font-size: 23px; }
.biz-strip p { color: #BCD3E4; font-size: 15px; max-width: 620px; }
.biz-strip .btn { margin-left: auto; }

/* ---------- details ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-bottom: 64px; }
.split:last-child { margin-bottom: 0; }
.split img { width: 100%; border-radius: 10px; border: 1px solid var(--line); }
.split h3 { font-size: 24px; margin-bottom: 12px; }
.split p { color: var(--muted); font-size: 15.5px; }

/* ---------- footer ---------- */
/* Sticky footer: page column flex, footer pushed to bottom on short pages */
body { display: flex; flex-direction: column; min-height: 100vh; }
footer { margin-top: auto; }
footer { background: var(--navy); color: #8FA6B8; padding: 34px 0 26px; font-size: 14px; }
/* Centered stack: logo+tagline, pipe-separated links, copyright beneath —
   owner direction 2026-10-23. */
.foot-main { display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 12px; }
footer img { height: 28px; width: auto; filter: brightness(0) invert(1); opacity: .85; }
.foot-tagline { color: #BCD3E4; font-size: 13.5px; font-style: italic; }
.foot-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  align-items: center; }
.foot-links .sep { color: #55718A; user-select: none; }
footer a { color: #BCD3E4; text-decoration: none; }
footer a:hover { color: #fff; }
.foot-copy { border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px;
  margin-top: 6px; font-size: 12.5px; color: #7E97A8; }

/* ---------- signup ---------- */
.signup-shell { max-width: 860px; margin: 48px auto; padding: 0 24px; }
.signup-shell h1 { font-size: 30px; margin-bottom: 6px; }
.signup-shell .sub { color: var(--muted); margin-bottom: 28px; }
.plan-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.plan-opt {
  border: 2px solid var(--line); border-radius: 10px; background: var(--card);
  padding: 18px; cursor: pointer; text-align: center; transition: border-color .15s;
}
.plan-opt.sel { border-color: var(--brand); background: rgba(0,103,158,.05); }
.plan-opt .s { font-family: 'Raleway'; font-weight: 700; font-size: 20px; }
.plan-opt .p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 30px; }
.form-card label { display: block; font: 600 13px 'Inter'; color: var(--ink); margin: 16px 0 6px; }
.form-card input[type=text], .form-card input[type=email], .form-card input[type=number] {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px;
  font: 400 15px 'Inter'; background: #FBFCFE;
}
.form-card input:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
#card-container { min-height: 96px; margin-top: 6px; }
.seat-row { display: grid; grid-template-columns: 1fr 90px; gap: 12px; align-items: end; }
.seat-row .price-note { font-size: 13px; color: var(--muted); }
.total-line { font: 700 17px 'Raleway'; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.msg { margin-top: 16px; padding: 13px 16px; border-radius: 8px; font-size: 14.5px; display: none; }
.msg.err { display: block; background: #FDEDEC; color: #A93226; border: 1px solid #F5B7B1; }
.msg.ok { display: block; background: #E9F7EF; color: #1E8449; border: 1px solid #A9DFBF; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .cards3, .price-grid, .plan-pick { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .nav .links a.hide-sm { display: none; }
  .biz-strip .btn { margin-left: 0; }
}

/* legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 48px 24px 72px; }
.legal h1 { font-size: 34px; margin-bottom: 4px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.legal h2 { font-size: 20px; margin: 30px 0 10px; }
.legal p { margin-bottom: 14px; }
.legal ul, .legal ol { margin: 0 0 14px 24px; }
.legal li { margin-bottom: 8px; }
.legal ol.alpha { list-style: lower-alpha; }
.legal a { color: var(--brand); }

/* hero video */
.hero-video { margin-top: 34px; border-radius: 12px; overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.14); background: #000; }
.hero-video video { display: block; width: 100%; height: auto; }

/* tall (portrait) screenshots in split sections */
.split img.shot-tall { max-height: 560px; width: auto; margin: 0 auto; display: block; }

/* fix: .nav a was overriding .btn's white text (specificity) */
.nav a.btn { color: #fff; }
.nav a.btn:hover { color: #fff; background: var(--brand-dark); }

/* tighter section rhythm */
section { padding: 56px 0; }

/* feature card icons (inline SVG, no font dependency) */
.card .ic { display: inline-flex; width: 46px; height: 46px; border-radius: 12px; background: rgba(0,103,158,.1); align-items: center; justify-content: center; }
.card .ic svg { width: 24px; height: 24px; stroke: var(--brand); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* reduced-motion: swap the autoplay video for its poster frame */
.hero-video img.poster-fallback { display: none; width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) {
  .hero-video video { display: none; }
  .hero-video img.poster-fallback { display: block; }
}
