:root{
  --bg:#faf9f7;
  --bg-2:#f3f1ed;
  --card:#ffffff;
  --ink:#1a1a1a;
  --muted:#5a615e;
  --muted-2:#8a8f8c;
  --line:#e8e5e0;
  --accent:#0d6f6b;
  --accent-ink:#ffffff;
  --accent-soft:rgba(13,111,107,.08);
  --secure:#2a9d5c;
  --anx:#d97735;
  --avoid:#2d7ac2;
  --fearful:#8b5cf6;
  --radius:18px;
  --radius-sm:12px;
  --serif:'Noto Serif SC','Fraunces',Georgia,'Times New Roman',serif;
  --sans:'Noto Sans SC','Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
}
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  font-family:var(--sans);
  color:var(--ink);
  background:var(--bg);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
.wrap{max-width:1100px;margin:0 auto;padding:0 24px;}
a{color:inherit;text-decoration:none;}

/* ---------- Header ---------- */
.site-header{
  border-bottom:1px solid var(--line);
  background:rgba(250,249,247,.92);
  backdrop-filter:saturate(140%) blur(10px);
  position:sticky;top:0;z-index:50;
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  height:68px;gap:24px;
}
.brand{font-family:var(--serif);font-weight:600;font-size:20px;letter-spacing:.2px;white-space:nowrap;color:var(--ink);}
.brand .dot{color:var(--accent);}
.nav{
  display:flex;align-items:center;gap:32px;
  font-size:15px;font-weight:500;
}
.nav-link{
  color:var(--muted);white-space:nowrap;
  transition:color .15s ease;
}
.nav-link:hover{color:var(--ink);}
.nav-link.active{color:var(--ink);}
.header-actions{display:flex;align-items:center;gap:12px;}
.nav-cta{
  background:var(--accent);color:var(--accent-ink);
  padding:9px 18px;border-radius:999px;font-weight:600;font-size:14px;
  transition:background .15s ease;
}
.nav-cta:hover{background:#0a5c58;}
.menu-toggle{display:none;background:none;border:1px solid var(--line);border-radius:10px;color:var(--ink);padding:8px 12px;font-size:18px;cursor:pointer;}

/* mobile menu */
.mobile-menu{display:none;border-top:1px solid var(--line);background:var(--bg-2);padding:14px 24px 22px;}
.mobile-menu.open{display:block;}
.mobile-menu .m-link{display:block;padding:12px 4px;border-bottom:1px solid var(--line);color:var(--ink);font-size:16px;}
.mobile-menu .m-cta{margin-top:16px;display:block;text-align:center;background:var(--accent);color:var(--accent-ink);font-weight:600;padding:13px;border-radius:999px;font-size:16px;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;font-weight:600;font-size:15px;
  padding:13px 26px;border-radius:999px;border:1px solid transparent;cursor:pointer;
  transition:transform .08s ease, background .15s ease, border-color .15s ease;
}
.btn:active{transform:translateY(1px);}
.btn-primary{background:var(--accent);color:var(--accent-ink);}
.btn-primary:hover{background:#0a5c58;}
.btn-ghost{background:transparent;border-color:var(--line);color:var(--ink);}
.btn-ghost:hover{border-color:var(--muted);}
.btn:disabled{opacity:.45;cursor:not-allowed;}

.link-arrow{display:inline-flex;align-items:center;gap:6px;color:var(--accent);font-weight:600;font-size:15px;}
.link-arrow:hover{gap:9px;}
.link-arrow .arr{transition:gap .15s;}

/* ---------- Hero (clean split) ---------- */
.hero{padding:72px 0 64px;}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center;}
.hero-content{max-width:560px;}
.hero-tag{display:inline-flex;align-items:center;gap:8px;background:var(--accent-soft);color:var(--accent);font-size:12.5px;font-weight:600;padding:7px 13px;border-radius:999px;margin-bottom:18px;}
.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:12px;color:var(--accent);font-weight:600;margin:0 0 14px;}
.hero h1{font-family:var(--serif);font-weight:500;font-size:clamp(34px,4.6vw,52px);line-height:1.15;margin:0 0 18px;letter-spacing:-.5px;color:var(--ink);}
.hero .lead{font-size:17.5px;color:var(--muted);max-width:52ch;margin:0 0 26px;line-height:1.7;}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-bottom:22px;}
.hero-bullets{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px;}
.hero-bullets li{font-size:14px;color:var(--muted);display:flex;align-items:flex-start;gap:9px;}
.hero-bullets li::before{content:"✓";color:var(--accent);font-weight:700;}
.hero-media{text-align:center;}
.hero-media img{
  max-height:420px;max-width:100%;width:auto;height:auto;border-radius:22px;
  display:block;margin:0 auto;
}
.badges{display:flex;gap:20px;flex-wrap:wrap;margin-top:22px;}
.badge{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;}
.badge b{color:var(--ink);font-size:15px;font-family:var(--serif);font-weight:500;}

/* ---------- Sections ---------- */
.section{padding:84px 0;}
.section.alt{background:var(--bg-2);}
.section-head{text-align:center;max-width:680px;margin:0 auto 48px;}
.section-eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:12px;color:var(--accent);font-weight:600;margin:0 0 12px;}
.section-title{font-family:var(--serif);font-weight:500;font-size:clamp(28px,3.4vw,38px);margin:0 0 14px;line-height:1.18;color:var(--ink);}
.section-lead{font-size:17.5px;color:var(--muted);max-width:56ch;margin:0 auto;line-height:1.7;}
.section-text{font-size:17px;color:var(--muted);max-width:64ch;margin:0 auto 16px;line-height:1.75;}
.section-text strong{color:var(--ink);font-weight:500;}
.section-text:last-child{margin-bottom:0;}

/* ---------- Type cards (reference style: circular avatar + colored name) ---------- */
.type-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-top:8px;}
.type-card{text-align:center;}
.type-avatar{
  width:128px;height:128px;border-radius:50%;object-fit:cover;margin:0 auto 18px;
  border:4px solid var(--bg-2);box-shadow:0 6px 20px rgba(0,0,0,.06);background:var(--bg-2);display:block;
}
.type-name{font-family:var(--serif);font-weight:500;font-size:22px;margin:0 0 8px;}
.type-name.secure{color:var(--secure);}
.type-name.anxious{color:var(--anx);}
.type-name.avoidant{color:var(--avoid);}
.type-name.fearful{color:var(--fearful);}
.type-desc{margin:0;color:var(--muted);font-size:14.5px;line-height:1.65;max-width:220px;margin-left:auto;margin-right:auto;}
.type-cta{text-align:center;margin-top:34px;}

/* ---------- Feature grid ---------- */
.features{display:grid;grid-template-columns:repeat(3,1fr);gap:40px 28px;margin-top:10px;}
.feature{text-align:left;}
.feature .f-ico{
  width:42px;height:42px;border-radius:12px;background:var(--accent-soft);color:var(--accent);
  display:flex;align-items:center;justify-content:center;font-size:20px;margin-bottom:14px;
}
.feature h3{font-family:var(--serif);font-weight:500;font-size:19px;margin:0 0 8px;color:var(--ink);}
.feature p{margin:0;color:var(--muted);font-size:14.5px;line-height:1.65;}

/* ---------- Split (AI / story) ---------- */
.split{display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:center;}
.split-media{text-align:center;}
.split-media img{max-height:360px;max-width:100%;width:auto;height:auto;border-radius:22px;}
.split.tight{gap:48px;}

/* ---------- Reveal / prose section ---------- */
.reveal{text-align:center;}
.reveal .cta-block{margin-top:30px;}

/* ---------- Steps ---------- */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:10px;}
.step{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:28px;}
.step .num{font-family:var(--serif);font-size:28px;color:var(--accent);font-weight:500;line-height:1;margin-bottom:14px;}
.step h3{font-family:var(--serif);font-weight:500;font-size:19px;margin:0 0 8px;color:var(--ink);}
.step p{margin:0;color:var(--muted);font-size:14.5px;line-height:1.65;}

/* ---------- Testimonials ---------- */
.quotes{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:10px;}
.quote{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:24px;}
.quote p{margin:0 0 14px;font-size:14.5px;color:var(--ink);line-height:1.6;}
.quote .who{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13.5px;}
.quote .avatar{width:36px;height:36px;border-radius:50%;background:var(--bg-2);display:flex;align-items:center;justify-content:center;font-weight:600;color:var(--accent);}
.stars{color:var(--accent);font-size:13px;margin-bottom:10px;letter-spacing:2px;}

/* ---------- FAQ ---------- */
.faq{margin:34px auto 0;max-width:800px;}
.faq-item{border:1px solid var(--line);border-radius:14px;margin-bottom:12px;background:var(--card);overflow:hidden;}
.faq-q{width:100%;text-align:left;background:none;border:none;color:var(--ink);font-family:var(--sans);font-size:15.5px;font-weight:500;padding:18px 20px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;}
.faq-q .plus{color:var(--accent);font-size:20px;transition:.2s;}
.faq-item.open .plus{transform:rotate(45deg);}
.faq-a{max-height:0;overflow:hidden;transition:max-height .25s ease,padding .25s ease;padding:0 20px;color:var(--muted);font-size:14px;line-height:1.65;}
.faq-item.open .faq-a{max-height:320px;padding:0 20px 18px;}

/* ---------- CTA ---------- */
.cta-block{margin-top:30px;text-align:center;}
.cta-band{background:var(--card);border:1px solid var(--line);border-radius:24px;padding:52px 44px;text-align:center;}
.cta-band h2{font-family:var(--serif);font-weight:500;font-size:clamp(26px,3.2vw,34px);margin:0 0 14px;color:var(--ink);}
.cta-band p{color:var(--muted);max-width:56ch;margin:0 auto 24px;font-size:16px;line-height:1.7;}

/* ---------- Footer ---------- */
.site-footer{border-top:1px solid var(--line);margin-top:0;padding:52px 0 32px;background:var(--bg-2);}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:34px;}
.foot-brand .brand{font-size:20px;margin-bottom:12px;display:inline-block;}
.foot-brand p{color:var(--muted);font-size:14px;max-width:34ch;line-height:1.6;}
.foot-col h4{font-size:14px;margin:0 0 14px;color:var(--ink);font-weight:600;letter-spacing:.02em;}
.foot-col a{display:block;color:var(--muted);font-size:14px;padding:5px 0;}
.foot-col a:hover{color:var(--accent);}
.foot-bottom{border-top:1px solid var(--line);margin-top:38px;padding-top:22px;color:var(--muted);font-size:13px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;}

/* ---------- Breadcrumb ---------- */
.crumb{font-size:13.5px;color:var(--muted);padding:18px 0 0;}
.crumb a:hover{color:var(--accent);}

/* ---------- Quiz ---------- */
.quiz-body{min-height:100vh;background:var(--bg);}
.quiz-wrap{padding-top:72px;max-width:720px;margin:0 auto;}
.progress-row{margin-bottom:26px;}
.progress-label{font-size:13.5px;color:var(--muted);font-weight:500;}
.progress-track{height:8px;background:var(--line);border-radius:999px;margin-top:8px;overflow:hidden;}
.progress-bar{height:100%;width:0;background:var(--accent);border-radius:999px;transition:width .25s ease;}
.question-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:38px 32px;}
.question-text{font-family:var(--serif);font-weight:500;font-size:clamp(21px,3vw,27px);line-height:1.35;margin:0;color:var(--ink);}
.q-head{display:flex;align-items:flex-start;gap:14px;margin:0 0 26px;}
.q-icon{font-size:30px;line-height:1.3;flex:0 0 auto;}
.options{display:flex;flex-direction:column;gap:11px;}
.option{display:flex;align-items:center;gap:14px;text-align:left;width:100%;border:1px solid var(--line);background:var(--bg);border-radius:14px;padding:15px 18px;cursor:pointer;font-family:var(--sans);font-size:16px;color:var(--ink);transition:border-color .12s ease, background .12s ease, transform .08s ease;}
.option:hover{border-color:var(--accent);background:var(--bg-2);}
.opt-letter{flex:0 0 auto;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;background:var(--accent-soft);color:var(--accent);}
.opt-text{flex:1;}
.option.selected{border-color:var(--accent);background:var(--accent-soft);}
.option.selected .opt-letter{background:var(--accent);color:var(--accent-ink);}
.quiz-nav{display:flex;justify-content:space-between;margin-top:28px;}
.quiz-nav .btn-ghost{background:transparent;}

/* ---------- Result ---------- */
.result-body{min-height:100vh;background:var(--bg);}
.result-wrap{padding:72px 24px 80px;max-width:720px;margin:0 auto;text-align:center;}
.result-title{font-family:var(--serif);font-weight:500;font-size:clamp(40px,7vw,64px);margin:6px 0 14px;letter-spacing:-.5px;}
.result-title.secure{color:var(--secure);}
.result-title.anxious{color:var(--anx);}
.result-title.avoidant{color:var(--avoid);}
.result-title.fearful{color:var(--fearful);}
.all-types{display:grid;gap:14px;max-width:560px;margin:0 auto 38px;text-align:left;}
.type-row{padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--card);}
.type-row.is-primary{border-color:var(--accent);box-shadow:0 4px 16px rgba(13,111,107,.08);}
.type-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;font-weight:600;}
.type-name{padding:3px 10px;border-radius:999px;font-size:12.5px;font-weight:600;}
.type-val{color:var(--muted);font-weight:600;}
.type-track{height:9px;background:var(--line);border-radius:999px;overflow:hidden;}
.type-bar{height:100%;width:0;border-radius:999px;transition:width .5s ease;}
.type-bar.secure{background:var(--secure);}
.type-bar.anxious{background:var(--anx);}
.type-bar.avoidant{background:var(--avoid);}
.type-bar.fearful{background:var(--fearful);}
.result-summary{font-size:18px;color:var(--muted);max-width:54ch;margin:0 auto 36px;line-height:1.7;}
.dimensions{display:grid;gap:20px;text-align:left;margin:0 auto 36px;max-width:560px;}
.dim{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px;}
.dim-head{display:flex;justify-content:space-between;font-weight:600;margin-bottom:10px;color:var(--ink);}
.dim-val{color:var(--muted);font-weight:500;}
.dim-track{height:10px;background:var(--line);border-radius:999px;overflow:hidden;}
.dim-bar{height:100%;width:0;border-radius:999px;transition:width .5s ease;}
.bar-anx{background:var(--anx);}
.bar-avoid{background:var(--avoid);}
.dim-note{font-size:13px;color:var(--muted);margin:10px 0 0;}
.result-detail{text-align:left;max-width:640px;margin:0 auto;}
.result-detail h2{font-family:var(--serif);font-weight:500;font-size:22px;margin:26px 0 8px;color:var(--ink);}
.result-text{color:var(--muted);font-size:16px;margin:0;line-height:1.75;}
.result-actions{display:flex;gap:14px;justify-content:center;margin-top:38px;flex-wrap:wrap;}
.result-disclaimer{margin-top:22px;font-size:12.5px;color:var(--muted-2);}

/* ---------- Blog ---------- */
.post-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;margin-top:10px;}
.post-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:transform .12s ease, box-shadow .15s ease;}
.post-card:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(0,0,0,.06);}
.post-card img{width:100%;aspect-ratio:16/9;object-fit:cover;background:var(--bg-2);}
.post-body{padding:22px 24px;}
.post-body .cat{font-size:12px;color:var(--accent);font-weight:600;letter-spacing:.04em;text-transform:uppercase;}
.post-body h3{font-family:var(--serif);font-weight:500;font-size:20px;margin:8px 0 8px;color:var(--ink);}
.post-body p{margin:0;color:var(--muted);font-size:14px;line-height:1.6;}
.article{max-width:720px;margin:0 auto;}
.article img{border-radius:18px;width:100%;max-height:380px;object-fit:cover;margin:28px 0;background:var(--bg-2);}
.article h1{font-family:var(--serif);font-weight:500;font-size:clamp(28px,4vw,40px);margin:18px 0 10px;color:var(--ink);}
.article h2{font-family:var(--serif);font-weight:500;font-size:24px;margin:34px 0 10px;color:var(--ink);}
.article p{font-size:17px;color:var(--muted);margin:0 0 16px;line-height:1.75;}
.article .lead{color:var(--ink);font-size:18px;}

/* ---------- Responsive ---------- */
@media (max-width:960px){
  .hero-grid{grid-template-columns:1fr;gap:40px;text-align:center;}
  .hero-content{max-width:none;}
  .hero-actions{justify-content:center;}
  .hero-bullets{align-items:center;}
  .hero-media{order:-1;}
  .hero-media img{max-height:320px;}
  .type-grid{grid-template-columns:repeat(2,1fr);}
  .features{grid-template-columns:repeat(2,1fr);}
  .quotes{grid-template-columns:repeat(2,1fr);}
  .split{grid-template-columns:1fr;gap:40px;}
  .split-media{order:-1;}
  .foot-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:720px){
  .nav{display:none;}
  .menu-toggle{display:block;}
  .section{padding:64px 0;}
  .hero{padding:56px 0 48px;}
  .hero-media img{max-height:260px;max-width:92%;}
  .type-grid{grid-template-columns:1fr;}
  .features{grid-template-columns:1fr;}
  .steps{grid-template-columns:1fr;}
  .quotes{grid-template-columns:1fr;}
  .split-media img{max-height:260px;}
  .foot-grid{grid-template-columns:1fr;}
  .question-card{padding:26px 20px;}
  .cta-band{padding:36px 26px;}
}
