/* ==========================
   QiQ THEME TOKENS
   ========================= */


:root{
  /* Backgrounds */
  --bg0: #05070b;
  --bg1: #071018;

  /* Surfaces */
  --surface: rgba(255,255,255,0.06);
  --surface2: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.12);

  /* Text */
  --text0: rgba(247,248,251,0.92);
  --text1: rgba(247,248,251,0.74);

  /* Accent */
  --accent: rgba(19, 197, 214, 0.95);
  --accentSoft: rgba(19, 197, 214, 0.18);

  /* Shadow */
  --shadow: 0 22px 80px rgba(0,0,0,0.45);

  /* Spacing scale */
  --s1: 8px;
  --s2: 12px;
  --s3: 16px;
  --s4: 24px;
  --s5: 32px;
  --s6: 48px;
}

/* Light mode overrides */
html[data-theme="light"]{
  --bg0: #f6f7fb;
  --bg1: #eef2f8;

  --surface: rgba(15,18,25,0.04);
  --surface2: rgba(15,18,25,0.03);
  --border: rgba(15,18,25,0.10);

  --text0: rgba(12,14,18,0.92);
  --text1: rgba(12,14,18,0.72);

  --accent: rgba(12, 145, 160, 0.95);
  --accentSoft: rgba(12, 145, 160, 0.16);

  --shadow: 0 18px 70px rgba(20,24,40,0.10);
}
/* =========================================================
   GLOBAL STYLES — APPLE PREMIUM
   ========================================================= */

body{
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  color: var(--text0);
  background: var(--bg0);
  background-image: none;
}


.app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================================================
   HEADER (LOGO + TAGLINE + PILL)
   ========================================================= */

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 40px;
    background: linear-gradient(90deg, rgba(5, 7, 14, 0.96), rgba(13, 20, 25, 0.94));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand img {
    height: 82px; /* BIGGER LOGO */
}

.brand-tagline {
    font-size: 22px; /* BIGGER TAGLINE */
    font-weight: 540;
    color: #d1d6e8;
    letter-spacing: 0.2px;
}

.pill {
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 16px;
    letter-spacing: 0.15em;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #e4e7ef;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.app-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}


/* =========================================================
   AUTH CARD (LOGIN + SIGNUP)
   ========================================================= */

.auth-card {
    background: rgba(12, 14, 22, 0.92);
    border-radius: 26px;
    padding: 36px 42px;
    width: 420px;
    max-width: 90%;
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.auth-card h1 {
    margin: 0 0 12px;
    font-size: 32px;
    font-weight: 630;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    margin: 0 0 24px;
    font-size: 15px;
    color: #a9afc3;
    letter-spacing: -0.15px;
}


/* =========================================================
   FORM ELEMENTS
   ========================================================= */

.field {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.field label {
    font-size: 16px;
    margin-bottom: 6px;
    color: #d2d7e6;
    font-weight: 500;
}

.field input {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    color: #f7f8fb;
    font-size: 17px;
    letter-spacing: -0.2px;
}

.field input:focus {
    outline: none;
    border-color: #14c3c9;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn-primary {
    width: 100%;
    padding: 14px 20px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #14c3c9, #2ad6dd);
    color: #050608;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    filter: brightness(1.07);
}


/* =========================================================
   AUTH LINKS (FORGOT + CREATE ACCOUNT)
   ========================================================= */

.auth-links {
    text-align: center;
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.forgot-link,
.create-account-link {
    color: #8fc8ff;
    font-size: 16px;
    text-decoration: none;
}

.forgot-link:hover,
.create-account-link:hover {
    text-decoration: underline;
}


/* =========================================================
   PERSONAL vs PRO HOMEPAGE SELECTOR
   ========================================================= */

.experience-main {
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 60px;
}

.experience-intro {
    text-align: center;
    margin-bottom: 40px;
}

.experience-intro h1 {
    margin: 0 0 8px;
    font-size: 40px;
    font-weight: 650;
    letter-spacing: -0.8px;
}

.experience-subtitle {
    margin: 0;
    font-size: 17px;
    color: #b5bbcd;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    max-width: 1600px; /* MUCH BIGGER */
    width: 100%;
    margin: 0 auto;
}

.experience-card {
    background: linear-gradient(to bottom, rgba(20, 195, 201, 0.25) 0%, rgba(7, 9, 15, 0.92) 35%, rgba(5, 6, 8, 1) 100%)
;
    border-radius: 34px;
    padding: 50px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: transform 0.16s ease-out, box-shadow 0.16s ease-out;
    /* =========================================================
   UNIVERSAL TILE BACKGROUND — APPLE PREMIUM
   ========================================================= */

.qiq-tile {
    background: linear-gradient(to bottom, rgba(20, 195, 201, 0.25) 0%, rgba(7, 9, 15, 0.92) 35%, rgba(5, 6, 8, 1) 100%);
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.9);
    transition: transform 0.16s ease-out, box-shadow 0.16s ease-out;
}

.qiq-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 36px 95px rgba(0, 0, 0, 0.95);
}

}

.experience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 36px 95px rgba(0, 0, 0, 0.95);
}

.experience-card h2 {
    margin: 0;
    font-size: 34px;
    font-weight: 650;
    letter-spacing: -0.6px;
}

.experience-tagline {
    font-size: 20px;
    color: #dfe5f4;
    margin: 10px 0 16px;
}

.experience-list {
    font-size: 18px;
    line-height: 1.55;
    color: #b9bed0;
    padding-left: 22px;
    margin: 0;
}

.experience-list li + li {
    margin-top: 8px;
}

.experience-actions {
    margin-top: 30px;
}

.experience-btn {
    font-size: 18px;
    padding: 14px 24px;
}

/* FOOTNOTE */
.experience-footnote {
    margin-top: 40px;
    text-align: center;
    font-size: 12px;
    color: #707587;
}

/* MOBILE */
@media (max-width: 900px) {
    .experience-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* =========================================================
   HUB LAYOUT (PERSONAL & PRO)
   ========================================================= */

.hub-main {
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 60px;
}

.hub-intro {
    text-align: center;
    margin-bottom: 36px;
}

.hub-intro h1 {
    margin: 0 0 8px;
    font-size: 36px;
    font-weight: 650;
    letter-spacing: -0.6px;
}

.hub-subtitle {
    margin: 0;
    font-size: 16px;
    color: #b5bbcd;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

/* Pro can get a slightly wider look if needed */
.hub-grid-pro {
    max-width: 1600px;
}

/* UNIVERSAL TILE STYLE USING THE APPLE GRADIENT */
.qiq-tile {
    background: linear-gradient(
        to bottom,
        rgba(20, 195, 201, 0.25) 0%,
        rgba(7, 9, 15, 0.92) 35%,
        rgba(5, 6, 8, 1) 100%
    );
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.9);
    padding: 32px 30px 26px;
    transition: transform 0.16s ease-out, box-shadow 0.16s ease-out;
}

.qiq-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 36px 95px rgba(0, 0, 0, 0.95);
}
.hub-card h2 {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 650;
    letter-spacing: -0.4px;
    color: #ffffff;
}

.hub-tagline {
    margin: 0 0 12px;
    font-size: 17px;
    color: #dfe5f4;
    font-weight: 400;
    line-height: 1.4;
}

.hub-list {
    margin: 10px 0 0;
    padding-left: 20px;
    font-size: 15px;
    color: #c8cada;
    line-height: 1.55;
}

.hub-list li + li {
    margin-top: 6px;
}

/* Let Insights on Pro span full width on large screens if desired */
.hub-card-wide {
    grid-column: span 2;
}

/* Responsive tweaks */
@media (max-width: 900px) {
    .hub-main {
        padding-top: 40px;
    }

    .hub-grid,
    .hub-grid-pro {
        grid-template-columns: minmax(0, 1fr);
    }

    .hub-card-wide {
        grid-column: span 1;
    }
}
.coaching-card {
    max-width: 700px;
    width: 100%;
}

.coaching-card textarea {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    color: #f7f8fb;
    font-size: 15px;
    resize: vertical;
}

.coaching-card textarea:focus {
    outline: none;
    border-color: #14c3c9;
}

.coaching-result {
    margin-top: 24px;
    padding: 18px 16px;
    border-radius: 16px;
    background: rgba(5, 7, 14, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.coaching-result h2 {
    margin: 0 0 10px;
    font-size: 20px;
}

.coaching-result pre {
    margin: 0;
    white-space: pre-wrap;
    font-family: inherit;
    font-size: 15px;
    color: #e9ecfa;
}
/* ------------------------------------------------------
   Coaching Compass – field styling upgrade
   ------------------------------------------------------ */

.field {
    margin-bottom: 1.6rem;
}

.field label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #e7edf3;
    margin-bottom: 0.5rem;
}

/* Make dropdown + input match the QiQ style */
.field select,
.field input[type="text"],
.field textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 14px;
    border: none;
    font-size: 1.05rem;
    font-family: inherit;

    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;

    /* subtle glass effect */
    backdrop-filter: blur(6px);
}

.field select:focus,
.field input[type="text"]:focus,
.field textarea:focus {
    outline: 2px solid #47e4ff;
}

/* Make the dropdown bigger + classier */
.field select {
    height: 55px;
    font-size: 1.05rem;
    cursor: pointer;
}

/* Slight spacing and blend improvements */
.auth-card form {
    margin-top: 1.4rem;
}
/* ------------------------------------------------------
   QiQ Premium Input Redesign (Apple-style)
   ------------------------------------------------------ */

.field select,
.field input[type="text"],
.field textarea {
    width: 100%;
    padding: 1.15rem 1.25rem;
    border-radius: 22px;  /* MORE rounded */
    border: none;
    font-size: 1.08rem;
    font-family: inherit;

    background: rgba(255, 255, 255, 0.10);  /* slightly clearer */
    color: #ffffff;

    backdrop-filter: blur(10px);  /* stronger glass blur */
    -webkit-backdrop-filter: blur(10px);

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),   /* subtle inner edge */
        0 4px 12px rgba(0, 0, 0, 0.25);             /* soft depth shadow */

    transition: all 0.25s ease;
}

.field select:focus,
.field input[type="text"]:focus,
.field textarea:focus {
    outline: none;
    box-shadow:
        inset 0 0 0 1px rgba(71, 228, 255, 0.7),
        0 0 12px rgba(71, 228, 255, 0.55),
        0 6px 18px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.14);
}

.field textarea {
    border-radius: 20px;
    min-height: 150px;
}

/* labels slightly larger & softer */
.field label {
    display: block;
    font-size: 1.14rem;
    font-weight: 600;
    color: #e8eef7;
    margin-bottom: 0.55rem;
}

/* extra spacing between fields */
.field {
    margin-bottom: 1.7rem;
}
/* ------------------------------------------------------
   QiQ Design System – Inputs & Fields
   One place to rule them all 💫
   ------------------------------------------------------ */

/* QiQ core tokens (colors, radii, etc.) */
:root {
    --qiq-input-radius: 22px;
    --qiq-input-bg: rgba(255, 255, 255, 0.10);
    --qiq-input-bg-focus: rgba(255, 255, 255, 0.16);
    --qiq-input-text: #f5f7ff;
    --qiq-input-muted: #9ea8c4;
    --qiq-input-border-soft: rgba(255, 255, 255, 0.09);
    --qiq-input-shadow-soft: 0 4px 14px rgba(0, 0, 0, 0.35);
    --qiq-input-shadow-strong: 0 8px 24px rgba(0, 0, 0, 0.55);
    --qiq-accent: #47e4ff;
    --qiq-accent-soft: rgba(71, 228, 255, 0.7);
}

/* Field wrapper – used everywhere (login, coaching, etc.) */
.field {
    margin-bottom: 1.8rem;
}

/* Labels – consistent, slightly larger, premium */
.field label {
    display: block;
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #e8edf8;
    margin-bottom: 0.55rem;
}

/* Helper / muted text inside labels, if you use <span> */
.field label span {
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--qiq-input-muted);
}

/* Core QiQ input style – applies to ALL boxes in .field */
.field select,
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field textarea {
    width: 100%;
    padding: 1.1rem 1.25rem;
    border-radius: var(--qiq-input-radius);
    border: none;
    font-size: 1.06rem;
    font-family: inherit;

    background: var(--qiq-input-bg);
    color: var(--qiq-input-text);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow:
        inset 0 0 0 1px var(--qiq-input-border-soft),
        var(--qiq-input-shadow-soft);

    transition:
        background 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.16s ease,
        border-radius 0.16s ease;
}

/* Bigger select height so it feels like a pill */
.field select {
    height: 64px;
    cursor: pointer;
}

/* Textarea tweaks – keep pill-ish but slightly softer */
.field textarea {
    min-height: 160px;
    border-radius: 20px;
    resize: vertical;
}

/* Focus state – the sexy glow you liked */
.field select:focus,
.field input[type="text"]:focus,
.field input[type="email"]:focus,
.field input[type="password"]:focus,
.field textarea:focus {
    outline: none;
    background: var(--qiq-input-bg-focus);

    box-shadow:
        inset 0 0 0 1px var(--qiq-accent-soft),
        0 0 12px rgba(71, 228, 255, 0.55),
        var(--qiq-input-shadow-strong);

    transform: translateY(-1px);
}

/* Hover – just a tiny lift so it feels alive */
.field select:hover,
.field input[type="text"]:hover,
.field input[type="email"]:hover,
.field input[type="password"]:hover,
.field textarea:hover {
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.12),
        0 6px 18px rgba(0, 0, 0, 0.45);
}

/* Disabled inputs, if you ever use them */
.field input:disabled,
.field select:disabled,
.field textarea:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* Optional: subtle group header styling, if you wrap fields later */
.qiq-field-group-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--qiq-input-muted);
    margin-bottom: 0.6rem;
}
/* --------------------------------- */
/*  PREMIUM APPLE BUTTONS (QiQ)      */
/* --------------------------------- */

.btn-primary {
    display: inline-block;
    padding: 14px 26px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 14px;

    background: linear-gradient(
        180deg,
        rgba(0, 180, 200, 0.95) 0%,
        rgba(0, 140, 160, 0.95) 100%
    );

    color: white;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);

    backdrop-filter: blur(14px);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

/* SUBTLE GLASS SECONDARY BUTTON */
.btn-secondary {
    display: inline-block;
    padding: 12px 22px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 1px solid rgba(255,255,255,0.25);

    backdrop-filter: blur(14px);

    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
}
/* --- MEI PAGE HELPERS (safe add-on) --- */
.content { max-width: 1100px; margin: 0 auto; padding: 32px 20px 60px; }
.hero { text-align: center; margin: 40px 0 28px; }
.hero h1 { margin: 0 0 10px; letter-spacing: -0.02em; }
.subhead { max-width: 70ch; margin: 0 auto; opacity: 0.86; }

.grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr; } }

.bullets { margin: 12px 0 0; padding-left: 18px; }
.bullets li { margin: 8px 0; opacity: 0.9; }

.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* Buttons: if your project already has .btn styles, these won't hurt.
   If not, they make links look like QiQ buttons. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  background: rgba(19, 197, 214, 0.95);
  color: #061014;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.btn:hover { transform: translateY(-1px); }

.btn.secondary {
  background: rgba(255,255,255,0.06);
  color: rgba(247,248,251,0.92);
  border: 1px solid rgba(255,255,255,0.12);
}

.card.subtle { background: rgba(255,255,255,0.04); }
.tiny { margin-top: 14px; font-size: 0.92rem; opacity: 0.7; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(247,248,251,0.9);
}
/* ================================
   QiQ Global Layout + Typography Lock
   Paste ONCE at bottom of styles.css
================================ */

/* ---- Core font lock ---- */
:root {
  --qiq-font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI",
              Roboto, Helvetica, Arial, sans-serif;

  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
}

/* ---- Universal text consistency ---- */
body,
button,
input,
select,
textarea {
  font-family: var(--qiq-font);
  font-weight: var(--font-regular);
  letter-spacing: 0.01em;
}

/* ---- Single alignment rail (main content only) ---- */
.app-main {
  display: flex;
  justify-content: center;
}

.app-main > * {
  width: 100%;
  max-width: 1180px;
  padding-left: 32px;
  padding-right: 32px;
}

/* ---- Headings ---- */
h1, h2, h3 {
  font-weight: var(--font-semibold);
  letter-spacing: -0.02em;
}

/* ---- Cards ---- */
.qiq-tile {
  border-radius: 22px;
}

/* ---- Pills & Toggles (Early Access + Light/Dark) ---- */
.pill,
.theme-toggle {
  font-weight: var(--font-medium);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---- Button consistency ---- */
.btn-primary {
  font-weight: var(--font-semibold);
  letter-spacing: 0.02em;
}

/* ---- Theme behavior (color only, NOT layout or font) ---- */
body.light {
  background: #f6f7f9;
  color: #0f172a;
}

body.dark {
  background: radial-gradient(
    1200px 600px at 50% -200px,
    #0e3a40,
    #05070a 70%
  );
  color: #e5e7eb;
}
/* -----------------------------
   QiQ Theme + Layout Lock
   Paste at bottom of styles.css
------------------------------ */

:root{
  --bg: #07090c;
  --bg2: #0b0f14;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --hairline: rgba(255,255,255,.10);

  --card: rgba(10,14,18,.72);
  --cardBorder: rgba(255,255,255,.10);

  --pillBg: rgba(255,255,255,.06);
  --pillBorder: rgba(255,255,255,.14);
  --pillText: rgba(255,255,255,.84);

  --btnGradTop: rgba(0,190,210,.95);
  --btnGradBot: rgba(0,145,170,.95);

  --shadow: 0 22px 60px rgba(0,0,0,.55);
  --radius: 22px;

  --font: ui-sans-serif, system-ui, -apple-system, "SF Pro Display", "SF Pro Text",
          "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

/* Light mode overrides */
body.theme-light{
  --bg: #f6f7fb;
  --bg2: #ffffff;
  --text: rgba(12,14,18,.92);
  --muted: rgba(12,14,18,.64);
  --hairline: rgba(12,14,18,.10);

  --card: rgba(255,255,255,.92);
  --cardBorder: rgba(12,14,18,.10);

  --pillBg: rgba(12,14,18,.04);
  --pillBorder: rgba(12,14,18,.16);
  --pillText: rgba(12,14,18,.82);

  --shadow: 0 20px 45px rgba(12,14,18,.12);
}

html, body{
  height: 100%;
}

body{
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  background-image: none;
}

body.page--pro {
  background: #f6f7fb !important;
  background-image: none !important;
}

/* Keep your whole app centered consistently */
.app-shell{
  min-height: 100vh;
}

/* Header alignment lock */
.app-header{
  border-bottom: 1px solid var(--hairline);
  background: rgba(0,0,0,.12);
  backdrop-filter: blur(18px);
}

body.theme-light .app-header{
  background: rgba(255,255,255,.70);
}

.header-inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img{
  height: 36px;
  width: auto;
  display: block;
}

.brand-tagline{
  font-weight: 650;
  letter-spacing: .2px;
}

/* Pills (Early Access + toggle) should always look identical */
.header-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill{
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--pillText);
  background: var(--pillBg);
  border: 1px solid var(--pillBorder);
  border-radius: 999px;
  padding: 10px 14px;
  line-height: 1;
  cursor: default;
}

.pill--toggle{
  cursor: pointer;
  letter-spacing: .02em;
  text-transform: none;
  font-weight: 650;
}

/* Main spacing */
.app-main{
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 28px 70px;
}

.experience-intro{
  text-align: center;
  margin-bottom: 26px;
}

.experience-intro h1{
  margin: 0;
  font-size: clamp(34px, 4vw, 46px);
  letter-spacing: -0.02em;
}

.experience-subtitle{
  margin: 8px 0 0;
  color: var(--muted);
}

/* Cards use variables so light/dark actually works */
.qiq-tile{
  background: var(--card);
  border: 1px solid var(--cardBorder);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.experience-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

@media (max-width: 920px){
  .experience-grid{ grid-template-columns: 1fr; }
  .header-inner{ padding: 18px 18px; }
  .app-main{ padding: 34px 18px 64px; }
}

.experience-card{
  padding: 26px 26px 22px;
}

.experience-card h2{
  margin: 0 0 6px;
  font-size: 28px;
  letter-spacing: -0.01em;
}

.experience-tagline{
  margin: 0 0 14px;
  color: var(--muted);
}

.experience-list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.experience-list li{
  margin: 8px 0;
}

.btn-primary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  text-decoration: none;
  color: #071018;
  font-weight: 750;
  background: linear-gradient(180deg, var(--btnGradTop), var(--btnGradBot));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 22px rgba(0, 190, 210, .18);
}

.experience-footnote{
  text-align: center;
  margin: 18px 0 0;
  font-size: 12px;
  color: rgba(140,150,160,.75);
}
:root {
  --font-primary: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
}

body {
  font-family: var(--font-primary);
}

/* Absolute kill-switch for any remaining body gradients */
html,
body,
body.page--pro,
body.page--pro.pro-dashboard {
  background: #f6f7fb !important;
  background-image: none !important;
}

/* Pro dashboard: hard stop any global washout */
body.page--pro.pro-dashboard {
  background: #f6f7fb !important;
  color: #0b0f19 !important;
  opacity: 1 !important;
  filter: none !important;
  -webkit-font-smoothing: auto !important;
  -moz-osx-font-smoothing: auto !important;
  background-image: none !important;
  --text0: #0b0f19 !important;
  --text1: #0b0f19 !important;
  --text: #0b0f19 !important;
}

body.page--pro.pro-dashboard .app-shell,
body.page--pro.pro-dashboard .app-main,
body.page--pro.pro-dashboard .app-main * {
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: auto !important;
  -moz-osx-font-smoothing: auto !important;
}

html[data-theme="light"] body.page--pro.pro-dashboard,
body.page--pro.pro-dashboard {
  background-image: none !important;
}

body.page--pro.pro-dashboard .pro-page-header,
body.page--pro.pro-dashboard .pro-page-header * {
  color: #0b0f19 !important;
  opacity: 1 !important;
}

body.page--pro.pro-dashboard .pulse-card-xl,
body.page--pro.pro-dashboard .pulse-card-xl * {
  color: #0b0f19 !important;
  opacity: 1 !important;
}

body.page--pro.pro-dashboard .pulse-card-xl {
  background-color: #ffffff !important;
}

/* Kill light-theme html/body gradients that wash the dashboard */
html[data-theme="light"] {
  background: #f6f7fb !important;
  background-image: none !important;
}

body.light,
body.theme-light,
html[data-theme="light"] body {
  background: #f6f7fb !important;
  background-image: none !important;
}

/* Debug hard clamp: force full-contrast text + solid cards on /pro dashboard */
body.page--pro.pro-dashboard .app-main,
body.page--pro.pro-dashboard .app-main * {
  color: #000000 !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none !important;
}

body.page--pro.pro-dashboard .dashboard-card,
body.page--pro.pro-dashboard .pulse-card-xl,
body.page--pro.pro-dashboard .focus-card,
body.page--pro.pro-dashboard .leadership-details-details,
body.page--pro.pro-dashboard .leadership-details-body {
  background: #ffffff !important;
  box-shadow: none !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
}

html[data-theme="light"] body.page--pro.pro-dashboard,
body.page--pro.pro-dashboard {
  background-image: none !important;
}

body.page--pro.pro-dashboard .app-shell,
body.page--pro.pro-dashboard .app-main {
  background: #f6f7fb !important;
}

body.page--pro.pro-dashboard .pro-page-header,
body.page--pro.pro-dashboard .pro-page-header * {
  color: #0b0f19 !important;
  opacity: 1 !important;
}

body.page--pro.pro-dashboard .pulse-card-xl,
body.page--pro.pro-dashboard .pulse-card-xl * {
  background: #ffffff !important;
  color: #0b0f19 !important;
  opacity: 1 !important;
}

body.page--pro.pro-dashboard .app-header {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-theme="light"] body.page--pro.pro-dashboard,
body.page--pro.pro-dashboard {
  text-rendering: auto !important;
  -webkit-font-smoothing: auto !important;
  -moz-osx-font-smoothing: auto !important;
}

body.page--pro.pro-dashboard .pro-page-title,
body.page--pro.pro-dashboard .pulse-card-xl,
body.page--pro.pro-dashboard .pulse-card-xl * {
  color: #0b0f19 !important;
}
