/* Lippaidox website. Colours sampled from the app icon. */
:root {
  --pink: #FA0E62;
  --pink-dark: #D60852;
  --yellow: #FFB400;
  --blue: #2859E2;
  --ink: #1A1A1A;
  --ink-2: #4A4F5C;
  --ink-3: #6B7180;
  --line: #E6E8EF;
  --soft: #F6F7FB;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(20, 24, 40, .08);
  --max: 1160px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --brand-gradient: linear-gradient(90deg, var(--pink) 0%, var(--yellow) 50%, var(--blue) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--white);
  font-size: 16px; line-height: 1.65; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-2); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Header ─────────────────────────────────────────────────────────── */
.brand-bar { height: 4px; background: var(--brand-gradient); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; }
.logo img { width: 40px; height: auto; }
.logo:hover { color: var(--ink); }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); background: var(--soft); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--pink); border-radius: 8px 8px 0 0; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.mobile-actions { display: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; content: ""; transition: .2s; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font: 600 .95rem/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:hover { background: var(--pink-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { color: var(--ink); padding-left: 14px; padding-right: 14px; }
.btn-ghost:hover { color: var(--pink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--pink); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link::after { content: " →"; }

/* ── Sections ───────────────────────────────────────────────────────── */
.section { padding: 84px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark p { color: #C9CDD8; }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); margin-bottom: 12px; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.12rem; color: var(--ink-2); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 72px 0 84px; overflow: hidden; background:
  radial-gradient(600px 300px at 90% 10%, rgba(40,89,226,.10), transparent 70%),
  radial-gradient(500px 280px at 10% 90%, rgba(250,14,98,.08), transparent 70%),
  radial-gradient(400px 240px at 70% 95%, rgba(255,180,0,.10), transparent 70%); }
.hero h1 span.accent { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.15rem; max-width: 600px; }
.hero-note { font-size: .98rem; color: var(--ink-3); max-width: 560px; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone { width: min(330px, 80%); filter: drop-shadow(0 30px 50px rgba(20,24,40,.18)); }
.phone-pair { display: flex; align-items: flex-end; justify-content: center; }
.phone-pair .phone { flex: 0 0 auto; width: 240px; }
.phone-pair .phone + .phone { margin-left: -24px; transform: translateY(34px); }
.hero-badge { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 10px 14px; font-size: .85rem; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; }
.page-hero { padding: 64px 0 56px; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 760px; }

/* ── Cards ──────────────────────────────────────────────────────────── */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 0 rgba(0,0,0,.02); height: 100%; }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; font-weight: 700; }
.c-pink { background: var(--pink); } .c-yellow { background: var(--yellow); color: var(--ink); } .c-blue { background: var(--blue); } .c-ink { background: var(--ink); }
.card-icon svg { width: 22px; height: 22px; }
.example { margin-top: 16px; padding: 14px 16px; background: var(--soft); border-left: 3px solid var(--yellow); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .93rem; color: var(--ink-2); }
.example strong { color: var(--ink); display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.quote { font-size: .95rem; font-style: italic; color: var(--ink-2); background: #fff; border: 1px dashed var(--line); padding: 16px 18px; border-radius: var(--radius-sm); }

/* ── Lists / steps ──────────────────────────────────────────────────── */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 18px; color: var(--ink-2); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.check-list strong { color: var(--ink); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding: 22px 22px 22px 78px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); position: absolute; left: 22px; top: 20px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--ink); }
.steps li:nth-child(4n+1)::before { background: var(--pink); }
.steps li:nth-child(4n+2)::before { background: var(--yellow); color: var(--ink); }
.steps li:nth-child(4n+3)::before { background: var(--blue); }
.steps h3 { margin-bottom: .3em; font-size: 1.08rem; }
.steps p { margin: 0; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps-4 li { padding: 72px 22px 22px; }
.steps-4 li::before { top: 22px; }

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 1.4rem; color: var(--pink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; margin: 0; }

/* ── Tabs (The App page) ────────────────────────────────────────────── */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tabs a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; }
.tabs a:hover { border-color: var(--pink); color: var(--pink); }
.definition { display: grid; grid-template-columns: 200px 1fr; gap: 6px 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.definition dt { font-weight: 600; }
.definition dd { margin: 0; color: var(--ink-2); }

/* ── CTA band ───────────────────────────────────────────────────────── */
.cta-band { position: relative; border-radius: 24px; padding: 56px; background: var(--ink); color: #fff; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--brand-gradient); }
.cta-band h2 { color: #fff; max-width: 720px; }
.cta-band p { color: #C9CDD8; max-width: 640px; }
.cta-band .btn-outline { border-color: #fff; color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--ink); }

/* ── Forms ──────────────────────────────────────────────────────────── */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field .optional { font-weight: 400; color: var(--ink-3); font-size: .85rem; }
.field input[type=text], .field input[type=email], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(40,89,226,.12); }
.field .errorlist, .form-errors { list-style: none; padding: 0; margin: 6px 0 0; color: #C4123F; font-size: .88rem; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C4123F; }
.form-errors { background: #FFF0F4; border: 1px solid #FFC9D8; padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-note { font-size: .86rem; color: var(--ink-3); background: var(--soft); padding: 14px 16px; border-radius: var(--radius-sm); }
.hp-field { position: absolute !important; left: -10000px !important; height: 0; overflow: hidden; }
.alert-success { background: #ECFBF3; border: 1px solid #B6EBCD; color: #13653A; padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 22px; font-weight: 500; }
.route-list { display: grid; gap: 14px; }
.route { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.route .card-icon { flex: 0 0 auto; margin: 0; width: 40px; height: 40px; }
.route h3 { font-size: 1rem; margin-bottom: 4px; }
.route p { font-size: .93rem; margin: 0; }
.contact-details { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-details li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.contact-details span { color: var(--ink-3); }

/* ── Policy pages ───────────────────────────────────────────────────── */
.policy-layout { display: grid; grid-template-columns: 270px 1fr; gap: 48px; align-items: start; }
.policy-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; font-size: .88rem; border-left: 2px solid var(--line); padding-left: 16px; }
.policy-toc h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.policy-toc ol { list-style: none; margin: 0; padding: 0; }
.policy-toc a { display: block; padding: 5px 0; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.policy-toc a:hover { color: var(--pink); }
.policy-body { min-width: 0; max-width: 820px; }
.policy-body h2 { font-size: 1.45rem; margin-top: 2.2em; padding-top: .6em; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.policy-body h3 { font-size: 1.12rem; margin-top: 1.8em; }
.policy-body h4 { font-size: 1rem; margin-top: 1.4em; color: var(--ink); }
.policy-body p, .policy-body li { color: #333845; }
.policy-body ul, .policy-body ol { padding-left: 1.4em; }
.policy-body li { margin-bottom: .4em; }
.policy-body .doc-meta { display: inline-block; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; font-size: .9rem; color: var(--ink-2); }
.table-wrap { overflow-x: auto; margin: 18px 0 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.table-wrap td, .table-wrap th { border-bottom: 1px solid var(--line); padding: 10px 12px; vertical-align: top; text-align: left; }
.table-wrap tr:first-child td { background: var(--soft); font-weight: 600; }
.table-wrap td p { margin: 0 0 .4em; }
.policy-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.policy-nav a { font-size: .85rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink-2); }
.policy-nav a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-footer { background: #0F1116; color: #C9CDD8; padding: 64px 0 28px; margin-top: 0; }
.site-footer a { color: #E8EAF0; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid h2 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #8A90A0; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .94rem; }
.footer-brand .logo { color: #fff; }
.footer-brand p { color: #A9AEBB; font-size: .94rem; max-width: 380px; margin-top: 14px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid #262A35; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: #8A90A0; }
.footer-bottom p { color: #8A90A0; margin: 0; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .grid-4, .steps-4 { grid-template-columns: repeat(2, 1fr); }
  .header-actions .btn-ghost { display: none; }
}
@media (max-width: 880px) {
  .nav-toggle { display: inline-block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; margin: 0; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 16px 16px; }
  .main-nav a { padding: 12px; }
  .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--pink); border-radius: 0 8px 8px 0; }
  .header-actions { display: none; }
  .main-nav .mobile-actions { display: flex !important; gap: 10px; padding: 6px 12px 0; }
  .split, .grid-2, .grid-3, .policy-layout, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .split { gap: 40px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .policy-toc { position: static; max-height: none; border-left: 0; padding: 16px; background: var(--soft); border-radius: var(--radius-sm); }
  .cta-band { padding: 36px 24px; }
  .definition { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .phone-pair .phone { width: 42vw; }
  .grid-4, .steps-4 { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .form-card { padding: 22px; }
  .card { padding: 22px; }
  .steps li { padding-left: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
