:root {
  --bg: #0b0f12;
  --section: #11161b;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(17, 22, 27, 0.9);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 229, 200, 0.32);
  --text: #f4f7f8;
  --muted: #a9b3ba;
  --subtle: #6f7b83;
  --accent: #00e5c8;
  --accent-soft: rgba(0, 229, 200, 0.25);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius: 18px;
  --radius-lg: 22px;
  --max: 1280px;
}

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

html,
body {
  width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 0%, rgba(0, 229, 200, 0.14), transparent 30%),
    radial-gradient(circle at 84% 9%, rgba(90, 136, 255, 0.1), transparent 30%),
    linear-gradient(180deg, var(--bg), #0d1216 62%, var(--bg));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("/assets/particle-bg.png") center/cover no-repeat;
  opacity: 0.055;
}

main {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
}

h2 {
  font-size: clamp(32px, 4.5vw, 56px);
}

h3 {
  font-size: 22px;
}

strong {
  color: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-nav,
.legal-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  min-height: 74px;
  margin: 0;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: rgba(11, 15, 18, 0.78);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  color: var(--text);
}

.brand-link img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(0, 229, 200, 0.24));
}

.brand-title {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-subtitle {
  display: block;
  max-width: 260px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.primary-nav,
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
  flex: 1 1 auto;
}

.primary-nav a,
.nav-dropdown-toggle,
.nav-actions a {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  white-space: nowrap;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.primary-nav a:hover,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-expanded="true"],
.nav-actions a:hover {
  color: var(--accent);
}

.nav-item {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  width: 196px;
  padding: 10px;
  display: none;
  transform: translateX(-50%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(17, 22, 27, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-item:hover .nav-dropdown,
.nav-dropdown.is-open {
  display: grid;
  gap: 2px;
}

.nav-dropdown a {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
}

.nav-dropdown a:hover {
  background: rgba(0, 229, 200, 0.08);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.primary-nav .nav-cta,
.button-primary {
  color: #031311;
  background: var(--accent);
  border-color: transparent;
  box-shadow: 0 0 28px var(--accent-soft);
}

.primary-nav .nav-cta:hover,
.button-primary:hover {
  color: #031311;
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.button-secondary:hover {
  border-color: var(--border-hover);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  background: var(--panel);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.container,
.hero-section,
.section-block,
.pricing-hero,
.pricing-grid,
.add-on-card,
.pricing-note,
.site-shell,
.footer-grid,
.legal-footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.hero-section {
  min-height: min(820px, calc(100vh - 74px));
  padding: clamp(74px, 9vw, 118px) 0 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: clamp(32px, 6vw, 64px);
}

.hero-copy {
  max-width: 760px;
}

.hero-copy p:not(.eyebrow) {
  max-width: 710px;
  margin-top: 22px;
  font-size: clamp(17px, 2vw, 21px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-visual {
  min-width: 0;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.hero-media-card {
  width: min(100%, 470px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 8%, rgba(0, 229, 200, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42), 0 0 70px rgba(0, 229, 200, 0.12);
}

.hero-media-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.section-block {
  padding: 94px 0;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-card,
.mini-card,
.founder-card,
.legal-document,
.contact-panel,
.side-panel,
.pricing-card,
.add-on-card,
.company-grid div,
.research-band,
.contact-cta {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.product-card {
  min-width: 0;
  padding: 22px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.product-topline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.product-logo-wrap {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(0, 229, 200, 0.16), rgba(255, 255, 255, 0.04));
}

.product-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-logo-wrap span {
  display: none;
  color: var(--accent);
  font-weight: 700;
}

.product-logo-wrap.is-missing span {
  display: block;
}

.status-badge {
  display: inline-flex;
  margin-top: 8px;
  padding: 5px 9px;
  color: var(--accent);
  background: rgba(0, 229, 200, 0.08);
  border: 1px solid rgba(0, 229, 200, 0.18);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.shot-frame {
  position: relative;
  height: 130px;
  min-height: unset;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 10%, rgba(0, 229, 200, 0.16), transparent 45%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
}

.shot-main {
  grid-column: 1 / -1;
  height: 260px;
}

.shot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.shot-frame span {
  display: none;
  padding: 16px;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

.shot-frame.is-missing span {
  display: block;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
}

.mini-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mini-card {
  min-width: 0;
  padding: 22px;
}

.mini-card p {
  margin-top: 12px;
}

.research-band,
.contact-cta {
  padding: clamp(32px, 5vw, 56px);
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 229, 200, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.04);
}

.research-band p:not(.eyebrow),
.contact-cta p:not(.eyebrow) {
  max-width: 780px;
  margin-top: 18px;
  font-size: 18px;
}

.vision-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.company-grid div {
  min-width: 0;
  min-height: 126px;
  padding: 18px;
}

.company-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--subtle);
  font-size: 13px;
}

.company-grid strong {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.founder-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
}

.founder-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--border);
  border-radius: 16px;
  filter: saturate(0.92) contrast(1.04);
}

.founder-role {
  margin: 10px 0 14px;
  color: var(--accent);
  font-weight: 700;
}

.site-footer,
.legal-footer {
  margin-top: 56px;
  border-top: 1px solid var(--border);
  background: rgba(7, 10, 12, 0.94);
}

.footer-grid {
  padding: 48px 0 34px;
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.footer-grid nav,
.footer-brand {
  min-width: 0;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 14px;
}

.footer-grid a {
  display: block;
  width: fit-content;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.footer-bottom,
.legal-footer-inner {
  width: 100%;
  min-height: 70px;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border);
  color: var(--subtle);
  font-size: 13px;
}

.site-shell {
  margin-right: auto;
  margin-left: auto;
}

.legal-hero {
  padding: 80px 0 34px;
}

.legal-hero h1 {
  max-width: 900px;
}

.legal-hero .hero-copy {
  max-width: 780px;
  margin-top: 20px;
  font-size: 18px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
  padding-bottom: 70px;
}

.legal-document,
.contact-panel {
  padding: clamp(24px, 5vw, 48px);
}

.legal-document section,
.contact-panel section {
  margin-bottom: 30px;
}

.legal-document section:last-child,
.contact-panel section:last-child {
  margin-bottom: 0;
}

.legal-document h2,
.contact-panel h2,
.side-panel h2 {
  margin-bottom: 12px;
  font-size: 22px;
}

.legal-document p,
.legal-document li,
.contact-panel p,
.contact-panel li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.legal-document ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.legal-document li + li {
  margin-top: 8px;
}

.meta-line {
  margin-top: 14px;
  color: var(--subtle);
  font-size: 13px;
}

.side-panel {
  position: sticky;
  top: 96px;
  padding: 20px;
}

.side-panel a {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.contact-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.info-box {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.pricing-hero {
  padding: 86px 0 38px;
}

.pricing-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 18px;
  font-size: 18px;
}

.pricing-grid {
  margin-top: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card {
  min-width: 0;
  padding: 24px;
}

.pricing-card h2 {
  font-size: 24px;
}

.price {
  margin: 16px 0 12px;
  color: var(--text);
  font-size: 28px;
  font-weight: 700;
}

.price span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
}

.add-on-card,
.pricing-note {
  margin-top: 24px;
  padding: 26px;
}

.pricing-note {
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.pricing-note a {
  color: var(--accent);
}

#twekee-chat-bubble,
#twekee-chat-window,
.twekee-chat-bubble,
.twekee-chat-window {
  display: none !important;
}

@media (max-width: 1180px) {
  .primary-nav,
  .nav-actions {
    gap: 12px;
  }

  .primary-nav a,
  .nav-dropdown-toggle,
  .nav-actions a {
    font-size: 13px;
  }

  .primary-nav .nav-cta {
    padding-inline: 14px;
  }
}

@media (max-width: 1080px) {
  .hero-section,
  .split-section,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .company-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-panel {
    position: static;
  }

  .founder-card {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-nav,
  .legal-nav {
    width: 100%;
    min-height: 74px;
    padding: 0 20px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav,
  .nav-actions {
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(17, 22, 27, 0.97);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open,
  .nav-actions.is-open {
    display: flex;
  }

  .primary-nav a,
  .nav-dropdown-toggle,
  .nav-actions a {
    width: 100%;
    padding: 12px;
    justify-content: flex-start;
    text-align: left;
  }

  .nav-dropdown {
    position: static;
    width: 100%;
    transform: none;
    margin: 0 0 8px;
    box-shadow: none;
  }

  .hero-section {
    min-height: auto;
  }

  .product-grid,
  .founder-grid,
  .mini-card-grid,
  .contact-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-media-card {
    width: min(100%, 360px);
  }

  .footer-bottom,
  .legal-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

@media (max-width: 560px) {
  .hero-section,
  .section-block,
  .pricing-hero,
  .pricing-grid,
  .add-on-card,
  .pricing-note,
  .site-shell,
  .footer-grid,
  .legal-footer-inner {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-section {
    padding: 54px 0 52px;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-media-card {
    width: min(100%, 330px);
  }

  .section-block {
    padding: 62px 0;
  }

  .shot-frame {
    height: 120px;
  }

  .shot-main {
    height: 190px;
  }

  .founder-card {
    grid-template-columns: 1fr;
  }

  .founder-card img {
    width: 100%;
    height: min(360px, 78vw);
    max-height: 360px;
  }

  .company-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-cta,
  .research-band,
  .legal-document,
  .contact-panel {
    padding: 22px;
  }

  .brand-title {
    font-size: 13px;
  }

  .footer-bottom {
    padding-right: 14px;
    padding-left: 14px;
  }
}
