:root {
  --ink: #4a1238;
  --ink-soft: #78305f;
  --pink: #ff3ca6;
  --pink-soft: #ffd0ea;
  --lilac: #c49cff;
  --cream: #fff9f1;
  --gold: #ffd75e;
  --green: #6bea8a;
  --night: #120d20;
  --card: rgba(255, 255, 255, 0.68);
  --line: rgba(74, 18, 56, 0.13);
  --shadow: 0 24px 80px rgba(85, 24, 70, 0.16);
  --radius: 30px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(255,255,255,.92) 0 4%, transparent 24%),
    radial-gradient(circle at 92% 18%, rgba(196,156,255,.42), transparent 28%),
    linear-gradient(145deg, #ffd1e9 0%, #f6c6eb 43%, #dcc8ff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  min-height: 100vh;
}

a { color: inherit; }

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 14px;
  color: white;
  background: var(--ink);
  transition: top .2s ease;
}

.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(20px) saturate(1.3);
  background: rgba(255, 225, 241, .76);
  border-bottom: 1px solid rgba(74,18,56,.08);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 950;
  font-size: 1.45rem;
  letter-spacing: -.06em;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(74,18,56,.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  font-size: .94rem;
}

.nav-links a:hover,
.nav-links a:focus-visible { background: rgba(255,255,255,.68); }

.mobile-menu { display: none; }

main { overflow: hidden; }

.hero {
  width: min(1180px, calc(100% - 32px));
  min-height: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(24px, 6vw, 84px);
  padding: 76px 0 90px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: .78rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #d2157c;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(4.3rem, 10vw, 8rem);
  line-height: .82;
  letter-spacing: -.095em;
  font-weight: 1000;
}

.tm { font-size: .16em; vertical-align: top; letter-spacing: 0; }

.hero-copy {
  max-width: 620px;
  font-size: clamp(1.16rem, 2.4vw, 1.42rem);
  line-height: 1.52;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 26px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .02em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

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

.button.primary {
  color: white;
  background: linear-gradient(100deg, #f52a99, #a86bf3);
  box-shadow: 0 14px 34px rgba(222,39,145,.28);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255,255,255,.58);
}

.microcopy { font-size: .9rem; color: rgba(74,18,56,.68); }

.hero-visual {
  position: relative;
  min-height: 690px;
  display: grid;
  place-items: center;
}

.orb {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(255,255,255,.9), rgba(255,81,173,.28) 37%, rgba(142,82,242,.32) 68%, transparent 72%);
  filter: blur(2px);
}

.phone {
  position: relative;
  width: min(340px, 72vw);
  padding: 10px;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 48px;
  background: #141018;
  box-shadow: 0 38px 100px rgba(74,18,56,.32);
  transform: rotate(3deg);
}

.phone img { border-radius: 38px; }

.float-tile {
  position: absolute;
  width: 88px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 22px;
  color: white;
  font-size: 2.25rem;
  font-weight: 1000;
  box-shadow: 0 18px 50px rgba(74,18,56,.22), inset 0 1px 0 rgba(255,255,255,.65);
  animation: drift 5.6s ease-in-out infinite;
}

.float-tile small { position: absolute; right: 12px; bottom: 8px; font-size: .68rem; }
.float-tile.one { top: 12%; left: 0; background: linear-gradient(145deg, #56a7ff, #6657da); }
.float-tile.two { right: -1%; bottom: 17%; background: linear-gradient(145deg, #ff4eb0, #a94be5); animation-delay: -1.7s; }
.float-tile.three { left: 3%; bottom: 8%; background: linear-gradient(145deg, #5de68d, #18935d); animation-delay: -3s; }

@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 104px 0;
}

.section-heading { max-width: 760px; margin-bottom: 50px; }

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.65rem, 6vw, 5rem);
  line-height: .96;
  letter-spacing: -.07em;
  font-weight: 1000;
}

.section-heading > p:not(.eyebrow) {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.brew-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card,
.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.step-number {
  width: 48px;
  height: 48px;
  margin-bottom: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: white;
  background: var(--ink);
  font-weight: 950;
}

.step-card h3,
.feature-card h3 { margin-bottom: 10px; font-size: 1.48rem; letter-spacing: -.03em; }

.step-card p,
.feature-card p { margin-bottom: 0; line-height: 1.58; color: var(--ink-soft); }

.showcase {
  width: 100%;
  padding: 110px 0;
  color: white;
  background:
    radial-gradient(circle at 20% 15%, rgba(65,208,229,.22), transparent 30%),
    radial-gradient(circle at 80% 75%, rgba(255,61,169,.19), transparent 30%),
    var(--night);
}

.showcase-inner { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.showcase .eyebrow { color: #71e9ff; }
.showcase .section-heading > p:not(.eyebrow) { color: rgba(255,255,255,.68); }

.screens {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
}

.screen-card {
  padding: 8px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 30px;
  background: rgba(255,255,255,.07);
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}

.screen-card:nth-child(even) { margin-top: 52px; }
.screen-card img { border-radius: 23px; }

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature-card strong {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #cf197b;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 42px;
  align-items: center;
  padding: clamp(28px, 6vw, 70px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 40px;
  color: white;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,215,94,.3), transparent 30%),
    linear-gradient(135deg, #4d1239, #25112f);
  box-shadow: 0 30px 90px rgba(74,18,56,.26);
}

.contact-card h2 { font-size: clamp(2.7rem, 6vw, 4.8rem); }
.contact-card p { max-width: 650px; color: rgba(255,255,255,.72); line-height: 1.6; }
.contact-card .button { color: var(--ink); background: var(--gold); }

.contact-mark {
  width: min(250px, 100%);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,94,.34), transparent 65%);
}

.contact-mark img {
  width: 72%;
  border-radius: 28%;
  box-shadow: 0 28px 70px rgba(0,0,0,.3);
}

.site-footer {
  padding: 48px 16px 56px;
  border-top: 1px solid rgba(74,18,56,.1);
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { font-weight: 750; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copyright { margin: 0; color: rgba(74,18,56,.62); }

.legal-shell {
  width: min(920px, calc(100% - 32px));
  margin: 72px auto 110px;
}

.legal-hero { margin-bottom: 26px; }
.legal-hero h1 { font-size: clamp(3.4rem, 10vw, 6rem); }

.legal-card {
  padding: clamp(24px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow);
}

.legal-content { color: #35102b; }
.legal-content strong { display: block; margin: 2.1em 0 .55em; font-size: 1.45rem; letter-spacing: -.025em; }
.legal-content strong:first-child { display: none; }
.legal-content p, .legal-content li { font-size: 1.02rem; line-height: 1.72; }
.legal-content ul { padding-left: 1.4rem; }
.legal-content a { color: #be1670; font-weight: 700; }
.legal-content hr { margin: 44px 0 24px; border: 0; border-top: 1px solid var(--line); }
.legal-loading { color: var(--ink-soft); }

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 36px;
}

.support-card {
  padding: 30px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.66);
}

.support-card h2 { font-size: 2rem; }
.support-card p { line-height: 1.65; color: var(--ink-soft); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; text-align: center; }
  .hero-copy { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 650px; }
  .brew-steps { grid-template-columns: 1fr; }
  .screens { grid-template-columns: repeat(2, 1fr); }
  .contact-card { grid-template-columns: 1fr; text-align: center; }
  .contact-card p { margin-inline: auto; }
  .contact-card .button { margin-inline: auto; }
  .contact-mark { display: none; }
}

@media (max-width: 680px) {
  .nav { min-height: 68px; }
  .nav-links { display: none; position: absolute; left: 16px; right: 16px; top: 74px; padding: 12px; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,244,250,.97); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .mobile-menu { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: rgba(255,255,255,.6); font: inherit; font-weight: 900; }
  .hero { min-height: auto; padding-bottom: 64px; }
  h1 { font-size: clamp(4rem, 22vw, 6.2rem); }
  .hero-visual { min-height: 580px; }
  .phone { width: min(300px, 78vw); border-radius: 42px; }
  .phone img { border-radius: 33px; }
  .float-tile { width: 70px; border-radius: 18px; font-size: 1.8rem; }
  .section { padding: 76px 0; }
  .screens { gap: 10px; }
  .screen-card { padding: 5px; border-radius: 20px; }
  .screen-card img { border-radius: 16px; }
  .screen-card:nth-child(even) { margin-top: 30px; }
  .features, .support-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

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