:root {
  color-scheme: dark;
  --ink: #fff6e8;
  --muted: #ffcdb8;
  --muted-2: rgba(255, 246, 232, 0.72);
  --cyan: #51f2ff;
  --cyan-strong: #13d7ef;
  --cyan-soft: rgba(81, 242, 255, 0.16);
  --gold: #ffd56f;
  --gold-soft: rgba(255, 213, 111, 0.16);
  --red-950: #080106;
  --red-900: #140207;
  --red-850: #21040c;
  --red-800: #340713;
  --red-700: #5d1024;
  --panel: rgba(18, 2, 9, 0.72);
  --panel-strong: rgba(10, 1, 6, 0.9);
  --line: rgba(81, 242, 255, 0.34);
  --line-red: rgba(255, 86, 100, 0.34);
  --shadow: 0 26px 92px rgba(0, 0, 0, 0.52);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--red-950);
  color: var(--ink);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Trebuchet MS", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 7%, rgba(255, 53, 76, 0.34), transparent 22rem),
    radial-gradient(circle at 12% 16%, rgba(194, 15, 56, 0.3), transparent 24rem),
    radial-gradient(circle at 72% 72%, rgba(81, 242, 255, 0.13), transparent 25rem),
    linear-gradient(135deg, var(--red-950), var(--red-900) 42%, #260010 82%);
}

body::before {
  position: fixed;
  inset: -14vh -10vw;
  z-index: -2;
  content: "";
  background-image:
    radial-gradient(ellipse at center, rgba(255, 91, 62, 0.24) 0 22%, transparent 23%),
    radial-gradient(ellipse at center, rgba(255, 179, 75, 0.14) 0 18%, transparent 19%);
  background-position: 20px 30px, 108px 82px;
  background-size: 210px 96px, 96px 96px;
  opacity: 0.22;
  transform: rotate(-10deg) scale(1.08);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 45, 79, 0.32), transparent 16%, transparent 84%, rgba(255, 45, 79, 0.28)),
    linear-gradient(180deg, rgba(255, 64, 82, 0.28), transparent 22%, transparent 78%, rgba(255, 64, 82, 0.24)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.06), transparent 28rem);
  pointer-events: none;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.media-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  color: var(--cyan);
  text-decoration: none;
  outline-offset: 5px;
}

.media-link img {
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.media-link::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(135deg, rgba(81, 242, 255, 0.18), transparent 48%),
    radial-gradient(circle at 85% 18%, rgba(255, 213, 111, 0.18), transparent 8rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.media-link::after {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 30px;
  height: 30px;
  content: "";
  border: 1px solid rgba(81, 242, 255, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle at 12px 12px, transparent 0 6px, currentColor 6px 8px, transparent 8px),
    linear-gradient(45deg, transparent 0 57%, currentColor 57% 64%, transparent 64%),
    rgba(6, 0, 6, 0.72);
  box-shadow: 0 0 18px rgba(81, 242, 255, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.media-link:hover img,
.media-link:focus-visible img {
  filter: saturate(1.08) brightness(1.05);
  transform: scale(1.025);
}

.media-link:hover::before,
.media-link:hover::after,
.media-link:focus-visible::before,
.media-link:focus-visible::after {
  opacity: 1;
  transform: none;
}

.media-link:focus-visible {
  outline: 2px solid var(--cyan);
}

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

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 20px 0 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(81, 242, 255, 0.52);
  border-radius: 12px;
  box-shadow: 0 0 0 2px rgba(81, 242, 255, 0.14), 0 14px 30px rgba(0, 0, 0, 0.38);
}

.brand--footer img {
  width: 40px;
  height: 40px;
}

.nav,
.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a,
.footer-nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 0, 6, 0.54);
  color: var(--ink);
  box-shadow: inset 0 0 20px rgba(81, 242, 255, 0.1);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0;
  padding: 10px 16px;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.nav a:hover,
.footer-nav a:hover,
.button:hover {
  border-color: rgba(81, 242, 255, 0.72);
  box-shadow: inset 0 0 22px rgba(81, 242, 255, 0.16), 0 0 26px rgba(81, 242, 255, 0.12);
  transform: translateY(-1px);
}

.nav a.nav-cta {
  border-color: rgba(255, 213, 111, 0.72);
  background: linear-gradient(180deg, rgba(255, 213, 111, 0.2), rgba(8, 0, 6, 0.64));
  color: var(--gold);
  box-shadow: inset 0 0 20px rgba(255, 213, 111, 0.12), 0 0 18px rgba(255, 213, 111, 0.08);
}

.button.primary {
  border-color: rgba(81, 242, 255, 0.88);
  background: linear-gradient(180deg, #4af6ff, #18cfe5);
  color: #061013;
  box-shadow: 0 16px 34px rgba(28, 222, 239, 0.2), inset 0 -10px 22px rgba(0, 67, 80, 0.18);
}

.button-icon {
  width: 0;
  height: 0;
  margin-right: 9px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(440px, 1.22fr);
  align-items: center;
  gap: clamp(30px, 5vw, 68px);
  min-height: auto;
  padding: 38px 0 30px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fffdf7;
  font-size: clamp(4rem, 9vw, 8.7rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-shadow: 0 6px 0 rgba(0, 0, 0, 0.16), 0 20px 54px rgba(0, 0, 0, 0.42);
}

.hero-line {
  margin: 24px 0 0;
  color: var(--gold);
  font-size: clamp(1.55rem, 3.4vw, 3rem);
  font-weight: 950;
  line-height: 1.02;
}

.hero p:not(.hero-line),
.page-hero p {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.45vw, 1.22rem);
  line-height: 1.58;
}

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

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 24px 0 0;
}

.hero-facts div {
  min-height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(4, 0, 4, 0.42);
  padding: 12px;
}

.hero-facts dt {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 950;
}

.hero-facts dd {
  margin: 6px 0 0;
  color: var(--muted-2);
  font-size: 0.78rem;
  line-height: 1.28;
}

.hero-media {
  position: relative;
  min-width: 0;
}

.hero-media::before {
  position: absolute;
  inset: -20% -8% auto 10%;
  height: 70%;
  content: "";
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 63, 77, 0.32), transparent 64%);
  filter: blur(8px);
}

.phone-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(81, 242, 255, 0.36);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow), 0 0 42px rgba(81, 242, 255, 0.16);
  padding: 13px;
  transform: rotate(3deg);
}

.phone-frame::before {
  position: absolute;
  top: 50%;
  left: 15px;
  z-index: 2;
  width: 18px;
  height: 100px;
  content: "";
  border-radius: 999px;
  background: #050004;
  pointer-events: none;
  transform: translateY(-50%);
}

.phone-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  border-radius: 24px;
}

.phone-frame .media-link {
  border-radius: 24px;
}

.prototype-band,
.phone-band {
  display: grid;
  align-items: center;
  gap: clamp(22px, 4vw, 48px);
  border: 1px solid var(--line-red);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(37, 3, 14, 0.86), rgba(10, 1, 8, 0.84));
  box-shadow: var(--shadow), inset 0 0 34px rgba(81, 242, 255, 0.08);
  padding: clamp(18px, 3vw, 32px);
}

.prototype-band {
  grid-template-columns: minmax(280px, 0.92fr) minmax(260px, 1fr);
}

.prototype-band img {
  display: block;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
}

.prototype-band .media-link {
  border-radius: 14px;
}

.prototype-band h2,
.phone-band h2,
.section h2,
.content-card h2 {
  margin: 0;
  color: #fffdf7;
  font-size: clamp(2rem, 4.4vw, 3.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.prototype-band p,
.phone-band p {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.62;
}

.band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.section {
  padding: clamp(54px, 7vw, 92px) 0;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading p,
.mobile-copy p,
.press-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.07rem;
  line-height: 1.62;
}

.loop-section {
  padding-bottom: clamp(46px, 6vw, 78px);
}

.loop-art {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 213, 111, 0.3);
  border-radius: 24px;
  background: rgba(7, 0, 5, 0.62);
  box-shadow: var(--shadow), inset 0 0 28px rgba(81, 242, 255, 0.1);
  padding: clamp(8px, 1.6vw, 14px);
}

.loop-art img {
  display: block;
  width: 100%;
  border-radius: 16px;
}

.loop-art .media-link {
  border-radius: 16px;
}

.feature h3,
.asset-strip figcaption,
.shot figcaption {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.15;
}

.feature p {
  margin: 10px 0 0;
  color: var(--muted-2);
  font-size: 0.92rem;
  line-height: 1.45;
}

.screenshots-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shot-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.shot {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(81, 242, 255, 0.27);
  border-radius: var(--radius);
  background: rgba(11, 1, 7, 0.62);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32), inset 0 0 22px rgba(81, 242, 255, 0.06);
  padding: 9px;
}

.shot img {
  display: block;
  width: 100%;
  aspect-ratio: 2778 / 1284;
  object-fit: cover;
  border-radius: 15px;
}

.shot--ipad img {
  aspect-ratio: 4 / 3;
}

.shot .media-link {
  border-radius: 15px;
}

.shot figcaption {
  padding: 13px 5px 4px;
  font-size: 0.92rem;
  text-align: center;
}

.mobile-section {
  display: grid;
  gap: clamp(26px, 4vw, 42px);
}

.mobile-copy {
  max-width: 780px;
}

.mobile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.74fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-left: 3px solid var(--cyan);
  background: linear-gradient(90deg, rgba(81, 242, 255, 0.1), rgba(255, 255, 255, 0.03));
  padding: 16px 22px 16px 18px;
}

.feature-icon {
  display: grid;
  width: 70px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(81, 242, 255, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 42%, rgba(81, 242, 255, 0.12), transparent 70%),
    rgba(3, 0, 4, 0.38);
  box-shadow: inset 0 0 18px rgba(81, 242, 255, 0.07);
}

.feature-icon img {
  display: block;
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.qr-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 178px;
  gap: 22px;
  align-items: center;
  min-height: 246px;
  border: 1px solid var(--line-red);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 82% 22%, rgba(81, 242, 255, 0.16), transparent 14rem),
    linear-gradient(135deg, rgba(37, 3, 14, 0.9), rgba(10, 1, 8, 0.84));
  box-shadow: var(--shadow), inset 0 0 34px rgba(81, 242, 255, 0.08);
  padding: clamp(20px, 3vw, 28px);
}

.qr-panel h3 {
  margin: 0;
  color: #fffdf7;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 0.95;
}

.qr-panel p {
  max-width: 420px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.qr-panel .button {
  margin-top: 18px;
}

.qr-code {
  position: relative;
  display: grid;
  width: 178px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(81, 242, 255, 0.72);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(81, 242, 255, 0.12), rgba(255, 213, 111, 0.1)),
    #fffdf7;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.04),
    0 0 30px rgba(81, 242, 255, 0.16);
  padding: 10px;
  text-decoration: none;
}

.qr-code img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 10px;
  image-rendering: pixelated;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid rgba(255, 213, 111, 0.3);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 213, 111, 0.1), rgba(81, 242, 255, 0.07));
  padding: 14px;
}

.trust-strip div {
  min-height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(5, 0, 4, 0.42);
  padding: 18px;
}

.trust-strip strong {
  display: block;
  color: var(--gold);
  font-size: 1rem;
  line-height: 1.15;
}

.trust-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 0.9rem;
  line-height: 1.45;
}

.phone-band {
  grid-template-columns: minmax(240px, 1fr) minmax(260px, 0.74fr) auto;
  margin-top: clamp(48px, 7vw, 88px);
}

.phone-link-card {
  border: 1px solid rgba(81, 242, 255, 0.48);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(81, 242, 255, 0.14), rgba(255, 213, 111, 0.08)),
    rgba(4, 0, 4, 0.72);
  box-shadow: inset 0 0 26px rgba(81, 242, 255, 0.1);
  color: var(--ink);
  padding: 20px;
  word-break: break-word;
}

.phone-link-card span {
  display: block;
  color: var(--cyan);
  font-size: 0.92rem;
  font-weight: 900;
}

.phone-link-card strong {
  display: block;
  margin-top: 7px;
  font-size: clamp(1.12rem, 2.4vw, 1.8rem);
  line-height: 1.05;
}

.press-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.asset-strip {
  display: grid;
  grid-template-columns: 0.8fr repeat(3, 1fr);
  gap: 13px;
}

.asset-strip figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(81, 242, 255, 0.26);
  border-radius: 16px;
  background: rgba(7, 0, 5, 0.62);
  padding: 8px;
}

.asset-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 2778 / 1284;
  object-fit: cover;
  border-radius: 10px;
}

.asset-strip figure:first-child img {
  aspect-ratio: 1;
}

.asset-strip .media-link {
  border-radius: 10px;
}

.asset-strip figcaption {
  padding: 10px 2px 2px;
  color: var(--muted-2);
  font-size: 0.78rem;
  text-align: center;
}

.page-hero {
  padding: 58px 0 34px;
}

.page-hero h1 {
  font-size: clamp(3.8rem, 9vw, 7.4rem);
}

.content-card {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto 72px;
  border: 1px solid rgba(255, 213, 111, 0.24);
  border-radius: 24px;
  background: var(--panel-strong);
  box-shadow: var(--shadow), inset 0 0 28px rgba(81, 242, 255, 0.08);
  padding: clamp(24px, 5vw, 48px);
}

.content-card h2 {
  margin-top: 30px;
  color: var(--gold);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p,
.content-card li {
  color: var(--muted);
  line-height: 1.72;
}

.content-card a {
  color: var(--cyan);
  font-weight: 850;
}

.footer {
  border-top: 1px solid rgba(81, 242, 255, 0.22);
  color: rgba(255, 246, 232, 0.76);
  padding: 30px 0 42px;
}

.footer .site-shell {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.footer-nav {
  justify-content: center;
}

.footer-nav a {
  min-height: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--muted-2);
  padding: 5px 7px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 36px;
  }

  .hero h1 {
    max-width: 720px;
  }

  .hero-media {
    max-width: 820px;
  }

  .shot-rail {
    display: flex;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }

  .shot {
    flex: 0 0 min(74vw, 420px);
    scroll-snap-align: start;
  }

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

  .press-section,
  .mobile-layout {
    grid-template-columns: 1fr;
  }

  .footer .site-shell {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-shell,
  .content-card {
    width: min(100% - 24px, 1180px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .nav a {
    flex: 0 0 auto;
    min-width: max-content;
    padding-right: 12px;
    padding-left: 12px;
    text-align: center;
  }

  .nav::-webkit-scrollbar,
  .shot-rail::-webkit-scrollbar {
    display: none;
  }

  .hero {
    gap: 28px;
    padding: 28px 0 44px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.9rem, 13vw, 4rem);
    line-height: 0.9;
  }

  .hero-line {
    font-size: clamp(1.5rem, 8vw, 2.35rem);
  }

  .hero-facts,
  .prototype-band,
  .trust-strip,
  .asset-strip,
  .qr-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-media,
  .hero-facts,
  .hero-facts div,
  .hero-actions {
    min-width: 0;
    max-width: 100%;
  }

  .phone-frame {
    border-radius: 24px;
    padding: 8px;
    transform: rotate(0deg);
  }

  .phone-frame::before {
    left: 10px;
    width: 10px;
    height: 64px;
  }

  .phone-frame img {
    border-radius: 17px;
  }

  .prototype-band {
    border-radius: 18px;
  }

  .shot {
    flex-basis: 86vw;
  }

  .trust-strip div {
    min-height: 0;
  }

  .qr-code {
    width: min(100%, 220px);
    justify-self: start;
  }

  .feature {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .feature-icon {
    width: 58px;
    border-radius: 16px;
  }

  .feature-icon img {
    width: 52px;
    height: 52px;
  }

  .footer .site-shell {
    align-items: flex-start;
  }
}
