:root {
  --bg-top: #f8f9fa;
  --bg-bottom: #111216;
  --ink: #111218;
  --ink-muted: #48505a;
  --ink-soft: #66707b;
  --amber: #ffb24a;
  --violet: #6a47ff;
  --cyan: #48d4ff;
  --glass: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 30px 70px rgba(0, 0, 0, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "SF Pro Display", "Inter", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-top) 0%, #f8f9fa 55%, var(--bg-bottom) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.18;
  pointer-events: none;
  z-index: -3;
}

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

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

button,
input {
  font: inherit;
}

.container {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

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

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  z-index: -2;
}

.bg-glow-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 178, 74, 0.6), transparent 70%);
  top: -160px;
  left: -140px;
}

.bg-glow-2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(72, 212, 255, 0.45), transparent 70%);
  top: 180px;
  right: -200px;
}

.bg-glow-3 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(106, 71, 255, 0.35), transparent 70%);
  bottom: -140px;
  left: 20%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(248, 249, 250, 0.85);
  border-bottom: 1px solid rgba(17, 18, 24, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.logo {
  font-weight: 300;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.08em;
}

.logo-dot {
  width: 0.55em;
  height: 0.55em;
  background: linear-gradient(135deg, #ffe3be 0%, #ffb24a 55%, #ff8d2a 100%);
  border-radius: 50%;
  display: inline-block;
  transform: translateY(-0.05em);
  animation: logo-orb-float 6s ease-in-out infinite, logo-orb-hue 18s linear infinite;
  filter: hue-rotate(0deg);
  will-change: transform, filter;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.btn-solid {
  background: #111218;
  color: #f8f9fa;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  color: #111218;
  border-color: rgba(17, 18, 24, 0.2);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.12);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

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

.hero {
  padding-top: 72px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 48px;
}

.hero-copy {
  animation: hero-rise 1s ease both;
}

.hero h1 {
  font-size: clamp(2.8rem, 4.6vw, 4.6rem);
  font-weight: 500;
  margin: 0 0 16px;
  line-height: 1.05;
}

.headline-accent {
  background: linear-gradient(120deg, var(--amber), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subhead {
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 720px;
  margin: 0 auto 28px;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.hero-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 20px;
}

.mockup {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  /* Removed bottom padding as stand is gone */
}

.ipad {
  position: relative;
  width: min(700px, 86vw);
  aspect-ratio: 4 / 3;
  padding: 12px;
  /* Reduced bezel */
  border-radius: 24px;
  background: #101114;
  /* Solid sleek dark frame */
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-strong), 0 0 0 1px rgba(0, 0, 0, 0.5);
}

.ipad-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #050506;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.orb-container {
  position: absolute;
  inset: 12px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ipad-camera {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.orb {
  width: clamp(80px, 12vw, 160px);
  height: clamp(80px, 12vw, 160px);
  border-radius: 50%;
  position: absolute;
  mix-blend-mode: screen;
  filter: blur(8px);
}

.orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), transparent 60%);
  opacity: 0.6;
}

.orb-amber {
  background: radial-gradient(circle, rgba(255, 178, 74, 0.8) 0%, rgba(255, 178, 74, 0.1) 70%);
  box-shadow: 0 0 60px rgba(255, 178, 74, 0.4);
  animation: float-orb-1 8s ease-in-out infinite;
  z-index: 1;
}

.orb-violet {
  background: radial-gradient(circle, rgba(106, 71, 255, 0.8) 0%, rgba(106, 71, 255, 0.1) 70%);
  box-shadow: 0 0 60px rgba(106, 71, 255, 0.4);
  animation: float-orb-2 10s ease-in-out infinite;
  z-index: 2;
}

.orb-cyan {
  background: radial-gradient(circle, rgba(72, 212, 255, 0.8) 0%, rgba(72, 212, 255, 0.1) 70%);
  box-shadow: 0 0 60px rgba(72, 212, 255, 0.4);
  animation: float-orb-3 9s ease-in-out infinite;
  z-index: 3;
}

.headband-wrap {
  position: absolute;
  right: -210px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 3;
}

.headband-img {
  width: clamp(260px, 28vw, 360px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
  transform: rotate(-10deg) translate(-6px, -6px);
  z-index: 1;
}

.headband-label {
  position: absolute;
  top: -18px;
  right: -18px;
  max-width: 240px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(17, 18, 24, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
  color: #f4f6fb;
  font-size: 0.78rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
  z-index: 2;
}

.headband-label span {
  display: block;
}

.headband-label span + span {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 12px 0 0;
  font-weight: 500;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0;
}

.logic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.logic-card {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.logic-card h3 {
  margin: 18px 0 10px;
  font-size: 1.3rem;
  font-weight: 500;
}

.logic-card p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.6;
}

.logic-icon {
  width: 48px;
  height: 48px;
  color: #242832;
}

.value-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.value-media img {
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
  height: 100%;
  object-fit: cover;
}

.value-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 500;
}

.value-copy p {
  margin: 0 0 18px;
  color: var(--ink-muted);
  line-height: 1.7;
}

.value-copy strong {
  color: #1b1d22;
  font-weight: 600;
}

.tech {
  background: #0c0d10;
  color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.tech::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(106, 71, 255, 0.25), transparent 55%);
  pointer-events: none;
}

.tech-inner {
  position: relative;
}

.section-heading.light .eyebrow,
.section-heading.light h2 {
  color: #f8f9fa;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.tech-item {
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-item h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 500;
}

.tech-item p {
  margin: 0;
  color: rgba(248, 249, 250, 0.7);
  line-height: 1.6;
}

.footer {
  padding: 96px 0 72px;
  color: #f8f9fa;
}

.footer-inner {
  text-align: center;
}

.footer h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  margin-top: 0;
  margin-bottom: 16px;
  font-weight: 500;
}

.footer-sub {
  color: rgba(248, 249, 250, 0.7);
  margin: 0 0 36px;
}

.invite-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 48px;
}

.form-status {
  margin: 0;
  min-height: 1.2em;
  color: rgba(248, 249, 250, 0.7);
  font-size: 0.95rem;
}

.invite-form input {
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid rgba(248, 249, 250, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #f8f9fa;
}

.invite-form input::placeholder {
  color: rgba(248, 249, 250, 0.6);
}

.invite-form input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(72, 212, 255, 0.3);
}

.footer-note {
  margin-top: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(248, 249, 250, 0.12);
  color: rgba(248, 249, 250, 0.6);
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-origin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(248, 249, 250, 0.75);
}

.footer-flag {
  width: 30px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  display: block;
}

.footer-product {
  color: rgba(248, 249, 250, 0.7);
}

.footer-copy {
  color: rgba(248, 249, 250, 0.5);
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logo-orb-float {
  0%,
  100% {
    transform: translateY(-0.05em) scale(1);
  }

  50% {
    transform: translateY(-0.18em) scale(1.06);
  }
}

@keyframes logo-orb-hue {
  0% {
    filter: hue-rotate(0deg);
  }

  100% {
    filter: hue-rotate(360deg);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes float-orb-1 {

  0%,
  100% {
    transform: translate(-20%, -20%) scale(1);
  }

  33% {
    transform: translate(10%, -10%) scale(1.1);
  }

  66% {
    transform: translate(-10%, 20%) scale(0.9);
  }
}

@keyframes float-orb-2 {

  0%,
  100% {
    transform: translate(20%, 20%) scale(0.9);
  }

  33% {
    transform: translate(-10%, 10%) scale(1);
  }

  66% {
    transform: translate(10%, -20%) scale(1.1);
  }
}

@keyframes float-orb-3 {

  0%,
  100% {
    transform: translate(0, -30%) scale(1.1);
  }

  33% {
    transform: translate(-20%, 0) scale(0.9);
  }

  66% {
    transform: translate(20%, 10%) scale(1);
  }
}

@media (max-width: 1024px) {

  .logic-grid,
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .logic-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .invite-form {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    gap: 28px;
  }

  .headband-wrap {
    position: static;
    padding: 8px 0 0;
    margin-top: 18px;
  }

  .headband-img {
    width: clamp(240px, 70vw, 320px);
  }

  .headband-label {
    position: static;
    margin-top: 16px;
    text-align: center;
  }

  .wood-stand {
    width: 70%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
