:root {
  --ink: #2a1220;
  --muted: #6f4a5c;
  --rose: #b01a5c;
  --rose-deep: #861447;
  --line: #efd5e2;
  --paper: #fff8fb;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(80, 17, 48, 0.14);
  --radius: 28px;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

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

.phone-frame img {
  width: 100%;
  height: auto;
}
a { color: var(--rose); text-underline-offset: 4px; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--rose-deep);
  outline-offset: 4px;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--white);
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

h1 { font-size: clamp(3rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }

.lead, .section-lead {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 36rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--rose);
  color: var(--white);
}
.btn-primary:hover { background: var(--rose-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--white); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 248, 251, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 248, 251, 0.96);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, #ff6aa8, var(--rose-deep));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}
.site-nav a:hover { color: var(--rose); }
.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white) !important;
}
.nav-cta:hover { background: var(--rose-deep); color: var(--white) !important; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(100vh, 920px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 85% 20%, rgba(255, 150, 198, 0.45), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(255, 210, 230, 0.55), transparent 55%),
    linear-gradient(160deg, #fff9fc 0%, #ffe6f1 48%, #ffd3e6 100%);
  animation: wash 12s ease-in-out infinite alternate;
}
@keyframes wash {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-block: 72px 64px;
}

.brand-lockup {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  color: var(--rose-deep);
}

.hero-copy .lead { margin: 22px 0 0; }

.hero-visual {
  display: flex;
  justify-content: center;
}
.phone-frame {
  width: min(320px, 72vw);
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid #e8b7cc;
  box-shadow: var(--shadow);
  background: #f5c9dc;
  transform: rotate(2deg);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-10px); }
}

.section { padding-block: 88px; }
.section-head { margin-bottom: 40px; max-width: 40rem; }
.section-head h2, .product h2 { margin: 12px 0 16px; }

.product {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.product-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: start;
}
.feature-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}

.product-note {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
}
.product-note p { margin: 10px 0 18px; color: var(--muted); }
.product-note a { font-weight: 700; text-decoration: none; }
.product-note a:hover { text-decoration: underline; }

.shot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
figure { margin: 0; min-width: 0; }
.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid #e9bfd1;
  border-radius: 24px;
  overflow: hidden;
  background: #f5c9dc;
  cursor: zoom-in;
  box-shadow: 0 10px 25px rgba(80, 17, 48, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.shot:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.shot img { width: 100%; height: auto; }
figcaption {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--muted);
}
figcaption strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 2px;
}

.contact-band {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 170, 205, 0.35), transparent 50%),
    linear-gradient(180deg, #fff, #ffeaf3);
  border-top: 1px solid var(--line);
}
.contact-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.contact-inner h2 { margin: 12px 0 14px; }

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 28px;
}
.site-footer nav {
  display: flex;
  gap: 20px;
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}
.site-footer a:hover { color: var(--rose); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(24, 8, 16, 0.82);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(420px, 90vw);
  max-height: 88vh;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.page-legal {
  background: #f7f2f5;
}
.legal-shell {
  width: min(800px, calc(100% - 40px));
  margin: 40px auto;
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
}
.legal-shell h1 {
  font-family: var(--font-body);
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  color: var(--rose-deep);
  border-bottom: 2px solid #f2e7ec;
  padding-bottom: 14px;
  margin: 8px 0 12px;
}
.legal-shell h2 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  letter-spacing: 0;
  margin-top: 28px;
  border-left: 4px solid var(--rose);
  padding-left: 10px;
}
.legal-shell .app-name { font-weight: 700; margin: 0; }
.legal-shell .date { color: #666; font-size: 0.9rem; }
.legal-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.legal-top a { font-weight: 700; text-decoration: none; }
.legal-footer {
  margin-top: 32px;
  border-top: 1px solid #e8dde3;
  padding-top: 20px;
  color: #666;
  font-size: 0.9rem;
}
.legal-footer nav {
  display: flex;
  gap: 18px;
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .hero-grid,
  .product-grid,
  .shot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    min-height: auto;
  }
  .hero-grid {
    padding-block: 48px;
  }
  .phone-frame { width: min(280px, 70vw); }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 12px;
    border-radius: 10px;
  }
  .nav-cta { text-align: center; }
  .hero-grid,
  .product-grid,
  .shot-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual { order: -1; }
  .phone-frame {
    transform: none;
    animation: none;
  }
  .section { padding-block: 64px; }
  .legal-shell {
    margin: 0;
    width: 100%;
    border-radius: 0;
    padding: 28px 20px;
    box-shadow: none;
  }
}
