:root {
  --ink: #f5f7fa;
  --ink-soft: #c9d1db;
  --muted: #8d99a6;
  --paper: #000000;
  --card: #0b0f14;
  --line: #1f2730;
  --navy: #0b1b2e;
  --teal: #2a9d8f;
  --teal-deep: #5fd3c3;
  --amber: #f4a261;
  --violet: #7b6cf6;
  --max: 1080px;
  color-scheme: dark;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }


/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 700px) {
  .sticky-cta { display: block; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 20; text-align: center; background: var(--ink); color: #000; font-weight: 700; padding: 0.9rem; border-radius: 999px; box-shadow: var(--shadow); }
  .sticky-cta:hover { text-decoration: none; background: var(--teal-deep); }
}

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--teal-deep); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0.6rem 0 0; color: var(--ink-soft); }

/* ---------- Accessibility ---------- */
.skip-link { position: absolute; left: -999px; top: 0.5rem; background: var(--ink); color: #000; padding: 0.5rem 1rem; border-radius: 999px; z-index: 50; font-weight: 700; }
.skip-link:focus { left: 1rem; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 3px; border-radius: 6px; }

/* ---------- Footer layout ---------- */
.site-footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--teal-deep); }

/* ---------- Fluid headings ---------- */
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); line-height: 1.15; letter-spacing: -0.01em; }

/* ---------- Card interaction ---------- */
.card { transition: transform 0.25s ease, border-color 0.25s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--teal); }
@media (prefers-reduced-motion: reduce) {
  .card, .sticky-cta { transition: none; }
  .card:hover { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Section dividers ---------- */
.problem, #how, .faq { position: relative; padding-top: 2.5rem; }
.problem::before, .faq::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--teal), var(--violet), transparent); }

/* ---------- Founder strip ---------- */
.founder-strip { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.25rem; }
.founder-strip h2 { margin: 0.25rem 0; }
.founder-strip p { margin: 0; color: var(--ink-soft); max-width: 56ch; }

/* ---------- Founder letter sign-off ---------- */
.prose p.sign-off { font-size: 1.4rem; font-weight: 700; color: var(--ink); border-left: 3px solid var(--teal); padding-left: 1rem; margin-top: 2rem; }

/* ---------- Feature chips ---------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; padding: 0; margin: 2rem 0 0; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 1rem; color: var(--ink-soft); font-size: 0.9rem; background: var(--card); }

/* ---------- Compact header on phones ---------- */
@media (max-width: 640px) {
  .nav-cta { display: none; }
  .site-header-inner { padding: 0.75rem 1rem; }
  .site-header nav a { margin-left: 0.85rem; font-size: 0.92rem; }
  .brand { font-size: 1.05rem; }
}

/* ---------- Phone demo ---------- */
.phone-demo { margin: 2.5rem auto 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.phone { width: min(300px, 78vw); aspect-ratio: 9 / 19.5; padding: 10px; border-radius: 42px; background: linear-gradient(160deg, #2a3642, #0a0f14); box-shadow: 0 30px 80px rgba(42, 157, 143, 0.25), 0 0 0 1px #2b3541 inset; }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; display: block; background: #000; }
.phone-demo figcaption { color: var(--muted); font-size: 0.9rem; max-width: 42ch; }
.pill-label { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9fe5d9; background: #0f2b28; border-radius: 999px; padding: 0.2rem 0.6rem; margin-right: 0.4rem; }

/* ---------- Hero split (copy + phone) ---------- */
.hero-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; }
.hero-visual .phone-demo { margin: 0 auto; }
@media (max-width: 800px) { .hero-split { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal (only when JS runs and motion is allowed) ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }

.js-reveal .card.reveal.in:hover { transform: translateY(-3px); }

/* ---------- Numbered problem cards ---------- */
.num { display: block; font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--teal-deep); margin-bottom: 0.7rem; }

/* ---------- Reading progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 30; background: linear-gradient(90deg, var(--teal), var(--violet), var(--amber)); pointer-events: none; }

/* ---------- Founder letter drop cap ---------- */
.letter > p:first-of-type::first-letter { float: left; font-size: 4.2rem; line-height: 0.9; font-weight: 800; color: var(--teal-deep); padding: 0.35rem 0.6rem 0 0; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .phone-demo video, .video-toggle, .sticky-cta, .skip-link, .progress { display: none !important; }
  body { background: #fff; color: #000; }
  .band, .card, .hero { background: #fff !important; color: #000 !important; box-shadow: none !important; border: 1px solid #ccc !important; }
  .lede, .card p, .prose p, .feature-list li { color: #222 !important; }
  .js-reveal .reveal { opacity: 1 !important; transform: none !important; }
}

.back-top { text-align: center; margin: 2rem 0 0; }

/* ---------- Screenshot stack (hero) ---------- */
.shot-stack { position: relative; width: 100%; max-width: 340px; height: 520px; margin: 0 auto; }
.shot { position: absolute; width: 230px; height: auto; border-radius: 22px; border: 1px solid #2b3541; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6); background: #000; }
.shot-back { right: 0; top: 0; transform: rotate(4deg); opacity: 0.9; }
.shot-front { left: 0; bottom: 0; transform: rotate(-3deg); }
@media (max-width: 800px) {
  .shot-stack { height: 430px; max-width: 300px; }
  .shot { width: 190px; }
}

/* ---------- Screenshot gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.gallery figure { margin: 0; text-align: center; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 720 / 1320; object-fit: cover; border-radius: 22px; border: 1px solid #2b3541; box-shadow: var(--shadow); background: #000; }
.gallery figcaption { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.75rem; }
@media (max-width: 800px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Five areas ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 1.5rem; }
.area { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.area h3 { margin: 0.5rem 0 0.35rem; }
.area p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }
@media (max-width: 900px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .areas-grid { grid-template-columns: 1fr; } }

/* ---------- Demo access messages ---------- */
.access-msg { border: 1px solid var(--teal); background: #0f2b28; color: #c9f3ec; border-radius: 14px; padding: 0.9rem 1.1rem; margin: 0 0 1.5rem; }

/* ---------- Investor band ---------- */
.investor-band { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.25rem; border-color: var(--teal); }
.investor-band h2 { margin: 0.25rem 0; }
.investor-band p { margin: 0; color: var(--ink-soft); max-width: 58ch; }

/* ---------- Header ---------- */
.nav-cta { background: var(--ink); color: #000 !important; padding: 0.4rem 0.9rem; border-radius: 999px; font-weight: 700; }
.nav-cta:hover { text-decoration: none; background: var(--teal-deep); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(160%) blur(10px);
  background: rgba(0, 0, 0, 0.82);
  border-bottom: 1px solid var(--line);
}
.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: conic-gradient(from 200deg, var(--teal), var(--violet), var(--amber), var(--teal));
  box-shadow: inset 0 0 0 6px var(--paper);
}
.site-header nav a {
  margin-left: 1.25rem;
  color: var(--ink-soft);
  font-weight: 500;
  text-decoration: none;
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"] { color: var(--teal-deep); }

/* ---------- Layout ---------- */
main { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem 4rem; }

section { position: relative; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-deep);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.01em; margin: 0 0 0.6rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.4rem; }

.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 42rem; }

/* ---------- Stylized hero backgrounds ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  margin: 1.5rem 0 2.5rem;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  color: #fff;
  background:
    radial-gradient(60% 80% at 10% 10%, rgba(42, 157, 143, 0.55), transparent 60%),
    radial-gradient(50% 70% at 90% 20%, rgba(123, 108, 246, 0.55), transparent 60%),
    radial-gradient(60% 70% at 70% 100%, rgba(244, 162, 97, 0.45), transparent 60%),
    linear-gradient(135deg, #0e1f36 0%, #14233a 60%, #0c1a2b 100%);
  isolation: isolate;
}
.hero::before {
  /* fine grid overlay */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
}
.hero::after {
  /* soft drifting glow */
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -90px;
  top: -120px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 65%);
  animation: drift 14s ease-in-out infinite alternate;
}
.hero .eyebrow { color: #9fe5d9; }
.hero .lede { color: rgba(255, 255, 255, 0.85); }

.hero-dark h1, .hero-dark h2 { color: #fff; }

.band {
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3rem);
  margin: 2.5rem 0;
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(42, 157, 143, 0.12), transparent 60%),
    radial-gradient(70% 90% at 100% 100%, rgba(123, 108, 246, 0.12), transparent 60%),
    var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-40px, 30px) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::after { animation: none; }
}

/* ---------- Buttons ---------- */
.actions { margin-top: 1.75rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  background: #17685f;
  color: #fff;
  font-weight: 600;
  border: none;
  font: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.button:hover { background: #0f4f48; text-decoration: none; transform: translateY(-1px); }
.button.light { background: #fff; color: #000; }
.button.light:hover { background: #e8eef5; }
.button.ghost {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 1.5px currentColor;
}
.button.ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- Cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8); }
.card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
  background: #0f2b28;
  color: #8fe3d6;
}
.card .tag.violet { background: #1e1b3d; color: #b7adff; }
.card .tag.amber { background: #33220f; color: #ffc48a; }
.card p { color: var(--ink-soft); margin: 0 0 1rem; }
.card a.more { font-weight: 600; }

.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #17685f, #5a4ad6);
  color: #fff;
  font-weight: 800;
}

/* ---------- Brand split ---------- */
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 760px) { .brands { grid-template-columns: 1fr; } }

.brand-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 2.2rem;
  min-height: 260px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}
.brand-card h3 { font-size: 1.6rem; letter-spacing: -0.01em; color: #fff; }
.brand-card p { color: rgba(255, 255, 255, 0.85); margin: 0 0 1.2rem; }
.brand-card.dosehawk {
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(244, 162, 97, 0.7), transparent 60%),
    linear-gradient(140deg, #1d3b5c, #14233a);
}
.brand-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(160deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(160deg, #000, transparent 70%);
}

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.person {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #17685f, #5a4ad6);
}
.person .role { color: var(--teal-deep); font-weight: 600; font-size: 0.95rem; margin: 0 0 0.6rem; }
.person p { color: var(--ink-soft); margin: 0; }
.person.open {
  border: 2px dashed #2b3541;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 210px;
  color: var(--muted);
}
.person.open .avatar { background: #151c24; color: #6b7a8a; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem; align-items: start; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-list .dot {
  width: 40px; height: 40px; flex: 0 0 40px;
  border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--violet));
  color: #fff; font-weight: 800;
}
.info-list strong { display: block; font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

.contact-form { display: grid; gap: 1rem; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .contact-form .row { grid-template-columns: 1fr; } }
.contact-form label { display: grid; gap: 0.4rem; font-weight: 600; font-size: 0.92rem; color: var(--ink-soft); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 0.75rem 0.9rem;
  border: 1px solid #2b3541;
  border-radius: 12px;
  background: #111820;
  color: var(--ink);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(95, 211, 195, 0.35);
  border-color: var(--teal);
}
.contact-form button { justify-self: start; }
.hp { position: absolute; left: -9999px; }

/* ---------- Prose & rates ---------- */
.prose { max-width: 720px; }
.prose p { color: var(--ink-soft); }
.prose section { margin-top: 2.25rem; }


.feature-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.6rem; }
.feature-list li { padding-left: 1.6rem; position: relative; color: var(--ink-soft); }
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.5em;
  width: 10px; height: 10px; border-radius: 3px;
  background: linear-gradient(135deg, var(--teal), var(--violet));
}

.notice { font-size: 0.9rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #000;
}
.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.site-footer a { color: var(--ink-soft); }

/* Frosted glass cards */
.glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

/* ---------- TSSZone logo (December 3, 2026) ---------- */
.brand-logo { display: block; height: 40px; width: auto; }
.footer-logo { display: block; height: 80px; width: auto; flex-basis: 100%; object-fit: contain; object-position: left; margin-bottom: 0.5rem; }
@media (max-width: 640px) { .brand-logo { height: 34px; } .footer-logo { height: 64px; } }
