/* EMI Bro website.
   The logo's own world: a dark stage, white paper, ink type, with the app's soft tints (lavender,
   amber, mint, sky, lime) as accents. Manrope throughout, generous space, pill buttons. */
:root {
  --stage: #141417; --stage2: #1E1E23; --ink: #15161A; --paper: #F7F6F2; --white: #fff;
  --muted: #62666F; --muted-dark: rgba(255,255,255,.66); --line: rgba(21,22,26,.09); --line-dark: rgba(255,255,255,.1);
  --lavender: #A58BFA; --lavender-t: #ECE6FF; --amber: #FFB44D; --amber-t: #FFEBCB; --mint: #BDEBDD; --mint-t: #E3F6EF;
  --sky: #9CC7FF; --sky-t: #E1EEFF; --lime: #D7F554; --lime-t: #F1FAC9; --coral-t: #FFE4E1;
  --radius: 28px; --shadow: 0 24px 60px rgba(21,22,26,.12); --shadow-sm: 0 8px 24px rgba(21,22,26,.07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 10px 16px; border-radius: 12px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--lavender); outline-offset: 3px; border-radius: 8px; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(20,20,23,.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); color: var(--white); border-bottom: 1px solid var(--line-dark); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; text-decoration: none; letter-spacing: -.3px; white-space: nowrap; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-weight: 700; font-size: 14.5px; padding: 9px 14px; border-radius: 100px; color: rgba(255,255,255,.8); transition: background .2s, color .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--white); background: rgba(255,255,255,.1); }
.nav .cta-sm { background: var(--white); color: var(--ink); margin-left: 6px; }
.nav .cta-sm:hover { background: var(--lime); color: var(--ink); }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 800; font-size: 14px; padding: 9px 16px; border-radius: 100px; background: rgba(255,255,255,.12); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--white); color: var(--ink); }
.menu .panel { position: absolute; right: 0; top: calc(100% + 10px); background: var(--stage2); border: 1px solid var(--line-dark); border-radius: 22px; padding: 8px; min-width: 220px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.menu .panel a { display: block; text-decoration: none; padding: 12px 14px; border-radius: 14px; font-weight: 700; color: rgba(255,255,255,.88); }
.menu .panel a:hover, .menu .panel a[aria-current] { background: rgba(255,255,255,.08); color: var(--white); }

/* ---------- Buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: 16px; text-decoration: none; padding: 16px 26px; border-radius: 100px; border: 2px solid transparent; transition: transform .2s ease, background .2s, color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.light { background: var(--white); color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.btn.light:hover { background: var(--lime); }
.btn.ghost { color: var(--white); border-color: rgba(255,255,255,.25); }
.btn.ghost:hover { border-color: var(--white); }
.btn.dark { background: var(--ink); color: var(--white); }
.btn.dark:hover { background: #2a2b31; }
.btn.outline { border-color: var(--ink); color: var(--ink); }
.btn .play { display: grid; line-height: 1.05; text-align: left; }
.btn .play small { font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; opacity: .7; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; padding: 7px 14px; border-radius: 100px; background: rgba(21,22,26,.06); text-decoration: none; }
.chip.dark { background: rgba(255,255,255,.08); color: rgba(255,255,255,.88); border: 1px solid var(--line-dark); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(215,245,84,.18); }
.label { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.dark .label, .label.on-dark { color: rgba(255,255,255,.55); }

/* ---------- Type ---------- */
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.06; margin: 0; }
h1 { font-size: clamp(44px, 7.2vw, 84px); font-weight: 800; }
h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.lead { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.hl { background: linear-gradient(transparent 62%, rgba(215,245,84,.55) 62%); padding: 0 .06em; }
.dark .hl { background: none; color: var(--lime); }

/* ---------- Hero ---------- */
.hero { background: var(--stage); color: var(--white); position: relative; overflow: hidden; padding: 72px 0 0; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 900px; height: 900px; background: radial-gradient(closest-side, rgba(165,139,250,.32), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: -260px; bottom: -340px; width: 760px; height: 760px; background: radial-gradient(closest-side, rgba(255,180,77,.18), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { margin: 22px 0 20px; }
.hero h1 .soft { color: rgba(255,255,255,.55); }
.hero .lead { color: rgba(255,255,255,.78); max-width: 34ch; margin: 0 0 32px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 30px; padding: 0; list-style: none; color: rgba(255,255,255,.72); font-size: 14.5px; font-weight: 700; }
.hero .trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero .trust svg { width: 18px; height: 18px; color: var(--lime); }
.hero-art { position: relative; height: 640px; }
.phone { position: absolute; width: 290px; border-radius: 46px; padding: 9px; background: #0B0B0D; box-shadow: 0 0 0 1.5px rgba(255,255,255,.08) inset, 0 40px 80px rgba(0,0,0,.55), 0 8px 20px rgba(0,0,0,.35); }
.phone::after { content: ""; position: absolute; left: 50%; top: calc(9px + 1.55%); width: 4.4%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); z-index: 1;
  background: radial-gradient(circle at 38% 36%, #2b3140 0 18%, #07080b 32%); box-shadow: 0 0 0 1.5px rgba(255,255,255,.06); }
.phone img { border-radius: 38px; width: 100%; height: auto; aspect-ratio: 9 / 20; object-fit: cover; object-position: top; background: #222; }
.hero-art .front { right: 22%; top: 26px; z-index: 2; }
.hero-art .back { right: -2%; top: 110px; width: 262px; transform: rotate(7deg); opacity: .95; }
.float { position: absolute; z-index: 3; background: var(--white); color: var(--ink); border-radius: 22px; padding: 14px 18px; box-shadow: 0 24px 50px rgba(0,0,0,.35); font-weight: 800; }
.float small { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.float b { font-size: 26px; letter-spacing: -.03em; }
.float.f1 { left: 0; top: 190px; }
.float.f2 { right: 6%; bottom: 120px; background: var(--lime); }
.float.f2 small { color: rgba(21,22,26,.6); }
.hero-tail { height: 72px; background: var(--paper); border-radius: 40px 40px 0 0; margin-top: -40px; position: relative; z-index: 4; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 96px 0; }
.section.tight { padding-top: 24px; }
.head { max-width: 720px; margin-bottom: 48px; }
.head p { margin: 16px 0 0; }
.center { text-align: center; margin-inline: auto; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.step .num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; font-weight: 800; font-size: 18px; margin-bottom: 22px; }
.step:nth-child(1) .num { background: var(--lavender-t); color: #4D2FA6; }
.step:nth-child(2) .num { background: var(--amber-t); color: #824000; }
.step:nth-child(3) .num { background: var(--mint-t); color: #126347; }
.step p { margin: 10px 0 0; color: var(--muted); }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .media { order: 2; }
.media { border-radius: 40px; padding: 48px 0; display: grid; place-items: center; position: relative; overflow: hidden; min-height: 560px; }
.media .phone { position: relative; width: 268px; }
.phone { isolation: isolate; }
.media.t-lavender { background: var(--lavender-t); } .media.t-amber { background: var(--amber-t); } .media.t-mint { background: var(--mint-t); }
.media.t-sky { background: var(--sky-t); } .media.t-lime { background: var(--lime-t); } .media.t-coral { background: var(--coral-t); }
.media::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1.5px solid rgba(21,22,26,.07); }
.media::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 1.5px solid rgba(21,22,26,.07); }
.copy h2 { font-size: clamp(30px, 3.6vw, 44px); }
.copy p { margin: 18px 0 0; color: var(--muted); font-size: 18px; max-width: 46ch; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.ticks li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D7F554' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.tag { display: inline-block; font-weight: 800; font-size: 13px; padding: 7px 14px; border-radius: 100px; background: var(--ink); color: var(--white); margin-bottom: 18px; }

/* Privacy: a tinted panel like the feature media, with white rows like the step cards */
.privacy { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; background: var(--mint-t); border-radius: 40px; padding: 64px; position: relative; overflow: hidden; }
.privacy::before { content: ""; position: absolute; width: 560px; height: 560px; left: -180px; bottom: -260px; border-radius: 50%; border: 1.5px solid rgba(21,22,26,.07); }
.privacy > * { position: relative; }
.pv-copy h2 { font-size: clamp(30px, 3.6vw, 44px); }
.pv-copy p { margin: 18px 0 28px; color: var(--muted); font-size: 18px; max-width: 34ch; }
.pv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pv-list li { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border-radius: 24px; padding: 22px 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.pv-list .ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--mint); color: #126347; }
.pv-list li:nth-child(2) .ico { background: var(--lavender-t); color: #4D2FA6; }
.pv-list li:nth-child(3) .ico { background: var(--amber-t); color: #824000; }
.pv-list .ico svg { width: 22px; height: 22px; }
.pv-list h3 { font-size: 19px; }
.pv-list p { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }

/* Pricing */
.price { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: stretch; }
.price .card { background: var(--white); border-radius: 36px; padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.price .big { font-size: clamp(56px, 7vw, 84px); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin: 18px 0 6px; }
.price .big small { font-size: 22px; letter-spacing: -.01em; color: var(--muted); font-weight: 700; }
.plans { display: grid; gap: 12px; margin-top: 28px; }
.plan { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 20px; background: var(--paper); font-weight: 700; }
.plan b { font-size: 18px; }
.price .side { background: var(--lime); border-radius: 36px; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.price .side p { margin: 14px 0 0; font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 4px 24px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 18px; padding: 20px 36px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-size: 20px; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--lime); }
.faq details p { margin: 0 0 22px; color: var(--muted); }

/* Closing CTA */
.closing { text-align: center; padding: 88px 24px; border-radius: 44px; background: var(--lavender); position: relative; overflow: hidden; }
.closing::before, .closing::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(21,22,26,.1); }
.closing::before { width: 680px; height: 680px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.closing::after { width: 440px; height: 440px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.closing > * { position: relative; }
.closing img.logo { width: 92px; height: 92px; border-radius: 24px; margin: 0 auto 26px; box-shadow: 0 20px 40px rgba(21,22,26,.25); }
.closing p { max-width: 44ch; margin: 18px auto 30px; font-size: 18px; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--stage); color: var(--white); padding: 64px 0 104px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -180px; top: -260px; width: 700px; height: 700px; background: radial-gradient(closest-side, rgba(165,139,250,.28), transparent 70%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 60px); margin: 18px 0 14px; }
.page-hero .lead { color: rgba(255,255,255,.75); max-width: 52ch; margin: 0; }
.sheet { background: var(--paper); border-radius: 40px 40px 0 0; margin-top: -48px; position: relative; padding: 56px 0 96px; }
.prose { max-width: 780px; background: var(--white); border-radius: 32px; padding: 44px clamp(22px, 5vw, 56px); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.prose h2 { font-size: 26px; margin: 44px 0 12px; scroll-margin-top: 90px; }
.prose h2:first-of-type { margin-top: 28px; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; scroll-margin-top: 90px; }
.prose p, .prose li { font-size: 16.5px; }
.prose li + li { margin-top: 6px; }
.prose a { text-decoration-color: rgba(21,22,26,.3); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose code { background: var(--paper); padding: 2px 7px; border-radius: 6px; font-size: .92em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.prose th { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.callout { border-left: 4px solid var(--lavender); background: var(--lavender-t); padding: 16px 20px; border-radius: 16px; margin: 20px 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.toc a { text-decoration: none; }
.toc .chip:hover { background: var(--lime); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.card.tint-mint { background: var(--mint-t); } .card.tint-lavender { background: var(--lavender-t); } .card.tint-peach { background: var(--amber-t); }
.card.tint-sky { background: var(--sky-t); } .card.tint-lime { background: var(--lime-t); }
.card h3 a { text-decoration: none; word-break: break-word; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
form .row { display: grid; gap: 8px; margin-bottom: 14px; }
input, select, textarea { width: 100%; font: inherit; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--white); }
textarea { min-height: 120px; resize: vertical; }
label { font-weight: 700; font-size: 14px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--white); font-weight: 800; text-decoration: none; padding: 14px 24px; border-radius: 100px; }

/* ---------- Footer ---------- */
footer { background: var(--stage); color: var(--white); padding: 72px 0 36px; }
footer .wrap { display: grid; gap: 36px; grid-template-columns: 1.6fr 1fr 1fr; }
footer p { color: var(--muted-dark); max-width: 36ch; margin: 16px 0 0; }
footer h4 { margin: 0 0 14px; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255,255,255,.5); }
footer nav a { display: block; color: rgba(255,255,255,.82); text-decoration: none; padding: 5px 0; font-weight: 600; }
footer nav a:hover { color: var(--lime); }
footer .fine { grid-column: 1 / -1; border-top: 1px solid var(--line-dark); padding-top: 24px; color: rgba(255,255,255,.5); font-size: 13.5px; max-width: none; margin: 0; }

/* ---------- Reveal on scroll (only when JS is on and motion is welcome) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } .btn:hover { transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { height: 560px; margin-top: 8px; }
  .hero-art .front { right: auto; left: 50%; transform: translateX(-62%); }
  .hero-art .back { right: auto; left: 50%; transform: translateX(-2%) rotate(7deg); }
  .float.f1 { left: 2%; } .float.f2 { right: 2%; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .media { order: 0; }
  .steps, .price, .privacy { grid-template-columns: 1fr; }
  .privacy { gap: 28px; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .wrap > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .menu { display: block; }
  .hero { padding-top: 48px; }
  .hero-art { height: 500px; }
  .phone { width: 240px; border-radius: 40px; }
  .phone img { border-radius: 32px; }
  .hero-art .back { width: 214px; top: 90px; }
  .float b { font-size: 22px; }
  .float.f1 { top: 150px; }
  .section { padding: 72px 0; }
  .media { min-height: 0; padding: 40px 0; border-radius: 32px; }
  .media .phone { width: 232px; }
  .privacy { padding: 36px 20px; border-radius: 32px; }
  .pv-list li { padding: 18px; gap: 14px; }
  .price .card, .price .side { padding: 28px; border-radius: 28px; }
  .closing { padding: 64px 20px; border-radius: 32px; }
  .prose { border-radius: 24px; }
}
@media (max-width: 420px) {
  .wrap { width: calc(100% - 32px); }
  .btn { width: 100%; }
  .hero-art .back { display: none; }
  .hero-art .front { transform: translateX(-50%); }
  footer .wrap { grid-template-columns: 1fr; }
}
