/* Fonts served locally: identical rendering wherever this is hosted, and no
   visitor's browser has to tell Google it opened the site. SIL OFL. */
@font-face { font-family:"DM Sans"; font-style:normal; font-weight:400 800;
  font-display:swap; src:url(/assets/fonts/dm-sans.woff2) format("woff2"); }
@font-face { font-family:"Lora"; font-style:normal; font-weight:400 700;
  font-display:swap; src:url(/assets/fonts/lora.woff2) format("woff2"); }
@font-face { font-family:"Lora"; font-style:italic; font-weight:400 500;
  font-display:swap; src:url(/assets/fonts/lora-italic.woff2) format("woff2"); }

/* DARK ONLY, on purpose. mysage.guru has no light theme, and a light
   theme is what broke this: on a device set to light the page fell back to
   a warm off-white and looked like the old cream Drawbridge site — the
   exact thing being replaced. `color-scheme: dark` tells the browser to
   stop trying, so form controls and scrollbars come out dark too. */

/* ─────────────────────────────────────────────────────────────
   Built to mysage.guru's own rules, not merely its colours:
   Lora for every heading, a centred hero, gold→violet gradient
   on the accent word, a gold pill CTA, violet section labels,
   and background glow kept at 5–6% — the restraint is the look.
   ───────────────────────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --bg-deep:#080C18;
  --bg-card:rgba(255,255,255,0.04);
  --bg-card-hover:rgba(255,255,255,0.07);
  --gold:#D4A853; --gold-light:#E8C97A; --gold-deep:#C49540;
  --violet:#9B7FD4; --violet-light:#B89FE8;
  --teal:#4ABFB0;
  --text-primary:#F0EDE6;
  --text-secondary:rgba(240,237,230,0.65);
  --text-muted:rgba(240,237,230,0.4);
  --border:rgba(255,255,255,0.08);
  --glow-gold:rgba(212,168,83,0.15);
  --glow-violet:rgba(155,127,212,0.12);
  --wash-violet:rgba(155,127,212,0.06);
  --wash-gold:rgba(212,168,83,0.05);
  --f-sans:"DM Sans", ui-sans-serif, -apple-system, sans-serif;
  --f-serif:"Lora", ui-serif, Georgia, serif;
}


html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body {
  font-family:var(--f-sans);
  overflow-wrap:break-word;
  background:var(--bg-deep);
  color:var(--text-primary);
  line-height:1.7;
  overflow-x:hidden;
}
/* Two fixed washes, violet top-left and gold bottom-right. Barely there on
   purpose — at MySage's 5–6% they read as depth, not decoration. */
body::before {
  content:''; position:fixed; top:-30%; left:-20%; width:70%; height:70%;
  background:radial-gradient(ellipse, var(--wash-violet) 0%, transparent 70%);
  pointer-events:none; z-index:0;
}
body::after {
  content:''; position:fixed; bottom:-30%; right:-20%; width:70%; height:70%;
  background:radial-gradient(ellipse, var(--wash-gold) 0%, transparent 70%);
  pointer-events:none; z-index:0;
}

.container {
  max-width:960px; margin:0 auto; position:relative; z-index:1;
  padding-inline:max(24px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-right));
}

a { text-decoration:none; color:inherit; }
a:focus-visible { outline:2px solid var(--gold); outline-offset:4px; border-radius:8px; }
.skip { position:absolute; left:-9999px; }
.skip:focus { left:16px; top:16px; z-index:200; background:var(--bg-card-hover); padding:10px 16px; border-radius:8px; }

/* NAV */
nav {
  padding:14px 0; position:fixed; top:0; left:0; right:0; z-index:100;
  background:color-mix(in srgb, var(--bg-deep) 85%, transparent);
  backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
}
nav .container { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:nowrap; }
.nav-brand { flex:0 1 auto; min-width:0; }
.nav-brand {
  font-family:var(--f-serif); font-size:1.1rem; font-weight:600; color:var(--gold);
  letter-spacing:.02em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.nav-links { display:flex; gap:14px; align-items:center; flex:0 0 auto; }
.nav-links a {
  color:var(--text-secondary); font-size:.9rem; letter-spacing:.01em;
  display:inline-flex; align-items:center; min-height:44px; transition:color .3s;
}
.nav-links a:hover { color:var(--text-primary); }
.nav-links a.nav-hide { display:none; }
.nav-cta {
  color:var(--gold); border:1px solid color-mix(in srgb, var(--gold) 30%, transparent);
  padding:6px 16px; border-radius:8px; min-height:38px;
  transition:background .2s, color .2s;
}
.nav-cta:hover { background:color-mix(in srgb, var(--gold) 8%, transparent); color:var(--gold-light); }
@media (min-width:40rem) {
  .nav-links { gap:32px; }
  .nav-links a.nav-hide { display:inline-flex; }
  .nav-brand { font-size:1.4rem; }
}

/* HERO */
.hero { padding:150px 0 90px; text-align:center; }
@media (min-width:46rem) { .hero { padding:180px 0 120px; } }
.hero-badge {
  display:inline-block; padding:6px 18px; border:1px solid var(--border);
  border-radius:100px; font-size:.8rem; color:var(--gold);
  letter-spacing:.08em; text-transform:uppercase; margin-bottom:36px;
  background:var(--bg-card);
}
.hero h1 {
  font-family:var(--f-serif); font-size:clamp(1.9rem,7.2vw,4.2rem);
  font-weight:600; line-height:1.15; margin-bottom:24px; letter-spacing:-.02em;
  overflow-wrap:break-word;
}
/* Gold into violet, clipped to the text — the one flourish MySage allows
   itself, and the reason its hero reads as warm rather than austere. */
.accent {
  background:linear-gradient(135deg, var(--gold), var(--violet-light));
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.hero p { font-size:1.15rem; color:var(--text-secondary); max-width:560px; margin:0 auto 48px; line-height:1.8; }
.hero-ctas { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.cta {
  display:inline-flex; align-items:center; gap:10px; padding:16px 36px; min-height:44px;
  background:linear-gradient(135deg, var(--gold), var(--gold-deep));
  color:var(--bg-deep); font-weight:600; font-size:1rem; border-radius:14px;
  box-shadow:0 4px 24px var(--glow-gold); letter-spacing:.01em;
  transition:transform .3s, box-shadow .3s;
}
.cta:hover { transform:translateY(-2px); box-shadow:0 8px 40px color-mix(in srgb, var(--gold) 30%, transparent); }
.cta-secondary {
  display:inline-flex; align-items:center; gap:10px; padding:16px 36px; min-height:44px;
  color:var(--text-primary); font-weight:500; font-size:1rem; border-radius:14px;
  border:1px solid var(--border); background:transparent;
  transition:background .3s, border-color .3s, transform .3s;
}
.cta-secondary:hover { background:var(--bg-card-hover); border-color:color-mix(in srgb, var(--text-primary) 15%, transparent); transform:translateY(-2px); }

/* SECTIONS */
section { padding:70px 0 90px; }
.section-label { font-size:.75rem; letter-spacing:.15em; text-transform:uppercase; color:var(--violet); margin-bottom:16px; font-weight:500; }
.section-title { font-family:var(--f-serif); font-size:clamp(1.7rem,4vw,2.6rem); font-weight:600; margin-bottom:48px; letter-spacing:-.01em; line-height:1.25; max-width:22ch; }
.section-title.centred { margin-left:auto; margin-right:auto; text-align:center; }
.centre { text-align:center; }

/* CARDS — products and services share one object, as MySage's features do */
.grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px,1fr)); gap:20px; }
.card {
  background:var(--bg-card); border:1px solid var(--border); border-radius:20px;
  padding:32px 26px; display:block;
  transition:background .3s, border-color .3s, transform .3s;
}
.card:hover { background:var(--bg-card-hover); border-color:color-mix(in srgb, var(--c, var(--text-primary)) 22%, var(--border)); transform:translateY(-3px); }
.card-icon {
  width:44px; height:44px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:20px; font-size:1.3rem; line-height:1;
  background:color-mix(in srgb, var(--c) 12%, transparent); color:var(--c);
}
.card h3 { font-family:var(--f-serif); font-size:1.35rem; font-weight:600; margin-bottom:10px; letter-spacing:-.01em; line-height:1.3; }
.card p { color:var(--text-secondary); font-size:.97rem; line-height:1.7; }
.card-status {
  display:inline-block; margin-top:18px; font-size:.72rem; letter-spacing:.1em;
  text-transform:uppercase; color:var(--c);
  border:1px solid color-mix(in srgb, var(--c) 32%, transparent);
  background:color-mix(in srgb, var(--c) 10%, transparent);
  border-radius:100px; padding:4px 12px;
}

/* STANCE */
.stance-quote { font-family:var(--f-serif); font-size:clamp(1.4rem,3.4vw,2rem); font-weight:500; line-height:1.45; max-width:24ch; margin:0 auto 20px; letter-spacing:-.01em; }
.stance-note { color:var(--text-secondary); max-width:56ch; margin:0 auto; font-size:1.05rem; }

/* CONTACT */
.mail {
  display:inline-flex; align-items:center; gap:10px; margin-top:8px;
  font-family:var(--f-serif); font-size:clamp(1.1rem,3.6vw,1.6rem); font-weight:600;
  color:var(--gold); min-height:44px; word-break:break-word;
  border-bottom:1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  transition:border-color .3s, color .3s;
}
.mail:hover { color:var(--gold-light); border-color:var(--gold); }

.contact-lines { display:flex; flex-direction:column; align-items:center; gap:18px; }
.contact-alt {
  display:inline-flex; align-items:center; gap:10px; min-height:44px;
  color:var(--text-secondary); font-size:1.02rem;
  border:1px solid var(--border); border-radius:100px; padding:8px 22px;
  background:var(--bg-card); transition:background .3s, border-color .3s, color .3s;
}
.contact-alt:hover { background:var(--bg-card-hover); color:var(--text-primary); border-color:color-mix(in srgb, var(--gold) 30%, transparent); }
.contact-alt-label { color:var(--gold); font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; }
@media (min-width:36rem) { .contact-lines { flex-direction:row; justify-content:center; gap:14px; flex-wrap:wrap; } }

footer { border-top:1px solid var(--border); padding:40px 0 56px; position:relative; z-index:1; }
footer .container { display:flex; justify-content:space-between; gap:12px 20px; flex-wrap:wrap; }
footer span { font-size:.82rem; color:var(--text-muted); }

.js .reveal { opacity:0; transform:translateY(18px); transition:opacity .8s cubic-bezier(.2,.65,.2,1), transform .8s cubic-bezier(.2,.65,.2,1); }
.js .reveal.in { opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation:none !important; transition:none !important; }
  .reveal { opacity:1; transform:none; }
  html { scroll-behavior:auto; }
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT PAGES
   Components the studio page does not need, kept in the same file
   so there is one theme rather than three that drift apart.
   ═══════════════════════════════════════════════════════════════ */

/* Breadcrumb back to the studio, above a product hero. */
.eyebrow-link { display:inline-flex; align-items:center; gap:8px; min-height:44px; color:var(--text-muted); font-size:.85rem; transition:color .3s; }
.eyebrow-link:hover { color:var(--gold); }

/* App Store buttons. Real black Apple badges would fight the ground, so these
   are built from the same materials as the rest of the page. */
.store-row { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:8px; }
.store-btn {
  display:inline-flex; align-items:center; gap:12px; min-height:56px;
  padding:10px 22px; border-radius:14px;
  background:var(--bg-card); border:1px solid var(--border);
  transition:background .3s, border-color .3s, transform .3s;
}
.store-btn:hover { background:var(--bg-card-hover); border-color:color-mix(in srgb, var(--c, var(--gold)) 34%, transparent); transform:translateY(-2px); }
.store-btn .apple { font-size:1.5rem; line-height:1; color:var(--text-primary); }
.store-btn .lines { display:flex; flex-direction:column; align-items:flex-start; line-height:1.2; }
.store-btn .small { font-size:.68rem; letter-spacing:.1em; text-transform:uppercase; color:var(--text-muted); }
.store-btn .big { font-size:1rem; font-weight:600; color:var(--text-primary); }
.store-btn.primary { background:linear-gradient(135deg, var(--gold), var(--gold-deep)); border-color:transparent; box-shadow:0 4px 24px var(--glow-gold); }
.store-btn.primary .big, .store-btn.primary .apple { color:var(--bg-deep); }
.store-btn.primary .small { color:rgba(8,12,24,.65); }

/* Long-form prose inside a product page. */
.prose { max-width:62ch; margin:0 auto; }
.prose p { color:var(--text-secondary); margin-bottom:18px; }
.prose p:last-child { margin-bottom:0; }

/* A list of claims, each with a marker in the product's colour. */
.points { display:grid; gap:22px; max-width:64ch; margin:0 auto; text-align:left; }
.point { display:grid; grid-template-columns:auto 1fr; gap:14px; align-items:start; }
.point-mark { color:var(--c, var(--gold)); font-size:1rem; line-height:1.6; }
.point h3 { font-family:var(--f-serif); font-size:1.1rem; font-weight:600; margin-bottom:4px; }
.point p { color:var(--text-secondary); font-size:.97rem; margin:0; }

/* Questions and answers. <details> so it works with no JavaScript at all. */
.faq { max-width:64ch; margin:0 auto; display:grid; gap:12px; text-align:left; }
.faq details { background:var(--bg-card); border:1px solid var(--border); border-radius:16px; padding:0 20px; }
.faq summary {
  list-style:none; cursor:pointer; padding:18px 0; min-height:44px;
  font-family:var(--f-serif); font-size:1.05rem; font-weight:600;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; color:var(--gold); font-size:1.3rem; line-height:1; }
.faq details[open] summary::after { content:"–"; }
.faq details p { color:var(--text-secondary); font-size:.97rem; padding-bottom:20px; margin:0; }

/* Screenshot strip. Scrolls sideways in its own box, never the page. */
.shots { display:flex; gap:16px; overflow-x:auto; padding:4px 0 16px; scroll-snap-type:x mandatory; }
.shots img {
  flex:0 0 auto; width:min(230px, 62vw); border-radius:20px; scroll-snap-align:center;
  border:1px solid var(--border); background:var(--bg-card);
}


/* ═══════════════════════════════════════════════════════════════
   FLOATING WHATSAPP
   The one place an outside brand colour is allowed on this page.
   WhatsApp green is recognised at a glance; restyling it to gold
   would make it a mystery button people have to read to identify.
   ═══════════════════════════════════════════════════════════════ */
.wa-float {
  position:fixed; z-index:90;
  right:max(18px, env(safe-area-inset-right));
  bottom:max(18px, env(safe-area-inset-bottom));
  display:inline-flex; align-items:center; gap:10px;
  min-height:56px; padding:0 22px 0 18px;
  border-radius:100px;
  background:#25D366; color:#06240F;
  font-family:var(--f-sans); font-weight:600; font-size:.95rem;
  box-shadow:0 6px 28px rgba(37,211,102,.30), 0 2px 8px rgba(0,0,0,.35);
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.wa-float:hover { transform:translateY(-2px); box-shadow:0 10px 36px rgba(37,211,102,.42), 0 2px 8px rgba(0,0,0,.35); }
.wa-float:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.wa-float svg { width:24px; height:24px; flex:0 0 auto; }

/* On a phone it becomes a circle: a labelled pill at this size covers the
   content it is floating over, and the icon alone is already understood. */
@media (max-width:30rem) {
  .wa-float { padding:0; width:56px; justify-content:center; gap:0; }
  .wa-float .wa-label { display:none; }
}
@media (prefers-reduced-motion:reduce) { .wa-float { transition:none; } }
