:root {
  --brand: #00818a;
  --brand-dark: #00676e;
  --brand-soft: #e6f3f4;
  --ink: #001211;
  --text: #12201f;
  --muted: #4a5554;
  --line: #e3e8e8;
  --bg: #ffffff;
  --surface: #f4f7f7;
  --dark: #050506;
  --dark-line: #1c2222;
  --radius: 12px;
  --font: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; font-family: var(--font);
  line-height: 1.2; text-align: center;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-dark); }
.btn-outline { border-color: #cdd6d6; color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: flex; align-items: center; }
.logo img { height: 42px; width: auto; filter: invert(1); }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--text); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--brand); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; padding: 8px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  margin: 4px auto; border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero (dark billboard, like NOW home) ---------- */
.hero {
  position: relative; padding: 84px 0 88px; text-align: center; color: #fff; overflow: hidden;
  background:
    radial-gradient(ellipse 62% 55% at 50% -10%, rgba(0, 129, 138, .24), transparent 65%),
    radial-gradient(ellipse 45% 40% at 50% 112%, rgba(7, 179, 255, .10), transparent 60%),
    #0a1b1b;
}
.hero-logo { display: flex; justify-content: center; margin-bottom: 28px; }
.hero-logo img { height: 96px; width: auto; }
.kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: 2.5px;
  font-size: 12px; font-weight: 700; color: #07b3ff; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(52px, 9vw, 104px); letter-spacing: -0.04em; color: #fff; }
.hero-sub {
  font-size: clamp(22px, 3.2vw, 32px); font-weight: 600; color: #fff;
  letter-spacing: -0.02em; margin-top: 14px;
}
.hero .subtext { color: #a4a5a7; font-size: 18px; max-width: 520px; margin: 18px auto 0; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.hero .btn-outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
.hero .btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.hero-points {
  list-style: none; display: flex; gap: 24px; flex-wrap: wrap; justify-content: center;
  margin-top: 32px; color: #a4a5a7; font-size: 14px; font-weight: 500;
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: "\2713"; color: var(--brand); font-weight: 800; }

/* ---------- Benefits strip ---------- */
.benefits { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefits-row { display: flex; justify-content: center; flex-wrap: wrap; }
.benefit { display: flex; align-items: center; gap: 10px; padding: 26px 34px; color: var(--text); font-size: 15px; font-weight: 500; }
.benefit svg { width: 18px; height: 18px; color: var(--brand); flex: 0 0 auto; }
.benefit + .benefit { border-left: 1px solid var(--line); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--surface); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 16px; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.feature .icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--brand-soft);
  color: var(--brand-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature .icon svg { width: 21px; height: 21px; }
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ---------- Membership / plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative; background: var(--bg); border: 1px solid var(--line);
  border-radius: 16px; padding: 32px 26px; display: flex; flex-direction: column;
}
.plan-name { font-size: 17px; font-weight: 700; }
.plan-tagline { color: var(--muted); font-size: 13px; margin-top: 3px; }
.price { font-size: 46px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 20px 0 2px; }
.price .cur { font-size: 24px; vertical-align: 20px; margin-right: 1px; font-weight: 700; }
.per { color: var(--muted); font-size: 13px; }
.conn-list { gap: 8px; margin: 20px 0 24px; }
.conn-list li { justify-content: space-between; align-items: center; padding: 9px 12px; background: var(--surface); border-radius: 10px; }
.plan ul.conn-list li::before { content: none; }
.conn-list li span { color: var(--muted); font-size: 13.5px; }
.conn-list li strong { color: var(--ink); font-size: 15.5px; font-weight: 800; }
.plan ul { list-style: none; margin: 22px 0 28px; display: flex; flex-direction: column; gap: 11px; }
.plan ul li { display: flex; gap: 9px; align-items: flex-start; color: var(--text); font-size: 14.5px; }
.plan ul li::before { content: "\2713"; color: var(--brand); font-weight: 800; }
.plan .btn { margin-top: auto; }
.plan-hot { border-color: var(--brand); box-shadow: 0 18px 44px rgba(0, 129, 138, .14); }
.flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 15px; border-radius: 999px; white-space: nowrap;
}
.plans-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 28px; }
.plans-note a { color: var(--brand); font-weight: 600; }

/* ---------- Pricing table ---------- */
.pricing-table-wrap { overflow-x: auto; margin: 8px 0 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.pricing-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.pricing-table caption { caption-side: top; text-align: left; padding: 14px 16px; font-weight: 700; color: var(--ink); font-size: 15px; background: var(--surface); border-bottom: 1px solid var(--line); }
.pricing-table th, .pricing-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.pricing-table thead th { background: var(--surface); color: var(--muted); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.pricing-table tbody th { color: var(--ink); font-weight: 700; white-space: nowrap; }
.pricing-table tbody tr:last-child th, .pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table tbody tr:hover { background: var(--surface); }
/* ---------- Devices ---------- */
.devices { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.device { border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-size: 14px; color: var(--muted); background: var(--bg); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column;
  transition: border-color .15s ease, transform .15s ease;
}
.blog-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.blog-date { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700; }
.blog-card h3 { font-size: 17px; font-weight: 700; margin: 12px 0 8px; }
.blog-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.more { color: var(--brand); font-weight: 600; font-size: 14.5px; margin-top: 18px; }
.more:hover { color: var(--brand-dark); }

/* ---------- Contact + FAQ ---------- */
.contact-grid { display: grid; grid-template-columns: 340px 1fr; gap: 18px; align-items: start; }
.contact-card {
  background: var(--dark); border-radius: var(--radius); padding: 30px 26px; color: #fff;
}
.contact-card h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.contact-card .lead { color: #9aa3a3; font-size: 14.5px; margin-bottom: 10px; }
.contact-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--dark-line); color: #e6ecec; font-size: 14.5px; }
.contact-row svg { width: 18px; height: 18px; color: var(--brand); flex: 0 0 auto; }
.contact-row a { color: #e6ecec; }
.contact-row a:hover { color: var(--brand); }
.contact-card .btn { margin-top: 22px; }
.faq-heading { font-size: 18px; margin-bottom: 14px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.faq-q {
  width: 100%; background: none; border: none; color: var(--ink); font-size: 16px;
  font-weight: 600; text-align: left; padding: 18px 22px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--font);
}
.faq-icon { color: var(--brand); font-size: 22px; font-weight: 400; transition: transform .2s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- Final CTA (dark) ---------- */
.final { background: var(--dark); padding: 84px 0; text-align: center; }
.final-logo { margin: 0 auto 30px; }
.final-logo img { height: 52px; width: auto; margin: 0 auto; }
.final h2 { color: #fff; font-size: clamp(30px, 5vw, 46px); }
.final p { color: #9aa3a3; font-size: 17px; margin: 14px 0 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); border-top: 1px solid var(--dark-line); padding: 52px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { max-width: 320px; }
.footer-brand .logo img { height: 36px; width: auto; filter: none; }
.footer-brand p { color: #7d8787; font-size: 13px; margin-top: 16px; }
.footer-col h4 { color: #e6ecec; font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 14px; font-weight: 700; }
.footer-col a { display: block; color: #7d8787; font-size: 14px; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--dark-line); margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #7d8787; font-size: 13px;
}

/* ---------- Page hero (inner pages) ---------- */
.hero-page { padding: 72px 0 40px; text-align: center; color: #fff; }
.hero-page h1 { font-size: clamp(38px, 5.5vw, 60px); color: #fff; }
.hero-page .subtext { margin: 16px auto 0; color: #a4a5a7; }

/* ---------- Content / legal pages ---------- */
.page { padding: 56px 0 96px; }
.page h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 10px; }
.page .lede { color: var(--muted); font-size: 17px; max-width: 640px; }
.page .updated { color: var(--muted); font-size: 13px; margin-top: 8px; }
.prose { max-width: 720px; margin-top: 40px; }
.prose h2 { font-size: 22px; margin: 38px 0 12px; }
.prose h3 { font-size: 17px; margin: 26px 0 8px; }
.prose p { color: var(--text); margin-bottom: 14px; }
.prose ul { margin: 0 0 16px 20px; color: var(--text); }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--brand); }
.prose a:hover { text-decoration: underline; }

/* ---------- Author ---------- */
.author-card {
  display: flex; gap: 30px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 36px;
  margin-top: 40px; max-width: 720px;
}
.author-avatar {
  width: 96px; height: 96px; border-radius: 50%; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 800;
  flex: 0 0 auto; letter-spacing: -0.02em;
}
.author-card h2 { font-size: 24px; }
.author-card .role { color: var(--brand); font-weight: 600; font-size: 14px; margin: 4px 0 12px; }
.author-card p { color: var(--muted); font-size: 15px; }
.author-social { display: flex; gap: 14px; margin-top: 16px; }
.author-social a { color: var(--brand); font-weight: 600; font-size: 14px; }
.author-social a:hover { color: var(--brand-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .nav.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 16px;
    box-shadow: 0 24px 44px rgba(0, 0, 0, .10);
  }
  .nav.open a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav.open a:last-child { border-bottom: none; }

  .hero { padding: 56px 0 48px; }
  .hero-logo img { height: 60px; }
  .hero h1 { font-size: 52px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .features { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .benefits-row { flex-direction: column; align-items: stretch; }
  .benefit { padding: 16px 24px; }
  .benefit + .benefit { border-left: none; border-top: 1px solid var(--line); }
  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .author-card { flex-direction: column; padding: 26px; }
}

/* ---------- Breadcrumb, post meta & TOC ---------- */
.breadcrumb { font-size: 13.5px; color: var(--muted); margin: 28px 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { margin: 0 7px; color: var(--line); }
.post-meta { display: flex; align-items: center; gap: 14px; margin: 18px 0 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.post-meta .mini-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; flex: 0 0 auto; }
.post-meta-text { font-size: 14px; color: var(--muted); }
.post-meta-text a { color: var(--brand); font-weight: 600; }
.post-meta-text strong { color: var(--ink); }
.post-meta-date { display: block; font-size: 12.5px; margin-top: 2px; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 8px; }
.toc strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--ink); margin-bottom: 12px; }
.toc ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.toc li { margin-bottom: 8px; font-size: 14px; break-inside: avoid; }
.toc a { color: var(--text); }
.toc a:hover { color: var(--brand); }

@media (max-width: 720px) { .toc ul { columns: 1; } }
