/* VoyTix marketing site. No framework, no build step: edit and push. */

:root {
  --navy-900: #06182c;
  --navy-800: #0b2a45;
  --navy-700: #0f3a5e;
  --blue-700: #07509a;
  --blue-600: #075ea8;
  --blue-500: #1a74c4;
  --sky-300: #8fe3f5;
  --sky-400: #5bc8f5;
  --teal-400: #5fd4d0;
  --green-600: #16a34a;
  --green-50: #ecfdf3;
  --orange-600: #ea580c;
  --ink-900: #0b1f33;
  --ink-700: #2e4760;
  --ink-500: #56708a;
  --line: #dfe8f1;
  --surface: #ffffff;
  --surface-2: #f5f9fc;
  --surface-3: #eaf2f9;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 51, 0.06), 0 2px 8px rgba(11, 31, 51, 0.05);
  --shadow-md: 0 10px 30px rgba(11, 31, 51, 0.1);
  --shadow-lg: 0 30px 70px rgba(3, 18, 33, 0.35);
  --max: 1160px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
:focus-visible { outline: 3px solid var(--sky-400); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; color: inherit; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--surface); color: var(--ink-900); padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.shell { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 14px; border: 1px solid transparent;
  font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green-600); color: #fff; box-shadow: 0 8px 22px rgba(22, 163, 74, 0.3); }
.btn-primary:hover { background: #12883d; color: #fff; }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { background: #e9f7fd; color: var(--navy-800); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-outline { background: #fff; color: var(--navy-800); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-700); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 24, 44, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .shell { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand:hover { color: #fff; }
.site-nav { display: flex; gap: 4px; margin-left: 12px; }
.site-nav a { color: #c9dcee; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.08); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-actions .link { color: #c9dcee; font-weight: 600; font-size: 15px; text-decoration: none; padding: 8px 10px; }
.header-actions .link:hover { color: #fff; }
@media (max-width: 860px) {
  .site-nav, .header-actions .link { display: none; }
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 520px at 78% 30%, rgba(95, 212, 208, 0.22), transparent 62%),
    radial-gradient(700px 480px at 10% 0%, rgba(91, 200, 245, 0.18), transparent 60%),
    linear-gradient(170deg, var(--navy-900) 0%, var(--navy-800) 45%, #0c3456 100%);
}
.hero .shell { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--teal-400); background: rgba(95, 212, 208, 0.1); border: 1px solid rgba(95, 212, 208, 0.28);
}
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); font-weight: 850; margin: 20px 0 18px; }
.hero h1 .accent { color: var(--teal-400); display: block; }
.hero .lead { font-size: clamp(18px, 1.6vw, 20px); color: #c7daec; max-width: 34em; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: 14.5px; color: #9fbcd6; }
.hero-visual { position: relative; display: flex; justify-content: center; }

.phone {
  position: relative; width: min(320px, 78vw); border-radius: 44px; padding: 11px;
  background: linear-gradient(160deg, #1c2f45, #0a1726);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.phone img { border-radius: 34px; width: 100%; aspect-ratio: 958 / 1952; object-fit: cover; background: #eef4fa; }
.phone-sm { width: min(260px, 70vw); border-radius: 38px; padding: 9px; }
.phone-sm img { border-radius: 30px; }

.footnote { font-size: 13px; color: #8aa9c6; margin-top: 18px; text-align: center; }

@media (max-width: 960px) {
  .hero .shell { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 64px; text-align: left; }
  .hero-visual { margin-top: 12px; }
}
@media (max-width: 520px) {
  .hero-ctas .btn { width: 100%; }
}

/* ── Sections ─────────────────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-alt { background: var(--surface-2); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .kicker { display: block; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(32px, 3.6vw, 46px); font-weight: 850; }
.section-head p { color: var(--ink-700); font-size: 19px; margin: 0; }
@media (max-width: 720px) { .section { padding: 68px 0; } .section-head { margin-bottom: 40px; } }

/* Contrast strip */
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contrast > div { border-radius: var(--radius-lg); padding: 30px 32px; }
.contrast .before { background: #fff; border: 1px solid var(--line); color: var(--ink-700); }
.contrast .after { background: var(--navy-800); color: #dcebf8; }
.contrast h3 { font-size: 22px; margin-bottom: 10px; }
.contrast .after h3 { color: #fff; }
.contrast p { margin: 0; }
@media (max-width: 760px) { .contrast { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 18px;
  background: var(--navy-800); color: var(--teal-400); font-weight: 800; font-size: 18px;
}
.step h3 { font-size: 21px; }
.step p { color: var(--ink-700); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 36px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature .copy { max-width: 470px; }
.feature.flip .copy { order: 2; justify-self: start; }
.feature .media { display: flex; justify-content: center; }
.feature .label { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-600); }
.feature h3 { font-size: clamp(28px, 2.8vw, 38px); font-weight: 850; margin-top: 10px; }
.feature h3 .accent { color: var(--blue-600); }
.feature p { color: var(--ink-700); font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.chips li { background: var(--surface-3); color: var(--navy-700); font-weight: 650; font-size: 14px; border-radius: 999px; padding: 6px 12px; }
.chips li.money { background: var(--green-50); color: #11743a; }
.feature .media .phone { width: min(290px, 74vw); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 28px 0; }
  .feature.flip .copy { order: 0; }
}

/* Mini grid */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.mini { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.mini h4 { font-size: 18px; margin-bottom: 6px; }
.mini p { color: var(--ink-700); font-size: 16px; margin: 0; }
.mini .pro-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; background: #fff4d6; color: #8a5a00; vertical-align: 2px; }
@media (max-width: 860px) { .mini-grid { grid-template-columns: 1fr; } }

/* Platforms */
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.platform { border-radius: var(--radius-lg); padding: 34px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.platform.dark { background: var(--navy-800); border-color: transparent; color: #d4e6f6; }
.platform.dark h3 { color: #fff; }
.platform h3 { font-size: 26px; }
.platform ul { margin: 6px 0 26px; padding: 0; list-style: none; }
.platform li { padding: 8px 0 8px 30px; position: relative; }
.platform li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.platform .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 760px) { .platforms { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.plan.featured { border: 2px solid var(--blue-600); box-shadow: 0 18px 50px rgba(7, 94, 168, 0.16); position: relative; }
.plan .badge { position: absolute; top: -14px; left: 28px; background: var(--blue-600); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-size: 20px; margin-bottom: 4px; }
.plan .price { font-size: 44px; font-weight: 850; letter-spacing: -0.03em; line-height: 1.1; margin: 10px 0 2px; }
.plan .price small { font-size: 17px; font-weight: 650; color: var(--ink-500); letter-spacing: 0; }
.plan .sub { color: var(--ink-500); font-size: 15px; min-height: 24px; }
.plan ul { margin: 18px 0 28px; padding: 0; list-style: none; color: var(--ink-700); }
.plan li { padding: 7px 0 7px 28px; position: relative; font-size: 16px; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--surface-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23075ea8' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.plan .btn { margin-top: auto; }
.pricing-note { text-align: center; color: var(--ink-500); font-size: 15px; margin-top: 28px; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative;
  font-weight: 750; font-size: 19px; color: var(--ink-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--blue-600); border-bottom: 2.5px solid var(--blue-600); transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--ink-700); padding-right: 40px; }

/* Final CTA */
.final-cta {
  color: #fff; text-align: center;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(95, 212, 208, 0.2), transparent 65%),
    linear-gradient(170deg, var(--navy-800), var(--navy-900));
}
.final-cta h2 { font-size: clamp(34px, 4vw, 52px); font-weight: 850; }
.final-cta p { color: #bcd3e8; font-size: 19px; max-width: 560px; margin: 0 auto 30px; }
.final-cta .hero-ctas { justify-content: center; }

/* Footer */
.site-footer { background: var(--navy-900); color: #97b3cc; font-size: 15px; padding: 56px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 9px; }
.site-footer a { color: #c4d8ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .legal { border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 40px; padding-top: 22px; font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Checkout return (popup) */
.checkout-return { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: var(--navy-800); color: #fff; text-align: center; }
.checkout-return[hidden] { display: none; }
.checkout-return h1 { font-size: 30px; }
.checkout-return p { color: #bcd3e8; }

/* ── Blog ─────────────────────────────────────────────────────────────────── */
.page-hero { background: linear-gradient(170deg, var(--navy-900), var(--navy-800)); color: #fff; padding: 64px 0 56px; }
.page-hero h1 { font-size: clamp(34px, 4.2vw, 50px); font-weight: 850; }
.page-hero p { color: #bcd3e8; font-size: 19px; max-width: 640px; margin: 0; }
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 56px 0 90px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); color: inherit; }
.post-card .tag, .article-tag { font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-600); }
.post-card h2 { font-size: 22px; margin: 10px 0; }
.post-card p { color: var(--ink-700); font-size: 16px; }
.post-card .more { margin-top: auto; font-weight: 700; color: var(--blue-600); }
@media (max-width: 900px) { .post-list { grid-template-columns: 1fr; } }

.article-wrap { max-width: 740px; margin: 0 auto; padding: 48px 0 96px; }
.blog-breadcrumb { font-size: 14px; color: var(--ink-500); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.blog-breadcrumb a { color: var(--ink-500); }
.article-title { font-size: clamp(32px, 4vw, 46px); font-weight: 850; margin: 12px 0 14px; }
.article-meta { display: flex; gap: 8px; flex-wrap: wrap; color: var(--ink-500); font-size: 15px; margin-bottom: 30px; }
.article-body { font-size: 18px; line-height: 1.75; color: #1b334a; }
.article-body h2 { font-size: 28px; margin-top: 1.8em; }
.article-body h3 { font-size: 22px; margin-top: 1.5em; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin: 0.35em 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 16px; }
.article-body th, .article-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article-body th { background: var(--surface-2); }
.article-callout { background: var(--surface-2); border-left: 4px solid var(--blue-600); border-radius: 12px; padding: 18px 22px; margin: 1.6em 0; }
.article-callout p:last-child { margin: 0; }
.article-cta { background: var(--navy-800); color: #d4e6f6; border-radius: var(--radius-lg); padding: 30px 32px; margin: 2.4em 0 1.6em; }
.article-cta h3 { color: #fff; margin-top: 0; font-size: 24px; }
.article-cta .hero-ctas { margin-top: 18px; }
.article-back { display: inline-block; margin-top: 10px; font-weight: 700; }

/* 404 */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 22px; }
.not-found h1 { font-size: 44px; font-weight: 850; }
.not-found p { color: var(--ink-700); }
.not-found .hero-ctas { justify-content: center; margin-top: 24px; }
