/* ─────────────────────────────────────────────────────────────────────────
   Ömrüm — marketing + legal site.
   Theme system: dark (default) ↔ light via [data-theme], persisted in JS.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --ink: #14121f;
  --bg: #14121f;
  --surface: #1d1a2c;
  --surface-alt: #262236;
  --rose: #f0608f;
  --violet: #8b5cf6;
  --moon: #f6f2ff;
  --heading: #f6f2ff;
  --text: #d9d4e8;
  --dim: #b9b3cc;
  --stroke: rgba(246, 242, 255, 0.12);
  --glass: rgba(20, 18, 31, 0.72);
  --shadow: rgba(0, 0, 0, 0.45);
  --aurora-a: rgba(240, 96, 143, 0.17);
  --aurora-b: rgba(139, 92, 246, 0.13);
  --phone-frame: #0c0a14;
  --screen: #181527;
  --card-on-screen: #232036;
}

[data-theme="light"] {
  --bg: #faf8ff;
  --surface: #ffffff;
  --surface-alt: #f3effc;
  --moon: #2a2440;
  --heading: #2a2440;
  --text: #4a4462;
  --dim: #7a7393;
  --stroke: rgba(42, 36, 64, 0.12);
  --glass: rgba(250, 248, 255, 0.78);
  --shadow: rgba(80, 60, 140, 0.16);
  --aurora-a: rgba(240, 96, 143, 0.14);
  --aurora-b: rgba(139, 92, 246, 0.12);
  --phone-frame: #221e33;
  --screen: #1d1a2c;          /* the app itself stays dark — it's a night app */
  --card-on-screen: #282440;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.45s ease, color 0.45s ease;
}

::selection { background: rgba(240, 96, 143, 0.35); }

/* ── Aurora background ─────────────────────────────────────────────────── */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.9;
  animation: drift 26s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) {
  width: 540px; height: 540px;
  background: var(--aurora-a);
  top: -160px; left: -120px;
}
.aurora span:nth-child(2) {
  width: 460px; height: 460px;
  background: var(--aurora-b);
  top: 30%; right: -160px;
  animation-delay: -8s;
}
.aurora span:nth-child(3) {
  width: 420px; height: 420px;
  background: var(--aurora-a);
  bottom: -140px; left: 30%;
  animation-delay: -16s;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(60px, 40px, 0) scale(1.15); }
}

/* ── Layout ─────────────────────────────────────────────────────────────── */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 780px; }

/* ── Header ─────────────────────────────────────────────────────────────── */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: var(--glass);
  border-bottom: 1px solid var(--stroke);
  transition: background 0.45s ease;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--heading);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 7px;
}
.logo .heart {
  display: inline-block;
  background: linear-gradient(135deg, var(--rose), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: heartbeat 2.6s ease-in-out infinite;
}
.logo .mark {
  width: 32px;
  height: 32px;
  display: block;
  animation: heartbeat 2.6s ease-in-out infinite;
  filter: drop-shadow(0 2px 8px rgba(240, 96, 143, 0.35));
}
@keyframes heartbeat {
  0%, 28%, 100% { transform: scale(1); }
  10% { transform: scale(1.22); }
  18% { transform: scale(1.06); }
}
nav.site { display: flex; align-items: center; gap: 26px; }
nav.site a {
  color: var(--dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}
nav.site a:hover, nav.site a.active { color: var(--rose); }

.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--stroke);
  background: transparent;
  color: var(--heading);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s, transform 0.2s, background 0.3s;
}
.theme-toggle:hover { border-color: var(--rose); transform: rotate(18deg); }
.theme-toggle svg { width: 18px; height: 18px; }
[data-theme="light"] .icon-moon { display: none; }
.icon-sun { display: none; }
[data-theme="light"] .icon-sun { display: block; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding: 84px 0 80px;
}
.hero-copy h1 {
  font-size: clamp(2.6rem, 5.2vw, 3.9rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--heading);
}
.hero-copy h1 .grad {
  background: linear-gradient(120deg, var(--rose), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy .tagline {
  margin-top: 20px;
  font-size: 1.08rem;
  max-width: 460px;
  color: var(--dim);
}
.hero-ctas { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--rose), var(--violet));
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 0.97rem;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 8px 26px rgba(240, 96, 143, 0.28);
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(240, 96, 143, 0.4); }
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--heading);
  border: 1.5px solid var(--stroke);
  text-decoration: none;
  padding: 14px 30px;         /* match .pill exactly so both buttons are the same height */
  border-radius: 999px;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.2;
  transition: border-color 0.2s, color 0.2s;
}
.pill { line-height: 1.2; justify-content: center; }
.ghost:hover { border-color: var(--rose); color: var(--rose); }

.hero-bullets {
  margin-top: 36px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--dim);
  font-size: 0.86rem;
}
.hero-bullets span { display: inline-flex; align-items: center; gap: 7px; }
.hero-bullets .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--violet));
}

/* ── Phone mockup ───────────────────────────────────────────────────────── */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone {
  width: 300px;
  border-radius: 46px;
  background: var(--phone-frame);
  padding: 13px;
  box-shadow:
    0 40px 80px var(--shadow),
    inset 0 0 0 2px rgba(255, 255, 255, 0.06);
  animation: float 7s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50% { transform: translateY(-16px) rotate(0.6deg); }
}
.screen {
  background: var(--screen);
  border-radius: 35px;
  overflow: hidden;
  position: relative;
  padding: 14px 14px 12px;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.notch {
  width: 110px; height: 26px;
  background: var(--phone-frame);
  border-radius: 16px;
  margin: 2px auto 4px;
}
.app-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px 4px;
}
.app-head .name { color: #f6f2ff; font-weight: 700; font-size: 1.05rem; }
.app-head .name b {
  background: linear-gradient(135deg, #f0608f, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.app-head .hi { color: #b9b3cc; font-size: 0.66rem; }

.partner-card {
  background: var(--card-on-screen);
  border-radius: 20px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0608f, #8b5cf6);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
  animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 96, 143, 0.5); }
  50% { box-shadow: 0 0 0 9px rgba(240, 96, 143, 0); }
}
.avatar .online {
  position: absolute;
  right: -1px; bottom: -1px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #5ee6a8;
  border: 2.5px solid var(--card-on-screen);
}
.partner-meta .pname { color: #f6f2ff; font-weight: 600; font-size: 0.86rem; }
.partner-meta .pstatus { color: #5ee6a8; font-size: 0.66rem; }
.mood-chip {
  margin-left: auto;
  background: rgba(240, 96, 143, 0.15);
  color: #f0608f;
  font-size: 0.62rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
}

.together-card {
  background: linear-gradient(135deg, rgba(240, 96, 143, 0.2), rgba(139, 92, 246, 0.18));
  border: 1px solid rgba(240, 96, 143, 0.24);
  border-radius: 20px;
  padding: 16px 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.together-card .days {
  font-size: 2rem;
  font-weight: 700;
  color: #f6f2ff;
  line-height: 1.1;
}
.together-card .label { color: #b9b3cc; font-size: 0.68rem; }
.together-card .t-heart {
  position: absolute;
  color: rgba(240, 96, 143, 0.4);
  font-size: 0.8rem;
  animation: rise 5s linear infinite;
}
.together-card .t-heart:nth-child(1) { left: 14%; animation-delay: 0s; }
.together-card .t-heart:nth-child(2) { left: 78%; animation-delay: 1.6s; }
.together-card .t-heart:nth-child(3) { left: 46%; animation-delay: 3.2s; }
@keyframes rise {
  from { transform: translateY(70px); opacity: 0; }
  18% { opacity: 1; }
  to { transform: translateY(-46px); opacity: 0; }
}

.nudge {
  background: linear-gradient(135deg, #f0608f, #8b5cf6);
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  text-align: center;
  padding: 13px;
  animation: nudgepulse 2.8s ease-in-out infinite;
}
@keyframes nudgepulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 96, 143, 0.45); }
  55% { box-shadow: 0 0 0 13px rgba(240, 96, 143, 0); }
}

.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-tile {
  background: var(--card-on-screen);
  border-radius: 16px;
  padding: 12px;
  color: #d9d4e8;
  font-size: 0.68rem;
  font-weight: 500;
}
.mini-tile .ico { font-size: 0.95rem; display: block; margin-bottom: 5px; }

.app-nav {
  margin-top: auto;
  background: var(--card-on-screen);
  border-radius: 999px;
  display: flex;
  justify-content: space-around;
  padding: 9px 12px;
  font-size: 0.78rem;
}
.app-nav span { opacity: 0.45; }
.app-nav span.on {
  opacity: 1;
  background: linear-gradient(135deg, rgba(240,96,143,.3), rgba(139,92,246,.3));
  border-radius: 999px;
  padding: 1px 12px;
}

/* floating hearts around the phone */
.float-heart {
  position: absolute;
  color: var(--rose);
  opacity: 0;
  animation: floatup 7s linear infinite;
  z-index: 1;
  font-size: 1.1rem;
}
.float-heart:nth-child(1) { left: 6%;  bottom: 10%; animation-delay: 0s;   font-size: 1.3rem; }
.float-heart:nth-child(2) { left: 88%; bottom: 24%; animation-delay: 1.8s; }
.float-heart:nth-child(3) { left: -2%; bottom: 46%; animation-delay: 3.4s; font-size: 0.9rem; }
.float-heart:nth-child(4) { left: 94%; bottom: 58%; animation-delay: 5s;   font-size: 1.5rem; }
@keyframes floatup {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  12% { opacity: 0.75; }
  100% { transform: translateY(-220px) scale(1.15); opacity: 0; }
}

/* ── Strip ─────────────────────────────────────────────────────────────── */
.strip {
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
}
.strip-track {
  display: inline-block;
  animation: marquee 30s linear infinite;
  color: var(--dim);
  font-size: 0.9rem;
  font-weight: 500;
}
.strip-track b {
  color: var(--rose);
  margin: 0 18px;
  font-weight: 600;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Sections ──────────────────────────────────────────────────────────── */
section.block { padding: 96px 0 8px; }
.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(120deg, var(--rose), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.block h2.title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.25;
  max-width: 560px;
}
.block .sub { margin-top: 14px; color: var(--dim); max-width: 540px; }

/* features grid */
.features {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: 26px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 96, 143, 0.4);
  box-shadow: 0 18px 44px var(--shadow);
}
.feature .f-ico {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(240,96,143,.16), rgba(139,92,246,.16));
  margin-bottom: 16px;
}
.feature .f-ico svg { width: 22px; height: 22px; stroke: var(--rose); }
.feature h3 { color: var(--heading); font-size: 1.02rem; font-weight: 600; margin-bottom: 8px; }
.feature p { font-size: 0.88rem; color: var(--dim); }

/* ── Draw section ──────────────────────────────────────────────────────── */
.draw-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.canvas-card {
  background: var(--screen);
  border-radius: 30px;
  padding: 22px;
  border: 1px solid var(--stroke);
  box-shadow: 0 30px 70px var(--shadow);
  position: relative;
}
.canvas-card .live {
  position: absolute;
  top: 16px; right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5ee6a8;
  font-size: 0.7rem;
  font-weight: 600;
}
.canvas-card .live i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #5ee6a8;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.canvas-card svg.draw { width: 100%; height: auto; display: block; }
.draw-path {
  fill: none;
  stroke: url(#strokeGrad);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawpath 6s ease-in-out infinite;
  filter: drop-shadow(0 0 7px rgba(240, 96, 143, 0.6));
}
@keyframes drawpath {
  0% { stroke-dashoffset: 1000; }
  46%, 78% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1000; }
}
.canvas-card .caption {
  color: #b9b3cc;
  font-size: 0.74rem;
  text-align: center;
  margin-top: 8px;
}
.steps { display: flex; flex-direction: column; gap: 26px; margin-top: 44px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step .n {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--violet));
}
.step h3 { color: var(--heading); font-size: 1rem; font-weight: 600; }
.step p { color: var(--dim); font-size: 0.88rem; margin-top: 3px; }

/* ── Privacy band ──────────────────────────────────────────────────────── */
.privacy-band {
  margin-top: 64px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 28px;
  padding: 44px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}
.privacy-band .shield {
  width: 72px; height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(240,96,143,.16), rgba(139,92,246,.16));
  display: grid;
  place-items: center;
}
.privacy-band .shield svg { width: 34px; height: 34px; stroke: var(--rose); }
.privacy-band h3 { color: var(--heading); font-size: 1.25rem; font-weight: 700; }
.privacy-band p { color: var(--dim); font-size: 0.9rem; margin-top: 6px; max-width: 520px; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { margin-top: 48px; display: flex; flex-direction: column; gap: 12px; }
details {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 18px 22px;
  transition: border-color 0.25s ease;
}
details:hover { border-color: rgba(240, 96, 143, 0.35); }
details[open] { border-color: rgba(240, 96, 143, 0.45); }
summary {
  cursor: pointer;
  color: var(--heading);
  font-weight: 600;
  font-size: 0.96rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  color: var(--rose);
  font-size: 1.25rem;
  font-weight: 500;
  transition: transform 0.25s ease;
}
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 12px; font-size: 0.89rem; color: var(--dim); }

/* ── CTA ───────────────────────────────────────────────────────────────── */
.cta-final {
  margin: 96px 0 0;
  text-align: center;
  padding: 72px 28px;
  border-radius: 32px;
  background:
    radial-gradient(600px 300px at 50% -40%, var(--aurora-a), transparent 70%),
    var(--surface);
  border: 1px solid var(--stroke);
}
.cta-final h2 { color: var(--heading); font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 700; }
.cta-final p { color: var(--dim); margin: 14px auto 0; max-width: 440px; }
.cta-final .pill { margin-top: 30px; }

/* ── Footer ────────────────────────────────────────────────────────────── */
footer.site {
  margin-top: 88px;
  border-top: 1px solid var(--stroke);
  padding: 34px 0 44px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: center;
  color: var(--dim);
  font-size: 0.85rem;
}
.footer-inner a { color: var(--dim); text-decoration: none; transition: color 0.2s; }
.footer-inner a:hover { color: var(--rose); }

/* ── Legal pages ───────────────────────────────────────────────────────── */
.legal { padding: 64px 0 20px; }
.legal h1 { color: var(--heading); font-size: 2rem; font-weight: 700; line-height: 1.25; margin-bottom: 8px; }
.updated { color: var(--dim); font-size: 0.85rem; margin-bottom: 40px; display: block; }
.legal h2 { color: var(--heading); font-size: 1.2rem; font-weight: 600; margin: 40px 0 12px; padding-top: 8px; }
.legal h3 { color: var(--heading); font-size: 1rem; font-weight: 600; margin: 24px 0 8px; }
.legal p { margin-bottom: 14px; font-size: 0.95rem; }
.legal ul { margin: 0 0 16px 22px; }
.legal li { margin-bottom: 8px; font-size: 0.95rem; }
.legal a { color: var(--rose); }
.legal strong { color: var(--heading); font-weight: 600; }
.card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 22px 24px;
  margin: 20px 0;
}
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 0.9rem; }
.legal th, .legal td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--stroke);
  vertical-align: top;
}
.legal th { color: var(--heading); font-weight: 600; }

/* ── Scroll reveal ─────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.4s; }

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

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; text-align: center; }
  .hero-copy .tagline { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-bullets { justify-content: center; }
  .features { grid-template-columns: 1fr 1fr; }
  .draw-grid { grid-template-columns: 1fr; gap: 40px; }
  .privacy-band { grid-template-columns: 1fr; text-align: center; }
  .privacy-band .shield { margin: 0 auto; }
  .privacy-band .pill { justify-self: center; }
}
@media (max-width: 580px) {
  .features { grid-template-columns: 1fr; }
  nav.site a.hide-sm { display: none; }
  .phone { width: 270px; }
  .screen { min-height: 520px; }
  .wtiles { grid-template-columns: 1fr 1fr; }
}

/* ── Widgets showcase ──────────────────────────────────────────────────── */
.wtiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.wtile {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 150px;
  padding: 16px;
  color: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 34px -20px var(--shadow);
  isolation: isolate;
}
.wtile::after { /* glossy top sheen + a soft light pool for depth */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 85% 8%, rgba(255, 255, 255, 0.28), transparent 60%),
    radial-gradient(90% 90% at 8% 105%, rgba(255, 255, 255, 0.16), transparent 60%);
}
.w-reunion { background: linear-gradient(135deg, #f26a8f, #f6b642); }
.w-partner { background: linear-gradient(135deg, #8e7cff, #5a52c4); }
.w-map     { background: linear-gradient(135deg, #2a2440, #4b3f77); }
.w-days    { background: linear-gradient(135deg, #f0608f, #8b5cf6); }
.w-top { display: flex; align-items: center; justify-content: space-between; }
.w-ico { font-size: 18px; opacity: 0.95; }
.w-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
.w-dot.on { background: #7ff0c0; box-shadow: 0 0 8px #7ff0c0; }
.w-label { margin-top: auto; font-size: 13px; font-weight: 600; opacity: 0.92; }
.w-big { font-size: 30px; font-weight: 800; line-height: 1.05; }
.w-big span { font-size: 15px; font-weight: 600; opacity: 0.9; }
.w-mid { font-size: 18px; font-weight: 700; margin-top: 2px; }
.w-sub { font-size: 12px; opacity: 0.9; margin-top: 2px; }
.w-map .w-line { width: 100%; height: 64px; margin-top: -4px; }
.w-pill {
  margin-top: auto;
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(20, 18, 31, 0.35);
  backdrop-filter: blur(6px);
}

/* ══════════════════════════════════════════════════════════════════════════
   Redesign 2.0 — badge, interactive device, bento, support, a11y, responsive
   ══════════════════════════════════════════════════════════════════════════ */

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--rose); color: #fff; padding: 10px 16px; border-radius: 0 0 12px 0;
  font-weight: 700;
}
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }

.pill.sm { padding: 8px 16px; font-size: 14px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.2px;
  color: var(--dim); background: color-mix(in srgb, var(--violet) 12%, transparent);
  border: 1px solid var(--stroke); padding: 6px 13px; border-radius: 999px; margin-bottom: 20px;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #46d39a; box-shadow: 0 0 8px #46d39a; }

/* ── Interactive device ─────────────────────────────────────────────────── */
.device { position: relative; perspective: 1400px; }
.device-frame {
  width: 320px; max-width: 84vw; margin: 0 auto;
  background: var(--phone-frame); border-radius: 44px; padding: 12px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.7), inset 0 0 0 2px rgba(255,255,255,.05);
  transform: rotateY(-9deg) rotateX(4deg); transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.device:hover .device-frame { transform: rotateY(0) rotateX(0); }
.device-screen {
  position: relative; background: radial-gradient(120% 80% at 50% 0%, #221d33, var(--screen) 55%);
  border-radius: 40px; overflow: hidden; min-height: 624px; padding: 0 0 86px;
  display: flex; flex-direction: column; color: #f6f2ff;
}
/* realistic iOS status bar + Dynamic Island */
.status-bar { position: relative; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; color: #f6f2ff; z-index: 6; }
.sb-time { font-size: 14px; font-weight: 700; letter-spacing: .3px; }
.island { position: absolute; left: 50%; top: 11px; transform: translateX(-50%); width: 92px; height: 26px; background: #000; border-radius: 16px; }
.sb-right { display: flex; align-items: center; gap: 6px; }
.home-indicator { position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%); width: 120px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.5); z-index: 6; }

.sim-viewport { position: relative; flex: 1; overflow: hidden; padding: 4px 16px 0; }
.sim-screen { display: none; flex-direction: column; gap: 14px; height: 100%; }
.sim-screen.active { display: flex; animation: simIn .34s cubic-bezier(.2,.7,.2,1); }
@keyframes simIn { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }

.pstatus i, .c-status i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #46d39a; box-shadow: 0 0 7px #46d39a; margin-right: 4px; vertical-align: middle; }
.mini-grid .ti { width: 20px; height: 20px; display: block; margin-bottom: 8px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--rose); }

.sim-nudge {
  border: none; cursor: pointer; width: 100%; padding: 15px; border-radius: 18px;
  font-family: inherit; font-size: 15px; font-weight: 700; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--rose), var(--violet));
  box-shadow: 0 14px 30px -12px var(--rose); transition: transform .12s;
}
.sim-nudge:hover { transform: translateY(-1px); }
.sim-nudge:active { transform: scale(.97); }
.sim-nudge .hb { display: inline-block; animation: hbeat 1.4s ease-in-out infinite; }
@keyframes hbeat { 0%,100% { transform: scale(1); } 15% { transform: scale(1.28); } 30% { transform: scale(1); } 45% { transform: scale(1.18); } }
.sim-nudge.alt { background: linear-gradient(120deg, #f0793c, #f0608f); box-shadow: 0 14px 30px -12px #f0793c; }
.mini-grid button.mini-tile { cursor: pointer; border: 1px solid rgba(255,255,255,.07); font-family: inherit; transition: transform .15s, background .15s; }
.mini-grid button.mini-tile:active { transform: scale(.97); }

/* bottom tab bar with a sliding pill */
.sim-nav {
  position: absolute; left: 14px; right: 14px; bottom: 18px; height: 58px;
  display: flex; align-items: center; z-index: 5;
  background: rgba(16,14,24,.82); backdrop-filter: blur(16px);
  border-radius: 22px; border: 1px solid rgba(255,255,255,.07); box-shadow: 0 14px 30px -14px #000;
}
.sim-nav .nav-pill { position: absolute; top: 8px; left: 0; width: 25%; height: 42px; padding: 0 10px; box-sizing: border-box; transition: transform .34s cubic-bezier(.3,1.3,.5,1); pointer-events: none; }
.sim-nav .nav-pill::before { content: ""; display: block; width: 100%; height: 100%; border-radius: 15px; background: linear-gradient(120deg, var(--rose), var(--violet)); box-shadow: 0 8px 18px -8px var(--rose); }
.sim-nav button { position: relative; z-index: 2; flex: 1; background: none; border: none; color: #857fa0; cursor: pointer; height: 58px; display: grid; place-items: center; transition: color .3s; }
.sim-nav button svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sim-nav button.on { color: #fff; }
.device-hint { text-align: center; color: var(--dim); font-size: 13px; margin-top: 18px; }

/* chat */
.chat-head { display: flex; align-items: center; gap: 11px; padding: 2px 2px 10px; border-bottom: 1px solid rgba(255,255,255,.06); }
.c-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 17px; background: linear-gradient(135deg, var(--rose), var(--violet)); flex: none; }
.c-avatar.sm { width: 26px; height: 26px; font-size: 12px; align-self: flex-end; }
.c-name { font-weight: 700; font-size: 15px; }
.c-status { font-size: 12px; color: #9a94b3; }
.chat-thread { flex: 1; display: flex; flex-direction: column; gap: 9px; overflow-y: auto; padding: 12px 0; }
.chat-thread .row { display: flex; align-items: flex-end; gap: 7px; animation: simIn .28s ease; }
.chat-thread .row.me { justify-content: flex-end; }
.bubble { max-width: 74%; padding: 9px 13px; border-radius: 17px; font-size: 14px; line-height: 1.35; color: #fff; }
.bubble.them { background: var(--card-on-screen); border-bottom-left-radius: 5px; }
.bubble.me { background: linear-gradient(120deg, var(--rose), var(--violet)); border-bottom-right-radius: 5px; box-shadow: 0 8px 18px -10px var(--rose); }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: #b9b3cc; animation: typedot 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typedot { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
.chat-input { display: flex; gap: 8px; padding-bottom: 4px; }
.chat-input input { flex: 1; min-width: 0; border: none; border-radius: 18px; padding: 13px 16px; font-family: inherit; font-size: 14px; background: var(--card-on-screen); color: #f6f2ff; }
.chat-input input::placeholder { color: #8b85a3; }
.chat-input input:focus { outline: 2px solid var(--rose); }
.chat-input button { border: none; cursor: pointer; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(120deg, var(--rose), var(--violet)); flex: none; box-shadow: 0 8px 18px -8px var(--rose); }

/* draw */
.live-tag { font-size: 11px; font-weight: 700; color: #ff6f9d; display: inline-flex; align-items: center; gap: 5px; }
.live-tag i { width: 7px; height: 7px; border-radius: 50%; background: #ff6f9d; animation: blink 1.4s infinite; }
.sim-canvas { width: 100%; flex: 1; border-radius: 20px; background: radial-gradient(120% 100% at 50% 0%, #17131f, #0e0b16); touch-action: none; cursor: crosshair; border: 1px solid rgba(255,255,255,.06); }
.draw-tools { display: flex; align-items: center; gap: 10px; padding: 2px 0; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); cursor: pointer; transition: transform .15s, border-color .15s; }
.swatch.s1 { background: #f0608f; } .swatch.s2 { background: #8b5cf6; } .swatch.s3 { background: #5dd0ff; } .swatch.s4 { background: #ffe9c7; }
.swatch[aria-pressed="true"] { border-color: #fff; transform: scale(1.18); box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
.draw-tools .clear { margin-left: auto; background: var(--card-on-screen); color: #cfc9e2; border: none; padding: 9px 15px; border-radius: 13px; font-family: inherit; font-weight: 600; cursor: pointer; }

/* pet — a cuter, springier little creature */
.pet-stage { flex: 1; position: relative; display: grid; place-items: center; border-radius: 22px;
  background: radial-gradient(70% 60% at 50% 42%, rgba(142,124,255,.22), transparent 70%), linear-gradient(180deg, rgba(240,96,143,.06), transparent); overflow: hidden; }
.pet-stage::after { content: "✦ ✧ ✦"; position: absolute; top: 14px; letter-spacing: 30px; color: rgba(255,233,199,.35); font-size: 12px; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .4; } }
.pet { position: relative; width: 150px; height: 150px; animation: petBreathe 3.2s ease-in-out infinite; z-index: 2; }
@keyframes petBreathe { 50% { transform: translateY(-5px); } }
.pet.happy { animation: petHop .6s cubic-bezier(.3,1.4,.5,1); }
@keyframes petHop { 30% { transform: translateY(-30px) scaleY(1.06); } 55% { transform: translateY(0) scaleY(.9) scaleX(1.06); } 75% { transform: translateY(-6px); } }
.pet-body { position: absolute; left: 50%; top: 58px; transform: translateX(-50%); width: 108px; height: 84px; background: linear-gradient(180deg,#efb072,#e19a58); border-radius: 46% 46% 42% 42%; }
.pet-belly { position: absolute; left: 50%; top: 20px; transform: translateX(-50%); width: 54px; height: 56px; background: #fbe7cf; border-radius: 50%; }
.pet-head { position: absolute; left: 50%; top: 20px; transform: translateX(-50%); width: 104px; height: 96px; background: linear-gradient(180deg,#f0b374,#e7a864); border-radius: 50%; z-index: 3; }
.pet-eye { position: absolute; top: 42px; width: 13px; height: 13px; background: #241b2e; border-radius: 50%; animation: petBlink 4s infinite; }
.pet-eye::after { content: ""; position: absolute; top: 2px; left: 2px; width: 4px; height: 4px; background: #fff; border-radius: 50%; }
.pet-eye.l { left: 26px; } .pet-eye.r { right: 26px; }
@keyframes petBlink { 0%,92%,100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.pet-cheek { position: absolute; top: 56px; width: 16px; height: 10px; background: rgba(240,96,143,.4); border-radius: 50%; }
.pet-cheek.l { left: 16px; } .pet-cheek.r { right: 16px; }
.pet-nose { position: absolute; left: 50%; top: 58px; transform: translateX(-50%); width: 9px; height: 6px; background: #241b2e; border-radius: 50%; }
.pet-mouth { position: absolute; left: 50%; top: 66px; transform: translateX(-50%); width: 20px; height: 10px; border: 2.4px solid #241b2e; border-top: none; border-radius: 0 0 12px 12px; }
.pet-ear { position: absolute; top: 8px; width: 0; height: 0; border-left: 17px solid transparent; border-right: 17px solid transparent; border-bottom: 30px solid #e7a864; z-index: 2; }
.pet-ear.l { left: 18px; transform: rotate(-20deg); } .pet-ear.r { right: 18px; transform: rotate(20deg); }
.pet-foot { position: absolute; bottom: 2px; width: 26px; height: 16px; background: #e19a58; border-radius: 50%; z-index: 1; }
.pet-foot.l { left: 40px; } .pet-foot.r { right: 40px; }
.pet-shadow { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); width: 100px; height: 16px; background: rgba(0,0,0,.28); border-radius: 50%; filter: blur(4px); animation: shadowPulse 3.2s ease-in-out infinite; }
@keyframes shadowPulse { 50% { transform: translateX(-50%) scale(.86); opacity: .7; } }
.pet-love { position: absolute; color: var(--rose); font-size: 20px; pointer-events: none; z-index: 4; animation: petLove 1.1s ease-out forwards; }
@keyframes petLove { 0% { opacity: 1; transform: translateY(0) scale(.5); } 100% { opacity: 0; transform: translateY(-70px) scale(1.3); } }
.pet-stats { display: flex; flex-direction: column; gap: 9px; }
.pstat { font-size: 12px; color: #cfc9e2; }
.pstat span { display: block; margin-bottom: 4px; font-weight: 500; }
.pstat i { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.1); position: relative; overflow: hidden; }
.pstat i::after { content: ""; position: absolute; inset: 0; width: var(--v); border-radius: 4px; background: linear-gradient(90deg, var(--rose), var(--violet)); }

/* burst hearts fired by the nudge button */
.burst-heart { position: absolute; font-size: 20px; color: var(--rose); pointer-events: none; z-index: 50; animation: burst 1s ease-out forwards; }
@keyframes burst { 0% { opacity: 1; transform: translateY(0) scale(.6); } 100% { opacity: 0; transform: translateY(-90px) scale(1.4); } }

/* ── Bento grid ─────────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.bento-card {
  position: relative; overflow: hidden; grid-column: span 1; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--stroke); border-radius: 24px; padding: 22px;
  box-shadow: 0 18px 40px -30px var(--shadow); transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .3s;
}
.bento-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--tint) 40%, transparent); box-shadow: 0 30px 55px -28px var(--shadow); }
/* a soft tinted glow pooling from the corner instead of the old top line */
.bento-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--tint) 22%, transparent), transparent 70%); opacity: .55; pointer-events: none; }
.bento-card.b-wide { grid-column: span 2; }
.b-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; position: relative; z-index: 1; }
.b-ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: var(--tint); background: color-mix(in srgb, var(--tint) 16%, transparent); flex: none; }
.b-ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.b-cat { margin-left: auto; }
.b-live { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #ff6f9d; }
.b-live i { width: 6px; height: 6px; border-radius: 50%; background: #ff6f9d; animation: blink 1.4s infinite; }
.bento-card h3, .bento-card p { position: relative; z-index: 1; }
.b-cat { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--dim); }
.bento-card h3 { font-size: 19px; color: var(--heading); margin: 0 0 6px; }
.bento-card p { color: var(--text); font-size: 14.5px; line-height: 1.55; margin: 0; }
/* every mini-visual sits above the corner glow + anchors to the card bottom */
.b-draw, .b-map, .mini-pet, .b-call, .b-bubbles, .b-widget, .b-ring, .b-photos, .b-chips { position: relative; z-index: 1; margin-top: auto; padding-top: 16px; }
.b-draw { width: 100%; }
.b-draw path { stroke-dasharray: 520; stroke-dashoffset: 520; }
.reveal.visible .b-draw path { animation: drawIn 1.8s ease forwards .2s; }
@keyframes drawIn { to { stroke-dashoffset: 0; } }
.b-map { width: 100%; }
.reunion-tile { background: linear-gradient(160deg, color-mix(in srgb, var(--rose) 16%, var(--surface)), var(--surface)); }

/* touch ripple */
.touch-tile .ripple { position: absolute; right: 26px; bottom: 26px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--rose); opacity: 0; z-index: 1; }
.reveal.visible .touch-tile .ripple { animation: rip 2.2s ease-out infinite; }
.reveal.visible .touch-tile .ripple.d { animation-delay: 1.1s; }
@keyframes rip { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(3.4); opacity: 0; } }

/* mini pet */
.mini-pet { width: 62px; height: 44px; background: #e7a864; border-radius: 50% 50% 45% 45%; margin-top: auto; }
.mini-pet .mp-ear { position: absolute; top: 8px; width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 15px solid #e7a864; }
.mini-pet .mp-ear.l { left: 8px; } .mini-pet .mp-ear.r { right: 8px; }
.mini-pet .mp-eye { position: absolute; top: 32px; width: 6px; height: 6px; background: #241b2e; border-radius: 50%; }
.mini-pet .mp-eye.l { left: 18px; } .mini-pet .mp-eye.r { right: 18px; }
.mini-pet .mp-mouth { position: absolute; top: 42px; left: 50%; transform: translateX(-50%); width: 12px; height: 6px; border: 2px solid #241b2e; border-top: none; border-radius: 0 0 8px 8px; }

/* incoming-call chip */
.b-call { display: flex; align-items: center; gap: 10px; background: color-mix(in srgb, var(--violet) 10%, var(--surface-alt)); border: 1px solid var(--stroke); border-radius: 16px; padding: 10px 12px; }
.b-call .cc-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--rose), var(--violet)); font-size: 15px; flex: none; animation: ring 1.4s ease-in-out infinite; }
@keyframes ring { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-12deg); } 40% { transform: rotate(12deg); } }
.b-call .cc-txt { display: flex; flex-direction: column; line-height: 1.25; margin-right: auto; }
.b-call .cc-txt b { font-size: 13px; color: var(--heading); } .b-call .cc-txt em { font-size: 11.5px; color: var(--dim); font-style: normal; }
.b-call .cc-btn { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.b-call .cc-btn.dec { background: #e5484d; } .b-call .cc-btn.acc { background: #35c26a; animation: pulseA 1.4s ease-in-out infinite; }
@keyframes pulseA { 0%,100% { box-shadow: 0 0 0 0 rgba(53,194,106,.5); } 60% { box-shadow: 0 0 0 8px rgba(53,194,106,0); } }

/* mini chat bubbles */
.b-bubbles { display: flex; flex-direction: column; gap: 6px; }
.b-bubbles .bb { font-size: 12.5px; padding: 7px 11px; border-radius: 13px; color: #fff; max-width: 80%; }
.b-bubbles .bb.them { align-self: flex-start; background: color-mix(in srgb, var(--violet) 14%, var(--surface-alt)); color: var(--heading); border-bottom-left-radius: 4px; }
.b-bubbles .bb.me { align-self: flex-end; background: linear-gradient(120deg, var(--rose), var(--violet)); border-bottom-right-radius: 4px; }

/* mini mood widget */
.b-widget { display: flex; align-items: center; gap: 10px; border-radius: 16px; padding: 11px 13px; color: #fff; background: linear-gradient(135deg, #8e7cff, #5a52c4); }
.b-widget .bw-ico { font-size: 20px; } .b-widget .bw-txt { display: flex; flex-direction: column; line-height: 1.3; }
.b-widget .bw-txt b { font-size: 13px; } .b-widget .bw-txt em { font-size: 11px; opacity: .9; font-style: normal; }
.b-widget .bw-txt em i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #7ff0c0; margin-right: 4px; }

/* countdown ring */
.b-ring { display: flex; align-items: center; justify-content: center; }
.b-ring svg { width: 96px; height: 96px; }
.reveal.visible .ring-fg { animation: ringGo 1.4s ease forwards .3s; }
@keyframes ringGo { from { stroke-dashoffset: 214; } to { stroke-dashoffset: 70; } }
.b-ring { position: relative; }
.ring-n { position: absolute; text-align: center; font-size: 26px; font-weight: 800; color: var(--heading); line-height: 1; }
.ring-n em { display: block; font-size: 11px; font-weight: 600; color: var(--dim); font-style: normal; }

/* photo stack */
.b-photos { display: block; height: 60px; }
.b-photos i { position: absolute; width: 58px; height: 48px; border-radius: 10px; border: 2px solid var(--surface); box-shadow: 0 6px 14px -8px var(--shadow); }
.b-photos i:nth-child(1) { background: linear-gradient(135deg,#f0608f,#f6b642); transform: rotate(-8deg); left: 4px; }
.b-photos i:nth-child(2) { background: linear-gradient(135deg,#8b5cf6,#5dd0ff); transform: rotate(5deg); left: 32px; top: 4px; }
.b-photos i:nth-child(3) { background: linear-gradient(135deg,#f0608f,#8b5cf6); transform: rotate(-2deg); left: 60px; }

/* privacy chips */
.b-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.b-chips span { font-size: 12px; font-weight: 600; color: var(--tint); padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--tint) 12%, transparent); border: 1px solid color-mix(in srgb, var(--tint) 24%, transparent); }

/* ══ Legal pages — premium refresh ═══════════════════════════════════════ */
.legal { max-width: 800px; padding: 56px 0 40px; }
.legal .back { display: inline-flex; align-items: center; gap: 7px; color: var(--dim); text-decoration: none; font-size: 14px; font-weight: 600; margin-bottom: 24px; transition: color .2s; }
.legal .back:hover { color: var(--rose); }
.legal h1 {
  font-size: clamp(30px, 7vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1;
  background: linear-gradient(120deg, var(--heading), var(--heading)); -webkit-background-clip: text; background-clip: text;
  margin-bottom: 12px;
}
.legal h1 + .updated, .updated {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--rose);
  background: color-mix(in srgb, var(--rose) 12%, transparent); border: 1px solid color-mix(in srgb, var(--rose) 22%, transparent);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 34px;
}
.legal h2 {
  position: relative; font-size: clamp(19px, 4.5vw, 25px); font-weight: 700; color: var(--heading);
  letter-spacing: -.01em; margin: 46px 0 14px; padding-left: 16px;
}
.legal h2::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 3px; background: linear-gradient(var(--rose), var(--violet)); }
.legal h3 { font-size: 17px; font-weight: 700; color: var(--heading); margin: 26px 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.75; color: var(--text); }
.legal p { margin-bottom: 15px; }
.legal ul { padding-left: 20px; margin: 0 0 18px; }
.legal li { margin-bottom: 9px; }
.legal li::marker { color: var(--rose); }
.legal a { color: var(--rose); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--rose) 40%, transparent); }
.legal a:hover { border-bottom-color: var(--rose); }
.legal strong { color: var(--heading); font-weight: 700; }
/* the "short version" callout */
.legal .card {
  position: relative; overflow: hidden; margin: 4px 0 8px; padding: 24px 26px; border-radius: 20px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--rose) 12%, var(--surface)), color-mix(in srgb, var(--violet) 12%, var(--surface)));
  border: 1px solid color-mix(in srgb, var(--rose) 26%, transparent);
}
.legal .card::after { content: "♥"; position: absolute; right: -18px; top: -34px; font-size: 130px; line-height: 1; color: color-mix(in srgb, var(--rose) 10%, transparent); pointer-events: none; }
.legal .card p { position: relative; z-index: 1; }
.legal table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 15px; overflow: hidden; border-radius: 14px; }
.legal th, .legal td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--stroke); vertical-align: top; }
.legal th { color: var(--heading); font-weight: 700; background: color-mix(in srgb, var(--violet) 8%, transparent); }
.legal tr:last-child td { border-bottom: none; }
@media (max-width: 640px) {
  .legal { padding-left: 20px; padding-right: 20px; }
  .legal table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ── Support ────────────────────────────────────────────────────────────── */
.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.support-card { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--stroke); border-radius: 20px; padding: 22px; transition: transform .2s, border-color .2s; }
.support-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--rose) 40%, transparent); }
.support-card .s-ico { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; font-size: 20px; color: var(--rose); background: color-mix(in srgb, var(--rose) 15%, transparent); margin-bottom: 12px; }
.support-card h3 { color: var(--heading); font-size: 17px; margin: 0 0 5px; }
.support-card p { color: var(--dim); font-size: 13.5px; line-height: 1.5; margin: 0; }
.steps.wide { grid-template-columns: repeat(3, 1fr); }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.b-wide { grid-column: span 2; }
  .bento-card.b-tall { grid-row: span 1; }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .steps.wide { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .bento-card.b-wide { grid-column: span 1; }
  .support-grid { grid-template-columns: 1fr; }
  .wtiles { grid-template-columns: 1fr 1fr; }
  .device-frame { transform: none; }
  .strip-track { font-size: 14px; }
}

/* Legal pages: comfortable measure + no overflow on phones */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(28px, 7vw, 40px); }
.legal h2 { font-size: clamp(19px, 5vw, 24px); margin-top: 32px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--text); }
.legal ul { padding-left: 22px; }
@media (max-width: 640px) { .legal { padding-left: 20px; padding-right: 20px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .device-frame { transform: none; }
}

/* ══ Fix pass 2 ═══════════════════════════════════════════════════════════ */
/* Nav "Get Ömrüm" pill: keep white text (nav.site a was overriding it dark) */
nav.site a.pill, nav.site a.pill:link, nav.site a.pill:visited { color: #fff; }

/* Active screen fills the phone → the chat input drops to the bottom */
.sim-viewport { display: flex; flex-direction: column; }
.sim-screen.active { flex: 1; min-height: 0; }
.chat-thread { min-height: 0; }

/* Premium final CTA (was a plain white card) */
.cta-final {
  position: relative; overflow: hidden; border-radius: 30px; padding: 60px 30px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--rose) 16%, var(--surface)), color-mix(in srgb, var(--violet) 16%, var(--surface)));
  border: 1px solid color-mix(in srgb, var(--rose) 28%, transparent);
  box-shadow: 0 30px 70px -40px var(--shadow);
}
.cta-final::before { content: "♥"; position: absolute; right: -34px; top: -70px; font-size: 260px; line-height: 1; color: color-mix(in srgb, var(--rose) 9%, transparent); pointer-events: none; }
.cta-final > * { position: relative; }

/* ── Light-mode phone (the app has a real light theme — mirror it) ──────── */
[data-theme="light"] .device-screen { background: radial-gradient(120% 80% at 50% 0%, #ffffff, #f2ecfb 60%); color: #2a2440; }
[data-theme="light"] .status-bar, [data-theme="light"] .sb-time, [data-theme="light"] .sb-right { color: #2a2440; }
[data-theme="light"] .home-indicator { background: rgba(42,36,64,.35); }
[data-theme="light"] .app-head .name { color: #2a2440; }
[data-theme="light"] .app-head .hi,
[data-theme="light"] .together-card .label,
[data-theme="light"] .c-status,
[data-theme="light"] .pstat { color: #6f6789; }
[data-theme="light"] .partner-card,
[data-theme="light"] .mini-tile,
[data-theme="light"] .bubble.them,
[data-theme="light"] .chat-input input { background: #ffffff; color: #2a2440; }
[data-theme="light"] .partner-card,
[data-theme="light"] .mini-tile { border: 1px solid rgba(42,36,64,.08); box-shadow: 0 8px 20px -14px rgba(80,60,140,.28); }
[data-theme="light"] .pname, [data-theme="light"] .c-name { color: #2a2440; }
[data-theme="light"] .together-card { background: linear-gradient(135deg, rgba(240,96,143,.16), rgba(139,92,246,.14)); border-color: rgba(240,96,143,.22); }
[data-theme="light"] .together-card .days { color: #2a2440; }
[data-theme="light"] .chat-input input::placeholder { color: #9a94b3; }
[data-theme="light"] .chat-head { border-bottom-color: rgba(42,36,64,.1); }
[data-theme="light"] .sim-nav { background: rgba(255,255,255,.82); border-color: rgba(42,36,64,.08); }
[data-theme="light"] .sim-nav button { color: #9a94b3; }
[data-theme="light"] .sim-nav button.on { color: #fff; }
[data-theme="light"] .sim-canvas { background: radial-gradient(120% 100% at 50% 0%, #fbf8ff, #efe9fa); border-color: rgba(42,36,64,.08); }
[data-theme="light"] .pet-stage { background: radial-gradient(70% 60% at 50% 42%, rgba(142,124,255,.14), transparent 70%), linear-gradient(180deg, rgba(240,96,143,.05), transparent); }
[data-theme="light"] .pstat i { background: rgba(42,36,64,.1); }
[data-theme="light"] .draw-tools .clear { background: #f2ecfb; color: #4a4462; }

/* pet actions row (Feed + Play) + animated stat fill */
.pet-actions { display: flex; gap: 10px; }
.pet-actions .sim-nudge { flex: 1; padding: 14px; }
.sim-nudge.play { background: linear-gradient(120deg, #5dd0ff, #8b5cf6); box-shadow: 0 14px 30px -12px #5dd0ff; }
.pstat i::after { transition: width .6s cubic-bezier(.2,.7,.2,1); }

/* ── Store buttons (final CTA) ─────────────────────────────────────────── */
.store-ctas {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 13px 26px 13px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--rose), var(--violet));
  color: #fff;
  text-decoration: none;
  text-align: left;
  line-height: 1.25;
  box-shadow: 0 10px 30px rgba(240, 96, 143, 0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(240, 96, 143, 0.4); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn .sb-txt { display: flex; flex-direction: column; }
.store-btn .sb-txt em { font-style: normal; font-size: 0.68rem; font-weight: 500; opacity: 0.85; letter-spacing: 0.02em; }
.store-btn .sb-txt b { font-size: 1.05rem; font-weight: 700; letter-spacing: 0.01em; }
.store-btn.soon {
  background: var(--surface-alt);
  color: var(--heading);
  border: 1px solid var(--stroke);
  box-shadow: 0 8px 24px var(--shadow);
}
.store-btn.soon:hover { border-color: var(--violet); box-shadow: 0 12px 30px var(--shadow); }

/* ── Android early-access steps ────────────────────────────────────────── */
.android-steps {
  margin: 26px auto 0;
  max-width: 560px;
  padding: 22px 26px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  text-align: left;
  scroll-margin-top: 90px;
}
.android-steps h3 { color: var(--heading); font-size: 1.02rem; margin-bottom: 10px; }
.android-steps ol { margin: 0 0 10px 20px; display: grid; gap: 6px; font-size: 0.93rem; }
.android-steps a { color: var(--rose); font-weight: 600; text-decoration: none; }
.android-steps a:hover { text-decoration: underline; }
.android-steps .android-note { font-size: 0.82rem; color: var(--dim); margin: 0; }
@media (max-width: 560px) {
  .store-ctas { flex-direction: column; align-items: stretch; }
  .store-btn { justify-content: center; }
}

/* ── Support: guided contact form ──────────────────────────────────────── */
.support-wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
  margin-top: 34px;
  align-items: start;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: 26px 26px 22px;
  box-shadow: 0 14px 40px var(--shadow);
}
.c-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--heading);
  margin: 18px 0 8px;
  letter-spacing: 0.01em;
}
.c-label:first-child { margin-top: 0; }
.c-label em { font-style: normal; font-weight: 500; color: var(--dim); }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chips .chip {
  border: 1px solid var(--stroke);
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.topic-chips .chip:hover { border-color: var(--violet); transform: translateY(-1px); }
.topic-chips .chip.on {
  background: linear-gradient(135deg, rgba(240, 96, 143, 0.16), rgba(139, 92, 246, 0.16));
  border-color: var(--rose);
  color: var(--heading);
  font-weight: 600;
}
.contact-card textarea,
.contact-card input[type="text"],
.contact-card input[type="email"] {
  width: 100%;
  background: var(--surface-alt);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  color: var(--heading);
  font-family: inherit;
  font-size: 0.92rem;
  line-height: 1.6;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.contact-card textarea:focus,
.contact-card input:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}
.contact-card ::placeholder { color: var(--dim); opacity: 0.85; }
.c-hint { font-size: 0.78rem; color: var(--dim); margin-top: 7px; line-height: 1.5; }
.c-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.c-send { width: 100%; margin-top: 18px; border: 0; cursor: pointer; font-family: inherit; font-size: 1rem; }
.c-send:disabled { opacity: 0.75; cursor: default; transform: none; }
.c-status { margin-top: 12px; font-size: 0.88rem; line-height: 1.55; min-height: 1.2em; }
.c-status.ok { color: var(--online, #34c98e); }
.c-status.err { color: var(--rose); }
.c-status a { color: var(--rose); font-weight: 600; }
.support-side { display: grid; gap: 14px; }
.support-side .support-card { margin: 0; }
.support-alt { font-size: 0.85rem; color: var(--dim); margin: 4px 4px 0; }
.support-alt a { color: var(--rose); font-weight: 600; text-decoration: none; }
.support-alt a:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .support-wrap { grid-template-columns: 1fr; }
  .c-row { grid-template-columns: 1fr; }
}
