/* Product landing pages (velora.jbali.com, balimajordome.jbali.com). Theme per <body class="p-…">. */
:root {
  --serif: "Cinzel", "DM Serif Display", Georgia, serif;
  --display: "DM Serif Display", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gold-1: #f6e2a8; --gold-2: #c9972f; --gold-3: #8a6418;
  --gold: linear-gradient(135deg, #fff1c4, #e2b54f 45%, #a8781f);
  --radius: 18px;
  --container: 1200px;
}
.p-velora {
  --bg: #fbf9f3; --bg-2: #f1ede1; --ink: #10261d; --muted: #5a6b62; --line: #e4ddca;
  --brand: #0f4d33; --brand-2: #0a3a26; --accent: #c9972f; --card: #ffffff;
  --hero-bg: radial-gradient(90% 120% at 85% 10%, #e9f2ea 0, #fbf9f3 60%);
  --on-brand: #fdfaf0;
}
.p-velora .p-hero .gold-text { background: linear-gradient(135deg, #c9972f, #9a6c12 60%, #6e4c0c); -webkit-background-clip: text; background-clip: text; }
.p-majordome {
  --bg: #07130e; --bg-2: #0c1d16; --ink: #f3ecd8; --muted: #b5b09e; --line: rgba(226, 181, 79, .2);
  --brand: #0f3a29; --brand-2: #06110c; --accent: #e2b54f; --card: rgba(255, 255, 255, .04);
  --hero-bg: radial-gradient(80% 100% at 75% 30%, #123b2a 0, #07130e 65%);
  --on-brand: #f3ecd8;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font: 17px/1.6 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0 0 .45em; }
h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.ico { width: 22px; height: 22px; flex: none; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: #111; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.gold-text { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font: 500 .78rem var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--muted); font-weight: 300; max-width: 34em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font: 500 1rem/1 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn .ico { width: 18px; height: 18px; }
.btn-gold { background: var(--gold); color: #20180a; box-shadow: 0 12px 26px -14px rgba(201, 151, 47, .95); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-brand { background: var(--brand); color: var(--on-brand); }
.btn-brand:hover { background: var(--brand-2); transform: translateY(-2px); }
.btn-line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-line:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }

/* Header */
.p-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.p-header .container { display: flex; align-items: center; gap: 24px; height: 76px; }
.p-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.p-brand img { width: 46px; height: 46px; object-fit: contain; border-radius: 10px; }
.p-brand b { font: 600 1.35rem var(--serif); letter-spacing: .14em; color: var(--brand); }
.p-majordome .p-brand b { color: transparent; background: var(--gold); -webkit-background-clip: text; background-clip: text; }
.p-brand small { display: block; font: 500 .6rem var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--muted); }
.p-nav { display: flex; gap: 4px; margin-left: auto; }
.p-nav a { padding: 8px 12px; text-decoration: none; font-size: .95rem; color: var(--muted); }
.p-nav a:hover { color: var(--ink); }
.p-lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.p-lang button { border: 0; background: none; color: var(--muted); font: 500 .8rem var(--sans); padding: 6px 10px; border-radius: 999px; cursor: pointer; }
.p-lang button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); }
.p-majordome .p-lang button[aria-pressed="true"] { background: var(--gold); color: #20180a; }

/* Hero */
.p-hero { background: var(--hero-bg); padding: 80px 0 90px; overflow: hidden; }
.p-hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.p-hero h1 em { font-style: italic; }
.p-hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.p-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; padding: 0; list-style: none; }
.p-pills li { font-size: .85rem; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }

/* Velora chat mock */
.mock { position: relative; justify-self: center; width: min(420px, 100%); }
.mock-phone { background: #0b1a14; border-radius: 38px; padding: 12px; box-shadow: 0 40px 80px -30px rgba(10, 58, 38, .55), inset 0 0 0 2px #2b3b33; }
.mock-screen { border-radius: 28px; overflow: hidden; background: #efe7da; }
.mock-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #0f4d33; color: #fff; }
.mock-top .av { width: 34px; height: 34px; border-radius: 50%; background: #e8d8b0; color: #0f4d33; display: grid; place-items: center; font-weight: 600; }
.mock-top small { display: block; opacity: .75; font-size: .72rem; }
.mock-chat { padding: 16px 14px 18px; display: grid; gap: 10px; font-size: .88rem; line-height: 1.4; }
.bubble { max-width: 82%; padding: 9px 12px; border-radius: 12px; background: #fff; color: #1d2a24; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.bubble.out { justify-self: end; background: #d9f6c8; }
.bubble.ai { justify-self: end; background: #fff8e3; border: 1px dashed #c9972f; }
.bubble .tag { display: inline-flex; align-items: center; gap: 5px; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8a6418; margin-bottom: 4px; }
.bubble .tag .ico { width: 13px; height: 13px; }
.ai-actions { display: flex; gap: 6px; margin-top: 8px; }
.ai-actions span { font-size: .72rem; padding: 4px 9px; border-radius: 999px; background: #0f4d33; color: #fff; }
.ai-actions span + span { background: #fff; color: #0f4d33; border: 1px solid #cfdcd4; }
.mock-card { position: absolute; right: -40px; bottom: -34px; width: 210px; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: 0 24px 50px -20px rgba(10, 58, 38, .45); font-size: .82rem; color: #1d2a24; animation: float 6s ease-in-out infinite; }
.mock-card b { display: block; font-size: .95rem; margin-bottom: 2px; }
.mock-card .score { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.mock-card .bar { flex: 1; height: 6px; border-radius: 3px; background: #e8efe9; overflow: hidden; }
.mock-card .bar i { display: block; height: 100%; width: 86%; background: linear-gradient(90deg, #0f4d33, #c9972f); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Majordome hero image */
.showcase { position: relative; justify-self: center; }
.showcase img { border-radius: 26px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(226, 181, 79, .25); }
.showcase::after { content: ""; position: absolute; inset: -40px; z-index: -1; background: radial-gradient(closest-side, rgba(226, 181, 79, .18), transparent); }
.motto { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 34px 0 0; padding: 0; list-style: none; font: 500 .78rem var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }

/* Stats */
.p-stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.p-stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.p-stat { padding: 30px 20px; text-align: center; }
.p-stat + .p-stat { border-left: 1px solid var(--line); }
.p-stat b { display: block; font: 400 2.4rem/1 var(--display); color: var(--brand); }
.p-majordome .p-stat b { color: transparent; background: var(--gold); -webkit-background-clip: text; background-clip: text; }
.p-stat span { font-size: .9rem; color: var(--muted); }

/* Sections */
.p-section { padding: 100px 0; }
.p-section.alt { background: var(--bg-2); }
.p-head { max-width: 680px; margin-bottom: 50px; }
.p-head p { color: var(--muted); font-size: 1.08rem; }
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.p-grid.three { grid-template-columns: repeat(3, 1fr); }
.p-card { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.p-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .45); }
.p-card .ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px; background: var(--brand); color: var(--gold-1); }
.p-majordome .p-card .ic { background: rgba(226, 181, 79, .12); color: var(--accent); border: 1px solid var(--line); }
.p-card .ic .ico { width: 26px; height: 26px; }
.p-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; padding: 30px 28px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); display: block; font: 400 2.6rem/1 var(--display); margin-bottom: 14px; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps p { margin: 0; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; list-style: none; }
.chips li { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-weight: 500; }
.chips .ico { color: var(--accent); }
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0; list-style: none; }
.promise li { display: flex; gap: 14px; padding: 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.promise .ico { color: var(--accent); margin-top: 2px; }

/* CTA + footer */
.p-cta { padding: 90px 0; text-align: center; background: linear-gradient(150deg, var(--brand), var(--brand-2)); color: var(--on-brand); }
.p-majordome .p-cta { background: radial-gradient(70% 120% at 50% 0, #164a34, #06110c); border-top: 1px solid var(--line); }
.p-cta h2 { color: inherit; }
.p-cta p { max-width: 36em; margin: 0 auto 30px; opacity: .85; font-size: 1.1rem; }
.p-cta .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.p-cta .btn-line { color: var(--on-brand); }
.p-footer { padding: 30px 0; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); background: var(--bg); }
.p-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; }
.p-footer a { text-decoration: none; }
.p-footer a:hover { color: var(--accent); }
.by { display: inline-flex; align-items: center; gap: 8px; }
.by img { width: 26px; height: 26px; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .p-nav { display: none; }
  .p-hero .container { grid-template-columns: 1fr; }
  .p-grid { grid-template-columns: repeat(2, 1fr); }
  .p-grid.three, .steps, .promise { grid-template-columns: 1fr 1fr; }
  .mock-card { right: -8px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .p-header .container { gap: 10px; height: 64px; }
  .p-header .btn { display: none; }
  .p-lang { margin-left: auto; }
  .p-brand img { width: 38px; height: 38px; }
  .p-brand b { font-size: 1.05rem; }
  .p-brand small { display: none; }
  .p-hero { padding: 48px 0 60px; }
  .p-hero .actions .btn { flex: 1 1 auto; justify-content: center; }
  .p-grid, .p-grid.three, .steps, .promise { grid-template-columns: 1fr; }
  .p-stats .container { grid-template-columns: 1fr 1fr; }
  .p-stat:nth-child(3) { border-left: 0; }
  .p-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .p-section { padding: 70px 0; }
  .mock-card { position: relative; right: auto; bottom: auto; margin: -30px auto 0; }
}

/* MyVelora theme + app mock */
.p-myvelora {
  --bg: #f6f5ef; --bg-2: #ecebe2; --ink: #0f1d17; --muted: #586a62; --line: #dcd9cb;
  --brand: #0b1730; --brand-2: #06101f; --accent: #b98a26; --card: #ffffff;
  --hero-bg: radial-gradient(90% 120% at 80% 0, #10301f 0, #071a12 60%);
  --on-brand: #fdfaf0;
}
.p-myvelora .p-hero { color: #f3ecd8; }
.p-myvelora .p-hero .lead { color: #c7c9b8; }
.p-myvelora .p-hero .btn-line { color: #f3ecd8; }
.p-myvelora .p-hero .p-pills li { border-color: rgba(226, 181, 79, .3); color: #d9cfa8; }
.p-myvelora .p-brand b { color: transparent; background: var(--gold); -webkit-background-clip: text; background-clip: text; }
.p-myvelora .p-card .ic { background: #0f3a28; color: var(--gold-1); }
.app { width: min(340px, 100%); justify-self: center; position: relative; }
.app .mock-screen { background: #f4f6fa; font-family: var(--sans); color: #0f172a; }
.app-head { background: #0b1730; color: #fff; padding: 18px 16px 52px; }
.app-head small { display: block; font-size: .66rem; letter-spacing: .2em; font-weight: 600; color: #e4c77e; }
.app-head b { font-size: 1.25rem; }
.app-search { margin-top: 12px; background: #fff; color: #64748b; border-radius: 999px; padding: 9px 14px; font-size: .78rem; display: flex; justify-content: space-between; }
.app-spend { margin: -38px 12px 0; position: relative; background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 10px 24px -14px rgba(11, 23, 48, .5); display: flex; justify-content: space-between; align-items: center; }
.app-spend small { display: block; font-size: .68rem; color: #64748b; }
.app-spend b { font-size: 1.15rem; }
.app-spend em { display: block; font-style: normal; font-size: .66rem; color: #0e7c57; font-weight: 600; }
.app-btns { display: flex; gap: 6px; }
.app-btns span { width: 34px; height: 34px; border-radius: 10px; background: #0b1730; color: #fff; display: grid; place-items: center; }
.app-btns .ico { width: 16px; height: 16px; }
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 4px; padding: 16px 10px 8px; text-align: center; font-size: .66rem; font-weight: 600; }
.app-grid i { position: relative; display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 5px; border-radius: 50%; background: #e3f4ec; color: #0e7c57; }
.app-grid i .ico { width: 19px; height: 19px; }
.app-grid i[data-n]::after { content: attr(data-n); position: absolute; top: -3px; right: -3px; width: 16px; height: 16px; border-radius: 50%; background: #dc2626; color: #fff; font: 700 .6rem/16px var(--sans); font-style: normal; }
.app-alert { margin: 6px 12px 16px; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 12px; font-size: .75rem; }
.app-alert b { display: block; font-size: .82rem; }
.app-alert .late { float: right; font-size: .62rem; font-weight: 700; color: #b91c1c; background: #fee2e2; padding: 2px 8px; border-radius: 999px; }
.p-soon { display: inline-block; margin-left: 8px; font: 600 .65rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid currentColor; border-radius: 999px; padding: 2px 8px; vertical-align: middle; }
.p-myvelora .p-header { background: rgba(7, 26, 18, .92); border-bottom-color: rgba(226, 181, 79, .18); }
.p-myvelora .p-header .p-nav a { color: #c7c9b8; }
.p-myvelora .p-header .p-nav a:hover { color: #f3ecd8; }
.p-myvelora .p-header .p-brand small { color: #a9ab97; }
.p-myvelora .p-header .p-lang { border-color: rgba(226, 181, 79, .3); }
.p-myvelora .p-header .p-lang button { color: #c7c9b8; }
.p-myvelora .p-header .p-lang button[aria-pressed="true"] { background: var(--gold); color: #20180a; }
