:root {
  --ink: #26211f;
  --muted: #746b66;
  --cream: #fff8ec;
  --warm-cream: #f8ead6;
  --blush: #f4dce0;
  --blush-deep: #dd9fa9;
  --pale-yellow: #f9edb7;
  --powder-blue: #dcebf4;
  --blue-deep: #9bbfd4;
  --white: #fffdf9;
  --line: rgba(38, 33, 31, 0.1);
  --shadow: 0 24px 70px rgba(96, 65, 54, 0.16);
  --glass: rgba(255, 253, 249, 0.68);
  --glass-strong: rgba(255, 253, 249, 0.78);
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(244, 220, 224, 0.7), transparent 30rem),
    radial-gradient(circle at 85% 8%, rgba(220, 235, 244, 0.85), transparent 28rem),
    linear-gradient(180deg, var(--cream), #fffaf4 42%, #f9efe5);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: -24vmax;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 24%, rgba(244, 220, 224, 0.46), transparent 27vmax),
    radial-gradient(circle at 82% 18%, rgba(220, 235, 244, 0.5), transparent 28vmax),
    radial-gradient(circle at 72% 78%, rgba(249, 237, 183, 0.36), transparent 25vmax),
    radial-gradient(circle at 24% 86%, rgba(248, 234, 214, 0.46), transparent 26vmax);
  filter: blur(10px);
  opacity: 0.75;
  transform: translate3d(0, 0, 0);
  animation: ambientDrift 28s var(--ease-luxury) infinite alternate;
}

body > * {
  position: relative;
  z-index: 1;
}

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

a:hover {
  color: #8c5a64;
}

.site-header,
.site-footer,
.section,
.legal-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-icon {
  display: block;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(38, 33, 31, 0.14);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(125, 78, 88, 0.16);
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.section {
  padding: 82px 0;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 84px);
  padding-top: 42px;
}

.hero-glint {
  position: absolute;
  z-index: -1;
  width: 34vw;
  max-width: 440px;
  min-width: 220px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  filter: blur(1px);
  opacity: 0;
  transform: rotate(-18deg) translate3d(-12%, 0, 0);
  animation: heroGlint 24s ease-in-out infinite;
}

.glint-one {
  top: 20%;
  left: 4%;
}

.glint-two {
  right: 5%;
  bottom: 28%;
  animation-delay: 11s;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: #8c5a64;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 18vw, 6.8rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 10vw, 4.8rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  max-width: 630px;
  color: var(--muted);
  font-size: clamp(1.1rem, 4vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 260ms var(--ease-luxury), box-shadow 260ms var(--ease-luxury), background 260ms var(--ease-luxury);
}

.button:hover {
  transform: translateY(-3px) scale(1.01);
}

.button.primary {
  color: #fffaf5;
  background: #2e2926;
  box-shadow: 0 16px 38px rgba(46, 41, 38, 0.22);
}

.button.secondary {
  border: 1px solid rgba(38, 33, 31, 0.14);
  background: rgba(255, 253, 249, 0.74);
}

.phone-stage {
  position: relative;
  min-height: 530px;
  perspective: 1100px;
}

.phone {
  position: absolute;
  --base-x: -56%;
  --base-y: 0px;
  --parallax-x: 0px;
  --parallax-y: 0px;
  --rotate: -4deg;
  --scale: 1;
  width: min(280px, 72vw);
  padding: 12px;
  border: 1px solid rgba(38, 33, 31, 0.16);
  border-radius: 42px;
  background: linear-gradient(145deg, #26211f, #51413b);
  box-shadow: 0 30px 82px rgba(96, 65, 54, 0.2);
  transform: translate(calc(var(--base-x) + var(--parallax-x)), calc(var(--base-y) + var(--parallax-y))) rotate(var(--rotate)) scale(var(--scale));
  transform-style: preserve-3d;
  will-change: transform;
  animation: phoneFloat 13s ease-in-out infinite;
}

.phone::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;
  pointer-events: none;
  border-radius: 34px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), transparent 34%, transparent 68%, rgba(255, 255, 255, 0.08));
  mix-blend-mode: screen;
  opacity: 0.42;
}

.phone-front {
  top: 16px;
  left: 50%;
  z-index: 2;
  --base-x: -56%;
  --rotate: -4deg;
}

.phone-back {
  top: 76px;
  left: 50%;
  --base-x: -16%;
  --rotate: 7deg;
  --scale: 0.92;
  opacity: 0.88;
  animation-delay: -5s;
  animation-duration: 15s;
}

.phone-screen {
  min-height: 500px;
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.92), rgba(248, 234, 214, 0.9)),
    radial-gradient(circle at 70% 20%, var(--powder-blue), transparent 15rem);
}

.phone-screenshot {
  display: block;
  width: 100%;
  min-height: 500px;
  object-fit: cover;
}

.status-pill {
  width: 78px;
  height: 7px;
  margin: 0 auto 34px;
  border-radius: 999px;
  background: rgba(38, 33, 31, 0.22);
}

.screen-label {
  margin-bottom: 8px;
  color: #8c5a64;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone-screen h2 {
  margin-bottom: 24px;
  font-size: 2.1rem;
  line-height: 1.02;
}

.outfit-card,
.insight-card {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(38, 33, 31, 0.09);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.7);
}

.outfit-card span {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  font-weight: 600;
}

.blush {
  background: linear-gradient(135deg, rgba(244, 220, 224, 0.86), rgba(249, 237, 183, 0.7));
}

.screen-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(38, 33, 31, 0.08);
  color: var(--muted);
}

.screen-row strong {
  color: var(--ink);
}

.mini-calendar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 28px 0;
}

.mini-calendar span {
  aspect-ratio: 1;
  border-radius: 12px;
  background: rgba(155, 191, 212, 0.42);
}

.mini-calendar span:nth-child(3n) {
  background: rgba(221, 159, 169, 0.48);
}

.mini-calendar span:nth-child(4n) {
  background: rgba(249, 237, 183, 0.78);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--glass);
  box-shadow: 0 18px 46px rgba(96, 65, 54, 0.09);
  backdrop-filter: blur(22px) saturate(1.12);
  -webkit-backdrop-filter: blur(22px) saturate(1.12);
  transition: transform 300ms var(--ease-luxury), box-shadow 300ms var(--ease-luxury), background 300ms var(--ease-luxury);
}

.feature-card:hover {
  background: var(--glass-strong);
  box-shadow: 0 26px 64px rgba(96, 65, 54, 0.14);
  transform: translateY(-5px) scale(1.01);
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-icon {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 16px;
}

.feature-icon.cream {
  background: linear-gradient(135deg, var(--warm-cream), var(--white));
}

.feature-icon.yellow {
  background: linear-gradient(135deg, var(--pale-yellow), var(--white));
}

.feature-icon.blue {
  background: linear-gradient(135deg, var(--powder-blue), var(--white));
}

.feature-icon.blush-tone {
  background: linear-gradient(135deg, var(--blush), var(--white));
}

.iphone-section {
  padding-top: 36px;
}

.iphone-card {
  display: grid;
  gap: 30px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.8), rgba(244, 220, 224, 0.42)),
    radial-gradient(circle at 86% 18%, rgba(220, 235, 244, 0.5), transparent 18rem);
  box-shadow: 0 24px 72px rgba(96, 65, 54, 0.11);
  backdrop-filter: blur(24px) saturate(1.12);
  -webkit-backdrop-filter: blur(24px) saturate(1.12);
  transition: transform 300ms var(--ease-luxury), box-shadow 300ms var(--ease-luxury);
}

.iphone-card:hover {
  box-shadow: 0 30px 82px rgba(96, 65, 54, 0.15);
  transform: translateY(-3px) scale(1.005);
}

.iphone-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.06rem;
}

.app-store-badge {
  display: inline-flex;
  margin-top: 18px;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(38, 33, 31, 0.14);
  transition: transform 260ms var(--ease-luxury), box-shadow 260ms var(--ease-luxury);
}

.app-store-badge:hover {
  box-shadow: 0 22px 54px rgba(38, 33, 31, 0.18);
  transform: translateY(-3px) scale(1.01);
}

.app-store-badge img {
  display: block;
  width: 220px;
  height: auto;
}

.trust-grid {
  display: grid;
  gap: 14px;
}

.trust-item {
  padding: 22px;
  border: 1px solid rgba(38, 33, 31, 0.08);
  border-radius: 26px;
  background: rgba(255, 253, 249, 0.62);
  box-shadow: 0 14px 34px rgba(96, 65, 54, 0.07);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  transition: transform 300ms var(--ease-luxury), box-shadow 300ms var(--ease-luxury), background 300ms var(--ease-luxury);
}

.trust-item:hover {
  background: rgba(255, 253, 249, 0.76);
  box-shadow: 0 22px 52px rgba(96, 65, 54, 0.12);
  transform: translateY(-4px) scale(1.01);
}

.trust-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.trust-dot {
  display: block;
  width: 14px;
  height: 14px;
  margin-bottom: 18px;
  border-radius: 999px;
}

.trust-dot.blue {
  background: var(--blue-deep);
  box-shadow: 0 0 32px rgba(155, 191, 212, 0.56);
}

.trust-dot.blush-tone {
  background: var(--blush-deep);
  box-shadow: 0 0 32px rgba(221, 159, 169, 0.44);
}

.trust-dot.yellow {
  background: #e8d571;
  box-shadow: 0 0 32px rgba(249, 237, 183, 0.72);
}

.split-section {
  display: grid;
  gap: 24px;
  align-items: center;
  margin-bottom: 58px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.78), rgba(220, 235, 244, 0.52));
  box-shadow: 0 22px 64px rgba(96, 65, 54, 0.09);
  backdrop-filter: blur(24px) saturate(1.08);
  -webkit-backdrop-filter: blur(24px) saturate(1.08);
  transition: transform 300ms var(--ease-luxury), box-shadow 300ms var(--ease-luxury);
}

.split-section:hover {
  box-shadow: 0 28px 72px rgba(96, 65, 54, 0.13);
  transform: translateY(-3px) scale(1.005);
}

.split-section p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.site-footer {
  display: grid;
  gap: 24px;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 12px 0 0;
}

.legal-page {
  padding: 62px 0 80px;
}

.page-hero {
  max-width: 760px;
  margin-bottom: 34px;
}

.page-hero h1 {
  font-size: clamp(3.4rem, 14vw, 6rem);
}

.muted {
  color: var(--muted);
}

.legal-card,
.faq-list {
  max-width: 820px;
}

.legal-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 253, 249, 0.74);
  box-shadow: 0 18px 48px rgba(96, 65, 54, 0.08);
}

.legal-card h2 {
  margin: 28px 0 10px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

.legal-card p {
  color: var(--muted);
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card a,
.page-hero a,
.faq-list a {
  color: #8c5a64;
  font-weight: 700;
}

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

details {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.72);
  box-shadow: 0 12px 32px rgba(96, 65, 54, 0.06);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  transition: transform 300ms var(--ease-luxury), box-shadow 300ms var(--ease-luxury), background 300ms var(--ease-luxury);
}

details:hover {
  background: rgba(255, 253, 249, 0.8);
  box-shadow: 0 20px 48px rgba(96, 65, 54, 0.1);
  transform: translateY(-3px) scale(1.005);
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 760ms var(--ease-luxury), transform 760ms var(--ease-luxury);
}

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

.js .feature-card.reveal.is-visible:hover,
.js .trust-item.reveal.is-visible:hover {
  transform: translateY(-5px) scale(1.01);
}

.js .split-section.reveal.is-visible:hover {
  transform: translateY(-3px) scale(1.005);
}

.feature-grid .reveal:nth-child(2),
.trust-grid .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.feature-grid .reveal:nth-child(3),
.trust-grid .reveal:nth-child(3) {
  transition-delay: 160ms;
}

.feature-grid .reveal:nth-child(4) {
  transition-delay: 240ms;
}

.feature-grid .reveal:nth-child(5) {
  transition-delay: 320ms;
}

@keyframes ambientDrift {
  0% {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }

  50% {
    transform: translate3d(1.5%, 1%, 0) scale(1.03);
  }

  100% {
    transform: translate3d(-0.5%, 1.5%, 0) scale(1.01);
  }
}

@keyframes heroGlint {
  0%,
  58%,
  100% {
    opacity: 0;
    transform: rotate(-18deg) translate3d(-18%, 0, 0);
  }

  64% {
    opacity: 0.16;
  }

  72% {
    opacity: 0.05;
    transform: rotate(-18deg) translate3d(26%, 0, 0);
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translate(calc(var(--base-x) + var(--parallax-x)), calc(var(--base-y) + var(--parallax-y) - 4px)) rotate(var(--rotate)) scale(var(--scale));
  }

  50% {
    transform: translate(calc(var(--base-x) + var(--parallax-x)), calc(var(--base-y) + var(--parallax-y) + 5px)) rotate(var(--rotate)) scale(var(--scale));
  }
}

@media (min-width: 620px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

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

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 920px) {
  .hero {
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-card.wide {
    grid-column: span 2;
  }

  .split-section {
    grid-template-columns: 0.95fr 1fr;
  }

  .iphone-card {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
    align-items: center;
    padding: 40px;
  }
}

@media (max-width: 520px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .phone-stage {
    min-height: 500px;
  }

  .phone {
    width: 245px;
  }

  .phone-front {
    --base-x: -60%;
  }

  .phone-back {
    --base-x: -20%;
    --scale: 0.88;
  }

  .phone-screen {
    min-height: 455px;
  }

  .phone-screenshot {
    min-height: 455px;
  }

  .split-section,
  .legal-card,
  .iphone-card {
    padding: 24px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
