/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;700&family=JetBrains+Mono:wght@400;700&display=swap');

/* Reset & Base System */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important; /* Force 0px border radius everywhere */
}

/* Specific exceptions for circular status dots */
.status-dot {
  border-radius: 50% !important;
}

:root {
  /* Colors */
  --void: #0a0a0f;
  --surface: #131318;
  --surface-low: #1b1b20;
  --surface-container: #1f1f25;
  --surface-high: #2a292f;
  --on-surface: #e4e1e9;
  --on-surface-variant: #c8c5cb;
  --outline: #929095;
  --outline-variant: #47464b;
  --cyan: #00e5ff;
  --cyan-dim: #00daf3;
  --purple: #7b1fa2;
  --live-red: #ff1744;
  --upcoming-yellow: #ffea00;
  --final-gray: #9e9e9e;

  /* Spacing */
  --container-max: 1440px;
  --gutter: 24px;
  --margin-desktop: 48px;
  --margin-mobile: 16px;
  --stack-lg: 64px;
  --stack-md: 24px;
  --stack-sm: 8px;
  
  /* Navigation height */
  --nav-height: 80px;
}

html {
  background-color: var(--void);
  color: var(--on-surface);
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  overflow-x: hidden;
  background-color: var(--void);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Localized Texture: Grain (Hero Section Only) */
.hero::after {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography Classes */
.display-hero {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 96px;
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.headline-lg {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.headline-md {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
}

.body-lg {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

.body-md {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.label-caps {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* HUD & Vibe Styling Details */
.hud-brackets {
  position: relative;
  padding: 4px 16px;
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--outline);
}

.hud-brackets::before, .hud-brackets::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 100%;
  border: 1px solid var(--outline-variant);
  top: 0;
  transition: border-color 0.3s ease;
}

.hud-brackets::before {
  left: 0;
  border-right: none;
}

.hud-brackets::after {
  right: 0;
  border-left: none;
}

.hud-brackets:hover::before, .hud-brackets:hover::after {
  border-color: var(--cyan);
  color: var(--on-surface);
}

.hud-sub-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--outline-variant);
  margin-left: 12px;
  letter-spacing: 0.05em;
  display: inline-block;
  vertical-align: middle;
}

/* Pulsing Status Dot */
.status-dot.pulse-red {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--live-red);
  box-shadow: 0 0 8px var(--live-red);
  margin-right: 12px;
  vertical-align: middle;
  animation: dotPulse 1.5s infinite alternate ease-in-out;
}

@keyframes dotPulse {
  0% { opacity: 0.4; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.1); }
}

/* Card HUD Corners */
.card-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

.card-corner.top-left {
  top: 8px;
  left: 8px;
  border-right: none;
  border-bottom: none;
}

.card-corner.top-right {
  top: 8px;
  right: 8px;
  border-left: none;
  border-bottom: none;
}

.card-corner.bottom-left {
  bottom: 8px;
  left: 8px;
  border-right: none;
  border-top: none;
}

.card-corner.bottom-right {
  bottom: 8px;
  right: 8px;
  border-left: none;
  border-top: none;
}

.feature-card:hover .card-corner {
  border-color: var(--cyan);
}

/* Quote separator lines */
.quote-block::before, .quote-block::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 1px;
  background-color: var(--outline-variant);
}

.quote-block::before {
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
}

.quote-block::after {
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
}

/* Layout Elements */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--margin-desktop);
  padding-right: var(--margin-desktop);
  width: 100%;
}

/* Navigation bar */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: transparent;
  z-index: 100;
  border-bottom: none;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--margin-desktop);
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1); /* Ensure it renders crisp white */
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--outline);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--on-surface);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 150;
  outline: none;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--on-surface);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.nav-toggle.open .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.btn-primary {
  background: var(--cyan);
  color: var(--void);
  border: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.1s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--cyan-dim);
}

.btn-primary:active {
  transform: scale(0.98);
}

/* Section 1 — Hero */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.72);
  z-index: 2;
}

.hero-ghost-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 85vh;
  opacity: 0.05;
  pointer-events: none;
  z-index: 3;
  filter: brightness(0) invert(1); /* Tint white */
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: var(--nav-height);
  will-change: transform, opacity;
}

.hero-label {
  color: var(--outline);
  margin-bottom: var(--stack-sm);
}

.hero-wordmark {
  color: var(--on-surface);
  font-size: 130px; /* scaled up desktop size */
}

.hero-headline {
  color: var(--cyan);
  margin-bottom: var(--stack-md);
}

.hero-subtext {
  color: var(--on-surface-variant);
  max-width: 480px;
  margin-bottom: var(--stack-lg);
}

/* Email Form */
.email-form {
  display: flex;
  max-width: 520px;
  width: 100%;
}

.email-form.hidden {
  display: none;
}

.email-input {
  flex-grow: 1;
  background: var(--void);
  border: none;
  border-bottom: 1px solid var(--outline-variant);
  color: var(--on-surface);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s ease;
}

.email-input:focus {
  border-bottom-color: var(--cyan);
}

.email-input::placeholder {
  color: var(--outline-variant);
}

.form-confirmation {
  color: var(--cyan);
  padding: 12px 0;
  display: none;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--margin-desktop);
  left: var(--margin-desktop);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: var(--outline);
  text-decoration: none;
}

.scroll-indicator svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  animation: pulseChevron 2s infinite ease-in-out;
}

@keyframes pulseChevron {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

/* Section 2 — Problem */
.section-problem {
  background-color: var(--surface);
  border-top: 1px solid var(--outline-variant);
  border-bottom: 1px solid var(--outline-variant);
  padding: 120px 0;
  will-change: transform, opacity;
}

.problem-label {
  color: var(--cyan);
  margin-bottom: var(--stack-md);
}

.problem-headline {
  margin-bottom: var(--stack-lg);
}

.problem-headline span {
  display: block;
}

.problem-headline .highlight {
  color: var(--on-surface-variant);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.problem-col {
  display: flex;
  flex-direction: column;
  gap: var(--stack-md);
}

.problem-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 96px;
  font-weight: 700;
  line-height: 1.0;
  color: var(--outline-variant);
}

.problem-title {
  color: var(--on-surface);
}

.problem-body {
  color: var(--on-surface-variant);
}

/* Section 3 — Features */
.section-features {
  background-color: var(--void);
  padding: 120px 0;
}

.features-label {
  color: var(--outline);
  margin-bottom: var(--stack-sm);
}

.features-headline {
  color: var(--on-surface);
  margin-bottom: 80px;
}

.features-container {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.feature-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  will-change: transform, opacity;
}

.feature-block.reverse {
  grid-template-columns: 1fr 1.2fr;
}

.feature-card {
  position: relative;
  background-color: var(--surface-container);
  border: 1px solid var(--outline-variant);
  aspect-ratio: 16/9;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.feature-card:hover {
  border-color: var(--cyan);
  background-color: var(--surface-low);
}

.card-placeholder-text {
  color: var(--outline-variant);
  user-select: none;
  z-index: 5;
}

.feature-info {
  display: flex;
  flex-direction: column;
  gap: var(--stack-md);
  align-items: flex-start;
}

.feature-title {
  color: var(--on-surface);
}

.feature-desc {
  color: var(--on-surface-variant);
}

.feature-accent {
  width: 40px;
  height: 2px;
  background-color: var(--cyan);
}

/* Features Grid bottom row */
.features-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  will-change: transform, opacity;
}

.feature-col-block {
  display: flex;
  flex-direction: column;
  gap: var(--stack-md);
}

.feature-col-block .feature-card {
  margin-top: var(--stack-sm);
}

/* Section 4 — Social Proof */
.section-social-proof {
  background-color: var(--surface);
  border-top: 1px solid var(--outline-variant);
  border-bottom: 1px solid var(--outline-variant);
  padding: 140px 0;
  text-align: center;
  will-change: transform, opacity;
}

.section-social-proof .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.quote-block {
  max-width: 1000px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--stack-md);
}

.quote-mark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 140px;
  line-height: 0.5;
  color: var(--outline-variant);
  user-select: none;
  margin-bottom: -20px;
}

.quote-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--on-surface);
  text-transform: uppercase;
}

.quote-text span.highlight {
  color: var(--cyan);
}

.quote-source-primary {
  color: var(--outline);
}

.quote-source-secondary {
  color: var(--on-surface-variant);
}

/* Section 5 — Bottom CTA */
.section-cta {
  background-color: var(--void);
  padding: 140px 0 100px 0;
  will-change: transform, opacity;
}

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--stack-md);
}

.cta-label {
  color: var(--outline);
}

.cta-headline {
  color: var(--on-surface);
}

.cta-subtext {
  color: var(--on-surface-variant);
  max-width: 560px;
  margin-bottom: var(--stack-md);
}

.cta-socials {
  margin-top: var(--stack-lg);
  display: flex;
  justify-content: center;
  gap: 24px;
}

.cta-socials a {
  color: var(--outline);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cta-socials a:hover {
  color: var(--on-surface);
}

.cta-socials span {
  color: var(--outline-variant);
}

/* Footer */
.footer {
  background-color: var(--void);
  border-top: 1px solid var(--cyan);
  padding: 40px 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--margin-desktop);
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-left img {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-copyright {
  color: var(--outline);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: var(--outline);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  color: var(--cyan);
}

/* Responsive Overrides (Mobile Breakpoint at 768px) */
@media (max-width: 767px) {
  :root {
    --nav-height: 70px;
  }
  
  .container {
    padding-left: var(--margin-mobile);
    padding-right: var(--margin-mobile);
  }

  .nav-container {
    padding: 0 var(--margin-mobile);
  }

  .nav-logo,
  .nav-toggle,
  .nav-container > div {
    position: relative;
    z-index: 101;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    gap: 40px;
    padding: 100px var(--margin-mobile) 40px var(--margin-mobile);
    z-index: 99;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    letter-spacing: 0.05em;
    color: var(--on-surface);
  }

  .hero-wordmark {
    font-size: 80px;
  }
  
  .hero-subtext {
    margin-bottom: var(--stack-md);
  }

  .email-form {
    flex-direction: column;
    gap: var(--stack-sm);
  }

  .scroll-indicator {
    left: var(--margin-mobile);
    bottom: var(--margin-mobile);
  }

  .section-problem {
    padding: 80px 0;
  }

  .problem-headline {
    font-size: 36px;
    line-height: 1.1;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .problem-num {
    font-size: 72px;
  }

  .section-features {
    padding: 80px 0;
  }

  .features-headline {
    margin-bottom: 48px;
  }

  .features-container {
    gap: 64px;
  }

  .feature-block, .feature-block.reverse {
    grid-template-columns: 1fr;
    gap: var(--stack-md);
  }
  
  /* On mobile, reverse order to always stack card, then text */
  .feature-block {
    display: flex;
    flex-direction: column;
  }
  
  .feature-block.reverse {
    display: flex;
    flex-direction: column;
  }
  
  .feature-card {
    order: 1;
  }
  
  .feature-info {
    order: 2;
  }

  .features-grid-row {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .section-social-proof {
    padding: 80px 0;
  }

  .quote-text {
    font-size: 44px;
  }

  .quote-mark {
    font-size: 96px;
  }

  .section-cta {
    padding: 80px 0 60px 0;
  }

  .cta-socials {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-container {
    flex-direction: column;
    gap: var(--stack-md);
    text-align: center;
    padding: 0 var(--margin-mobile);
  }
}

/* ==========================================================================
   Legal Pages (privacy.html)
   ========================================================================== */
.legal-nav {
  background-color: var(--void);
  border-bottom: 1px solid var(--outline-variant);
}

.legal-page {
  padding-top: calc(var(--nav-height) + 72px);
  padding-bottom: 96px;
}

.legal-page .container {
  max-width: 760px;
}

.legal-label {
  display: inline-block;
  margin-bottom: var(--stack-md);
}

.legal-title {
  margin-bottom: var(--stack-sm);
}

.legal-updated {
  color: var(--outline);
  margin-bottom: var(--stack-lg);
}

.legal-lead {
  color: var(--on-surface-variant);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--outline-variant);
}

.legal-section {
  margin-top: 48px;
}

.legal-heading {
  color: var(--cyan);
  margin-bottom: var(--stack-md);
}

.legal-section p + p {
  margin-top: var(--stack-md);
}

.legal-section p {
  color: var(--on-surface-variant);
  line-height: 1.7;
}

.legal-section strong {
  color: var(--on-surface);
  font-weight: 700;
}

.legal-link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--outline-variant);
  transition: border-color 0.3s ease;
}

.legal-link:hover,
.legal-link:focus-visible {
  border-color: var(--cyan);
}

.legal-back {
  display: inline-block;
  margin-top: var(--stack-lg);
  padding: 12px 20px;
  color: var(--on-surface);
  text-decoration: none;
  border: 1px solid var(--outline-variant);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.legal-back:hover,
.legal-back:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}

@media (max-width: 768px) {
  .legal-page {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 64px;
  }
  .legal-page .container {
    padding-left: var(--margin-mobile);
    padding-right: var(--margin-mobile);
  }
  .legal-section {
    margin-top: 36px;
  }
}

/* Privacy links on the marketing page */
.footer-legal-link {
  color: var(--outline);
  text-decoration: none;
  margin-left: 16px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.footer-legal-link:hover,
.footer-legal-link:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
}

.form-legal {
  margin-top: var(--stack-md);
  color: var(--outline);
  font-size: 10px;
}

.form-legal a {
  color: var(--outline);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.form-legal a:hover,
.form-legal a:focus-visible {
  color: var(--cyan);
}

/* Form failure message */
.form-error {
  display: none;
  margin-top: var(--stack-md);
  color: var(--live-red);
  font-size: 11px;
  max-width: 520px;
}

.email-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* App screenshots inside feature cards.
   Portrait phone shots in a landscape card: frame them as a device, anchor to
   the top, and fade the bottom edge so the crop reads as intentional. */
.card-shot {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 132%;
  object-fit: contain;
  z-index: 2;
  border-radius: 26px !important;
  border: 1px solid rgba(146, 144, 149, 0.35);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(0, 229, 255, 0.06);
  -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 76%, transparent 99%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

/* Lift the card off the page so the dark app UI has something to sit against */
.feature-card:has(.card-shot) {
  background-image: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    rgba(0, 229, 255, 0.07) 0%,
    transparent 70%
  );
}

.feature-card:hover .card-shot {
  transform: translateX(-50%) translateY(-2.5%);
}

@media (prefers-reduced-motion: reduce) {
  .card-shot,
  .feature-card:hover .card-shot {
    transition: none;
    transform: translateX(-50%);
  }
}

/* Netlify honeypot — must stay in the DOM but never visible */
.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* Mobile: a 16:9 card would shrink a portrait phone shot to ~120px wide and
   make the app UI unreadable. Go square and scale the shot up instead. */
@media (max-width: 767px) {
  .feature-card:has(.card-shot) {
    aspect-ratio: 1 / 1;
  }

  .card-shot {
    height: 168%;
    top: 7%;
    border-radius: 22px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 99%);
    mask-image: linear-gradient(to bottom, #000 82%, transparent 99%);
  }
}
