/* Leo product page. Fonts and the floating Zetene nav come from /assets/zetene/site.css. */
@font-face { font-family: "Leo Serif"; font-weight: 500; font-display: swap; src: url(fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Leo Serif"; font-weight: 600; font-display: swap; src: url(fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }
:root {
  --ink: #eef2f6; --onink: #0b1026; --dark: 1;            /* Zetene nav: dark glass */
  --l-bg: #050706; --l-card: #0C100E; --l-raise: #121815; --l-line: #1A221E; --l-line2: #26302B;
  --l-fg: #EDEFEA; --l-pearl: #EDE3C8; --l-dim: #9AA39E; --l-mute: #6B746F;
  --l-em: #2FC08F; --l-em-deep: #1F9E7A; --l-gold: #D9B46A; --l-gold-hi: #F1D79A;
  --serif: "Leo Serif", "Cormorant Garamond", Georgia, serif;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--l-bg); color: var(--l-fg); font: 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
h3 { font-family: var(--font-display); letter-spacing: -.02em; }
section[id] { scroll-margin-top: 96px; }

.eb { font: 600 12px var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--l-gold); }
.lbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px;
  font: 600 15px var(--font-body); text-decoration: none; white-space: nowrap; transition: transform .2s, box-shadow .2s, background .2s; }
.lbtn:hover { transform: translateY(-1px); }
.lbtn:focus-visible { outline: 2px solid var(--l-gold-hi); outline-offset: 3px; }
.lbtn.primary { color: #1B1408; background: linear-gradient(135deg, var(--l-gold-hi), var(--l-gold) 55%, #B8924A); box-shadow: 0 10px 30px rgba(217, 180, 106, .25); }
.lbtn.primary:hover { box-shadow: 0 14px 38px rgba(217, 180, 106, .38); }
.lbtn.ghost { color: var(--l-fg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); }

/* hero: Leo's real priority-mode field behind the words */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; padding: 140px 0 90px; overflow: hidden; }
.field { position: absolute; right: -4%; top: 50%; width: min(62vw, 980px); aspect-ratio: 1400 / 1015; transform: translateY(-46%);
  background: url(hero.webp) center / contain no-repeat;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
.hero .copy { position: relative; width: 100%; }
.brandrow { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 26px; }
.brandrow span { font: 600 34px var(--serif); color: var(--l-pearl); }
.brandrow small { font-size: 13px; color: var(--l-mute); margin-top: 8px; }
.hero h1 { font-size: clamp(44px, 6vw, 78px); line-height: 1.02; margin: 18px 0 22px; max-width: 760px; color: var(--l-pearl); }
.hero h1 em { font-style: italic; background: linear-gradient(90deg, var(--l-em), #9FD9B9 45%, var(--l-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: #B3BAB5; font-size: 18.5px; max-width: 520px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* island demo: a live copy of Leo's top bar */
.island-demo { display: flex; flex-direction: column; align-items: center; padding: 40px 0 70px; }
.island { position: relative; display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 28px 0 16px; border-radius: 30px; width: min(820px, 100%);
  background: rgba(18, 20, 19, .92); box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.island::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(47, 192, 143, .7), rgba(255, 255, 255, .06) 45%, rgba(217, 180, 106, .7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.island img { flex: none; }
.island p { font: 500 21px/1 var(--serif); color: #5F6662; white-space: nowrap; overflow: hidden; }
.island p .w { transition: color .25s; }
.island p .said { color: var(--l-pearl); }
.island p .now { color: var(--l-gold-hi); }
.island-demo .cap { margin-top: 18px; color: var(--l-mute); font-size: 14px; text-align: center; }

/* highlights strip */
.strip { border-top: 1px solid var(--l-line); border-bottom: 1px solid var(--l-line); background: #080B0A; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.strip .wrap > div { padding: 28px 0; }
.strip b { display: block; font: 600 25px var(--serif); color: var(--l-pearl); } .strip span { color: var(--l-dim); font-size: 13px; }

/* how it works */
.tl { padding: 110px 0 0; display: grid; grid-template-columns: 340px 1fr; gap: 60px; }
.tl h2, .feat h2, .faq h2, .prio h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1.05; margin-top: 10px; color: var(--l-pearl); }
.tl ol { list-style: none; padding: 0; border-left: 1px solid var(--l-line2); }
.tl li { position: relative; padding: 0 0 38px 30px; } .tl li:last-child { padding-bottom: 4px; }
.tl li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--l-bg);
  border: 2px solid var(--l-em); box-shadow: 0 0 12px rgba(47, 192, 143, .5); }
.tl li:nth-child(3)::before { border-color: var(--l-gold); box-shadow: 0 0 12px rgba(217, 180, 106, .5); }
.tl li h3 { font-size: 18px; margin-bottom: 6px; } .tl li p { color: var(--l-dim); }

/* features */
.feat { padding: 110px 0 0; }
.feat .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.feat .c { background: linear-gradient(160deg, rgba(47, 192, 143, .06), rgba(255, 255, 255, .015)); border: 1px solid var(--l-line); border-radius: 18px; padding: 24px; }
.feat .c:nth-child(even) { background: linear-gradient(160deg, rgba(217, 180, 106, .06), rgba(255, 255, 255, .015)); }
.feat h3 { font-size: 16.5px; margin-bottom: 8px; } .feat p { color: var(--l-dim); font-size: 14.5px; }

/* priority mode */
.prio { padding: 110px 0 0; display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }
.prio .shot { border-radius: 18px; overflow: hidden; border: 1px solid var(--l-line2); box-shadow: 0 40px 100px rgba(0, 0, 0, .7), 0 0 80px rgba(47, 192, 143, .08); }
.prio .shot img { display: block; width: 100%; height: auto; }
.prio p { color: var(--l-dim); margin-top: 14px; }

/* notify */
.get { margin-top: 110px; border-radius: 22px; padding: 44px 48px; display: flex; align-items: center; gap: 32px;
  background: radial-gradient(120% 160% at 0% 0%, rgba(47, 192, 143, .14), transparent 55%), radial-gradient(120% 160% at 100% 100%, rgba(217, 180, 106, .12), transparent 55%), #0A0D0C;
  border: 1px solid var(--l-line2); }
.get .info { flex: 1; } .get h2 { font-size: 36px; margin-bottom: 6px; color: var(--l-pearl); } .get p { color: #B3BAB5; max-width: 560px; }
.get img { flex: none; }

/* faq */
.faq { padding: 110px 0 0; max-width: 820px; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-top: 1px solid var(--l-line); }
.faq details:last-of-type { border-bottom: 1px solid var(--l-line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 22px; color: var(--l-gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--l-gold-hi); outline-offset: 2px; border-radius: 6px; }
.faq details p { color: var(--l-dim); padding: 0 0 20px; max-width: 680px; }
.faq .more { margin-top: 22px; color: var(--l-dim); } .faq .more a { color: var(--l-gold); font-weight: 600; }

.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 100px; padding-top: 28px; padding-bottom: 40px;
  border-top: 1px solid var(--l-line); color: var(--l-mute); font-size: 13px; }
.foot span { display: inline-flex; align-items: center; gap: 8px; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--l-fg); text-decoration: underline; }

@media (max-width: 900px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .hero { min-height: auto; padding: 120px 0 60px; }
  .field { right: -30%; width: 110vw; top: auto; bottom: -6%; transform: none; opacity: .22; }
  .lead { font-size: 16.5px; }
  .cta { flex-direction: column; } .cta .lbtn { width: 100%; }
  .island { height: 52px; padding: 0 18px 0 12px; } .island p { font-size: 17px; }
  .strip .wrap { grid-template-columns: 1fr 1fr; } .strip .wrap > div { padding: 20px 0; }
  .tl { grid-template-columns: 1fr; gap: 28px; padding-top: 80px; }
  .feat, .faq { padding-top: 80px; } .feat .grid { grid-template-columns: 1fr; }
  .prio { grid-template-columns: 1fr; padding-top: 80px; gap: 28px; }
  .get { flex-direction: column; align-items: flex-start; padding: 28px; margin-top: 80px; gap: 20px; }
  .get .acts, .get .acts .lbtn { width: 100%; }
}
/* tablets: keep two columns and inline buttons */
@media (min-width: 601px) and (max-width: 900px) {
  .cta { flex-direction: row; } .cta .lbtn { width: auto; }
  .strip .wrap { grid-template-columns: repeat(4, 1fr); }
  .feat .grid { grid-template-columns: 1fr 1fr; }
  .get { flex-direction: row; align-items: center; } .get .acts, .get .acts .lbtn { width: auto; }
  .get img { width: 64px; height: 64px; }
}
/* no animation: show Leo's whole sentence, wrapped */
@media (prefers-reduced-motion: reduce) {
  .island { height: auto; min-height: 52px; padding-block: 14px; border-radius: 22px; }
  .island p { white-space: normal; line-height: 1.35; }
}


/* phones and tablets: Leo's infinity sits on top, then the words */
@media (max-width: 900px) {
  .hero { flex-direction: column; align-items: stretch; padding-top: 92px; }
  .hero > .field { position: relative; right: auto; top: auto; bottom: auto; transform: none; width: min(560px, 100%); margin: 0 auto -10px; opacity: 1; }
  .brandrow { margin-bottom: 14px; }
}

/* live Living field (live.js): the whole priority-mode scene fills the hero, the halo sits on the right */
.hero > .field.zliving { top: 0; bottom: 0; right: -30%; width: 118%; height: 100%; aspect-ratio: auto; transform: none; background: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.35) 22%, #000 42%), linear-gradient(180deg, #000 80%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.35) 22%, #000 42%), linear-gradient(180deg, #000 80%, transparent); mask-composite: intersect; }
@media (max-width: 900px) {
  .hero > .field.zliving { position: relative; inset: auto; width: calc(100% + 36px); margin: 0 -18px -20px; height: auto; aspect-ratio: 4 / 3; opacity: 1;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 80%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 80%, transparent); }
}

.prio .shot.zliving-full { position: relative; background: #000; }
.prio .shot.zliving-full img { visibility: hidden; }
/* ---------- daylight look: used when the visitor's system (or the sun/moon button) picks light ---------- */
:root[data-look="light"]{--ink:#14140F;--onink:#fff;--dark:0;--accent:#1F9E7A;
 --l-bg:#F4F1E8;--l-card:#FFFFFF;--l-raise:#FBF9F3;--l-line:#E4DFD1;--l-line2:#D6CFBD;
 --l-fg:#1A1C18;--l-pearl:#1E2219;--l-dim:#5B5F55;--l-mute:#8A8C82;--l-em:#1F9E7A;--l-gold:#A07A2C;--l-gold-hi:#C59A45}
:root[data-look="light"] .field{filter:invert(1) hue-rotate(180deg) saturate(1.4) brightness(1.02);opacity:.85}
:root[data-look="light"] .lead{color:#4B4F46}
:root[data-look="light"] .island{background:#1A1D1B}
:root[data-look="light"] .island p{color:#6E746F}
:root[data-look="light"] .island p .said{color:#EDE3C8}
:root[data-look="light"] .island p .now{color:#F1D79A}
:root[data-look="light"] .strip{background:#EFEBDF}
:root[data-look="light"] .feat .c{background:linear-gradient(160deg,rgba(31,158,122,.07),#fff)}
:root[data-look="light"] .feat .c:nth-child(even){background:linear-gradient(160deg,rgba(160,122,44,.08),#fff)}
:root[data-look="light"] .get{background:radial-gradient(120% 160% at 0% 0%,rgba(31,158,122,.14),transparent 55%),radial-gradient(120% 160% at 100% 100%,rgba(160,122,44,.14),transparent 55%),#FFFDF7}
:root[data-look="light"] .get p{color:#4B4F46}
:root[data-look="light"] .lbtn.ghost{background:#fff;border-color:#D6CFBD;color:#1A1C18}
:root[data-look="light"] .prio .shot{box-shadow:0 40px 90px -40px rgba(30,34,25,.55)}
