:root {
  --ink: #0f172a;
  --muted: #607086;
  --line: #dce4ec;
  --soft: #f3f6f8;
  --paper: #ffffff;
  --night: #0c1526;
  --night-2: #14233a;
  --teal: #0f8d85;
  --teal-dark: #076a68;
  --mint: #8ff3e7;
  --amber: #f3c46b;
  --shadow: 0 24px 70px rgba(17, 31, 51, .10);
  --shadow-sm: 0 12px 35px rgba(17, 31, 51, .08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f8fafb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang HK", "Noto Sans TC", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 82px;
  border-bottom: 1px solid rgba(220, 228, 236, .86);
  background: rgba(248, 250, 251, .88);
  backdrop-filter: blur(18px);
}
.nav-shell {
  width: var(--shell);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-symbol {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #10203a, #0e817a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 20px rgba(15, 141, 133, .18);
}
.brand-symbol i { position: absolute; border: 1.5px solid rgba(255,255,255,.88); border-radius: 50%; }
.brand-symbol i:nth-child(1) { width: 24px; height: 24px; }
.brand-symbol i:nth-child(2) { width: 14px; height: 14px; transform: translate(8px,-5px); }
.brand-symbol i:nth-child(3) { width: 7px; height: 7px; background: var(--mint); border: 0; transform: translate(-7px,7px); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 18px; letter-spacing: -.03em; }
.brand-copy small { color: var(--muted); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; margin-top: 4px; }
.desktop-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.desktop-nav a { padding: 10px 14px; border-radius: 12px; color: #506076; font-size: 14px; font-weight: 700; transition: .2s ease; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--ink); background: #fff; box-shadow: 0 6px 20px rgba(15,23,42,.06); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle { border: 0; background: transparent; display: flex; align-items: center; gap: 7px; padding: 8px; cursor: pointer; color: #8390a0; font-size: 12px; font-weight: 800; }
.lang-toggle span.active { color: var(--ink); }
.lang-toggle b { width: 24px; height: 12px; border-radius: 12px; background: #dfe8eb; position: relative; }
.lang-toggle b::after { content:""; position:absolute; width:8px; height:8px; border-radius:50%; background:var(--teal); top:2px; left:2px; }
.profile-chip { max-width: 190px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); padding: 5px 12px 5px 5px; border-radius: 999px; background: #fff; box-shadow: 0 6px 20px rgba(15,23,42,.05); }
.profile-avatar { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 900; background: linear-gradient(135deg, var(--teal), #193c61); }
.profile-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; font-weight: 800; }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 13px; background: #fff; cursor: pointer; }
.menu-button span { display:block; width:18px; height:2px; background:var(--ink); margin:5px auto; }

.mobile-menu { position: fixed; inset: 0; z-index: 100; background: rgba(9,16,29,.94); color:#fff; padding: 28px; opacity:0; transition:.22s ease; }
.mobile-menu.is-open { opacity:1; }
.mobile-menu-head { display:flex; justify-content:space-between; align-items:center; font-size:20px; }
.mobile-menu-head button { border:0; background:rgba(255,255,255,.1); color:#fff; width:44px; height:44px; border-radius:50%; font-size:26px; }
.mobile-menu nav { display:grid; gap:4px; margin-top:55px; }
.mobile-menu nav a { padding:14px 0; font-size:28px; font-weight:750; border-bottom:1px solid rgba(255,255,255,.1); }
.mobile-lang { color:#93a4b9; padding: 24px 0; margin-top:30px; }
.mobile-lang span.active { color:#fff; }

main { min-height: 62vh; }
.page-shell { width: var(--shell); margin: 0 auto; }
.eyebrow { display:inline-flex; align-items:center; gap:8px; color:var(--teal-dark); font-size:11px; font-weight:900; letter-spacing:.16em; text-transform:uppercase; }
.eyebrow::before { content:""; width:18px; height:1px; background:currentColor; }
.button {
  appearance:none;
  border:0;
  border-radius: 14px;
  padding: 13px 20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background: var(--ink);
  color:#fff;
  font-weight:850;
  font-size:14px;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 10px 25px rgba(15,23,42,.14);
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(15,23,42,.20); }
.button:disabled { opacity:.42; cursor:not-allowed; transform:none; box-shadow:none; }
.button--large { padding: 16px 25px; border-radius: 16px; font-size: 15px; }
.button--small { padding: 10px 15px; border-radius: 11px; font-size: 12px; }
.button--wide { width:100%; }
.button--secondary { background:#fff; color:var(--ink); border:1px solid var(--line); box-shadow:none; }
.button--ghost { background:transparent; color:var(--ink); border:1px solid var(--line); box-shadow:none; }
.text-button, .text-link { border:0; background:transparent; padding:0; color:var(--teal-dark); font-weight:850; cursor:pointer; }
.text-link:hover, .text-button:hover { text-decoration:underline; }
.text-button.danger { color:#b33a4b; }
.back-link { color:var(--muted); font-size:13px; font-weight:750; }
.category-pill { display:inline-flex; align-items:center; border:1px solid #cfe0df; background:#effaf8; color:#0d716c; border-radius:999px; padding:6px 10px; font-size:10px; font-weight:900; letter-spacing:.04em; text-transform:uppercase; }

.hero {
  width: var(--shell);
  margin: 34px auto 0;
  min-height: 610px;
  border-radius: 40px;
  background: linear-gradient(135deg, var(--night) 0%, #13233b 55%, #0a6768 130%);
  color: #fff;
  overflow: hidden;
  position:relative;
  display:grid;
  grid-template-columns: 1.08fr .92fr;
  box-shadow: 0 32px 90px rgba(9,23,42,.18);
}
.hero::before { content:""; position:absolute; width:520px; height:520px; border-radius:50%; background:radial-gradient(circle, rgba(93,233,218,.22), transparent 65%); right:-120px; top:-150px; }
.hero::after { content:""; position:absolute; inset:0; opacity:.11; background-image:linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px); background-size:60px 60px; mask-image:linear-gradient(90deg,transparent 0%,#000 55%); }
.hero-copy { padding: 78px 0 72px 74px; position:relative; z-index:2; display:flex; flex-direction:column; justify-content:center; }
.hero .eyebrow { color:var(--mint); }
.hero h1 { font-size: clamp(46px, 5.6vw, 76px); line-height:1.02; letter-spacing:-.055em; margin:22px 0 24px; max-width:780px; }
.hero h1 span { color:var(--mint); }
.hero-copy > p { color:#c8d5e4; max-width:660px; font-size:17px; margin:0 0 32px; }
.hero-actions { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.hero .button { background:var(--mint); color:#0b2430; }
.hero-note { color:#9eb0c3; font-size:12px; display:flex; align-items:center; gap:8px; }
.hero-note::before { content:"✓"; width:20px; height:20px; display:grid; place-items:center; border:1px solid rgba(143,243,231,.4); color:var(--mint); border-radius:50%; }
.hero-metrics { display:flex; gap:38px; margin-top:54px; }
.hero-metrics div { display:grid; }
.hero-metrics strong { font-size:26px; letter-spacing:-.04em; }
.hero-metrics span { color:#91a5bc; font-size:11px; text-transform:uppercase; letter-spacing:.12em; }
.hero-visual { position:relative; z-index:2; display:grid; place-items:center; padding:60px 55px 60px 20px; }
.visual-stack { width:100%; max-width:430px; aspect-ratio: .82; position:relative; }
.visual-card { position:absolute; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.08); backdrop-filter:blur(16px); border-radius:28px; box-shadow:0 30px 70px rgba(0,0,0,.20); }
.visual-card--back { inset:35px 0 0 55px; transform:rotate(7deg); opacity:.45; }
.visual-card--mid { inset:18px 28px 20px 25px; transform:rotate(-5deg); opacity:.7; }
.visual-card--front { inset:0 45px 42px 0; padding:28px; display:flex; flex-direction:column; }
.visual-card-top { display:flex; justify-content:space-between; align-items:center; color:#a8bbcf; font-size:11px; letter-spacing:.12em; }
.visual-card-top i { width:8px; height:8px; border-radius:50%; background:var(--mint); box-shadow:0 0 18px var(--mint); }
.visual-mark { width:150px; height:150px; margin:auto; border:1px solid rgba(143,243,231,.28); border-radius:50%; display:grid; place-items:center; position:relative; font-size:54px; color:var(--mint); }
.visual-mark::before, .visual-mark::after { content:""; position:absolute; border:1px solid rgba(143,243,231,.2); border-radius:50%; }
.visual-mark::before { inset:-24px; }
.visual-mark::after { inset:-52px; border-style:dashed; }
.visual-card h3 { font-size:24px; margin:0 0 8px; }
.visual-card p { color:#9db1c6; font-size:13px; margin:0; }
.floating-chip { position:absolute; z-index:3; display:flex; align-items:center; gap:10px; background:#fff; color:var(--ink); border-radius:16px; padding:12px 15px; box-shadow:0 18px 40px rgba(0,0,0,.18); font-size:12px; font-weight:850; }
.floating-chip i { width:24px; height:24px; border-radius:8px; display:grid; place-items:center; background:#eaf9f7; color:var(--teal); font-style:normal; }
.floating-chip--one { left:-35px; top:80px; }
.floating-chip--two { right:0; bottom:78px; }

.home-section { width:var(--shell); margin:96px auto; }
.section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:30px; }
.section-heading h2 { margin:8px 0 0; font-size:clamp(30px,4vw,48px); line-height:1.1; letter-spacing:-.045em; }
.section-heading p { max-width:560px; color:var(--muted); margin:10px 0 0; }
.section-heading--small h2 { font-size:28px; }
.quiz-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; }
.quiz-card { min-height:330px; border:1px solid var(--line); background:#fff; border-radius:var(--radius-lg); padding:24px; display:flex; flex-direction:column; position:relative; overflow:hidden; transition:.22s ease; box-shadow:0 8px 30px rgba(15,23,42,.03); }
.quiz-card::after { content:""; position:absolute; width:170px; height:170px; right:-90px; top:-100px; border-radius:50%; background:radial-gradient(circle, rgba(15,141,133,.14), transparent 68%); }
.quiz-card:hover { transform:translateY(-6px); border-color:#bfcfd5; box-shadow:var(--shadow-sm); }
.quiz-card-link { position:absolute; inset:0; z-index:4; }
.quiz-card-top { display:flex; align-items:center; justify-content:space-between; position:relative; z-index:2; }
.quiz-icon { width:48px; height:48px; border-radius:15px; background:#0f1d32; color:var(--mint); display:grid; place-items:center; font-size:22px; box-shadow:inset 0 1px 0 rgba(255,255,255,.14); }
.quiz-card-body { margin:auto 0; padding:30px 0 24px; position:relative; z-index:2; }
.quiz-card-body h3 { margin:0 0 12px; font-size:23px; line-height:1.24; letter-spacing:-.035em; }
.quiz-card-body p { color:var(--muted); font-size:14px; margin:0; }
.quiz-card-meta { display:flex; gap:8px; align-items:center; color:#7a8998; font-size:11px; font-weight:750; border-top:1px solid #edf1f4; padding-top:17px; }
.card-arrow { margin-left:auto; width:30px; height:30px; border-radius:50%; background:#eef8f7; color:var(--teal); display:grid; place-items:center; font-size:15px; }
.quiz-card--compact { min-height:290px; }

.trust-strip { width:var(--shell); margin:0 auto 90px; display:grid; grid-template-columns:1.1fr repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.trust-strip > div { background:#fff; padding:28px; }
.trust-strip .trust-intro { background:#f0f8f7; }
.trust-strip strong { display:block; font-size:18px; margin-bottom:6px; }
.trust-strip p { color:var(--muted); margin:0; font-size:13px; }
.trust-strip span { display:inline-grid; place-items:center; width:34px; height:34px; border-radius:11px; background:#edf7f6; color:var(--teal); font-weight:900; margin-bottom:20px; }

.how-section { background:#0d1728; color:#fff; padding:100px 0; margin-top:100px; }
.how-inner { width:var(--shell); margin:auto; display:grid; grid-template-columns:.8fr 1.2fr; gap:80px; }
.how-copy { position:sticky; top:120px; align-self:start; }
.how-copy .eyebrow { color:var(--mint); }
.how-copy h2 { font-size:48px; line-height:1.08; letter-spacing:-.05em; margin:20px 0; }
.how-copy p { color:#9eb0c4; }
.how-steps { display:grid; gap:16px; }
.how-step { display:grid; grid-template-columns:70px 1fr; gap:20px; padding:30px; border-radius:22px; border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.035); }
.how-step > span { width:54px; height:54px; border-radius:17px; display:grid; place-items:center; color:var(--mint); background:rgba(143,243,231,.08); font-weight:900; }
.how-step h3 { margin:2px 0 8px; font-size:21px; }
.how-step p { margin:0; color:#9cafc4; font-size:14px; }

.cta-panel { width:var(--shell); margin:90px auto; background:linear-gradient(135deg,#e8f8f5,#eef2f8); border:1px solid #d5e5e4; border-radius:32px; padding:50px; display:flex; align-items:center; justify-content:space-between; gap:30px; overflow:hidden; position:relative; }
.cta-panel::after { content:""; position:absolute; width:260px; height:260px; border-radius:50%; border:45px solid rgba(15,141,133,.08); right:-80px; top:-100px; }
.cta-panel h2 { margin:8px 0 10px; font-size:38px; letter-spacing:-.045em; }
.cta-panel p { margin:0; color:var(--muted); max-width:700px; }
.cta-panel .button { position:relative; z-index:2; flex:0 0 auto; }

.catalog-hero { width:var(--shell); margin:70px auto 40px; display:grid; grid-template-columns:1fr auto; gap:30px; align-items:end; }
.catalog-hero h1, .content-hero h1 { font-size:clamp(42px,6vw,70px); line-height:1.02; letter-spacing:-.055em; margin:16px 0 18px; }
.catalog-hero p, .content-hero p { color:var(--muted); max-width:700px; font-size:16px; }
.catalog-count { width:130px; height:130px; border-radius:50%; background:#0f1d32; color:#fff; display:grid; place-items:center; text-align:center; }
.catalog-count strong { display:block; font-size:38px; line-height:1; }
.catalog-count span { display:block; font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:#9fb2c7; margin-top:8px; }
.catalog-tools { width:var(--shell); margin:0 auto 30px; display:flex; justify-content:space-between; gap:22px; align-items:center; }
.search-box { min-width:300px; max-width:420px; flex:1; position:relative; }
.search-box::before { content:"⌕"; position:absolute; left:16px; top:50%; transform:translateY(-50%); color:#7f8d9d; }
.search-box input { width:100%; border:1px solid var(--line); border-radius:14px; padding:13px 16px 13px 42px; outline:0; background:#fff; }
.search-box input:focus { border-color:#7fbcb7; box-shadow:0 0 0 4px rgba(15,141,133,.08); }
.filter-row { display:flex; flex-wrap:wrap; gap:8px; }
.filter-chip { border:1px solid var(--line); background:#fff; color:#607086; border-radius:999px; padding:9px 13px; cursor:pointer; font-size:12px; font-weight:800; }
.filter-chip.active, .filter-chip:hover { background:#0f1d32; color:#fff; border-color:#0f1d32; }
.catalog-grid { width:var(--shell); margin:0 auto 100px; }
.empty-state { grid-column:1/-1; min-height:300px; border:1px dashed #cbd6df; border-radius:24px; display:grid; place-items:center; align-content:center; gap:12px; text-align:center; background:#fff; padding:35px; }
.empty-state > span { width:56px; height:56px; border-radius:18px; display:grid; place-items:center; background:#eef7f6; color:var(--teal); font-size:28px; }
.empty-state h3 { margin:0; font-size:19px; }

.quiz-intro { width:var(--shell); margin:40px auto 28px; min-height:550px; display:grid; grid-template-columns:1.05fr .95fr; border-radius:36px; overflow:hidden; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow); }
.quiz-intro-copy { padding:62px; display:flex; flex-direction:column; justify-content:center; }
.quiz-intro-meta { display:flex; align-items:center; flex-wrap:wrap; gap:10px; color:var(--muted); font-size:12px; margin:34px 0 20px; }
.quiz-intro h1 { font-size:clamp(42px,5vw,64px); line-height:1.05; letter-spacing:-.055em; margin:0 0 22px; }
.quiz-intro-copy > p { color:var(--muted); font-size:16px; max-width:680px; }
.quiz-intro-actions { display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-top:28px; }
.quiz-intro-actions > span { color:#7b8998; font-size:12px; }
.quiz-intro-art { background:linear-gradient(135deg,#101c31,#0d6769); position:relative; display:grid; place-items:center; overflow:hidden; }
.art-grid { position:absolute; inset:0; opacity:.12; background-image:linear-gradient(rgba(255,255,255,.55) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.55) 1px,transparent 1px); background-size:54px 54px; }
.art-orbit { width:190px; height:190px; border-radius:50%; border:1px solid rgba(143,243,231,.35); display:grid; place-items:center; position:relative; z-index:2; color:var(--mint); font-size:66px; box-shadow:0 0 80px rgba(143,243,231,.12); }
.art-orbit i { position:absolute; border:1px solid rgba(143,243,231,.24); border-radius:50%; }
.art-orbit i:nth-child(2){inset:-45px}.art-orbit i:nth-child(3){inset:-95px;border-style:dashed}.art-orbit i:nth-child(4){inset:-150px;opacity:.5}
.quiz-preview-grid { width:var(--shell); margin:0 auto 90px; display:grid; grid-template-columns:repeat(3,1fr); border:1px solid var(--line); border-radius:24px; overflow:hidden; background:#fff; }
.quiz-preview-grid > div { padding:26px; border-right:1px solid var(--line); }
.quiz-preview-grid > div:last-child { border-right:0; }
.quiz-preview-grid span { color:var(--teal); font-weight:900; font-size:12px; }
.quiz-preview-grid h3 { margin:10px 0 7px; font-size:18px; }
.quiz-preview-grid p { margin:0; color:var(--muted); font-size:13px; }

.quiz-run-shell { width:min(900px,calc(100% - 40px)); margin:55px auto 100px; }
.quiz-run-top { display:flex; justify-content:space-between; gap:20px; align-items:center; color:var(--muted); font-size:12px; font-weight:800; }
.brand-mini { color:var(--ink); }
.quiz-progress { height:6px; background:#e6edf1; border-radius:20px; overflow:hidden; margin:16px 0 28px; }
.quiz-progress i { display:block; height:100%; background:linear-gradient(90deg,var(--teal),#52cbbd); border-radius:20px; transition:width .3s ease; }
.question-panel { min-height:510px; background:#fff; border:1px solid var(--line); border-radius:30px; padding:52px; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; justify-content:center; }
.question-panel h2 { font-size:clamp(30px,4vw,45px); line-height:1.16; letter-spacing:-.045em; margin:14px 0 34px; }
.answer-list { display:grid; gap:12px; }
.answer-button { width:100%; border:1px solid var(--line); background:#fff; border-radius:16px; padding:15px 18px; text-align:left; display:grid; grid-template-columns:38px 1fr 24px; align-items:center; gap:13px; cursor:pointer; transition:.17s ease; }
.answer-button > span { width:34px; height:34px; border-radius:10px; display:grid; place-items:center; background:#f1f5f7; color:#708091; font-size:12px; font-weight:900; }
.answer-button b { font-size:14px; font-weight:750; }
.answer-button i { font-style:normal; opacity:0; color:var(--teal); font-weight:900; }
.answer-button:hover { border-color:#8bbeb9; transform:translateX(3px); }
.answer-button.selected { border-color:var(--teal); background:#f1fbfa; box-shadow:0 0 0 3px rgba(15,141,133,.08); }
.answer-button.selected > span { background:var(--teal); color:#fff; }
.answer-button.selected i { opacity:1; }
.quiz-run-actions { display:flex; justify-content:space-between; margin-top:20px; }

.result-shell { width:var(--shell); margin:55px auto 100px; }
.result-kicker { display:flex; justify-content:space-between; align-items:center; color:#778697; font-size:11px; letter-spacing:.13em; font-weight:850; margin-bottom:15px; }
.result-main-card { background:linear-gradient(135deg,#0e192b,#182941 64%,#0a6767 150%); color:#fff; border-radius:36px; padding:54px; box-shadow:0 28px 80px rgba(10,25,46,.2); position:relative; overflow:hidden; }
.result-main-card::after { content:""; position:absolute; width:420px; height:420px; border-radius:50%; border:70px solid rgba(143,243,231,.05); right:-150px; top:-200px; }
.result-title-row { display:grid; grid-template-columns:1fr auto; gap:30px; align-items:start; position:relative; z-index:2; }
.quiz-result-icon { width:54px; height:54px; border-radius:17px; display:grid; place-items:center; background:rgba(143,243,231,.1); color:var(--mint); font-size:25px; margin-bottom:22px; }
.result-title-row p { color:#8fa5bb; margin:0 0 9px; font-size:13px; }
.result-title-row h1 { font-size:clamp(44px,6vw,72px); line-height:1.02; letter-spacing:-.055em; margin:0; max-width:850px; }
.pattern-score { width:145px; height:145px; border-radius:50%; border:1px solid rgba(143,243,231,.28); display:grid; place-items:center; align-content:center; text-align:center; background:rgba(143,243,231,.055); }
.pattern-score strong { color:var(--mint); font-size:38px; line-height:1; }
.pattern-score span { color:#96aabe; font-size:9px; text-transform:uppercase; letter-spacing:.12em; max-width:80px; margin-top:8px; }
.personalised-line { color:#98abc0; font-size:13px; margin:22px 0 0; }
.personalised-line strong { color:#fff; }
.result-summary { font-size:19px; line-height:1.7; max-width:900px; color:#d4deea; margin:38px 0; position:relative; z-index:2; }
.result-columns { display:grid; grid-template-columns:1fr 1fr; gap:18px; position:relative; z-index:2; }
.result-columns > div { border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.045); border-radius:22px; padding:26px; }
.result-columns .eyebrow, .result-main-card .eyebrow { color:var(--mint); }
.strength-list { list-style:none; padding:0; margin:20px 0 0; display:grid; gap:12px; }
.strength-list li { color:#e3ebf4; display:flex; align-items:center; gap:10px; }
.strength-list span { width:24px; height:24px; border-radius:8px; background:rgba(143,243,231,.1); color:var(--mint); display:grid; place-items:center; font-size:11px; }
.result-tip p { font-size:18px; margin:20px 0 0; color:#e0e9f2; }
.pattern-bars { margin-top:34px; padding-top:34px; border-top:1px solid rgba(255,255,255,.1); position:relative; z-index:2; }
.pattern-bars h2 { color:#fff; }
.pattern-row { margin-top:17px; }
.pattern-row > div { display:flex; justify-content:space-between; color:#cdd8e4; font-size:12px; margin-bottom:7px; }
.pattern-row > i { display:block; height:7px; background:rgba(255,255,255,.09); border-radius:20px; overflow:hidden; }
.pattern-row em { display:block; height:100%; background:linear-gradient(90deg,var(--mint),#48bbae); border-radius:20px; }
.result-disclaimer { color:#879bb0; font-size:11px; margin:30px 0 0; max-width:900px; }
.result-action-bar { display:flex; flex-wrap:wrap; gap:12px; margin:20px 0 40px; }
.profile-invite { border:1px solid #cfe3df; background:#eef9f7; border-radius:22px; padding:24px 26px; display:flex; justify-content:space-between; gap:25px; align-items:center; margin-bottom:70px; }
.profile-invite strong { font-size:18px; }
.profile-invite p { color:var(--muted); margin:4px 0 0; font-size:13px; }
.related-section { margin-top:85px; }

.content-hero { width:var(--shell); margin:75px auto 55px; }
.content-hero--split { display:grid; grid-template-columns:1fr .75fr; gap:65px; align-items:center; }
.abstract-panel { min-height:390px; border-radius:32px; background:linear-gradient(135deg,#0e192b,#0d6c6b); position:relative; overflow:hidden; display:grid; place-items:center; }
.abstract-panel::before { content:""; width:180px; height:180px; border-radius:50%; border:1px solid rgba(143,243,231,.4); box-shadow:0 0 0 50px rgba(143,243,231,.06),0 0 0 105px rgba(143,243,231,.04); }
.abstract-panel::after { content:"INSIGHT / CURIOSITY / CLARITY"; position:absolute; color:rgba(255,255,255,.35); font-size:10px; letter-spacing:.25em; transform:rotate(-90deg); right:20px; }
.content-grid { width:var(--shell); margin:0 auto 95px; display:grid; grid-template-columns:280px 1fr; gap:50px; }
.content-nav { position:sticky; top:110px; align-self:start; display:grid; gap:6px; }
.content-nav a { padding:10px 13px; border-radius:10px; color:var(--muted); font-size:13px; font-weight:750; }
.content-nav a:hover { background:#fff; color:var(--ink); }
.prose { background:#fff; border:1px solid var(--line); border-radius:28px; padding:48px; box-shadow:0 10px 35px rgba(15,23,42,.04); }
.prose section + section { border-top:1px solid var(--line); padding-top:36px; margin-top:36px; }
.prose h2 { font-size:28px; letter-spacing:-.035em; margin:0 0 15px; }
.prose h3 { font-size:19px; margin:25px 0 10px; }
.prose p, .prose li { color:#536478; }
.prose ul { padding-left:20px; }
.prose .notice { border-left:3px solid var(--teal); background:#edf8f6; padding:18px 20px; border-radius:0 14px 14px 0; }
.prose a { color:var(--teal-dark); text-decoration:underline; }
.last-updated { color:#7d8c9b; font-size:12px; margin-top:16px; }

.about-values { width:var(--shell); margin:0 auto 90px; display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.value-card { background:#fff; border:1px solid var(--line); border-radius:22px; padding:30px; }
.value-card span { width:44px; height:44px; border-radius:14px; display:grid; place-items:center; background:#edf8f6; color:var(--teal); font-weight:900; }
.value-card h3 { margin:22px 0 10px; font-size:21px; }
.value-card p { color:var(--muted); margin:0; font-size:14px; }
.story-panel { width:var(--shell); margin:0 auto 100px; display:grid; grid-template-columns:.9fr 1.1fr; gap:1px; background:var(--line); border:1px solid var(--line); border-radius:30px; overflow:hidden; }
.story-panel > div { padding:50px; background:#fff; }
.story-panel > div:first-child { background:#0e192b; color:#fff; }
.story-panel h2 { font-size:36px; letter-spacing:-.045em; margin:15px 0; }
.story-panel p { color:var(--muted); }
.story-panel > div:first-child p { color:#9fb2c5; }

.contact-layout { width:var(--shell); margin:70px auto 100px; display:grid; grid-template-columns:.8fr 1.2fr; gap:30px; }
.contact-info { border-radius:30px; padding:44px; background:linear-gradient(135deg,#0e192b,#0d6769); color:#fff; }
.contact-info .eyebrow { color:var(--mint); }
.contact-info h1 { font-size:48px; line-height:1.05; letter-spacing:-.05em; margin:18px 0; }
.contact-info > p { color:#aebed0; }
.contact-methods { display:grid; gap:14px; margin-top:40px; }
.contact-method { border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.05); padding:18px; border-radius:16px; }
.contact-method span { display:block; color:#91a8be; font-size:10px; letter-spacing:.12em; text-transform:uppercase; }
.contact-method strong, .contact-method a { display:block; margin-top:5px; }
.contact-form-card { background:#fff; border:1px solid var(--line); border-radius:30px; padding:44px; box-shadow:var(--shadow-sm); }
.contact-form-card h2 { margin:0 0 8px; font-size:31px; letter-spacing:-.04em; }
.contact-form-card > p { color:var(--muted); margin:0 0 30px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-field { display:grid; gap:7px; }
.form-field--full { grid-column:1/-1; }
.form-field span { font-size:12px; font-weight:850; }
.form-field input, .form-field textarea, .form-field select { width:100%; border:1px solid var(--line); border-radius:13px; padding:13px 14px; outline:0; background:#fbfcfd; }
.form-field textarea { resize:vertical; min-height:150px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color:#77b8b2; box-shadow:0 0 0 4px rgba(15,141,133,.08); background:#fff; }
.form-note { color:#778697; font-size:11px; margin:15px 0; }
.form-status { display:none; color:#08766f; background:#ecf9f6; border:1px solid #c8e7e1; padding:12px 14px; border-radius:12px; margin-top:14px; font-size:13px; }
.form-status.visible { display:block; }

.card-panel { background:#fff; border:1px solid var(--line); border-radius:28px; padding:38px; box-shadow:0 10px 35px rgba(15,23,42,.04); }
.profile-page { width:var(--shell); margin:55px auto 100px; display:grid; gap:24px; }
.profile-onboard { max-width:700px; margin:0 auto; text-align:center; padding:60px; }
.large-avatar { width:90px; height:90px; margin:0 auto 22px; border-radius:28px; display:grid; place-items:center; background:linear-gradient(135deg,#0e192b,#0d7772); color:var(--mint); font-size:29px; font-weight:900; }
.profile-onboard h1 { font-size:42px; letter-spacing:-.05em; margin:15px 0; }
.profile-onboard > p { color:var(--muted); }
.profile-form { display:grid; gap:16px; max-width:520px; margin:30px auto 0; text-align:left; }
.profile-form label { display:grid; gap:7px; }
.profile-form label span { font-size:12px; font-weight:850; }
.profile-form input { border:1px solid var(--line); border-radius:13px; padding:13px 14px; outline:0; }
.profile-form input:focus { border-color:#77b8b2; box-shadow:0 0 0 4px rgba(15,141,133,.08); }
.profile-form small { color:#718092; }
.form-actions { display:flex; flex-wrap:wrap; gap:10px; }
.profile-hero { display:flex; align-items:center; justify-content:space-between; gap:30px; }
.profile-main { display:flex; align-items:center; gap:24px; }
.profile-main .large-avatar { margin:0; flex:0 0 auto; }
.profile-main h1 { font-size:38px; margin:6px 0; letter-spacing:-.045em; }
.profile-main p { color:var(--muted); margin:0; }
.profile-edit h2 { margin-top:0; }
.history-section { margin-top:26px; }
.history-list { display:grid; gap:12px; }
.history-card { background:#fff; border:1px solid var(--line); border-radius:19px; padding:19px; display:grid; grid-template-columns:52px 1fr auto; gap:18px; align-items:center; }
.history-icon { width:52px; height:52px; border-radius:16px; display:grid; place-items:center; background:#0f1d32; color:var(--mint); font-size:20px; }
.history-card span { color:var(--muted); font-size:11px; }
.history-card h3 { margin:3px 0; font-size:18px; }
.history-card p { margin:0; color:#8794a3; font-size:11px; }
.history-actions { display:flex; gap:14px; }
.data-controls { display:flex; justify-content:space-between; align-items:center; gap:30px; }
.data-controls h3 { margin:0 0 6px; }
.data-controls p { margin:0; color:var(--muted); font-size:13px; }

.site-footer { border-top:1px solid var(--line); background:#fff; padding:70px 0 28px; }
.footer-grid { width:var(--shell); margin:auto; display:grid; grid-template-columns:1.5fr .75fr .75fr 1.15fr; gap:50px; }
.brand--footer { margin-bottom:20px; }
.footer-brand p { color:var(--muted); max-width:300px; font-size:13px; }
.footer-badge { display:inline-flex; border:1px solid var(--line); border-radius:999px; padding:7px 11px; color:#67778a; font-size:10px; font-weight:800; }
.footer-grid h3 { margin:0 0 18px; font-size:12px; letter-spacing:.08em; text-transform:uppercase; }
.footer-grid > div:not(:first-child) { display:flex; flex-direction:column; align-items:flex-start; }
.footer-grid a { color:#5d6e80; font-size:13px; margin-bottom:10px; }
.footer-grid a:hover { color:var(--teal-dark); }
.footer-company p { color:#657588; font-size:12px; margin:0 0 13px; }
.footer-bottom { width:var(--shell); margin:55px auto 0; padding-top:22px; border-top:1px solid var(--line); display:flex; justify-content:space-between; gap:30px; color:#8390a0; font-size:10px; }
.footer-bottom p:last-child { max-width:600px; text-align:right; }

.cookie-banner { position:fixed; z-index:90; left:24px; right:24px; bottom:20px; max-width:1120px; margin:auto; border:1px solid rgba(255,255,255,.13); background:rgba(11,22,38,.96); color:#fff; border-radius:20px; padding:18px 20px; display:flex; justify-content:space-between; align-items:center; gap:25px; box-shadow:0 22px 70px rgba(0,0,0,.28); backdrop-filter:blur(16px); transition:.22s ease; }
.cookie-banner.is-hiding { transform:translateY(30px); opacity:0; }
.cookie-banner > div:first-child { display:flex; gap:14px; align-items:flex-start; }
.cookie-icon { width:38px; height:38px; flex:0 0 auto; display:grid; place-items:center; border-radius:12px; background:rgba(143,243,231,.1); color:var(--mint); }
.cookie-banner strong { display:block; font-size:14px; }
.cookie-banner p { color:#9fb0c2; margin:4px 0 0; font-size:11px; max-width:720px; }
.cookie-actions { display:flex; align-items:center; gap:15px; flex:0 0 auto; }
.cookie-actions .text-button { color:#dce6f0; font-size:11px; }
.cookie-actions .button { background:var(--mint); color:#0d2430; }
.dialog-backdrop { position:fixed; inset:0; z-index:110; background:rgba(8,15,28,.72); display:grid; place-items:center; padding:22px; }
.dialog-card { width:min(540px,100%); background:#fff; border-radius:26px; padding:34px; position:relative; box-shadow:0 30px 90px rgba(0,0,0,.25); }
.dialog-close { position:absolute; right:18px; top:18px; width:36px; height:36px; border:0; border-radius:50%; background:#edf2f4; cursor:pointer; font-size:21px; }
.dialog-card h2 { font-size:31px; letter-spacing:-.04em; margin:10px 0 24px; }
.settings-row { display:flex; justify-content:space-between; gap:20px; padding:18px 0; border-top:1px solid var(--line); }
.settings-row strong { font-size:14px; }
.settings-row p { color:var(--muted); font-size:12px; margin:5px 0 0; }
.status-pill { align-self:start; border-radius:999px; padding:5px 8px; background:#e5f8f4; color:#08756f; font-size:9px; font-weight:900; }
.status-pill--off { background:#eef1f4; color:#8491a0; }

@media (max-width: 980px) {
  :root { --shell:min(calc(100% - 30px), 760px); }
  .desktop-nav, .profile-chip, .nav-actions > .lang-toggle { display:none; }
  .menu-button { display:block; }
  .hero { grid-template-columns:1fr; min-height:auto; }
  .hero-copy { padding:62px 48px 30px; }
  .hero-visual { min-height:430px; padding:30px 55px 55px; }
  .quiz-grid { grid-template-columns:1fr 1fr; }
  .trust-strip { grid-template-columns:1fr 1fr; }
  .how-inner { grid-template-columns:1fr; gap:45px; }
  .how-copy { position:static; }
  .quiz-intro { grid-template-columns:1fr; }
  .quiz-intro-art { min-height:390px; }
  .content-hero--split, .story-panel, .contact-layout { grid-template-columns:1fr; }
  .abstract-panel { min-height:320px; }
  .content-grid { grid-template-columns:1fr; }
  .content-nav { position:static; display:flex; flex-wrap:wrap; }
  .about-values { grid-template-columns:1fr 1fr; }
  .footer-grid { grid-template-columns:1.4fr 1fr; }
}

@media (max-width: 680px) {
  :root { --shell:calc(100% - 24px); --radius-lg:20px; }
  .site-header { height:70px; }
  .brand-symbol { width:38px; height:38px; }
  .hero { margin-top:14px; border-radius:25px; }
  .hero-copy { padding:45px 25px 18px; }
  .hero h1 { font-size:43px; }
  .hero-copy > p { font-size:15px; }
  .hero-actions { align-items:flex-start; }
  .hero-metrics { gap:20px; flex-wrap:wrap; margin-top:35px; }
  .hero-visual { min-height:365px; padding:25px 28px 45px; }
  .floating-chip--one { left:-5px; }.floating-chip--two { right:-5px; }
  .home-section { margin:68px auto; }
  .section-heading { align-items:flex-start; flex-direction:column; }
  .quiz-grid { grid-template-columns:1fr; }
  .quiz-card { min-height:300px; }
  .trust-strip { grid-template-columns:1fr; }
  .how-section { padding:70px 0; }
  .how-copy h2 { font-size:38px; }
  .how-step { grid-template-columns:48px 1fr; padding:22px; }
  .how-step > span { width:44px; height:44px; }
  .cta-panel { padding:32px 25px; flex-direction:column; align-items:flex-start; }
  .cta-panel h2 { font-size:31px; }
  .catalog-hero { margin-top:48px; grid-template-columns:1fr; }
  .catalog-count { width:96px; height:96px; }
  .catalog-tools { align-items:stretch; flex-direction:column; }
  .search-box { min-width:0; max-width:none; }
  .quiz-intro { margin-top:14px; border-radius:25px; }
  .quiz-intro-copy { padding:35px 24px 40px; }
  .quiz-intro h1 { font-size:39px; }
  .quiz-intro-art { min-height:330px; }
  .art-orbit { width:140px; height:140px; }
  .quiz-preview-grid { grid-template-columns:1fr; }
  .quiz-preview-grid > div { border-right:0; border-bottom:1px solid var(--line); }
  .quiz-preview-grid > div:last-child { border-bottom:0; }
  .quiz-run-shell { width:calc(100% - 24px); margin-top:25px; }
  .question-panel { min-height:520px; padding:30px 22px; border-radius:23px; }
  .question-panel h2 { font-size:30px; }
  .quiz-run-actions { gap:10px; }
  .quiz-run-actions .button { flex:1; }
  .result-shell { width:calc(100% - 24px); margin-top:25px; }
  .result-main-card { padding:30px 22px; border-radius:25px; }
  .result-title-row { grid-template-columns:1fr; }
  .pattern-score { width:112px; height:112px; }
  .result-title-row h1 { font-size:45px; }
  .result-columns { grid-template-columns:1fr; }
  .result-summary { font-size:16px; }
  .result-action-bar .button { width:100%; }
  .profile-invite { flex-direction:column; align-items:flex-start; }
  .content-hero { margin-top:48px; }
  .content-hero h1 { font-size:44px; }
  .prose { padding:28px 22px; border-radius:22px; }
  .about-values { grid-template-columns:1fr; }
  .story-panel > div { padding:30px 24px; }
  .contact-layout { margin-top:20px; }
  .contact-info, .contact-form-card { padding:30px 23px; border-radius:24px; }
  .contact-info h1 { font-size:40px; }
  .form-grid { grid-template-columns:1fr; }
  .form-field--full { grid-column:auto; }
  .profile-onboard { padding:40px 22px; }
  .profile-hero, .profile-main, .data-controls { align-items:flex-start; flex-direction:column; }
  .profile-main h1 { font-size:32px; }
  .history-card { grid-template-columns:48px 1fr; }
  .history-actions { grid-column:1/-1; justify-content:flex-end; border-top:1px solid var(--line); padding-top:12px; }
  .footer-grid { grid-template-columns:1fr; gap:34px; }
  .footer-bottom { flex-direction:column; }
  .footer-bottom p:last-child { text-align:left; }
  .cookie-banner { left:10px; right:10px; bottom:10px; flex-direction:column; align-items:stretch; padding:16px; }
  .cookie-actions { justify-content:space-between; }
}

@media print {
  .site-header, .site-footer, .result-action-bar, .profile-invite, .related-section, .cookie-banner { display:none !important; }
  body { background:#fff; }
  .result-shell { width:100%; margin:0; }
  .result-kicker { color:#333; }
  .result-main-card { border-radius:0; box-shadow:none; min-height:100vh; -webkit-print-color-adjust:exact; print-color-adjust:exact; }
}

/* Automatic quiz progression */
.quiz-run-actions--auto{justify-content:space-between;align-items:center}.auto-advance-note{font-size:.88rem;color:var(--muted);text-align:right}.answer-button:disabled{cursor:default;opacity:.62}.answer-button.selected:disabled{opacity:1;transform:translateY(-2px)}@media(max-width:640px){.quiz-run-actions--auto{gap:16px}.auto-advance-note{max-width:180px;font-size:.78rem}}
