/* ===== Loomi — shared styles ===== */
:root {
  --purple: #7b5be6;
  --blue: #29a9e6;
  --pink: #f06bc4;
  --green: #8fd14f;
  --ink: #1c2333;
  --slate: #5a6478;
  --line: #e8ebf2;
  --card: #ffffff;
  --bg: #f6f8fc;
  --grad: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  --radius: 22px;
  --shadow: 0 18px 50px rgba(43, 60, 120, 0.12);
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ===== Header / nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 10px; display: block; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--slate); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--grad); color: #fff; font-weight: 600;
  padding: 13px 26px; border-radius: 999px; font-size: 0.98rem;
  box-shadow: 0 10px 24px rgba(91, 91, 230, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 14px 30px rgba(91, 91, 230, 0.34); }
.btn-ghost {
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); box-shadow: none;
}
.btn-ghost:hover { box-shadow: var(--shadow); }

/* ===== Hero ===== */
.hero {
  background: var(--grad); color: #fff;
  padding: 84px 0 96px; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -120px; top: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,107,196,0.45), transparent 70%);
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-icon { width: 168px; height: 168px; border-radius: 36px; box-shadow: 0 24px 60px rgba(0,0,0,0.25); justify-self: center; }
.hero h1 { font-size: 3rem; line-height: 1.1; font-weight: 700; letter-spacing: -0.5px; }
.hero p.lead { font-size: 1.22rem; margin-top: 18px; opacity: 0.95; max-width: 30ch; }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.tagline-chip {
  display: inline-block; background: rgba(255,255,255,0.18);
  padding: 6px 16px; border-radius: 999px; font-size: 0.85rem;
  font-weight: 500; margin-bottom: 18px;
}

/* ===== Sections ===== */
section.block { padding: 78px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head h2 { font-size: 2.1rem; font-weight: 700; letter-spacing: -0.4px; }
.section-head p { color: var(--slate); margin-top: 12px; font-size: 1.05rem; }

/* ===== Feature grid ===== */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow);
}
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-size: 1.5rem; margin-bottom: 16px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--slate); font-size: 0.98rem; }

/* ===== Video ===== */
.video-wrap {
  position: relative; width: 100%; max-width: 820px; margin: 0 auto;
  aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: #0d1426;
}
.video-wrap iframe, .video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  color: #fff; background: var(--grad); padding: 20px;
}
.video-placeholder .play { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,0.22); display: grid; place-items: center; font-size: 1.6rem; margin: 0 auto 14px; }

/* ===== Steps ===== */
.steps { max-width: 720px; margin: 0 auto; display: grid; gap: 18px; }
.step { display: flex; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; box-shadow: var(--shadow); }
.step .num {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 700;
  display: grid; place-items: center;
}
.step h3 { font-size: 1.08rem; margin-bottom: 4px; }
.step p { color: var(--slate); font-size: 0.97rem; }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 4px 22px; margin-bottom: 14px; box-shadow: var(--shadow);
}
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--blue); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--slate); padding: 0 0 18px; }

/* ===== Contact card ===== */
.contact {
  background: var(--grad); color: #fff; border-radius: var(--radius);
  padding: 46px; text-align: center; max-width: 720px; margin: 0 auto;
}
.contact h2 { font-size: 1.8rem; margin-bottom: 10px; }
.contact a { color: #fff; font-weight: 600; text-decoration: underline; }

/* ===== Legal / privacy doc ===== */
.doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 48px 54px; max-width: 860px; margin: 0 auto; }
.doc .updated { color: var(--slate); font-size: 0.9rem; margin-bottom: 30px; }
.doc h1 { font-size: 2.1rem; margin-bottom: 6px; }
.doc h2 { font-size: 1.3rem; margin: 34px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.doc p { color: #38415a; margin-bottom: 14px; }
.doc ul { margin: 0 0 16px 22px; color: #38415a; }
.doc li { margin-bottom: 7px; }
.doc strong { color: var(--ink); }

/* ===== Footer ===== */
footer.foot { background: var(--ink); color: #b9c0d4; padding: 44px 0; margin-top: 20px; }
footer.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer.foot .brand { color: #fff; }
footer.foot a { color: #b9c0d4; margin-left: 22px; font-size: 0.92rem; }
footer.foot a:hover { color: #fff; text-decoration: none; }
.foot-links { display: flex; flex-wrap: wrap; }

/* ===== Responsive ===== */
@media (max-width: 820px) {
  .hero { padding: 60px 0 70px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-icon { order: -1; width: 130px; height: 130px; }
  .hero h1 { font-size: 2.3rem; }
  .grid { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .doc { padding: 32px 24px; }
  footer.foot .wrap { flex-direction: column; text-align: center; }
  footer.foot a { margin: 0 11px; }
}