/* Dark cinematic product page (Gwaith — original content) */

:root {
  --text: #f5f5f7;
  --text-sub: #a1a1a6;
  --text-tertiary: #6e6e73;
  --link: #2997ff;
  --link-hover: #147ce5;
  --cta-blue: #0071e3;
  --cta-blue-hover: #0077ed;
  --bg: #000000;
  --bg-alt: #0a0a0a;
  --bg-elevated: #1d1d1f;
  --nav-bg: rgba(0, 0, 0, 0.72);
  --nav-border: rgba(255, 255, 255, 0.08);
  --hairline: rgba(255, 255, 255, 0.12);
  --radius-card: 18px;
  --radius-hero: 20px;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.55);
  --max: 980px;
  --max-wide: 1200px;
  --nav-h: 60px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "SF Pro Display",
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.47059;
  font-size: 17px;
  letter-spacing: -0.022em;
  overflow-x: hidden;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--max), 92%);
  margin: 0 auto;
}

.container-wide {
  width: min(var(--max-wide), 94%);
  margin: 0 auto;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--nav-border);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.brand {
  color: var(--text);
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 600;
  letter-spacing: -0.028em;
  opacity: 0.96;
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
  opacity: 1;
}

.top-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0 1.5rem;
  row-gap: 0.35rem;
}

.top-meta a:not(.button-sm) {
  color: var(--text);
  opacity: 0.82;
  font-size: 13px;
  white-space: nowrap;
}

.top-meta a:not(.button-sm):hover {
  opacity: 1;
  text-decoration: none;
}

.top-meta .button-sm:hover {
  opacity: 1;
}

main {
  padding-top: var(--nav-h);
}

/* ——— Typography ——— */
h1,
h2,
h3 {
  margin-top: 0;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}

h1 {
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 0.35em;
}

h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.07143;
  letter-spacing: -0.005em;
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 24px;
  line-height: 1.16667;
  letter-spacing: 0.009em;
  margin-bottom: 0.65rem;
}

/* ——— Sections ——— */
.section {
  position: relative;
  padding: 4.25rem 0 5rem;
}

.section-alt {
  background: var(--bg-alt);
}

.section-lead,
.hero-copy {
  margin: 0 auto 0;
  max-width: 62ch;
  font-size: 21px;
  line-height: 1.381;
  font-weight: 400;
  letter-spacing: 0.011em;
  color: var(--text-sub);
}

.subhead-hero {
  display: block;
  margin-bottom: 0.5rem;
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 600;
  line-height: 1.14286;
  letter-spacing: 0.007em;
  color: var(--text-sub);
}

.eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.section-alt .eyebrow {
  color: var(--text-sub);
}

/* ——— Hero (dark cinematic) ——— */
.hero-cinematic.section {
  /* Default .section padding is heavy; keep hero tight under the nav */
  padding-top: 1.25rem;
  padding-bottom: 2.75rem;
}

.hero-cinematic {
  text-align: left;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-stage {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  overflow: visible;
}

.hero-video-container {
  /* Match .container width so the frame lines up with headline + CTA below */
  width: min(var(--max), 92%);
  max-width: 100%;
  margin: 0 auto;
  flex: 0 0 auto;
}

.trailer-coming-soon {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  min-height: 0;
  border-radius: var(--radius-hero);
  background: linear-gradient(155deg, #3a3a3c 0%, #1c1c1e 35%, #0a0a0b 100%);
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.trailer-video {
  /* When we have a real video, don't show the "placeholder frame" styling */
  background: #000;
  border: 0;
  box-shadow: none;
  /*
    Robust responsive embed sizing:
    Safari can fail to resolve 100% height against an aspect-ratio-only parent.
    This padding-top trick guarantees a real computed height.
  */
  aspect-ratio: auto;
  height: 0;
  padding-top: 56.25%; /* 16:9 */
}

.trailer-video::before {
  content: none;
}

.trailer-video.trailer-coming-soon {
  /* override base placeholder background */
  background: #000;
}

.blueprint-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.trailer-coming-soon::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 20%, rgba(255, 255, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(41, 151, 255, 0.08), transparent 45%);
  pointer-events: none;
}

.trailer-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.trailer-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(1rem, 3vh, 2rem);
  /* Let users interact with the embedded video through the overlay */
  pointer-events: none;
}

.play-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  color: var(--text);
  transition: transform 200ms var(--ease), background 200ms var(--ease);
}

.trailer-coming-soon:hover .play-icon {
  transform: scale(1.04);
  background: rgba(255, 255, 255, 0.18);
}

.trailer-label {
  color: var(--text);
  font-size: max(14px, 0.875rem);
  font-weight: 600;
  letter-spacing: -0.016em;
  margin: 0 0 0.35rem;
}

.trailer-subtitle {
  color: var(--text-sub);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem 3rem;
  flex-wrap: wrap;
  padding-top: 0.35rem;
  flex-shrink: 0;
}

.hero-copy-block {
  flex: 1 1 280px;
  /* Was 52ch — far narrower than the page, so huge h1 wrapped to many short lines */
  max-width: min(var(--max), 100%);
  min-width: 0;
}

.hero-cinematic h1 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  text-wrap: balance;
}

.hero-tagline {
  margin: 0;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.006em;
  color: var(--text-sub);
  max-width: 56ch;
}

.hero-tagline strong {
  color: var(--text);
  font-weight: 600;
}

.hero-cta-pill {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  gap: 1rem 1.25rem;
  padding: 0.4rem 0.45rem 0.4rem 1.25rem;
  border-radius: 100px;
  background: rgba(66, 66, 69, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.hero-cta-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text);
  opacity: 0.95;
  max-width: 220px;
  letter-spacing: -0.01em;
}

.hero-cta-buy {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.35rem;
  border-radius: 100px;
  background: var(--cta-blue);
  color: #fff !important;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 150ms var(--ease);
}

.hero-cta-buy:hover {
  background: var(--cta-blue-hover);
  text-decoration: none;
}

/* legacy centered hero helpers */
.hero-center {
  max-width: 100%;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.75rem 2rem;
}

.tile-link {
  font-size: 19px;
  font-weight: 400;
  color: var(--link);
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.tile-link::after {
  content: "›";
  font-size: 1.15em;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}

.tile-link:hover {
  text-decoration: underline;
}

/* ——— Highlights ——— */
.highlights {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.highlights h2 {
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 2.5rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 900px) {
  .highlight-grid {
    grid-template-columns: 1fr;
  }
}

.highlight-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-card);
  padding: 1.75rem 1.5rem 2rem;
  border: 1px solid var(--hairline);
  min-height: 140px;
}

.highlight-card h3 {
  font-size: 19px;
  line-height: 1.21053;
  margin-bottom: 0.5rem;
}

.highlight-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.42857;
  color: var(--text-sub);
  letter-spacing: -0.016em;
}

.highlight-card p strong {
  color: var(--text);
  font-weight: 600;
}

/* ——— Pitch (problem / solution / long-term) ——— */
.pitch-section {
  padding-top: 3rem;
  padding-bottom: 3.75rem;
}

.pitch-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: 22ch;
}

.pitch-lead {
  margin-bottom: 2rem !important;
  font-size: clamp(17px, 2.5vw, 20px);
  line-height: 1.45;
  max-width: 70ch;
}

.pitch-grid .highlight-card {
  min-height: 0;
}

.highlight-card-goal {
  border-color: rgba(41, 151, 255, 0.25);
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-head h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 16ch;
}

.section-head .section-lead {
  margin-top: 0.75rem;
}

.sandbox-features {
  max-width: 720px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sandbox-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-elevated);
  border-radius: 14px;
  border: 1px solid var(--hairline);
}

.feature-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text);
  margin-top: 0.55rem;
  flex-shrink: 0;
  opacity: 0.45;
}

.sandbox-feature p {
  margin: 0;
  font-size: 17px;
  line-height: 1.47059;
  color: var(--text-sub);
  letter-spacing: -0.022em;
}

.sandbox-feature strong,
.sandbox-feature p strong {
  color: var(--text);
  font-weight: 600;
}

.process-steps {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.process-step {
  padding: 2rem 1.5rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-card);
  border: 1px solid var(--hairline);
}

.step-number {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--text);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 21px;
  margin-bottom: 0.65rem;
}

.process-step p {
  margin: 0;
  font-size: 17px;
  color: var(--text-sub);
  letter-spacing: -0.022em;
  line-height: 1.47059;
}

.advantage-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.advantage-item {
  padding: 2rem 1.75rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-card);
  border: 1px solid var(--hairline);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.advantage-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.advantage-icon {
  display: none;
}

.advantage-item h3 {
  font-size: 21px;
  margin-bottom: 1rem;
}

.advantage-problem {
  color: var(--text-sub);
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
}

.advantage-solution {
  color: var(--text);
  margin: 0;
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
}

.advantage-solution strong {
  color: var(--text);
  font-weight: 600;
}

.why-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.split-grid > div {
  border-radius: var(--radius-card);
  padding: 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--hairline);
}

.why-grid h3 {
  font-size: 19px;
}

.why-grid p {
  margin: 0;
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.47059;
  letter-spacing: -0.022em;
}

.vision-cards {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.vision-card {
  padding: 2rem 1.5rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-card);
  border: 1px solid var(--hairline);
  position: relative;
  overflow: visible;
}

.vision-card::before {
  display: none;
}

.vision-icon {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 0.75rem;
  padding-bottom: 0;
  border-bottom: none;
}

.vision-card h3 {
  font-size: 21px;
  margin-bottom: 0.5rem;
}

.vision-card p {
  margin: 0;
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.47059;
  letter-spacing: -0.022em;
}

#faq h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.cta {
  background: var(--bg-alt);
  padding-bottom: 5.5rem;
}

.cta h2 {
  text-align: center;
  font-size: clamp(32px, 5vw, 48px);
}

.contact-form {
  max-width: 480px;
  margin: 2.5rem auto 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
  letter-spacing: -0.01em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--bg-elevated);
  color: var(--text);
  font-family: inherit;
  font-size: 17px;
  letter-spacing: -0.022em;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--link);
  box-shadow: 0 0 0 4px rgba(41, 151, 255, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-status {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 14px;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(52, 199, 89, 0.15);
  border: 1px solid rgba(52, 199, 89, 0.35);
  color: #8efa9a;
}

.form-status.error {
  display: block;
  background: rgba(255, 69, 58, 0.12);
  border: 1px solid rgba(255, 69, 58, 0.35);
  color: #ff8578;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem 1.5rem;
  border-radius: 980px;
  border: none;
  background: var(--cta-blue);
  color: #fff;
  font-weight: 400;
  font-size: 17px;
  font-family: inherit;
  letter-spacing: -0.022em;
  cursor: pointer;
  transition: background 150ms var(--ease);
  text-decoration: none;
  box-sizing: border-box;
}

.button:hover {
  background: var(--cta-blue-hover);
  transform: none;
  text-decoration: none;
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

a.button-primary,
a.button-secondary,
button.button {
  min-height: 44px;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 980px;
  background: var(--cta-blue);
  color: #fff;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
  border: none;
  text-decoration: none;
  transition: background 150ms var(--ease);
}

.button-primary:hover {
  background: var(--cta-blue-hover);
  text-decoration: none;
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 980px;
  background: transparent;
  color: var(--link);
  border: 1px solid rgba(41, 151, 255, 0.55);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
  text-decoration: none;
  transition: background 150ms var(--ease), border-color 150ms var(--ease);
}

.button-secondary:hover {
  background: rgba(41, 151, 255, 0.1);
  text-decoration: none;
}

.button-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.15rem;
  min-height: 34px;
  font-size: 13px;
  border-radius: 980px;
  background: var(--cta-blue);
  color: #fff;
  border: none;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.012em;
  width: auto;
}

.button-sm:hover {
  background: var(--cta-blue-hover);
  text-decoration: none;
}

.site-footer {
  padding: 2rem 0 2.5rem;
  background: var(--bg);
  border-top: 1px solid var(--hairline);
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.33337;
}

.footer-wrap p {
  margin: 0;
}

.footer-right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-right p {
  color: var(--text-sub);
  cursor: default;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: rgba(29, 29, 31, 0.9);
  backdrop-filter: blur(12px);
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  transition: background 150ms var(--ease), transform 150ms var(--ease);
}

.back-to-top:hover {
  background: var(--bg-elevated);
  transform: translateY(-2px);
}

.back-to-top.visible {
  display: inline-flex;
}

.meta-pill,
.pillars,
.pillar-grid,
.feature-shell,
.cta-wrap,
.founders-grid {
  display: none;
}

@media (max-height: 720px) and (min-width: 921px) {
  .hero-cinematic h1 {
    font-size: clamp(24px, 4vh, 36px);
  }

  .hero-tagline {
    font-size: clamp(14px, 1.8vh, 18px);
    line-height: 1.35;
  }

  .play-icon {
    width: 56px;
    height: 56px;
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
  }

  .trailer-content {
    padding: 1rem;
  }
}

@media (max-width: 920px) {
  .advantage-grid,
  .why-grid,
  .process-steps,
  .vision-cards {
    grid-template-columns: 1fr;
  }

  .top-meta a:not(.button-sm) {
    display: none;
  }

  .top-meta {
    gap: 0.5rem;
  }

  .hero-cinematic.section {
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .hero-cinematic {
    gap: 1rem;
  }

  .hero-stage {
    flex: 0 0 auto;
  }

  .hero-video-container {
    width: min(var(--max), 92%);
  }

  .trailer-coming-soon {
    width: 100%;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-pill {
    justify-content: space-between;
    width: 100%;
  }

  .hero-cta-note {
    max-width: none;
    flex: 1;
  }

  .section {
    padding: 3rem 0 3.5rem;
  }
}
