:root {
  --orange: #ff7a18;
  --orange-deep: #e85d04;
  --orange-soft: #fff1e6;
  --ink: #121212;
  --ink-muted: #5c5c5c;
  --paper: #ffffff;
  --paper-warm: #fffaf6;
  --line: rgba(18, 18, 18, 0.08);
  --shadow: 0 24px 60px rgba(18, 18, 18, 0.12);
  --radius: 18px;
  --font: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(255, 122, 24, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(255, 170, 80, 0.12), transparent 50%),
    linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 45%, #fff7ef 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button {
  font-family: inherit;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 6vh, 4.5rem) 0 clamp(2rem, 4vh, 3rem);
}

.hero__copy {
  max-width: 40rem;
  animation: rise 0.9s var(--ease) both;
}

.hero__title {
  margin: 0 0 1.35rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.28em 0.38em;
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero__brand {
  color: var(--orange);
  flex-shrink: 0;
}

.hero__slot {
  position: relative;
  display: inline-block;
  color: var(--ink);
  vertical-align: middle;
}

.hero__slot-viewport {
  position: relative;
  display: block;
  overflow: hidden;
  height: 1.2em;
  line-height: 1.2em;
}

.hero__slot-sizer {
  display: block;
  visibility: hidden;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.hero__slot-item {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  white-space: nowrap;
  line-height: 1.2em;
  will-change: transform, opacity;
}

.hero__slot-item.is-enter {
  transform: translate3d(0, 110%, 0);
  opacity: 0;
}

.hero__slot-item.is-enter.is-in {
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.hero__slot-item.is-exit {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.hero__slot-item.is-exit.is-out {
  transition:
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translate3d(0, -110%, 0);
  opacity: 0;
}

.hero__lead {
  margin: 0 0 2rem;
  max-width: 30rem;
}

.hero__lead p {
  margin: 0;
  line-height: 1.45;
}

.hero__lead-hook {
  margin-bottom: 0.55rem;
  font-size: clamp(1.15rem, 2.1vw, 1.35rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.hero__lead-body {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  color: var(--ink-muted);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0.65rem 1.1rem 0.65rem 0.9rem;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 20px rgba(18, 18, 18, 0.18);
}

.store-btn:hover {
  transform: translateY(-2px);
  background: #000;
}

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

.store-btn__icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
  text-align: left;
}

.store-btn__eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.75;
  letter-spacing: 0.02em;
}

.store-btn__label {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.phones {
  position: relative;
  height: min(72vh, 620px);
  min-height: 420px;
  display: grid;
  place-items: center;
  animation: rise 1s var(--ease) 0.12s both;
}

.phones__glow {
  position: absolute;
  inset: 12% 18%;
  border-radius: 40% 40% 35% 35%;
  background: radial-gradient(circle at 50% 40%, rgba(255, 122, 24, 0.35), transparent 68%);
  filter: blur(8px);
  z-index: 0;
  animation: pulse 5.5s ease-in-out infinite;
}

.phone {
  position: absolute;
  width: min(42%, 240px);
  filter: drop-shadow(0 28px 40px rgba(18, 18, 18, 0.28));
  transition: transform 0.5s var(--ease);
}

.phone img {
  width: 100%;
  height: auto;
}

.phone--left {
  left: 4%;
  top: 14%;
  z-index: 1;
  transform: rotate(-11deg) translateY(12px);
  animation: float-left 5.2s ease-in-out infinite;
}

.phone--right {
  right: 4%;
  top: 14%;
  z-index: 1;
  transform: rotate(11deg) translateY(12px);
  animation: float-right 5.6s ease-in-out infinite;
}

.phone--center {
  width: min(48%, 280px);
  left: 50%;
  top: 6%;
  z-index: 2;
  transform: translateX(-50%);
  animation: float-center 4.8s ease-in-out infinite;
}

.site-footer {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 1.25rem 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
  animation: rise 0.8s var(--ease) 0.25s both;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
}

.site-footer__links a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-footer__links a:hover {
  color: var(--orange-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__copy {
  margin: 0;
  color: #8a8a8a;
  font-size: 0.82rem;
}

/* Coming soon modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.45);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  width: min(100%, 420px);
  background: var(--paper);
  border-radius: 20px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.3s var(--ease);
}

.modal.is-open .modal__dialog {
  transform: none;
}

.modal__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin: 0 auto 1rem;
}

.modal__title {
  margin: 0 0 0.5rem;
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.modal__text {
  margin: 0 0 1.35rem;
  text-align: center;
  color: var(--ink-muted);
  line-height: 1.5;
}

.modal__close {
  appearance: none;
  border: 0;
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal__close:hover {
  background: var(--orange-deep);
  transform: translateY(-1px);
}

.modal__close:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

body.modal-open {
  overflow: hidden;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes float-center {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

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

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    width: min(1180px, calc(100% - 2rem));
    padding-top: 2rem;
    gap: 2.5rem;
  }

  .hero__copy {
    max-width: none;
    text-align: center;
  }

  .hero__title {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.12em;
  }

  .hero__slot {
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
  }

  .hero__slot-viewport {
    width: 100%;
    margin-inline: auto;
  }

  .hero__slot-sizer {
    display: block;
    text-align: center;
  }

  .hero__slot-item {
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
  }

  .hero__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .store-row {
    justify-content: center;
  }

  .phones {
    height: 460px;
    min-height: 400px;
    margin-bottom: 0.5rem;
  }

  .phone--center {
    width: min(46%, 220px);
  }

  .phone--left,
  .phone--right {
    width: min(40%, 180px);
  }
}

@media (max-width: 520px) {
  .phones {
    height: 380px;
    min-height: 340px;
  }

  .phone--center {
    width: 48%;
  }

  .phone--left,
  .phone--right {
    width: 40%;
    top: 18%;
  }

  .store-btn {
    width: 100%;
    justify-content: center;
  }
}

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

  .hero__slot-item {
    transform: none !important;
    opacity: 1 !important;
  }
}
