:root {
  --my-space: #1e88e5;
  --pair-space: #e91e63;
  --green-accent: #66bb6a;
  --page: #f2f4e3;
  --ink: #1b1b1b;
  --ink-soft: #525f70;
  --glass: rgba(255, 255, 255, 0.78);
  --line: rgba(14, 20, 30, 0.1);
  --shadow-soft: 0 18px 34px rgba(29, 35, 50, 0.12);
  --shadow-strong: 0 32px 64px rgba(29, 35, 50, 0.2);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --max: 1160px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 0%, rgba(30, 136, 229, 0.14), transparent 43%),
    radial-gradient(circle at 90% 10%, rgba(233, 30, 99, 0.13), transparent 42%),
    radial-gradient(circle at 50% 100%, rgba(102, 187, 106, 0.16), transparent 42%),
    var(--page);
  line-height: 1.6;
  overflow-x: clip;
}

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

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

button,
input {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 2.7rem));
  margin-inline: auto;
}

.section {
  position: relative;
  z-index: 2;
  padding: clamp(3.2rem, 8vw, 6.5rem) 0;
}

.bg-ambient {
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
}

.glow-one {
  width: 350px;
  height: 350px;
  top: -110px;
  left: -70px;
  background: rgba(30, 136, 229, 0.26);
  animation: drift 16s ease-in-out infinite alternate;
}

.glow-two {
  width: 320px;
  height: 320px;
  right: -90px;
  bottom: -120px;
  background: rgba(233, 30, 99, 0.24);
  animation: drift 18s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(-22px) scale(1.08);
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(242, 244, 227, 0.74);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.topbar-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Poppins", "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}

.brand span {
  font-size: 1.3rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.7rem);
  color: #4f5b6c;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.93rem;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-solid {
  color: #fff;
  background: linear-gradient(120deg, var(--my-space), var(--pair-space));
  box-shadow: 0 12px 24px rgba(30, 136, 229, 0.28);
}

.btn-ghost {
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.btn-outline {
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.48);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: var(--my-space);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy h1,
.section-head h2,
.preview-copy h2,
.ai-copy h2,
.cta-card h2 {
  margin: 0;
  font-family: "Poppins", "Trebuchet MS", sans-serif;
  line-height: 1.08;
}

.hero-copy h1 {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 4.9vw, 3.8rem);
  max-width: 14ch;
}

.hero-copy h1 span {
  color: transparent;
  background: linear-gradient(112deg, var(--my-space), var(--pair-space));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 52ch;
}

.motto {
  margin: 1rem 0 0;
  max-width: 48ch;
  padding: 0.72rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  color: #34465d;
  font-weight: 700;
}

.hero-actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 470px);
}

.phone-shell {
  border-radius: 42px;
  padding: 11px;
  background: linear-gradient(160deg, #fdfefe, #dae4f2 64%, #ecdfef);
  box-shadow: var(--shadow-strong);
}

.phone-notch {
  width: 126px;
  height: 20px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: #d8dce8;
}

.phone-image {
  width: 100%;
  border-radius: 30px;
  aspect-ratio: 1179 / 2404;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.space-switch {
  margin: 1rem auto 0;
  width: fit-content;
  display: flex;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-space-switch {
  position: relative;
  z-index: 8;
}

.preview-space-switch {
  margin: 1rem 0 0;
}

.switch-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.48rem 0.86rem;
  background: transparent;
  font-size: 0.86rem;
  font-weight: 800;
  color: #59667a;
}

.switch-btn.is-active[data-space-switch="my"] {
  color: #095796;
  background: rgba(30, 136, 229, 0.18);
}

.switch-btn.is-active[data-space-switch="pair"] {
  color: #9c1747;
  background: rgba(233, 30, 99, 0.18);
}

.hero-mascot {
  position: absolute;
  left: -40px;
  right: auto;
  bottom: -40px;
  width: 180px;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.16));
  animation: float 5.5s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-11px) rotate(-2deg);
  }
}

.section-head {
  max-width: 720px;
}

.section-head h2 {
  margin-top: 0.72rem;
  font-size: clamp(1.7rem, 3.7vw, 2.9rem);
}

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

.space-card {
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.space-card figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.space-card img {
  width: 100%;
  aspect-ratio: 1179 / 2404;
  object-fit: cover;
}

.space-card h3 {
  margin: 0.9rem 0 0;
  font-family: "Poppins", "Trebuchet MS", sans-serif;
  font-size: 1.28rem;
}

.space-card p {
  margin: 0.45rem 0 0;
  color: #4f5b6d;
}

.my-space {
  background: linear-gradient(160deg, rgba(30, 136, 229, 0.14), rgba(255, 255, 255, 0.82));
}

.pair-space {
  background: linear-gradient(160deg, rgba(233, 30, 99, 0.14), rgba(255, 255, 255, 0.82));
}

.module-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.module-card {
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.module-card:hover,
.module-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.module-card img {
  width: 100%;
  aspect-ratio: 1179 / 2556;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.module-card h3 {
  margin: 0.75rem 0 0;
  font-family: "Poppins", "Trebuchet MS", sans-serif;
  font-size: 1.04rem;
}

.module-card p {
  margin: 0.38rem 0 0;
  color: #546174;
}

.preview-layout {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.preview-copy p {
  color: #4f5c6f;
}

.preview-copy h2 {
  margin-top: 0.72rem;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
}

.preview-points {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.preview-points li {
  color: #475367;
  font-weight: 600;
}

.preview-device {
  position: relative;
}

.sticky-shell {
  position: sticky;
  top: 96px;
  width: min(100%, 430px);
  margin-inline: auto;
}

.phone-screen-content {
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  padding: 0.9rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(233, 30, 99, 0.15), transparent 44%),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.phone-screen-content[data-preview-space="my"] {
  background:
    radial-gradient(circle at 0% 0%, rgba(30, 136, 229, 0.15), transparent 44%),
    rgba(255, 255, 255, 0.9);
}

.preview-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  font-weight: 800;
  color: #485568;
}

.shot-carousel {
  margin-top: 0.7rem;
  width: 100%;
  aspect-ratio: 1179 / 2404;
  position: relative;
}

.shot-tile {
  margin: 0;
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.82);
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition: opacity 320ms ease, transform 320ms ease;
  pointer-events: none;
}

.shot-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.shot-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  min-height: 56px;
  padding: 0.78rem 0.85rem 0.65rem;
  font-size: 0.82rem;
  color: #465165;
  font-weight: 600;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.82) 38%,
    rgba(255, 255, 255, 0.96) 100%
  );
}

.shot-tile.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.preview-mascot {
  position: absolute;
  right: 10px;
  bottom: -34px;
  width: 145px;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.16));
  animation: float 5.8s ease-in-out infinite;
}

.ai-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
}

.ai-copy,
.ai-visual {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
}

.ai-copy {
  padding: 1.2rem;
}

.ai-copy h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.ai-copy p {
  margin: 0.7rem 0 1rem;
  color: #4f5b6d;
}

.ai-value-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.ai-value-list li {
  padding: 0.72rem 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.84);
  display: grid;
  gap: 0.2rem;
}

.ai-value-list strong {
  font-family: "Poppins", "Trebuchet MS", sans-serif;
  font-size: 0.94rem;
}

.ai-value-list span {
  color: #506074;
  font-size: 0.9rem;
}

.ai-note {
  margin-top: 0.9rem;
  color: #4a5b72;
  font-size: 0.9rem;
  font-weight: 700;
}

.ai-visual {
  padding: 0.85rem;
}

.ai-phones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.ai-phone-card {
  margin: 0;
  display: grid;
  gap: 0.42rem;
}

.ai-phone-shell {
  border-radius: 20px;
  padding: 0.4rem;
  background: linear-gradient(165deg, #fefefe, #e4e8f0 65%, #efe4f1);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-soft);
}

.ai-phone-shell img {
  width: 100%;
  aspect-ratio: 1179 / 2556;
  border-radius: 16px;
  object-fit: contain;
  background: #ffffff;
}

.ai-phone-card figcaption {
  margin: 0;
  font-size: 0.82rem;
  color: #48586f;
  font-weight: 700;
  padding-inline: 0.1rem;
}

.motto-banner {
  margin: 1.2rem 0 0;
  border-radius: 18px;
  padding: 0.95rem 1rem;
  background:
    linear-gradient(120deg, rgba(30, 136, 229, 0.16), rgba(233, 30, 99, 0.16));
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  font-weight: 700;
  color: #2f3f56;
}

.theme-gallery {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.theme-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
}

.theme-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.9);
}

.theme-card figcaption {
  padding: 0.6rem 0.7rem;
  font-size: 0.82rem;
  color: #4a576b;
  font-weight: 700;
}

.trust-strip {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(140deg, rgba(30, 136, 229, 0.14), rgba(233, 30, 99, 0.14)),
    rgba(255, 255, 255, 0.84);
  padding: clamp(1.15rem, 3vw, 1.9rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.trust-strip h3 {
  margin: 0;
  font-family: "Poppins", "Trebuchet MS", sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
}

.trust-strip p {
  margin: 0.45rem 0 0;
  color: #4f5b6d;
}

.trust-strip ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.trust-strip li {
  border-radius: 999px;
  padding: 0.36rem 0.68rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #445166;
  border: 1px solid rgba(0, 0, 0, 0.09);
  background: rgba(255, 255, 255, 0.82);
}

.cta-card {
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 48% 0%, rgba(233, 30, 99, 0.17), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(30, 136, 229, 0.17), transparent 42%),
    rgba(255, 255, 255, 0.86);
  text-align: center;
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow-soft);
}

.cta-card img {
  width: min(100%, 140px);
  margin: 0 auto 0.4rem;
}

.cta-card h2 {
  margin-top: 0.65rem;
  font-size: clamp(1.7rem, 3.7vw, 2.8rem);
}

.cta-card p {
  margin: 0.65rem auto 0;
  max-width: 56ch;
  color: #4d596d;
}

.waitlist-form {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.waitlist-form input {
  min-width: min(100%, 260px);
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.72rem 0.95rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.waitlist-form input:focus-visible {
  outline: 2px solid rgba(30, 136, 229, 0.5);
  outline-offset: 2px;
}

.waitlist-form .btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  min-height: 1.5rem;
  margin-top: 0.6rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #32507a;
}

.form-status.error {
  color: #a3234d;
}

.footer {
  position: relative;
  z-index: 3;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.58);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: #4d596d;
  font-size: 0.9rem;
}

.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;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .hero-grid,
  .preview-layout,
  .ai-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .preview-copy,
  .ai-copy {
    text-align: center;
  }

  .hero-copy h1,
  .hero-lead,
  .motto {
    margin-inline: auto;
  }

  .hero-actions,
  .preview-points {
    justify-content: center;
  }

  .preview-points {
    justify-items: center;
  }

  .sticky-shell {
    position: static;
  }

  .hero-mascot {
    width: 162px;
    left: -72px;
    right: auto;
  }

  .preview-mascot {
    right: 6px;
  }

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

  .preview-space-switch {
    margin: 1rem auto 0;
  }
}

@media (max-width: 920px) {
  html {
    scroll-padding-top: 64px;
  }

  .topbar {
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
  }

  .topbar-inner {
    min-height: 60px;
    padding: 0.35rem 0;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    font-size: 0.92rem;
    white-space: normal;
    overflow: visible;
    padding-bottom: 0;
  }

  .brand {
    display: none;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand span {
    display: none;
  }

  .space-grid,
  .module-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip ul {
    justify-content: flex-start;
  }

  .preview-mascot,
  .hero-mascot {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 1.2rem));
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .main-nav {
    gap: 0.55rem;
    font-size: 0.88rem;
    justify-content: center;
    padding-inline: 0;
  }

  .shot-carousel {
    aspect-ratio: 1179 / 2404;
  }

  .ai-phones {
    grid-template-columns: 1fr;
  }

  .theme-gallery {
    grid-template-columns: 1fr;
  }

  .waitlist-form {
    width: 100%;
  }

  .waitlist-form input {
    width: 100%;
  }
}

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