/* ================================================================
   JORDY — English Edition (jordy.com)
   Design system: soft editorial · geometric radii · cream base
   Type: Outfit (display + body) · Palette: plum / mint / pink
   Distinct from the Chinese edition: square-ish radii, hairline
   rules, uppercase eyebrows, tabular stat bars, plum footer.
   ================================================================ */

@font-face { font-family: 'Outfit'; src: url('../fonts/Outfit-Light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/Outfit-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/Outfit-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/Outfit-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/Outfit-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/Outfit-ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
    --plum-900: #4b3a6b;
    --plum-800: #594678;
    --plum-700: #6b5b92;
    --plum-200: #ddd4ee;
    --plum-50:  #f4f0fb;

    --pink: #d63375;
    --pink-soft: #ffe9f2;

    --mint: #2fbfa2;
    --mint-deep: #166f5c;
    --mint-soft: #e2f7f1;

    --cream: #fff8f2;
    --paper: #ffffff;
    --ink: #4a4060;
    --muted: #6f6588;
    --line: #e9e2f2;
    --line-2: #f2edf8;

    --font: 'Outfit', 'Segoe UI', system-ui, -apple-system, sans-serif;

    --wrap: 1200px;
    --r-s: 8px;
    --r: 14px;
    --r-l: 20px;
    --r-pill: 999px;

    --s1: .5rem; --s2: 1rem; --s3: 1.6rem; --s4: 2.4rem; --s5: 3.6rem; --s6: 5.4rem;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    color: var(--ink);
    background: var(--cream);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 var(--s2); font-weight: 800; line-height: 1.18; letter-spacing: -.02em; color: var(--plum-900); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.16rem; font-weight: 700; }
p { margin: 0 0 var(--s2); }
ul, ol { margin: 0 0 var(--s2); padding-left: 1.15em; }
li { margin-bottom: .35em; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; border-radius: var(--r-s); }
.e-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s3); }
.skip { position: absolute; left: -999px; top: 0; background: var(--plum-900); color: #fff; padding: 10px 18px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- utility bar ---------- */
.topbar { background: var(--plum-900); color: #e9e3f5; font-size: .78rem; letter-spacing: .04em; }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); min-height: 38px; flex-wrap: wrap; }
.topbar__mark { font-weight: 700; letter-spacing: .18em; color: #fff; }
.topbar__meta { display: flex; gap: var(--s3); flex-wrap: wrap; }
.topbar__meta a { color: #cfc4e6; }
.topbar__meta a:hover { color: #fff; }

/* ---------- masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.masthead__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; }
.brand:hover { text-decoration: none; }
.brand__img { height: 42px; width: auto; }
.brand__meta { display: flex; flex-direction: column; line-height: 1.2; }
.brand__tag { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nav { display: flex; align-items: center; gap: var(--s2); }
.nav a { font-size: .92rem; font-weight: 500; color: var(--plum-800); padding: 8px 4px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--plum-900); border-bottom-color: var(--mint); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--plum-900); font-weight: 700; border-bottom-color: var(--plum-900); }
.nav__cta { background: var(--plum-900); color: #fff !important; padding: 10px 20px !important; border-radius: var(--r); border-bottom: 2px solid var(--plum-900) !important; }
.nav__cta:hover { background: var(--plum-800); border-bottom-color: var(--plum-800) !important; }
.navtoggle { display: none; background: var(--plum-900); color: #fff; border: 0; border-radius: var(--r-s); padding: 10px 16px; font: inherit; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }

/* ---------- buttons ---------- */
.btn { display: inline-block; font-weight: 600; font-size: .92rem; letter-spacing: .02em; padding: 13px 26px; border-radius: var(--r); transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn:hover { text-decoration: none; }
.btn--solid { background: var(--plum-900); color: #fff; }
.btn--solid:hover { background: var(--plum-800); color: #fff; }
.btn--mint { background: var(--mint); color: #08322a; }
.btn--mint:hover { background: var(--mint-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--plum-900); border: 1.5px solid var(--plum-200); }
.btn--ghost:hover { border-color: var(--plum-700); color: var(--plum-900); }

/* ---------- shared blocks ---------- */
.band { padding: var(--s6) 0; }
.band--paper { background: var(--paper); }
.band--mint { background: var(--mint-soft); }
.band--pink { background: var(--pink-soft); }
.band--plum { background: var(--plum-900); color: #ded6ef; }
.band--plum h2, .band--plum h3 { color: #fff; }
.crumbs { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: var(--s3); }
.crumbs a { color: var(--muted); }
.crumbs span { color: var(--mint-deep); font-weight: 600; }
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mint-deep); margin-bottom: .55rem; }
.shead { max-width: 760px; margin-bottom: var(--s4); }
.shead h2 { margin-bottom: .6rem; }
.shead .lead { font-size: 1.03rem; color: var(--muted); font-weight: 300; margin: 0; }
.rule { width: 64px; height: 3px; background: var(--pink); margin: 0 0 var(--s3); border-radius: 2px; }

/* ---------- hero ---------- */
.hero { padding: var(--s6) 0 var(--s5); background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: var(--s5); align-items: center; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mint-deep); margin-bottom: var(--s2); }
.hero__kicker::before { content: ''; width: 34px; height: 2px; background: var(--mint); }
.hero__lead { font-size: 1.08rem; font-weight: 300; color: var(--muted); max-width: 56ch; }
.hero__actions { display: flex; gap: var(--s2); flex-wrap: wrap; margin-top: var(--s3); }
.hero__figure { position: relative; }
.hero__figure img { border-radius: var(--r-l); border: 1px solid var(--line); background: #fff; }
.hero__badge { position: absolute; left: -18px; bottom: -18px; background: var(--plum-900); color: #fff; border-radius: var(--r); padding: 14px 20px; font-size: .82rem; line-height: 1.4; box-shadow: 0 18px 34px rgba(75,58,107,.24); }
.hero__badge b { display: block; font-size: 1.35rem; letter-spacing: -.02em; }

/* ---------- stat bar ---------- */
.statbar { margin-top: var(--s5); border-top: 2px solid var(--plum-900); border-bottom: 1px solid var(--line); background: var(--paper); border-radius: 0; }
.statbar__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
/* 数字条：所有列左内边距一致，首列文字不贴卡片圆角（圆角 32px 会切掉高亮条） */
.stat { padding: var(--s3) var(--s3) var(--s3) 0; border-left: 1px solid var(--line-2); padding-left: var(--s3); }
.stat:first-child { border-left: 0; }
.stat__v { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; color: var(--plum-900); letter-spacing: -.02em; line-height: 1.15; }
.stat__k { font-size: .8rem; color: var(--muted); line-height: 1.45; margin-top: .3rem; }

/* ---------- answer box ---------- */
.answer { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--mint); border-radius: var(--r); padding: var(--s3) var(--s4); }
.answer h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mint-deep); margin-bottom: .8rem; }
.answer p { margin: 0; color: var(--ink); font-weight: 300; font-size: 1.02rem; }

/* ---------- numbered rows ---------- */
.rows { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--s4); }
.rowitem { display: grid; grid-template-columns: 54px 1fr; gap: var(--s2); padding: var(--s3) 0; border-top: 1px solid var(--line); }
.rowitem__n { font-size: 1.1rem; font-weight: 800; color: var(--pink); letter-spacing: .02em; }
.rowitem h3 { margin-bottom: .35rem; }
.rowitem p { margin: 0; color: var(--muted); font-weight: 300; font-size: .97rem; }

/* ---------- cards ---------- */
.grid { display: grid; gap: var(--s3); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s3); }
.card h3 { margin-bottom: .4rem; }
.card p { margin: 0; color: var(--muted); font-weight: 300; font-size: .95rem; }
.card__chip { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-pill); background: var(--mint-soft); color: var(--mint-deep); margin-bottom: .7rem; }
.card__chip--pink { background: var(--pink-soft); color: #a72059; }
.card__chip--wait { background: var(--plum-50); color: var(--plum-700); }

/* ---------- case rows ---------- */
.caselist { border-top: 1px solid var(--line); }
.caserow { display: grid; grid-template-columns: 78px 1fr 150px; gap: var(--s3); align-items: center; padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.caserow__img { width: 78px; height: 78px; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.caserow__name { font-weight: 700; color: var(--plum-900); font-size: 1.05rem; }
.caserow__desc { color: var(--muted); font-weight: 300; font-size: .95rem; margin: .25rem 0 0; }
.caserow__cat { text-align: right; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- brand tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s2); text-align: center; }
.tile img { height: 56px; width: auto; margin: 0 auto 10px; object-fit: contain; }
.tile__b { font-weight: 700; color: var(--plum-900); font-size: .95rem; }
.tile__c { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- timeline ---------- */
/* 结构：.tl = 日期 → .tl__rail(节点) → .tl__card(内容)
   轴线由每个 .tl__rail 的伪元素向右延伸，宽度 = 列宽 + 列间距，
   正好接到下一列的节点中心 —— 不会因 grid gap 算错而错位或断裂 */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.tl { display: flex; flex-direction: column; min-width: 0; }
.tl__d { text-align: center; font-weight: 800; color: var(--plum-900); font-size: 1.3rem; letter-spacing: -.01em; }
.tl__rail { position: relative; height: 40px; display: flex; align-items: center; justify-content: center; }
.tl__rail::after { content: ''; position: absolute; left: 50%; top: 50%; height: 2px; width: calc(100% + var(--s3)); transform: translateY(-50%); background: var(--plum-200); z-index: 0; }
.tl:last-child .tl__rail::after { display: none; }
.tl__dot { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 4px solid var(--pink); box-shadow: 0 0 0 6px var(--cream); }
.tl__card { flex: 1; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: var(--s3); box-shadow: 0 10px 24px rgba(91,44,120,.07); }
.tl__t { font-weight: 700; color: var(--plum-900); font-size: 1.02rem; margin: 0 0 .35rem; }
.tl__c { color: var(--muted); font-weight: 300; font-size: .9rem; margin: 0; }

/* ---------- history list ---------- */
.hist { border-left: 2px solid var(--line); margin: 0; padding: 0 0 0 var(--s3); list-style: none; }
.hist li { position: relative; padding: var(--s2) 0; border-bottom: 1px solid var(--line-2); }
.hist li::before { content: ''; position: absolute; left: calc(var(--s3) * -1 - 7px); top: 28px; width: 12px; height: 12px; border-radius: 50%; background: var(--mint); border: 3px solid var(--cream); }
.hist__y { font-weight: 800; color: var(--pink); font-size: .95rem; letter-spacing: .04em; }
.hist__t { font-weight: 700; color: var(--plum-900); margin: .2rem 0 .3rem; }
.hist__d { color: var(--muted); font-weight: 300; font-size: .95rem; margin: 0 0 .3rem; }
.hist__src { font-size: .8rem; color: var(--muted); }

/* ---------- tables ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 14px 18px; font-size: .94rem; vertical-align: top; border-bottom: 1px solid var(--line-2); }
th { background: var(--plum-50); color: var(--plum-900); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
td strong { color: var(--plum-900); }
.tablecap { font-size: .84rem; color: var(--muted); margin-top: .8rem; }

/* ---------- Q&A ---------- */
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s3); padding: var(--s2) 0; font-weight: 600; color: var(--plum-900); font-size: 1.02rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; flex: none; font-size: 1.3rem; font-weight: 400; color: var(--pink); line-height: 1.2; }
.qa details[open] summary::after { content: '\2212'; }
.qa__a { padding: 0 2.6rem var(--s2) 0; color: var(--muted); font-weight: 300; }
.qa__a p:last-child { margin-bottom: 0; }

/* ---------- mail card ---------- */
.mailcard { background: var(--plum-900); color: #e6dff2; border-radius: var(--r-l); padding: var(--s4); }
.mailcard h2, .mailcard h3 { color: #fff; }
.mailcard p { color: #cfc6e4; font-weight: 300; }
.mailcard code, .mailcard .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #8ff0d8; }
.mailcard ul { color: #cfc6e4; }
.mailcard a { color: #8ff0d8; }

/* ---------- contact list ---------- */
.contactlist { display: grid; gap: var(--s3); }
.contactitem { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s2) var(--s3); display: grid; grid-template-columns: 130px 1fr; gap: var(--s2); align-items: center; }
.contactitem__k { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contactitem__v { font-weight: 600; color: var(--plum-900); }
/* 联系方式里的邮箱/网址是主要转化入口，移动端触摸目标不小于 44px */
.contactitem__v a { display: inline-block; min-height: 44px; min-width: 44px; padding: 10px 0; }

/* ---------- CTA band ---------- */
.cta { background: var(--plum-900); color: #ded6ef; border-radius: var(--r-l); padding: var(--s5) var(--s4); display: grid; grid-template-columns: 1fr auto; gap: var(--s3); align-items: center; }
.cta h2 { color: #fff; margin-bottom: .4rem; }
.cta p { margin: 0; color: #cfc6e4; font-weight: 300; }
.cta__actions { display: flex; gap: var(--s2); flex-wrap: wrap; }

/* ---------- footer ---------- */
.foot { background: var(--plum-900); color: #bdb2d8; padding: var(--s5) 0 var(--s3); margin-top: var(--s5); }
.foot h4 { color: #fff; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .8rem; }
.foot a { color: #cfc6e4; }
.foot a:hover { color: #fff; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: var(--s3); }
.foot__grid ul { list-style: none; padding: 0; margin: 0; }
.foot__grid li { margin-bottom: .45rem; font-size: .92rem; }
.foot__brand img { height: 40px; width: auto; margin-bottom: .8rem; }
.foot__brand p { font-size: .92rem; font-weight: 300; color: #bdb2d8; }
.foot__bottom { margin-top: var(--s4); padding-top: var(--s2); border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; font-size: .8rem; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
    .hero__grid { grid-template-columns: 1fr; gap: var(--s4); }
    .hero__figure { max-width: 560px; }
    .statbar__grid { grid-template-columns: repeat(3, 1fr); }
    .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-2); }
    /* 竖分隔线变横线后，卡片左侧不再有栏间分隔线兜底 —— 用容器内缩避免文字贴圆角 */
    .statbar__grid { padding: 0 var(--s3); }
    .stat:nth-child(-n+3) { border-top: 0; }
    .tiles { grid-template-columns: repeat(3, 1fr); }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    /* 竖向时间线：节点在左，竖线串起每一站 */
    .timeline { grid-template-columns: 1fr; gap: 0; }
    .tl { position: relative; padding-left: 40px; padding-bottom: var(--s3); }
    .tl:last-child { padding-bottom: 0; }
    .tl__d { text-align: left; }
    .tl__rail { position: absolute; left: 0; top: 6px; width: 20px; height: 20px; }
    .tl__rail::after { display: none; }
    .tl__dot { box-shadow: none; }
    .tl::before { content: ''; position: absolute; left: 9px; top: 22px; bottom: calc(-1 * var(--s3) - 4px); width: 2px; background: var(--plum-200); }
    .tl:last-child::before { display: none; }
}
@media (max-width: 900px) {
    .navtoggle { display: inline-block; }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: var(--s2) var(--s3) var(--s3); gap: 0; }
    .nav.is-open { display: flex; }
    .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line-2); }
    .nav__cta { margin-top: var(--s2); text-align: center; border-radius: var(--r); }
    .masthead__row { position: relative; }
    .rows { grid-template-columns: 1fr; }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .cta { grid-template-columns: 1fr; }
    .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    /* 移动端触摸目标不小于 44px（WCAG 2.5.5 建议值） */
    .topbar__meta a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 4px; }
    body { font-size: 15.5px; }
    .band { padding: var(--s5) 0; }
    .hero { padding: var(--s4) 0 var(--s4); }
    .statbar__grid { grid-template-columns: repeat(2, 1fr); }
    .stat { border-top: 1px solid var(--line-2); }
    .stat:nth-child(-n+2) { border-top: 0; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .tiles { grid-template-columns: repeat(2, 1fr); }
    .caserow { grid-template-columns: 60px 1fr; }
    .caserow__img { width: 60px; height: 60px; }
    .caserow__cat { grid-column: 2; text-align: left; }
    .contactitem { grid-template-columns: 1fr; gap: .3rem; }
    .foot__grid { grid-template-columns: 1fr; }
    .hero__badge { position: static; margin-top: var(--s2); display: inline-block; }
    .qa__a { padding-right: 0; }

    /* ---------- 移动端顶栏压缩（2026-12-03）----------
       问题：utility bar 在 414px 以下把邮箱/工作时间/语言切换折成 4 行，
       顶栏高度 152px，首屏被吃掉一半。改为单行紧凑排布。 */
    .topbar__row { min-height: 44px; flex-wrap: nowrap; gap: var(--s1); }
    .topbar__mark { font-size: .68rem; letter-spacing: .12em; white-space: nowrap; }
    .topbar__meta { flex-wrap: nowrap; gap: 10px; }
    .topbar__meta > span { display: none; }          /* 工作时间移入页脚 */
    .topbar__meta a { font-size: .7rem; white-space: nowrap; }
    /* masthead：品牌标签在窄屏视觉隐藏，但保留在无障碍树里（不能 display:none，
       否则链接只剩图片，读屏与审计都拿不到名称） */
    .brand__tag { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .brand__img { height: 34px; }
    .masthead__row { min-height: 60px; }
    .navtoggle { padding: 9px 13px; font-size: .78rem; letter-spacing: .06em; min-height: 44px; }
}

/* case collage images */
.card img { border-radius: var(--r-s); margin-bottom: var(--s2); background: #fff; }

/* ================================================================
   CUTE LAYER — soft blobs, stickers, mascot, playful cards
   ================================================================ */
:root {
    --blob-a: 58% 42% 46% 54% / 48% 56% 44% 52%;
    --blob-b: 44% 56% 60% 40% / 56% 44% 56% 44%;
    --blob-c: 52% 48% 58% 42% / 44% 54% 46% 56%;
}

/* soft background blobs */
.hero { position: relative; overflow: hidden; }
.hero::before, .hero::after {
    content: ''; position: absolute; z-index: 0; pointer-events: none;
}
.hero::before {
    width: 320px; height: 320px; right: -70px; top: -70px;
    background: radial-gradient(circle at 35% 30%, #ddf7f0, #a9e9dc);
    border-radius: var(--blob-a);
}
.hero::after {
    width: 210px; height: 210px; left: -60px; bottom: -70px;
    background: radial-gradient(circle at 60% 40%, #ffe2ef, #ffc7dd);
    border-radius: var(--blob-b);
}
.hero__grid, .hero .e-wrap > .statbar { position: relative; z-index: 1; }

/* mascot sticker */
.mascot {
    position: absolute; right: -26px; top: -26px; width: 128px; z-index: 3;
    background: #fff; border: 1px solid var(--line); border-radius: 22px;
    padding: 8px; transform: rotate(7deg);
    box-shadow: 0 18px 34px rgba(91, 44, 120, .18);
}
.mascot img { width: 100%; height: auto; border-radius: 14px; display: block; }
.mascot::after {
    content: 'NINIZ'; position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%);
    background: var(--plum-900); color: #fff; font-size: .58rem; letter-spacing: .16em;
    padding: 3px 10px; border-radius: 999px; font-weight: 700;
}

/* playful eyebrows */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--mint-soft); color: var(--mint-deep);
    padding: 6px 14px; border-radius: 999px; font-weight: 700;
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); flex: none; }
.band--plum .eyebrow { background: rgba(143, 240, 216, .16); color: #8ff0d8; }
.band--plum .eyebrow::before { background: #ff9bc4; }

/* soft, springy cards */
.card {
    border-radius: 20px; position: relative; overflow: hidden;
    box-shadow: 0 10px 24px rgba(91, 44, 120, .06);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 38px rgba(91, 44, 120, .13); }
.card::after {
    content: ''; position: absolute; right: -28px; top: -28px;
    width: 72px; height: 72px; background: var(--mint-soft);
    border-radius: var(--blob-b); opacity: .75; z-index: 0;
}
.card > * { position: relative; z-index: 1; }

/* pill chips with a sticker feel */
.card__chip { border-radius: 999px; box-shadow: 0 4px 10px rgba(91, 44, 120, .07); }
.card__chip--pink { box-shadow: 0 4px 10px rgba(214, 51, 117, .10); }

/* bouncier buttons */
.btn { border-radius: 16px; box-shadow: 0 8px 18px rgba(91, 44, 120, .12); transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(91, 44, 120, .18); }

/* stat bar gets a friendly frame */
.statbar { border-radius: 22px; overflow: hidden; box-shadow: 0 14px 30px rgba(91, 44, 120, .07); }
.statbar__grid { position: relative; }

/* dotted playful panels */
.speckles {
    background-image: radial-gradient(var(--plum-200) 1.6px, transparent 1.6px);
    background-size: 22px 22px;
    background-position: 0 0;
}

/* timeline nodes alternate colours */
.tl__dot { border-color: var(--pink); }
.tl:nth-child(even) .tl__dot { border-color: var(--mint); }

/* brand tiles tilt a little */
.tile { border-radius: 18px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.tile:hover { transform: translateY(-4px) rotate(-1.5deg); box-shadow: 0 16px 30px rgba(91, 44, 120, .12); }

/* FAQ gets a soft bubble */
.qa summary { padding: var(--s2) var(--s2) var(--s2) 0; }
.qa details { position: relative; }
.qa summary::after {
    background: var(--mint-soft); color: var(--mint-deep); border-radius: 50%;
    width: 30px; height: 30px; display: grid; place-items: center; font-size: 1.1rem;
}

/* CTA band with a sticker mascot */
.cta { position: relative; overflow: hidden; }
.cta::before {
    content: ''; position: absolute; left: -70px; bottom: -90px;
    width: 240px; height: 240px; background: rgba(143, 240, 216, .12);
    border-radius: var(--blob-c);
    pointer-events: none;   /* 装饰色块不得拦截按钮点击 */
}
.cta__mascot { width: 96px; height: auto; position: absolute; right: 22px; top: -18px; width: 96px; transform: rotate(8deg); opacity: .95; pointer-events: none; }
@media (max-width: 900px) { .cta__mascot { display: none; } .cta { grid-template-columns: 1fr; } }

/* character gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 10px; box-shadow: 0 10px 24px rgba(91, 44, 120, .07); transition: transform .25s var(--ease); }
.gallery figure:hover { transform: translateY(-5px) rotate(1deg); }
.gallery img { border-radius: 14px; }
.gallery figcaption { font-size: .82rem; color: var(--muted); text-align: center; padding: 10px 4px 4px; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }
@media (max-width: 1080px) {
    .mascot { width: 108px; right: -14px; top: -18px; }
}

/* ---------- more cute: wave, pastel cards, watermark dino ---------- */
.hero {
    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1440' height='42' viewBox='0 0 1440 42'><path d='M0 42V22c60-22 120 22 180 0s120-22 180 0 120 22 180 0 120-22 180 0 120 22 180 0 120-22 180 0 120 22 180 0 120-22 180 0v20z' fill='%23fff8f2'/></svg>"),
        linear-gradient(180deg, #ffffff 0%, var(--cream) 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: bottom center, 0 0;
    background-size: 100% 42px, auto;
}

/* pastel card colours, cycling */
.band--paper .grid .card:nth-child(3n+1) { background: var(--mint-soft); }
.band--paper .grid .card:nth-child(3n+2) { background: var(--paper); }
.band--paper .grid .card:nth-child(3n+3) { background: var(--pink-soft); }
.band--mint .card, .band--pink .card { background: rgba(255,255,255,.72); }

/* faded mascot watermark on the pastel bands */
.band--mint, .band--pink { position: relative; overflow: hidden; }
.band--mint::after, .band--pink::after {
    content: url('../img/hero-jordy.webp');
    position: absolute; right: -18px; bottom: -30px;
    width: 190px; height: auto; opacity: .16;
    transform: rotate(-12deg); pointer-events: none;
}

/* stat numbers get a soft highlight */
.stat__v { position: relative; display: inline-block; }
.stat__v::after {
    content: ''; position: absolute; left: -6px; right: -6px; bottom: 2px; height: 10px;
    background: var(--pink-soft); border-radius: 6px; z-index: -1;
}

/* sticky-note look for the email template */
.mailcard {
    position: relative; border-radius: 22px;
    background: linear-gradient(180deg, #564578 0%, var(--plum-900) 100%);
    box-shadow: 0 20px 40px rgba(75, 58, 107, .28);
}
.mailcard::before {
    content: ''; position: absolute; left: 50%; top: -14px; transform: translateX(-50%) rotate(-2deg);
    width: 120px; height: 30px; background: rgba(143, 240, 216, .55);
    border-radius: 4px; box-shadow: 0 4px 10px rgba(0,0,0,.12);
}
.mailcard .mono { display: block; background: rgba(255,255,255,.08); border-radius: 10px; padding: 10px 14px; margin-bottom: 10px; }

/* dotted border cards */
.dotted { border: 2px dashed var(--plum-200); border-radius: 20px; background: var(--paper); }


/* FAQ panel sits on a rounded card */
.qa { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 0 var(--s3); }

/* ================================================================
   ROUND EVERYTHING — soft, generous radii across the EN edition
   ================================================================ */
:root {
    --r-s: 12px;
    --r: 20px;
    --r-l: 30px;
}

/* images sit in soft frames */
.hero__figure img { border-radius: 32px; }
.hero__badge { border-radius: 24px; }
.caserow__img { border-radius: 20px; }
.card img { border-radius: 18px; }
.tile img { border-radius: 14px; }
.gallery img { border-radius: 20px; }
.mascot { border-radius: 26px; }
.mascot img { border-radius: 18px; }

/* panels */
.answer { border-radius: 30px; }
.statbar { border-radius: 32px; }
.cta { border-radius: 34px; }
.qa { border-radius: 32px; }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { padding: var(--s2) var(--s2) var(--s2) 0; }
.qa__a { padding-bottom: var(--s2); }
.qa summary::after { width: 34px; height: 34px; border-radius: 50%; }

/* cards */
.card { border-radius: 28px; }
.card__chip { border-radius: 999px; }
.tile { border-radius: 24px; }
.gallery figure { border-radius: 28px; }
.contactitem { border-radius: 24px; }
.mailcard { border-radius: 30px; }
.tablewrap { border-radius: 24px; }
.dotted { border-radius: 26px; }

/* pill buttons + chips */
.btn { border-radius: 999px; padding: 14px 30px; }
.eyebrow { border-radius: 999px; }
.hero__kicker { border-radius: 999px; background: var(--mint-soft); padding: 7px 16px; }
.hero__kicker::before { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }

/* numbered rows get a soft card on hover */
.rowitem { border-radius: 20px; padding: var(--s2) var(--s2); margin-bottom: 6px; transition: background .2s var(--ease), transform .2s var(--ease); }
.rowitem:hover { background: var(--paper); transform: translateX(4px); }
.rowitem__n { width: 46px; height: 46px; border-radius: 50%; background: var(--pink-soft); color: var(--pink); display: grid; place-items: center; font-size: 1rem; }

/* pills for category chips inside category rows */
.card__chip--wait { border-radius: 999px; }

/* big soft blobs behind the section heads */
.shead { position: relative; }
.shead::after {
    content: ''; position: absolute; left: -14px; top: -18px;
    width: 74px; height: 74px; background: var(--mint-soft);
    border-radius: var(--blob-b); opacity: .55; z-index: -1;
}

/* rounded scrollbar-friendly focus ring */
:focus-visible { border-radius: 999px; }

/* ================================================================
   LIGHTER CHROME — softer top bar, softer CTA, softer footer
   ================================================================ */

/* top utility bar: pastel instead of deep plum */
.topbar {
    background: linear-gradient(90deg, #eefaf6 0%, #fff6fa 100%);
    color: var(--plum-700);
    border-bottom: 1px solid var(--line);
}
.topbar__mark { color: var(--plum-900); }
.topbar__meta a { color: var(--plum-700); }
.topbar__meta a:hover { color: var(--pink); }
.masthead { background: rgba(255, 255, 255, .95); }

/* CTA band: soft pastel card instead of a deep plum block */
.cta {
    background: linear-gradient(135deg, #eefaf6 0%, #fff4f9 100%);
    border: 1px solid var(--line);
    color: var(--ink);
}
/* 吉祥物贴纸在右上角，与右侧按钮列重叠 —— 给右侧留出贴纸空间，
   并让按钮永远压在贴纸之上，避免按钮文字被恐龙图盖住 */
@media (min-width: 901px) {
    .cta { padding-right: 150px; }
    .cta__mascot { z-index: 1; }
}
/* 按钮列永远压在装饰块之上，且装饰块不接收指针事件 */
.cta__actions { position: relative; z-index: 2; }
.cta > div { position: relative; z-index: 1; }
.cta h2 { color: var(--plum-900); }
.cta p { color: var(--muted); }
.cta::before { background: rgba(63, 208, 180, .18); }
.cta .btn--ghost { color: var(--plum-900); border-color: var(--plum-200); }
.cta__mascot { border-color: #fff; box-shadow: 0 12px 24px rgba(91, 44, 120, .14); }

/* the one remaining deep block: soften it a touch */
.band--plum { background: linear-gradient(135deg, #584684 0%, #6b5b92 100%); }

/* footer: light, airy, mint top edge */
.foot {
    background: var(--paper);
    color: var(--muted);
    border-top: 4px solid var(--mint-soft);
    margin-top: 0;
    padding-top: var(--s4);
}
.foot h4 { color: var(--plum-900); }
.foot a { color: var(--plum-700); }
.foot a:hover { color: var(--pink); }
.foot__brand p { color: var(--muted); }
.foot__bottom { border-top: 1px solid var(--line); color: var(--muted); }
.foot__grid li { color: var(--muted); }

/* ================================================================
   SOFTER CHROME v2 — 顶栏 / 页脚 / 区块全面减重
   规则：深紫只用于「文字」，不再用于大面积色块
   ================================================================ */

/* 顶部 utility bar：奶油底 + 极细薄荷线，不用渐变重色 */
.topbar {
    background: var(--cream);
    color: var(--muted);
    border-bottom: 1px solid var(--line);
}
.topbar__mark { color: var(--plum-700); }
.topbar__meta a { color: var(--plum-700); }
.topbar__meta a:hover { color: var(--pink); }

/* 导航 CTA：浅紫描边，不再实心深紫 */
.nav__cta {
    background: var(--plum-50) !important;
    color: var(--plum-800) !important;
    border: 1.5px solid var(--plum-200) !important;
    border-bottom: 1.5px solid var(--plum-200) !important;
}
.nav__cta:hover {
    background: var(--mint-soft) !important;
    border-color: var(--mint) !important;
    color: var(--plum-900) !important;
}

/* 移动端菜单按钮 */
.navtoggle {
    background: var(--plum-50);
    color: var(--plum-800);
    border: 1px solid var(--plum-200);
}

/* 实心按钮降一档 */
.btn--solid { background: var(--plum-700); color: #fff; }
.btn--solid:hover { background: var(--plum-600, #7a6aa3); color: #fff; }

/* 深色区块 → 极浅薰衣草 */
.band--plum {
    background: linear-gradient(135deg, #f6f2fc 0%, #fdf3f8 100%);
    color: var(--ink);
}
.band--plum h2, .band--plum h3, .band--plum h4 { color: var(--plum-800); }
.band--plum p, .band--plum li { color: var(--muted); }

/* 邮件模板卡：浅底 */
.mailcard {
    background: var(--plum-50);
    color: var(--ink);
    border: 1px solid var(--plum-200);
}
.mailcard code { background: #fff; color: var(--plum-800); }
.mailcard a { color: var(--pink); }

/* 英雄区贴纸小徽章 */
.hero__badge {
    background: var(--plum-50);
    color: var(--plum-800);
    border: 1px solid var(--plum-200);
    box-shadow: 0 12px 26px rgba(75, 58, 107, .12);
}

/* stat bar 上边线降级 */
.statbar { border-top: 2px solid var(--plum-200); background: var(--paper); }

/* 页脚：奶油底 + 薄荷细线 + 细字重 */
.foot {
    background: var(--cream);
    color: var(--muted);
    border-top: 3px solid var(--mint-soft);
    border-bottom: 0;
    margin-top: 0;
    padding-top: var(--s4);
}
.foot h4 { color: var(--plum-700); }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--pink); }
.foot__brand p { color: var(--muted); }
.foot__grid li { color: var(--muted); }
.foot__bottom {
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .76rem;
}
.foot__brand img { opacity: .78; }

/* ================================================================
   BREADCRUMB v2 — 圆角胶囊轨迹 + 薄荷箭头分隔
   ================================================================ */
.crumbs {
    padding-top: var(--s3);
    padding-bottom: .2rem;
    font-size: .74rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.crumbs__list {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    list-style: none;
    margin: 0;
    padding: .42rem .95rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(75, 58, 107, .06);
}
.crumbs__list li {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--muted);
    font-weight: 600;
}
.crumbs__list li + li::before {
    content: '\203A';
    color: var(--mint);
    font-size: 1rem;
    line-height: 1;
    font-weight: 700;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--pink); }
.crumbs__cur { color: var(--plum-800); }
.crumbs__cur span { color: var(--plum-800); font-weight: 700; }



/* ================================================================
   BREADCRUMB v3 (final) — 上下真正居中
   根因：inline-flex 元素参与行内布局，基线以下会留下降部空白，
        使胶囊相对所在行上下不对称。改用 flex 容器 + align-items:center。
   ================================================================ */
.crumbs {
    display: flex;
    align-items: center;
    line-height: 1;
    padding: 1.35rem 0;
}
.crumbs__list {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    line-height: 1;
    margin: 0;
    padding: .5rem 1.05rem;
    list-style: none;
    gap: .55rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(75, 58, 107, .06);
}
.crumbs__list li {
    display: flex;
    align-items: center;
    height: 1.4rem;
    color: var(--muted);
    font-weight: 600;
}
.crumbs__list li + li::before {
    content: '\203A';
    color: var(--mint);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}
.crumbs a,
.crumbs__cur span {
    display: block;
    line-height: 1.4rem;
    transform: translateY(.2em);
}

/* 页脚分组标题改为 h3（语义层级修正） */
.foot h3 {
    color: var(--plum-700);
    font-size: .76rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: .8rem;
}

/* ---------- 无障碍：动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ================================================================
   WCAG AA 对比度修正
   背景：站点整体改浅色（band--plum / mailcard / cta 变为浅底）后，
   仍残留旧深底版的文字色（#fff / #cfc6e4 / #8ff0d8 / #d63375），
   导致浅底浅字，实测对比度低至 1.07 —— 远低于 WCAG AA 4.5:1。
   这里按「浅底深字」原则统一修正，不改版式。
   ================================================================ */

/* 浅底上的粉色文字：加深到 4.5:1 以上 */
:root { --pink-ink: #c22768; }
.rowitem__n { color: var(--pink-ink); }
.hist__y { color: var(--pink-ink); }
.qa summary::after { color: var(--pink-ink); }
.crumbs a:hover,
.foot a:hover,
.topbar__meta a:hover { color: var(--pink-ink); }

/* band--plum 现为浅薰衣草底：眉标改深薄荷，卡片改白底深字 */
.band--plum .eyebrow { background: rgba(47, 191, 162, .16); color: var(--mint-deep); }
.band--plum .eyebrow::before { background: var(--pink); }
.bandplumcard { background: var(--paper); border-color: var(--line); }
.bandplumcard .stat__v { color: var(--plum-900); }
.bandplumcard p { color: var(--muted); }

/* 邮件模板卡现为浅底：正文/标题/代码全部改深字 */
.mailcard h2,
.mailcard h3 { color: var(--plum-900); }
.mailcard p { color: var(--ink); }
.mailcard ul,
.mailcard li { color: var(--ink); }
.mailcard code,
.mailcard .mono { color: var(--plum-800); }
.mailcard .mono { background: #fff; border: 1px solid var(--plum-200); }
.mailcard a { color: var(--pink-ink); }
