/* Baby Care — warm, responsive project showcase */
:root {
  --navy: #173f70;
  --navy-deep: #12345d;
  --blue: #438bd0;
  --blue-soft: #e5f3ff;
  --blue-pale: #f4faff;
  --cream: #f7fbff;
  --paper: #ffffff;
  --ink: #243b55;
  --muted: #5e748c;
  --gold: #8bbde8;
  --line: #cfe5f7;
  --shadow: 0 20px 55px rgba(45, 119, 183, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif; color: var(--ink); background: var(--paper); line-height: 1.8; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1140px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: white; padding: 10px 16px; }
.skip-link:focus { left: 8px; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,253,249,.93); border-bottom: 1px solid rgba(220,229,233,.85); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 15px 15px 15px 5px; background: var(--navy); color: #f5e7c3; font-size: 27px; line-height: 1; }
.brand strong { display: block; color: var(--navy); font-size: 17px; letter-spacing: .3px; line-height: 1.35; }
.brand small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .7px; margin-top: 3px; }
.primary-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 27px); font-size: 13px; color: #536777; }
.primary-nav > a:not(.nav-cta) { transition: color .2s; }
.primary-nav > a:hover { color: var(--navy); }
.nav-cta { border: 1px solid #d6e1e7; border-radius: 999px; padding: 9px 16px; color: var(--navy); background: white; white-space: nowrap; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { display: block; width: 23px; height: 2px; margin: 5px; background: var(--navy); }
.hero { position: relative; overflow: hidden; background: linear-gradient(118deg, #edf4f7 0%, #f6f8f5 54%, #f8f2e6 100%); padding: 82px 0 92px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; position: relative; z-index: 1; }
.eyebrow, .section-kicker { font-size: 11px; letter-spacing: 2px; font-weight: 700; color: #6488a3; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; border: 1px solid #d7e4ea; background: rgba(255,255,255,.55); padding: 7px 13px; border-radius: 999px; letter-spacing: 1px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #9bb9c9; box-shadow: 0 0 0 4px #dce9ee; }
.hero h1 { color: var(--navy-deep); font-size: clamp(38px, 4.8vw, 60px); line-height: 1.35; letter-spacing: -1.5px; margin: 24px 0 18px; font-weight: 800; }
.hero h1 span, .section-heading h2 span { color: #789db5; }
.hero-lead { max-width: 510px; color: #627585; font-size: 16px; line-height: 2; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; border-radius: 8px; padding: 12px 20px; font-size: 13px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--navy); box-shadow: 0 9px 22px rgba(38,63,89,.18); }
.button-primary:hover { background: #315471; box-shadow: 0 12px 26px rgba(38,63,89,.23); }
.button-quiet { color: var(--navy); background: rgba(255,255,255,.68); border: 1px solid #dce6e9; }
.hero-note { margin-top: 28px; color: #7b8b94; font-size: 11px; display: flex; align-items: center; gap: 8px; }
.note-icon { color: var(--gold); font-size: 17px; }
.hero-art { min-height: 405px; position: relative; display: grid; place-items: center; }
.orbit { position: absolute; width: 355px; height: 355px; border: 1px solid rgba(118,155,181,.25); border-radius: 50%; }
.orbit-a { transform: rotate(-28deg) scaleX(.83); }
.orbit-b { width: 290px; height: 390px; transform: rotate(28deg); border-color: rgba(199,174,118,.42); }
.moon { position: absolute; top: 10px; right: 22%; color: #c7ae76; font-size: 84px; line-height: 1; transform: rotate(-20deg); }
.star { position: absolute; color: #bda86f; }
.star-a { top: 48px; left: 22%; font-size: 23px; }.star-b { top: 103px; right: 16%; font-size: 18px; }.star-c { bottom: 61px; left: 18%; font-size: 48px; }
.cloud { position: absolute; height: 24px; width: 75px; background: rgba(255,255,255,.8); border-radius: 30px; filter: drop-shadow(0 7px 9px rgba(83,118,141,.06)); }
.cloud:before, .cloud:after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.cloud:before { width: 31px; height: 31px; top: -12px; left: 13px; }.cloud:after { width: 24px; height: 24px; top: -7px; left: 36px; }
.cloud-left { left: 1%; top: 37%; }.cloud-right { right: 1%; bottom: 23%; transform: scale(.7); }
.baby-card { position: relative; width: 270px; height: 320px; border: 1px solid rgba(255,255,255,.95); border-radius: 145px 145px 24px 24px; background: linear-gradient(160deg, #dce9ef 0%, #f8f3e9 100%); box-shadow: 0 25px 60px rgba(62,93,115,.13); display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 14px; }
.baby-illustration { position: relative; width: 170px; height: 205px; }
.baby-head { position: absolute; z-index: 2; top: 18px; left: 33px; width: 106px; height: 105px; border-radius: 48% 48% 45% 45%; background: #f4d6bb; border: 2px solid #e6bd9c; transform: rotate(-5deg); }
.baby-hair { position: absolute; z-index: 3; top: 12px; left: 43px; width: 80px; height: 31px; background: #8d776d; border-radius: 65% 45% 15% 25%; transform: rotate(-7deg); }
.baby-hair:after { content: ""; position: absolute; top: -5px; left: 37px; width: 28px; height: 18px; background: #8d776d; border-radius: 50%; }
.eye { position: absolute; top: 48px; width: 6px; height: 8px; background: #5a5554; border-radius: 50%; }.eye-left { left: 29px; }.eye-right { right: 28px; }
.baby-smile { position: absolute; width: 17px; height: 9px; border-bottom: 2px solid #b97670; border-radius: 0 0 50% 50%; left: 44px; top: 67px; }
.cheek { position: absolute; top: 63px; width: 15px; height: 8px; border-radius: 50%; background: #e9a99c; opacity: .65; }.cheek-left { left: 12px; }.cheek-right { right: 10px; }
.baby-body { position: absolute; top: 111px; left: 20px; width: 130px; height: 91px; border-radius: 60% 60% 35% 35%; background: #f8f8f1; border: 2px solid #d8e2e4; transform: rotate(5deg); }
.baby-arm { position: absolute; z-index: 3; top: 129px; left: 5px; width: 48px; height: 22px; border-radius: 20px; background: #f4d6bb; transform: rotate(35deg); border: 1px solid #e6bd9c; }
.baby-foot { position: absolute; z-index: 3; bottom: 1px; right: 16px; width: 43px; height: 22px; border-radius: 50%; background: #f4d6bb; border: 1px solid #e6bd9c; transform: rotate(-10deg); }
.card-caption { display: flex; align-items: center; gap: 10px; position: absolute; bottom: 15px; background: rgba(255,255,255,.8); padding: 9px 15px; border-radius: 12px; box-shadow: 0 5px 15px rgba(38,63,89,.06); }
.caption-heart { font-size: 22px; color: #91b1c3; }.card-caption strong, .card-caption small { display: block; line-height: 1.5; }.card-caption strong { color: var(--navy); font-size: 10px; }.card-caption small { color: #82909a; font-size: 9px; }
.floating-pill { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,.9); color: #536b7d; box-shadow: 0 12px 28px rgba(38,63,89,.09); font-size: 11px; border: 1px solid rgba(255,255,255,.95); }
.pill-top { top: 91px; left: 0; }.pill-bottom { right: 0; bottom: 66px; }.pill-icon { color: #b49d63; font-size: 17px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(1px); }.hero-glow-one { width: 350px; height: 350px; background: rgba(212,229,237,.42); top: -190px; right: -90px; }.hero-glow-two { width: 230px; height: 230px; background: rgba(242,229,201,.32); bottom: -120px; left: 28%; }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; height: 27px; background: var(--paper); clip-path: ellipse(58% 52% at 50% 100%); }
.quick-facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3,1fr); background: white; border: 1px solid #e6ecee; border-radius: 14px; box-shadow: var(--shadow); margin-top: -28px; padding: 23px 28px; }
.fact { display: flex; align-items: center; gap: 14px; padding: 4px 20px; border-right: 1px solid #e9eef0; }.fact:last-child { border: 0; }
.fact-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-pale); color: #6d95b0; font-size: 25px; }
.fact strong, .fact small { display: block; }.fact strong { color: var(--navy); font-size: 13px; }.fact small { color: #84919a; font-size: 10px; margin-top: 3px; }
.section { padding: 100px 0; }.section-paper { background: var(--cream); }
.two-column { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 75px; }
.section-heading h2, .center-heading h2, .team-title h2, .access-copy h2 { color: var(--navy-deep); font-size: clamp(29px, 3.2vw, 41px); line-height: 1.5; letter-spacing: -.7px; margin: 13px 0 17px; }
.section-heading p, .center-heading p, .team-title p, .access-copy p { color: #6e7f8a; font-size: 14px; line-height: 2; margin: 0; }
.purpose-list { display: grid; gap: 13px; }
.purpose-card { display: grid; grid-template-columns: 42px 1fr 40px; gap: 15px; align-items: center; padding: 21px 22px; border: 1px solid #e7e7df; background: rgba(255,255,255,.78); border-radius: 12px; transition: transform .2s, box-shadow .2s; }
.purpose-card:hover { transform: translateX(4px); box-shadow: 0 10px 25px rgba(38,63,89,.06); }
.number { align-self: start; color: #9ab3c3; font-size: 12px; font-weight: 700; padding-top: 3px; }.purpose-card h3 { margin: 0 0 4px; font-size: 16px; color: var(--navy); }.purpose-card p { margin: 0; color: #75838b; font-size: 12px; line-height: 1.8; }.purpose-symbol { display: grid; place-items: center; width: 38px; height: 38px; background: #edf3f5; color: #82a3b7; border-radius: 12px; font-size: 22px; }
.center-heading { text-align: center; max-width: 650px; margin: 0 auto 45px; }.center-heading h2 { margin-bottom: 8px; }.center-heading p { font-size: 13px; }
.feature-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.feature-card { min-height: 300px; border-radius: 14px; padding: 25px 21px 19px; border: 1px solid rgba(38,63,89,.05); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }.feature-card:hover { transform: translateY(-5px); box-shadow: 0 18px 35px rgba(38,63,89,.09); }
.feature-blue { background: #edf4f7; }.feature-lilac { background: #f1f0f7; }.feature-cream { background: #faf4e8; }.feature-mint { background: #edf5f0; }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.75); color: #658aa5; font-size: 25px; margin-bottom: 21px; }
.feature-tag { color: #8197a4; font-size: 9px; letter-spacing: 1.3px; font-weight: 700; }.feature-card h3 { font-size: 16px; color: var(--navy); margin: 8px 0 9px; }.feature-card p { font-size: 11px; color: #6c7c85; line-height: 2; margin: 0 0 18px; }.feature-footer { border-top: 1px solid rgba(70,98,116,.12); padding-top: 12px; margin-top: auto; display: flex; justify-content: space-between; gap: 6px; font-size: 9px; color: #82939b; }.feature-footer span { font-size: 15px; color: #6f93a9; }
.architecture-section { background: #f3f7f8; }.narrow-heading { max-width: 660px; }.flow { display: grid; grid-template-columns: 1fr 25px 1fr 25px 1fr 25px 1fr; align-items: center; gap: 12px; }
.flow-step { position: relative; height: 225px; padding: 24px 18px 18px; background: white; border: 1px solid #e2eaed; border-radius: 13px; text-align: center; box-shadow: 0 8px 25px rgba(38,63,89,.035); }
.flow-number { position: absolute; top: 12px; left: 13px; font-size: 10px; color: #a1b7c4; font-weight: 700; }.flow-icon { margin: 17px auto 14px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 17px; background: #edf4f7; color: #6d95b0; font-size: 25px; }.flow-step h3 { margin: 0 0 8px; color: var(--navy); font-size: 13px; }.flow-step p { margin: 0; color: #7b8991; font-size: 10px; line-height: 1.9; }.flow-arrow { color: #a8bdc8; font-size: 22px; text-align: center; }
.tech-stack { margin-top: 25px; background: #e8f0f3; border: 1px solid #dce7eb; border-radius: 12px; padding: 19px 22px; }.tech-stack > div { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }.stack-label { color: #7b8e99; font-size: 11px; margin-right: 7px; }.tech-stack strong { background: white; color: #536f82; border: 1px solid #dce7eb; padding: 5px 11px; border-radius: 6px; font-size: 10px; font-weight: 600; }.tech-stack p { color: #87959c; font-size: 10px; margin: 11px 0 0; }
.results-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 65px; align-items: center; }.result-caveat { margin-top: 22px; border-left: 3px solid var(--gold); padding: 10px 14px; color: #8a8068; font-size: 11px; line-height: 1.9; background: rgba(255,255,255,.6); }
.result-panel { padding: 28px; border: 1px solid #e7e8df; border-radius: 15px; background: white; box-shadow: 0 15px 40px rgba(38,63,89,.045); }.result-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid #edf0ed; font-weight: 700; color: var(--navy); font-size: 13px; }.mini-label { color: #9a9e9a; background: #f6f5ef; border-radius: 5px; padding: 4px 7px; font-size: 9px; font-weight: 500; }
.metric-row { margin-top: 22px; }.metric-label { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; color: #687985; margin-bottom: 8px; }.metric-label strong { color: var(--navy); font-size: 13px; }.metric-track { height: 9px; background: #edf1f1; border-radius: 99px; overflow: hidden; }.metric-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8bb2c6, #4f7895); }.metric-row:nth-of-type(3) .metric-track span { background: linear-gradient(90deg, #b5c9c9, #6d9994); }.metric-row:nth-of-type(4) .metric-track span { background: linear-gradient(90deg, #d8c69d, #b69a60); }
.chart-note { font-size: 10px; color: #839098; line-height: 1.9; margin: 22px 0 0; padding-top: 17px; border-top: 1px solid #edf0ed; }
.future-block { display: grid; grid-template-columns: .8fr 1.2fr; gap: 45px; align-items: center; padding-top: 85px; margin-top: 85px; border-top: 1px solid #e8e6dc; }.future-block h2 { color: var(--navy); font-size: 26px; margin: 7px 0; }.future-block p { color: #78858a; font-size: 12px; margin: 0; }.future-tags { display: flex; flex-wrap: wrap; gap: 10px; }.future-tags span { background: white; border: 1px solid #e4e7e1; border-radius: 7px; padding: 9px 12px; color: #687d8a; font-size: 11px; }
.access-section { padding: 85px 0 45px; }.access-card { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 42px 48px; border-radius: 18px; background: linear-gradient(110deg, #e7f0f4, #f7f2e8); border: 1px solid #e2e9e9; }.access-copy { max-width: 640px; position: relative; z-index: 1; }.access-copy h2 { font-size: 32px; margin: 5px 0 7px; }.access-copy p { font-size: 12px; }.access-copy .access-hint { margin-top: 9px; color: #89949a; font-size: 10px; }.access-hint code { background: rgba(255,255,255,.7); padding: 2px 5px; border-radius: 4px; }.access-decoration { position: absolute; right: 25%; top: -55px; color: rgba(255,255,255,.65); font-size: 180px; line-height: 1; transform: rotate(-15deg); }.system-link { position: relative; z-index: 1; flex-shrink: 0; }.system-link.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.medical-note { padding-top: 23px; color: #8a9296; font-size: 10px; line-height: 1.9; }.medical-note span { display: inline-block; margin-right: 8px; color: #8c7750; background: #f8f0dc; border-radius: 4px; padding: 1px 7px; }
.team-section { padding: 76px 0; background: #263f59; color: white; }.team-content { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }.team-title .section-kicker { color: #c7b47f; }.team-title h2 { color: white; font-size: 32px; margin: 10px 0 14px; }.team-title p { color: #b6c6d0; font-size: 11px; }.team-details { border-left: 1px solid rgba(255,255,255,.18); padding-left: 35px; display: grid; gap: 23px; }.team-details div { display: grid; grid-template-columns: 100px 1fr; gap: 15px; }.team-details span { color: #b6c6d0; font-size: 11px; }.team-details strong { color: #f4f5f0; font-size: 13px; font-weight: 500; }
.site-footer { background: #1d3349; color: #a9bbc6; padding: 25px 0 17px; }.footer-inner { display: flex; align-items: center; gap: 20px; padding-bottom: 17px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 10px; }.footer-brand { color: #f5e7c3; font-weight: 700; font-size: 14px; margin-right: 5px; }.footer-inner > a:last-child { margin-left: auto; }.copyright { padding-top: 12px; color: #7f96a5; font-size: 9px; }
@media (max-width: 1000px) {
  .primary-nav { gap: 12px; font-size: 11px; }.brand small { max-width: 190px; }.hero-grid { gap: 20px; }.feature-grid { grid-template-columns: repeat(2,1fr); }.flow { gap: 6px; }.flow-step { padding-inline: 12px; }.flow-arrow { font-size: 17px; }.two-column, .results-layout { gap: 38px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 34px, 560px); }.nav-wrap { min-height: 72px; }.brand-mark { width: 38px; height: 38px; }.brand strong { font-size: 15px; }.brand small { font-size: 9px; }.menu-toggle { display: block; cursor: pointer; }
  .primary-nav { display: none; position: absolute; top: 71px; left: 0; right: 0; padding: 15px 22px 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 15px 20px rgba(38,63,89,.08); align-items: stretch; flex-direction: column; gap: 0; font-size: 13px; }.primary-nav.open { display: flex; }.primary-nav a { padding: 10px 3px; }.primary-nav .nav-cta { text-align: center; margin-top: 7px; padding: 9px 14px; }
  .hero { padding: 53px 0 65px; }.hero-grid { grid-template-columns: 1fr; }.hero h1 { font-size: clamp(35px, 10vw, 49px); }.hero-lead { font-size: 14px; }.hero-art { min-height: 350px; margin-top: 8px; }.orbit { width: 300px; height: 300px; }.orbit-b { width: 245px; height: 335px; }.baby-card { transform: scale(.9); }.moon { right: 17%; top: 0; }.pill-top { left: 2%; top: 72px; }.pill-bottom { right: 0; bottom: 43px; }
  .quick-facts { grid-template-columns: 1fr; padding: 12px 19px; margin-top: -18px; }.fact { border-right: 0; border-bottom: 1px solid #e9eef0; padding: 12px 4px; }.fact:last-child { border-bottom: 0; }.fact-icon { width: 39px; height: 39px; }
  .section { padding: 70px 0; }.two-column, .results-layout, .future-block, .team-content { grid-template-columns: 1fr; gap: 32px; }.section-heading h2, .center-heading h2 { font-size: 31px; }.purpose-card { padding: 17px 15px; grid-template-columns: 30px 1fr 34px; gap: 10px; }.purpose-card h3 { font-size: 14px; }.purpose-card p { font-size: 11px; }
  .feature-grid { grid-template-columns: 1fr; }.feature-card { min-height: 250px; padding: 23px; }.feature-card p { font-size: 12px; }.flow { grid-template-columns: 1fr; gap: 9px; }.flow-step { height: auto; min-height: 175px; padding: 21px; }.flow-step p { max-width: 300px; margin: 0 auto; font-size: 11px; }.flow-arrow { transform: rotate(90deg); }.tech-stack { padding: 17px; }
  .results-layout { gap: 28px; }.result-panel { padding: 20px 16px; }.metric-label { font-size: 10px; }.future-block { margin-top: 60px; padding-top: 55px; gap: 22px; }.future-tags { gap: 8px; }.future-tags span { font-size: 10px; }
  .access-section { padding-top: 60px; }.access-card { padding: 30px 23px; flex-direction: column; align-items: flex-start; gap: 23px; }.access-copy h2 { font-size: 29px; }.access-decoration { right: -3%; top: -32px; font-size: 130px; }.system-link { width: 100%; }.team-section { padding: 60px 0; }.team-content { gap: 30px; }.team-title h2 { font-size: 29px; }.team-details { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); padding-top: 26px; gap: 20px; }.team-details div { grid-template-columns: 83px 1fr; gap: 9px; }.team-details strong { font-size: 12px; }
  .footer-inner { flex-wrap: wrap; gap: 10px 15px; }.footer-inner > a:last-child { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }


/* ===== Baby Care requested palette + accessible larger typography ===== */
:root {
  --navy: #21466A;
  --navy-deep: #183650;
  --blue: #315D85;
  --blue-soft: #E5EEF6;
  --blue-pale: #F0F5F8;
  --cream: #FAF7F0;
  --paper: #FFFDF8;
  --ink: #263544;
  --muted: #536575;
  --gold: #D7B56D;
  --line: #D9E2E8;
  --purple: #8A78B8;
  --shadow: 0 20px 55px rgba(33, 70, 106, .12);
}
body { background: var(--paper); font-size: 18px; line-height: 1.9; }
.site-header { background: rgba(250,247,240,.97); border-bottom-color: #d8e0e6; }
.brand strong { font-size: 22px; color: var(--navy); }
.brand small { font-size: 13px; }
.brand-mark { background: var(--navy); color: var(--gold); }
.primary-nav { gap: clamp(10px, 1.3vw, 22px); }
.primary-nav a { font-size: 15px; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--purple); }
.primary-nav .nav-cta { background: var(--navy); color: #fff; }
.hero { background: linear-gradient(135deg, #315D85 0%, #274E72 62%, #3C5F7B 100%); }
.hero h1 { font-size: clamp(42px, 4.5vw, 64px); color: #fff8e9; line-height: 1.32; }
.hero h1 span { color: var(--gold); }
.hero-lead { font-size: 20px; line-height: 1.9; }
.hero-note, .hero-note .note-icon { font-size: 16px; }
.hero-art { background: radial-gradient(circle at 50% 45%, #e9f0f5 0, #e9f0f5 34%, #f7f0e3 35%, #f7f0e3 100%); }
.moon, .star { color: var(--gold); }
.floating-pill { font-size: 15px; color: var(--navy); }
.section { padding-top: clamp(64px, 7vw, 100px); padding-bottom: clamp(64px, 7vw, 100px); }
.section-kicker { color: var(--purple); font-size: 14px; letter-spacing: 2px; }
.section-heading h2, .center-heading h2, .team-title h2, .access-copy h2, .future-block h2 { font-size: clamp(32px, 3.3vw, 46px); line-height: 1.45; color: var(--navy); }
.section-heading h2 span, .center-heading h2 span { color: #B08D42; }
.section-heading p, .center-heading p { font-size: 18px; line-height: 1.95; }
.purpose-card h3, .feature-card h3, .flow-step h3 { font-size: 21px; color: var(--navy); }
.purpose-card p, .feature-card p, .flow-step p { font-size: 17px; line-height: 1.9; }
.purpose-card { background: #fffdf8; border-color: #e4dfd4; }
.purpose-symbol { color: var(--purple); }
.quick-facts { gap: 20px; }
.fact strong { font-size: 18px; }
.fact small { font-size: 15px; }
.feature-grid { gap: 22px; }
.feature-card { border-color: #e2e4e5; }
.feature-blue { background: #edf4f8; }
.feature-lilac { background: #f1edf8; }
.feature-cream { background: #fbf4e6; }
.feature-mint { background: #eef4f1; }
.feature-icon { color: var(--purple); }
.feature-tag { font-size: 13px; color: var(--purple); }
.feature-footer { font-size: 14px; }
.architecture-section { background: #f5f0e7; }
.flow-step { background: #fffdf8; border-color: #e2d8c4; }
.flow-step .flow-number { color: #a9873f; }
.flow-step .flow-icon { color: var(--purple); }
.flow-arrow { color: var(--purple); font-size: 25px; }
.tech-stack strong { background: #eee9f6; color: #625187; font-size: 14px; }
.tech-stack p { font-size: 14px; }
.result-panel { background: #fffdf8; border-color: #e3dfd6; }
.result-panel-head { font-size: 17px; }
.metric-label { font-size: 16px; }
.metric-label strong { color: var(--navy); font-size: 20px; }
.metric-track { background: #e8e8e3; }
.metric-track span { background: #5d8db5; }
.metric-row:nth-of-type(3) .metric-track span { background: #9b8ac7; }
.metric-row:nth-of-type(4) .metric-track span { background: var(--gold); }
.result-caveat, .chart-note { font-size: 15px; line-height: 1.8; }
.future-block p, .future-tags span { font-size: 16px; }
.future-tags span { background: #eee9f6; color: #625187; border-color: #e0d8ef; }
.access-section { background: var(--blue-pale); }
.access-card { background: linear-gradient(120deg, #e7eff5, #fbf5e8); border-color: #d8e1e8; }
.access-copy p { font-size: 18px; }
.access-hint { font-size: 14px !important; }
.button { font-size: 17px; }
.button-primary { background: var(--navy); }
.button-quiet { border-color: #d8dfe4; color: var(--navy); }
.medical-note { font-size: 15px; }
.team-section { background: var(--navy); }
.team-title h2 { color: #fff8e9; }
.team-title p, .team-details span { font-size: 16px; }
.team-details strong { font-size: 18px; color: #fff8e9; }
.team-details > div { border-color: rgba(255,255,255,.2); }
.team-details span { color: var(--gold); }
.site-footer { background: #183650; }
.footer-inner, .copyright { font-size: 14px; }
.flow-overview-grid { display:grid; grid-template-columns:1fr 24px 1fr 24px 1fr 24px 1fr; gap:12px; align-items:stretch; margin-top:32px; }
.flow-overview-grid article { background:#fffdf8; border:1px solid #e2dfe0; border-radius:18px; padding:22px 16px; box-shadow:0 12px 30px rgba(33,70,106,.05); }
.flow-overview-grid article span { display:grid; place-items:center; width:38px; height:38px; border-radius:50%; background:#eee9f6; color:#625187; font-weight:800; font-size:15px; }
.flow-overview-grid h3 { font-size:19px; color:var(--navy); margin:14px 0 8px; }
.flow-overview-grid p { font-size:16px; line-height:1.8; color:var(--muted); margin:0; }
.flow-overview-grid > b { display:grid; place-items:center; color:#b08d42; font-size:22px; }
.purpose-section { background:#f4f0e8; }
.purpose-section .purpose-list { width:100%; }
.purpose-section .purpose-card { min-height:110px; }
#team, #motivation, #purpose, #workflow, #features, #architecture, #evaluation { scroll-margin-top: 100px; }
@media (max-width: 980px) {
  .primary-nav { gap: 10px; }
  .primary-nav a { font-size: 14px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .container { width: min(100% - 34px, 620px); }
  .nav-wrap { min-height: 76px; }
  .brand strong { font-size: 21px; }
  .brand small { font-size: 12px; }
  .primary-nav a { font-size: 17px; padding: 10px 0; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(39px, 10vw, 48px); }
  .hero-lead { font-size: 18px; }
  .section-heading h2, .center-heading h2, .team-title h2, .access-copy h2, .future-block h2 { font-size: clamp(30px, 8vw, 38px); }
  .section-heading p, .center-heading p { font-size: 17px; }
  .purpose-card h3, .feature-card h3 { font-size: 20px; }
  .purpose-card p, .feature-card p { font-size: 16px; }
  .flow-overview-grid { grid-template-columns: 1fr; gap: 10px; }
  .flow-overview-grid > b { transform: rotate(90deg); height: 20px; }
  .flow-overview-grid article { padding: 20px; }
  .flow-overview-grid h3 { font-size: 19px; }
  .flow-overview-grid p { font-size: 16px; }
  .metric-label { font-size: 14px; }
  .metric-label strong { font-size: 18px; }
  .team-details strong { font-size: 16px; }
  .future-tags span { font-size: 15px; }
}


/* Readability and added research detail */
:root { --body-size: 17px; }
body { font-size: 17px; }
.primary-nav { font-size: 16px; gap: clamp(10px, 1.5vw, 22px); }
.brand strong { font-size: 21px; }
.brand small { font-size: 12px; }
.hero-lead { font-size: 19px; }
.hero-note { font-size: 14px; }
.button { font-size: 16px; min-height: 52px; }
.section-heading p, .center-heading p { font-size: 17px; line-height: 1.95; }
.section-heading h2, .center-heading h2 { font-size: clamp(30px, 3.2vw, 42px); }
.team-details strong { font-size: 17px; }
.team-details span { font-size: 14px; }
.purpose-card h3, .feature-card h3, .flow-step h3 { font-size: 20px; }
.purpose-card p, .feature-card p, .flow-step p { font-size: 16px; line-height: 1.9; }
.fact strong { font-size: 17px; }
.fact small { font-size: 14px; }
.motivation-points { display:grid; gap:14px; align-content:center; }
.motivation-points article { display:flex; gap:16px; padding:20px; background:#fff; border:1px solid #e8e2d8; border-radius:14px; box-shadow:0 8px 24px #24445d0a; }
.motivation-points article>span { flex:0 0 42px; height:42px; display:grid; place-items:center; border-radius:13px; background:#eee9f6; color:#7967a8; font-weight:800; }
.motivation-points h3,.source-grid h3 { margin:0 0 6px; color:var(--navy); font-size:19px; }
.motivation-points p,.source-grid p { margin:0; color:var(--muted); font-size:16px; line-height:1.85; }
.sources-section { background:#f4f0e8; }
.source-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.source-grid article { padding:22px; background:#fffdf9; border:1px solid #e7dfd2; border-radius:14px; }
.source-symbol { display:inline-grid; place-items:center; width:38px; height:38px; margin-bottom:12px; border-radius:12px; background:#e8eff6; color:#315d85; font-size:22px; }
.evaluation-method { display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:center; margin-top:50px; padding-top:34px; border-top:1px solid #dfd8cd; }
.evaluation-method h2 { margin:8px 0 12px; font-size:clamp(25px,3vw,34px); color:var(--navy); }
.evaluation-method p { font-size:16px; line-height:1.9; color:var(--muted); }
.metric-chips { display:flex; flex-wrap:wrap; gap:10px; }
.metric-chips span { padding:10px 13px; border-radius:9px; background:#eee9f6; color:#5d4f83; font-size:14px; font-weight:600; }
.result-caveat, .chart-note, .access-hint, .medical-note { font-size:15px; line-height:1.9; }
.future-tags span { font-size:15px; }
.site-footer { font-size:14px; }
@media (max-width: 900px) {
 .primary-nav { font-size:17px; }
 .hero-lead { font-size:18px; }
 .section-heading p, .center-heading p { font-size:17px; }
 .evaluation-method { grid-template-columns:1fr; gap:18px; }
 .source-grid { grid-template-columns:1fr; }
}
@media (max-width: 640px) {
 body { font-size:17px; }
 .primary-nav a { font-size:18px; }
 .brand strong { font-size:20px; }
 .brand small { font-size:12px; }
 .hero h1 { font-size:clamp(36px, 10vw, 46px); }
 .hero-lead { font-size:18px; }
 .section-heading h2, .center-heading h2 { font-size:30px; }
 .purpose-card h3, .feature-card h3, .flow-step h3 { font-size:19px; }
 .purpose-card p, .feature-card p, .flow-step p, .motivation-points p, .source-grid p { font-size:16px; }
 .motivation-points article, .source-grid article { padding:17px; }
 .metric-chips span { font-size:14px; }
}

/* Clear, source-grounded system architecture diagram */
.architecture-board { background:#fffdf9; border:1px solid #e4e0d5; border-radius:22px; padding:clamp(18px,3vw,32px); box-shadow:0 18px 48px rgba(38,63,89,.06); }
.architecture-lane { border-radius:17px; padding:22px; }
.lane-knowledge { background:#edf4f8; border:1px solid #d8e6ee; }
.lane-query { background:#f2eff8; border:1px solid #e2d9ef; }
.lane-heading { display:flex; align-items:center; gap:13px; margin-bottom:22px; }
.lane-index { display:grid; place-items:center; flex:0 0 42px; height:42px; border-radius:13px; background:#fff; color:#a5843f; font-size:21px; font-weight:800; box-shadow:0 3px 12px rgba(38,63,89,.06); }
.lane-heading h3 { color:var(--navy); font-size:22px; margin:0 0 3px; }
.lane-heading p { color:#71838f; font-size:15px; margin:0; }
.architecture-nodes { display:grid; grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr) 24px minmax(0,1fr) 24px minmax(0,1fr); align-items:stretch; gap:8px; }
.architecture-node { min-width:0; padding:18px 14px; background:white; border:1px solid #dfe7e9; border-radius:13px; box-shadow:0 5px 16px rgba(38,63,89,.035); }
.architecture-node h4 { color:var(--navy); font-size:17px; line-height:1.45; margin:9px 0 8px; overflow-wrap:anywhere; }
.architecture-node p { color:#6e7f89; font-size:14px; line-height:1.85; margin:0; overflow-wrap:anywhere; }
.node-type { display:inline-block; padding:4px 8px; border-radius:5px; background:#f8f0dc; color:#8c7034; font-size:12px; font-weight:700; }
.node-storage { border-color:#d9c89c; background:#fffdf7; }
.node-retrieval { border-color:#cfc3e7; background:#fdfbff; }
.node-model { border-color:#dfcf9e; background:#fffdf7; }
.architecture-connector { display:grid; place-items:center; color:#a88a4b; font-size:26px; font-weight:700; }
.architecture-link-label { display:flex; flex-direction:column; align-items:center; gap:5px; padding:12px 0; color:#7e719c; font-size:14px; font-weight:700; }
.down-link { font-size:28px; line-height:1; color:#9b88c1; }
.architecture-side-notes { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:16px; }
.architecture-side-notes article { display:flex; gap:13px; align-items:flex-start; padding:17px; border-radius:12px; background:rgba(255,255,255,.82); border:1px solid #e3dced; }
.side-icon { display:grid; place-items:center; flex:0 0 37px; height:37px; border-radius:11px; background:#eee8f7; color:#716093; font-size:21px; }
.architecture-side-notes h4 { color:var(--navy); font-size:16px; margin:0 0 5px; }
.architecture-side-notes p { color:#6e7f89; font-size:14px; line-height:1.8; margin:0; }
.architecture-note { color:#7d898f; font-size:13px; line-height:1.8; margin:18px 3px 0; }
@media (max-width:1000px) {
 .architecture-nodes { grid-template-columns:1fr; gap:8px; }
 .architecture-connector { transform:rotate(90deg); min-height:22px; }
 .architecture-node { padding:16px; }
 .architecture-node h4 { font-size:18px; }
 .architecture-node p { font-size:15px; }
}
@media (max-width:760px) {
 .architecture-board { padding:12px; border-radius:16px; }
 .architecture-lane { padding:15px; }
 .lane-heading h3 { font-size:21px; }
 .lane-heading p { font-size:15px; line-height:1.7; }
 .architecture-node { padding:16px; }
 .architecture-node h4 { font-size:19px; }
 .architecture-node p { font-size:16px; }
 .node-type { font-size:13px; }
 .architecture-side-notes { grid-template-columns:1fr; }
 .architecture-side-notes h4 { font-size:18px; }
 .architecture-side-notes p, .architecture-note { font-size:15px; }
}

/* Detailed question-and-answer pipeline */
.qa-flow { margin-top:34px; display:flex; flex-direction:column; gap:0; }
.qa-stage { border:1px solid #dfe5e7; border-radius:22px; padding:clamp(18px,2.5vw,28px); background:#fffdf9; box-shadow:0 12px 32px rgba(33,70,106,.055); }
.qa-stage-input { border-top:5px solid #8daec5; }
.qa-stage-retrieval { border-top:5px solid #9c8bbd; background:#fbf9ff; }
.qa-stage-generation { border-top:5px solid #c4a45f; background:#fffdf7; }
.qa-stage-heading { display:flex; align-items:flex-start; gap:15px; margin-bottom:22px; }
.qa-stage-number { flex:0 0 44px; width:44px; height:44px; display:grid; place-items:center; border-radius:14px; background:#e8f0f6; color:#315d85; font-size:18px; font-weight:800; }
.qa-stage-retrieval .qa-stage-number { background:#eee8f8; color:#69558c; }
.qa-stage-generation .qa-stage-number { background:#f5edda; color:#8a6b2d; }
.qa-stage-heading h3 { margin:0 0 5px; color:var(--navy); font-size:23px; line-height:1.4; }
.qa-stage-heading p { margin:0; color:var(--muted); font-size:16px; line-height:1.7; }
.qa-input-options { display:grid; grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr); align-items:stretch; gap:14px; }
.qa-detail-card,.qa-process-card,.qa-model-card,.qa-answer-card { min-width:0; border:1px solid #e1e6e8; border-radius:16px; background:#fff; padding:19px; }
.qa-detail-card h4,.qa-process-card h4,.qa-model-card h4,.qa-answer-card h4 { color:var(--navy); font-size:18px; line-height:1.5; margin:10px 0 7px; overflow-wrap:anywhere; }
.qa-detail-card p,.qa-process-card p,.qa-model-card p,.qa-answer-card p { color:#647682; font-size:15px; line-height:1.85; margin:0; overflow-wrap:anywhere; }
.qa-chip { display:inline-flex; padding:5px 10px; border-radius:999px; background:#eaf2f8; color:#315d85; font-size:13px; font-weight:800; }
.qa-chip-gold { background:#f7efd9; color:#886a2c; }.qa-chip-green { background:#e7f3ed; color:#37765c; }
.qa-or,.qa-plus { display:grid; place-items:center; color:#9b895e; font-size:15px; font-weight:800; }
.qa-down { display:flex; flex-direction:column; align-items:center; gap:2px; padding:10px 0; color:#85749f; font-size:14px; font-weight:700; }
.qa-down b { font-size:26px; line-height:1.1; color:#a68b51; }
.qa-process-grid { display:grid; grid-template-columns:minmax(0,1fr) 22px minmax(0,1.35fr) 22px minmax(0,.9fr) 22px minmax(0,1fr); align-items:stretch; gap:7px; }
.qa-process-card { padding:17px 15px; }
.qa-step-label { display:block; color:#79679a; font-size:12px; line-height:1.5; font-weight:800; letter-spacing:.02em; }
.qa-process-card h4 { font-size:17px; margin-top:9px; }
.qa-process-card p { font-size:14px; line-height:1.8; }
.qa-mini-arrow { display:grid; place-items:center; color:#9d8754; font-size:22px; font-weight:800; }
.qa-retrieval-note { margin-top:15px; border-radius:12px; padding:13px 16px; background:#f0ebf8; color:#5d5472; font-size:14px; line-height:1.8; }
.qa-retrieval-note span { display:inline-block; font-weight:800; margin-right:7px; color:#5d477e; }
.qa-generation-grid { display:grid; grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr); gap:12px; align-items:stretch; }
.qa-model-card { background:#fff8e8; border-color:#e8d9b6; }
.qa-equals { grid-column:1 / -1; display:grid; place-items:center; color:#a68b51; font-size:25px; font-weight:800; margin:-4px 0; }
.qa-answer-card { grid-column:1 / -1; background:#f0f7f3; border-color:#d4e7dc; }
.qa-support-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:18px; }
.qa-support-grid article { display:flex; gap:13px; padding:18px; border:1px solid #e2dce9; border-radius:15px; background:rgba(255,255,255,.85); }
.qa-support-icon { flex:0 0 36px; width:36px; height:36px; display:grid; place-items:center; border-radius:11px; background:#eee8f7; color:#6c578c; font-size:20px; font-weight:800; }
.qa-support-grid h4 { margin:1px 0 6px; color:var(--navy); font-size:17px; }
.qa-support-grid p { margin:0; color:#647682; font-size:14px; line-height:1.85; }
.qa-flow-caveat { margin:17px 3px 0; color:#78858c; font-size:13px; line-height:1.8; }
@media(max-width:980px) {
 .qa-process-grid { grid-template-columns:1fr; gap:8px; }
 .qa-mini-arrow { transform:rotate(90deg); min-height:20px; }
}
@media(max-width:760px) {
 .qa-stage { padding:17px; border-radius:17px; }
 .qa-stage-heading { gap:11px; margin-bottom:17px; }
 .qa-stage-number { flex-basis:38px; width:38px; height:38px; border-radius:12px; font-size:16px; }
 .qa-stage-heading h3 { font-size:21px; }
 .qa-stage-heading p { font-size:15px; }
 .qa-input-options { grid-template-columns:1fr; gap:9px; }
 .qa-or { min-height:16px; }
 .qa-generation-grid { grid-template-columns:1fr; gap:9px; }
 .qa-plus { min-height:16px; }
 .qa-equals { grid-column:auto; margin:0; }
 .qa-answer-card { grid-column:auto; }
 .qa-support-grid { grid-template-columns:1fr; }
 .qa-detail-card,.qa-process-card,.qa-model-card,.qa-answer-card { padding:16px; }
 .qa-detail-card h4,.qa-process-card h4,.qa-model-card h4,.qa-answer-card h4 { font-size:18px; }
 .qa-detail-card p,.qa-process-card p,.qa-model-card p,.qa-answer-card p { font-size:15px; }
}


/* Source diagrams supplied from the project report */
.source-diagram { margin: 30px auto 38px; max-width: 1120px; background: #fffdf9; border: 1px solid #e2e5e8; border-radius: 20px; padding: clamp(10px, 2vw, 20px); box-shadow: 0 14px 40px rgba(38,63,89,.07); }
.source-diagram a { display: block; cursor: zoom-in; }
.source-diagram img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 10px; }
.source-diagram figcaption { display: flex; flex-direction: column; gap: 5px; padding: 13px 5px 2px; color: #536575; font-size: 14px; line-height: 1.7; }
.source-diagram figcaption strong { color: #263f59; font-size: 16px; }
.source-diagram-rag { max-width: 1080px; }
@media (max-width: 640px) { .source-diagram { margin: 20px auto 28px; padding: 7px; border-radius: 12px; } .source-diagram img { border-radius: 6px; } .source-diagram figcaption { font-size: 13px; padding: 10px 4px 3px; } .source-diagram figcaption strong { font-size: 14px; } }


/* Reference-image refresh: light blue/white palette and uncropped original diagrams */
body { background-color: #f7fbff; }
header, .site-header { background-color: rgba(255,255,255,.96); }
.source-diagram {
  width: 100%;
  max-width: 1180px;
  margin: 28px auto 36px;
  padding: clamp(8px, 1.6vw, 18px);
  overflow: visible;
  background: #fff;
  border: 1px solid #d7eafb;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(39, 111, 174, .08);
}
.source-diagram a { display: block; width: 100%; cursor: zoom-in; }
.source-diagram img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center;
  border-radius: 8px;
}
.source-diagram-architecture { max-width: 1180px; }
.source-diagram-rag { max-width: 1180px; }
@media (max-width: 640px) {
  .source-diagram { width: 100%; padding: 5px; border-radius: 10px; }
  .source-diagram img { width: 100%; height: auto !important; }
}
