:root {
  --navy: #0f172a;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eff4ff;
  --text: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #93b4f8; outline-offset: 2px; }

/* ---------- Nav ---------- */
.nav { background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(6px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.15rem; color: var(--navy); }
.brand svg { width: 26px; height: 26px; }
.brand span { color: var(--blue); }
.nav-links { display: flex; gap: 22px; white-space: nowrap; font-size: .92rem; font-weight: 500; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--navy); }
.nav-actions { white-space: nowrap; display: flex; align-items: center; gap: 18px; font-size: .92rem; font-weight: 500; }
.nav-actions .signin { color: var(--muted); }
.nav-actions .signin:hover { color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-align: center; font: inherit; font-weight: 600; font-size: .95rem;
  padding: 11px 20px; border-radius: 8px; border: 1px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-sm { padding: 8px 14px; font-size: .88rem; }
.btn-lg { padding: 13px 26px; font-size: 1rem; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--blue-soft); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #1e293b; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- Common ---------- */
.badge { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .03em; padding: 4px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); border: 1px solid #dbe6fe; }
.badge-dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.section { padding: 80px 0; }
.section.alt { background: var(--bg); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2, .section-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); line-height: 1.2; color: var(--navy); margin: 0 0 12px; }
.section-head p, .section-sub { color: var(--muted); margin: 0; }
.section-title { text-align: center; }
.section-sub { text-align: center; margin-bottom: 28px; }
.eyebrow { text-transform: uppercase; font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: var(--blue); margin-bottom: 10px; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 72px 0 56px; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); line-height: 1.1; color: var(--navy); margin: 20px auto 16px; max-width: 18ch; letter-spacing: -.02em; }
.hero .sub { color: var(--muted); max-width: 680px; margin: 0 auto 28px; font-size: 1.08rem; }
.cta-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.standards { font-size: .85rem; color: var(--muted); margin: 0 0 40px; }

/* Video slot */
.video { position: relative; max-width: 980px; margin: 0 auto; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); overflow: hidden; text-align: left; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mock { position: absolute; inset: 0; padding: 4% 4% 0; display: grid; grid-template-columns: 1.7fr 1fr; gap: 3%; opacity: .95; }
.mock-panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.mock-bar { height: 8px; border-radius: 4px; background: var(--line); margin-bottom: 9px; }
.mock-bar.b { background: #bfd2fb; width: 60%; }
.mock-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 8px; margin-top: 10px; }
.mock-row i { height: 10px; border-radius: 3px; background: #edf1f7; }
.mock-metric { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; font-weight: 600; color: var(--navy); padding: 9px 0; border-bottom: 1px solid var(--line); }
.mock-metric:last-child { border: 0; }
.mock-metric b { color: #15803d; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--blue); cursor: pointer; display: grid; place-items: center; }
.play:hover { background: var(--blue-dark); }
.play svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
.video .float-badge { position: absolute; left: 16px; bottom: 16px; background: var(--navy); color: #fff; font-size: .82rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; }

/* ---------- Steps ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.box h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--navy); }
.box p { margin: 0; color: var(--muted); font-size: .95rem; }
.step { position: relative; }
.step .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 16px; }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -18px; top: 30px; color: #94a3b8; font-size: 1.1rem; z-index: 1; }
.svc .icon { width: 40px; height: 40px; border-radius: 8px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }

/* ---------- Pricing ---------- */
.switch { display: inline-flex; flex-wrap: wrap; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 4px; gap: 4px; }
.switch-opt { font: inherit; font-weight: 600; font-size: .92rem; border: 0; background: transparent; color: var(--muted); padding: 9px 18px; border-radius: 7px; cursor: pointer; }
.switch-opt em { font-style: normal; font-size: .78rem; margin-left: 6px; opacity: .85; }
.switch-opt.active { background: var(--navy); color: #fff; }
.switch-wrap { text-align: center; margin-bottom: 36px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; }
.card.featured { border: 2px solid var(--blue); }
.card h3 { margin: 14px 0 0; font-size: 1.3rem; color: var(--navy); letter-spacing: .04em; }
.plan-type { margin: 0; color: var(--blue); font-weight: 600; font-size: .86rem; }
.target { color: var(--muted); font-size: .9rem; min-height: 4.4em; margin: 10px 0 16px; }
.price { display: flex; align-items: baseline; gap: 6px; }
.amount { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.amount-text { font-size: 2rem; }
.per { color: var(--muted); }
.price-note { margin: 2px 0 18px; color: var(--muted); font-size: .85rem; min-height: 1.4em; }
.features { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; border-top: 1px solid var(--line); }
.features li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.features li::before { content: "✓"; position: absolute; left: 2px; top: 9px; color: var(--blue); font-weight: 700; }
.more { text-align: center; margin-top: 24px; }
.more a { color: var(--blue); font-weight: 600; }
.more a:hover { text-decoration: underline; }

/* Table */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; font-size: .9rem; }
thead th { background: var(--navy); color: #fff; }
thead th small { display: block; font-weight: 400; opacity: .75; }
tbody th { text-align: left; font-weight: 600; color: var(--navy); background: #fff; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.col-pro { background: var(--blue-soft); }
thead .col-pro { background: var(--blue); }

/* FAQ */
.faq { max-width: 820px; }
details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; padding: 0 20px; }
summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 16px 28px 16px 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--blue); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--muted); }

/* Page head (pricing) */
.page-head { text-align: center; padding: 64px 0 36px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; color: var(--navy); margin: 18px auto 14px; max-width: 20ch; letter-spacing: -.02em; }
.page-head .sub { color: var(--muted); max-width: 640px; margin: 0 auto 28px; font-size: 1.05rem; }

/* ---------- Final CTA / Footer ---------- */
.cta { background: var(--navy); color: #fff; text-align: center; padding: 72px 0; }
.cta h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 auto 10px; max-width: 26ch; }
.cta p { color: #94a3b8; margin: 0 auto 28px; max-width: 560px; }
.footer { background: #fff; border-top: 1px solid var(--line); padding: 36px 0; font-size: .88rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 14px; }
.footer-links a:hover { color: var(--navy); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .grid-3, .plans { grid-template-columns: 1fr; }
  .plans { max-width: 520px; margin-inline: auto; }
  .grid-2 { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .target { min-height: 0; }
  .section { padding: 56px 0; }
  .mock { grid-template-columns: 1fr; }
  .mock-panel + .mock-panel { display: none; }
}
@media (max-width: 520px) {
  .nav-actions .signin { display: none; }
  .switch-opt em { display: block; margin: 0; }
  .play { width: 56px; height: 56px; }
}

/* ---------- Forms & contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.field { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid #93b4f8; border-color: var(--blue); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #dc2626; }
.note { margin: 0; font-size: .82rem; color: var(--muted); }
@media (max-width: 1120px) { .nav-links { display: none; } }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- About profile ---------- */
.profile-grid { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.profile-photo-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.profile-photo-card img { display: block; width: 100%; height: auto; max-height: 260px; object-fit: cover; object-position: top; }
.profile-badges { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; border-top: 1px solid var(--line); }
.profile-badges span { font-size: .75rem; font-weight: 600; color: var(--blue); background: var(--blue-soft); border: 1px solid #dbe6fe; border-radius: 999px; padding: 3px 10px; }
.profile-name { margin-top: 18px; font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.profile-title { color: var(--muted); font-size: .95rem; }
.profile-links { display: flex; gap: 18px; margin: 10px 0 0; font-weight: 600; color: var(--blue); }
.profile-list { margin: 0; padding-left: 20px; display: grid; gap: 16px; font-size: 1.05rem; }
.profile-list li::marker { color: var(--blue); }

/* ---------- Articles ---------- */
.article-card { display: block; transition: border-color .15s; }
.article-card:hover { border-color: var(--blue); }
.article-card h3 { margin: 10px 0 8px; font-size: 1.15rem; }
.card-meta { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.article-wrap { max-width: 780px; padding: 40px 0 64px; }
.article-wrap h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.2; color: var(--navy); margin: 0 0 8px; }
.article-content { margin-top: 28px; font-size: 1.02rem; }
.article-content h1, .article-content h2, .article-content h3 { color: var(--navy); line-height: 1.25; margin: 1.8em 0 .6em; }
.article-content img { max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.article-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.article-content a { color: var(--blue); }
.article-content code { background: var(--bg); padding: 1px 5px; border-radius: 4px; }
.article-content table { min-width: 0; }
@media (max-width: 960px) { .profile-grid { grid-template-columns: 1fr; gap: 28px; } .profile-grid > div { max-width: 280px; } }

/* ---------- Design refresh: dark hero, mono labels, product shots ---------- */
:root { --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; --ink: #0b1220; }
body { font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }
.eyebrow, .badge, .plan-type { font-family: var(--mono); }
.eyebrow { letter-spacing: .12em; }

.hero-dark { background: var(--ink); color: #e2e8f0; padding: 72px 0 0; overflow: hidden; border-bottom: 1px solid #1e293b; }
.hero-copy { max-width: 760px; }
.mono-label { display: inline-block; font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; color: #93b4f8; border: 1px solid #25324a; border-radius: 4px; padding: 5px 10px; margin-bottom: 22px; }
.hero-dark h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); line-height: 1.05; letter-spacing: -.03em; color: #fff; margin: 0 0 18px; max-width: 16ch; }
.hero-dark .sub { color: #a8b6cc; font-size: 1.1rem; max-width: 620px; margin: 0 0 28px; }
.hero-dark .cta-group { justify-content: flex-start; margin-bottom: 18px; }
.mono-note { font-family: var(--mono); font-size: .8rem; color: #64748b; margin: 0 0 44px; }

.shot-frame { margin: 0; border: 1px solid #25324a; border-radius: 10px 10px 0 0; overflow: hidden; background: #fff; }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-bar { display: flex; align-items: center; gap: 6px; background: #162033; padding: 9px 14px; border-bottom: 1px solid #25324a; }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #334155; }
.shot-bar span { margin-left: 10px; font-family: var(--mono); font-size: .72rem; color: #7f8ea6; }
.hero-shot { margin-bottom: 0; }

.proof { background: #fff; border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { padding: 26px 22px; border-left: 1px solid var(--line); display: grid; gap: 2px; }
.proof-grid > div:first-child { border-left: 0; padding-left: 0; }
.proof-grid b { font-size: 1.5rem; color: var(--navy); letter-spacing: -.02em; }
.proof-grid span { font-family: var(--mono); font-size: .75rem; color: var(--muted); }

.step-shot { display: block; width: 100%; height: 150px; object-fit: cover; object-position: left top; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 20px; background: #fff; }
.step .num { font-family: var(--mono); border-radius: 4px; }

.cta { background: var(--ink); }

@media (max-width: 960px) {
  .hero-dark { padding-top: 48px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
