/* OS-Lab content architecture prototype — minimal styling, no frameworks or trackers. */
:root {
  color-scheme: light;
  --ink: #38443e;
  --ink-soft: #59665e;
  --muted: #56635b;
  --paper: #fcfdfc;
  --light: #f3f6f4;
  --mist: #edf3f5;
  --line: #d8e1dd;
  --accent: #396b5a;
  --focus: #0d6e83;
  --max: 1180px;
  --radius: 4px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Segoe UI", "Microsoft JhengHei", "PingFang TC", "Noto Sans CJK TC", system-ui, sans-serif; font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: #1e4335; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: absolute; z-index: 50; top: -100px; left: 10px; padding: 10px 15px; background: white; color: black; }
.skip-link:focus { top: 10px; }
.demo-banner { display: flex; gap: 12px 24px; flex-wrap: wrap; align-items: baseline; justify-content: center; padding: 8px 18px; background: #e8f0ec; border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .04em; }
.demo-banner>span:first-child { font-weight: 750; }
.demo-banner-secondary { color: var(--ink-soft); letter-spacing: 0; }
.site-header { position: relative; background: rgba(252,253,252,.98); border-bottom: 1px solid var(--line); z-index: 20; }
.header-inner { max-width: 1450px; margin: 0 auto; min-height: 92px; padding: 12px 26px; display: flex; align-items: center; gap: 23px; }
.brand { text-decoration: none; color: var(--ink); display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 7px; flex: 0 0 auto; white-space: nowrap; }
.brand-logo { grid-row: span 2; object-fit: contain; }
.brand-mark { font-size: 25px; font-weight: 650; letter-spacing: -.055em; line-height: 1.15; }
.brand-dot, .footer-brand>span { color: var(--accent); }
.brand-caption { font-size: 10px; color: var(--muted); letter-spacing: 0; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link { display: inline-flex; text-decoration: none; align-items: center; min-height: 40px; padding: 7px 10px; border-radius: var(--radius); color: var(--ink); font-weight: 560; font-size: 13px; white-space: nowrap; }
.nav-link:hover, .nav-link.active { background: var(--light); color: var(--ink); }
.dropdown { position: relative; }
.dropdown summary { cursor: pointer; list-style: none; }
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown summary::after { content: '⌄'; margin-left: 8px; }
.dropdown[open] summary { background: var(--light); }
.dropdown-items { position: absolute; left: 0; top: calc(100% + 8px); width: 260px; background: white; box-shadow: 0 15px 45px rgba(29,55,41,.13); border: 1px solid var(--line); padding: 9px; z-index: 30; }
.dropdown-link { display: block; padding: 9px 11px; border-radius: var(--radius); color: var(--ink); text-decoration: none; font-size: 13px; }
.dropdown-link:hover, .dropdown-link.active { background: var(--light); }
.language { display: flex; align-items: center; flex: 0 0 auto; gap: 2px; padding-left: 14px; border-left: 1px solid var(--line); }
.language a { text-decoration: none; font-size: 12px; color: var(--muted); padding: 7px; border-bottom: 2px solid transparent; white-space: nowrap; }
.language .lang-current { color: var(--ink); font-weight: 700; border-color: var(--accent); }
.menu-toggle { display: none; }
.main-container { max-width: var(--max); padding: 0 26px; margin: 0 auto; }
.breadcrumbs { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; padding-top: 20px; }
.crumb-link { color: var(--muted); }
.hero { padding: 98px 0 110px; border-bottom: 1px solid var(--line); }
.hero-home { max-width: 1040px; }
.page-heading { padding: 74px 0 68px; max-width: 950px; border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 720; color: var(--accent); margin: 0 0 24px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-weight: 600; letter-spacing: -.037em; line-height: 1.19; font-size: clamp(2.4rem, 4.9vw, 4.35rem); margin-bottom: 27px; max-width: 980px; text-wrap: balance; }
h2 { font-size: clamp(1.65rem, 3vw, 2.42rem); font-weight: 600; line-height: 1.25; letter-spacing: -.025em; margin: 0 0 24px; text-wrap: pretty; }
h3 { font-size: 1.17rem; line-height: 1.4; font-weight: 650; }
p { color: var(--ink-soft); }
.hero-lead { max-width: 760px; font-size: clamp(1.02rem, 1.55vw, 1.25rem); line-height: 1.78; margin-bottom: 32px; }
.action-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 11px 20px; border: 1px solid var(--ink); border-radius: var(--radius); font: inherit; font-weight: 620; font-size: 14px; text-decoration: none; cursor: pointer; transition: background-color .16s ease; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #1d3329; color: white; }
.button-outline { background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--light); }
.content-section { padding: 85px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 12px; }
.content-section h2 { max-width: 820px; }
.content-section p { max-width: 850px; }
.section-muted { background: var(--light); box-shadow: 26px 0 0 var(--light), -26px 0 0 var(--light); }
.section-kicker { text-transform: uppercase; color: var(--muted); letter-spacing: .1em; font-size: 12px; font-weight: 720; margin-bottom: 20px; }
.section-lead { font-size: 1.05rem; max-width: 740px; margin-bottom: 34px; }
.inline-arrow { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.inline-arrow::after { content: '→'; font-size: 19px; font-weight: 400; }
.service-list { border-top: 1px solid var(--line); }
.service-line { display: grid; grid-template-columns: 60px minmax(0,1fr) auto; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); padding: 23px 0; }
.service-line h3 { margin: 0 0 7px; font-size: 21px; }
.service-line p { margin: 0; max-width: 790px; font-size: 14px; line-height: 1.62; }
.service-no { font: 600 13px/1.3 ui-monospace, monospace; color: var(--muted); }
.tech-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; padding: 25px 0 0; font-size: 14px; }
.tech-links>div { display: flex; gap: 20px; flex-wrap: wrap; }
.models { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; margin: 30px 0 40px; }
.model { border-top: 2px solid var(--ink); padding-top: 15px; }
.model-index { display: inline-block; font: 600 12px ui-monospace, monospace; color: var(--muted); margin-bottom: 27px; }
.model h3 { margin-bottom: 14px; }
.model p { font-size: 14px; margin-bottom: 0; }
.audiences { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.audience { background: var(--paper); padding: 26px 23px; }
.audience h3 { margin-bottom: 12px; }
.audience p { font-size: 14px; margin: 0; }
.numbers { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 34px; margin-top: 50px; }
.number-item { border-top: 1px solid var(--line); padding-top: 24px; }
.number-item strong { display: block; font-size: clamp(2.2rem, 3.7vw, 3.55rem); font-weight: 570; line-height: 1.25; letter-spacing: -.045em; color: var(--ink); }
.number-label { font-weight: 620; color: var(--ink); margin: 10px 0; }
.number-item small { display: block; font-size: 12px; color: var(--muted); }
.number-item a { display: inline-block; margin-top: 12px; font-size: 12px; }
.journey { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; padding: 0; margin: 40px 0 0; list-style: none; }
.journey li { display: flex; flex-direction: column; padding: 18px; min-height: 170px; border: 1px solid var(--line); background: var(--paper); position: relative; gap: 8px; }
.journey li:not(:last-child)::after { content: '→'; position: absolute; top: 50%; right: -16px; background: var(--light); z-index: 1; font-size: 17px; }
.journey .flow-num { color: var(--accent); font-size: 12px; font-weight: 700; }
.journey li strong { font-size: 18px; }
.journey li>span:last-child { font-size: 13px; color: var(--muted); }
.sample-callout { padding: 30px 32px; background: var(--mist); border-left: 3px solid #90b5ab; }
.sample-callout>span { display: block; color: var(--muted); font-size: 11px; letter-spacing: .08em; font-weight: 650; margin-bottom: 13px; }
.sample-callout p { font-size: 18px; max-width: 700px; }
.teaser-prices { border-top: 1px solid var(--line); margin-top: 40px; }
.price-teaser { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 10px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.price-teaser strong { font-size: 23px; letter-spacing: -.02em; white-space: nowrap; }
.fine-print { font-size: 13px; color: var(--muted); }
.closing-cta { display: flex; align-items: center; justify-content: space-between; gap: 35px; border-top: 1px solid var(--line); padding: 74px 0 92px; }
.closing-cta h2 { margin-bottom: 10px; }
.closing-cta p { margin: 0; max-width: 760px; }
.content-column { max-width: 900px; }
.detail-list { padding-left: 20px; margin: 12px 0 0; }
.detail-list li { margin: 11px 0; padding-left: 7px; line-height: 1.76; color: var(--ink-soft); }
.detail-list li::marker { color: #8fa599; }
.price-detail { padding: 27px 30px; background: var(--light); font-size: 19px; line-height: 1.7; border-left: 3px solid var(--accent); }
.faq-item { border-top: 1px solid var(--line); padding: 16px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { font-weight: 600; cursor: pointer; font-size: 16px; padding-right: 22px; position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; font-size: 21px; top: -3px; font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 13px 24px 4px 0; font-size: 15px; }
.related-row { display: flex; flex-wrap: wrap; gap: 12px; }
.related-link { padding: 12px 16px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; background: white; }
.related-link:hover { background: var(--light); }
.notice { border-left: 3px solid #b1975c; padding: 14px 18px; color: var(--ink); font-size: 14px; background: #faf7f0; }
.important-notice { max-width: 850px; }
.table-scroll { max-width: 100%; overflow-x: auto; border-top: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 670px; }
th,td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 17px 13px; font-size: 14px; }
thead th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
tbody th { font-weight: 650; width: 34%; }
.amount { font-weight: 650; color: var(--ink); white-space: nowrap; }
.bundles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.bundle { border: 1px solid var(--line); padding: 18px; }
.bundle h3 { font-size: 16px; }
.bundle p { font-size: 14px; margin: 0; }
.example-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 45px 38px; }
.example { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.example h2 { font-size: 24px; margin: 14px 0 12px; }
.example p { font-size: 15px; }
.fake-preview { height: 205px; border: 1px solid var(--line); background: linear-gradient(160deg,#f4f7f5,#ebf2f2); margin-bottom: 14px; overflow: hidden; }
.fake-preview-header { display: flex; gap: 8px; border-bottom: 1px solid #d6e1dc; padding: 14px; }
.fake-preview-header span { height: 7px; width: 50px; border-radius: 10px; background: #b9cac2; }
.fake-preview-header span:first-child { width: 84px; margin-right: auto; background: #718d7e; }
.fake-preview-lines { display: flex; flex-direction: column; gap: 10px; max-width: 60%; padding: 23px; }
.fake-preview-lines i { height: 7px; width: 90%; border-radius: 10px; background: #cbd7d0; }
.fake-preview-lines i:first-child { height: 20px; width: 75%; background: #7d9a8c; }
.fake-preview-lines i:nth-child(3) { width: 55%; }
.fake-preview-lines b { height: 25px; width: 65px; border-radius: 3px; background: #5c7869; margin-top: 5px; }
.sample-flag { display: block; font-size: 11px; font-weight: 740; color: #754e31; margin-bottom: 9px; letter-spacing: .07em; }
.pill-tag { display: inline-block; border: 1px solid var(--line); padding: 3px 10px; border-radius: 30px; font-size: 11px; }
.process-steps { list-style: none; padding: 0; margin: 20px 0 0; max-width: 900px; }
.process-step { display: grid; grid-template-columns: 75px minmax(0,1fr); gap: 22px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.process-step>span { color: var(--accent); font: 600 15px ui-monospace, monospace; margin-top: 6px; }
.process-step h2 { font-size: 22px; margin-bottom: 9px; }
.process-step p { margin: 0; }
.people { max-width: 920px; }
.person { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 34px; border-bottom: 1px solid var(--line); padding: 28px 0 46px; }
.person-monogram { height: 100px; width: 100px; background: var(--mist); display: grid; place-items: center; color: var(--accent); font-size: 34px; font-weight: 560; border: 1px solid var(--line); }
.person-name { display: block; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.person h2 { font-size: 24px; }
.demo-form { max-width: 800px; }
.form-info { padding: 14px 18px; background: var(--mist); margin-bottom: 28px; border-left: 3px solid #81a99b; }
.form-two { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.demo-form label { display: block; color: var(--ink); font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.demo-form input, .demo-form select, .demo-form textarea { display: block; font: inherit; font-size: 15px; color: var(--ink); border: 1px solid #bbc8c1; background: white; padding: 11px 13px; border-radius: var(--radius); width: 100%; margin-top: 7px; }
.demo-form textarea { resize: vertical; min-height: 135px; }
.demo-form input::placeholder { color: var(--muted); }
.prepared { border-top: 1px solid var(--line); margin-top: 35px; padding-top: 30px; }
.prepared h2 { font-size: 22px; }
.prepared textarea { background: var(--light); min-height: 220px; margin-bottom: 15px; }
.prepared #prepared-status { font-size: 14px; }
.footer { background: #eaf0ed; border-top: 1px solid var(--line); padding: 70px 26px 25px; margin-top: 45px; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2.4fr 1fr 1fr .8fr; gap: 55px; }
.footer-intro p { font-size: 14px; }
.footer-brand { color: var(--ink)!important; font-size: 28px!important; letter-spacing: -.045em; font-weight: 680; margin-bottom: 5px; }
.footer-intro small { display: block; color: var(--muted); font-size: 12px; max-width: 345px; }
.footer h2 { font-size: 13px; font-weight: 720; margin: 10px 0 17px; letter-spacing: .04em; }
.footer-link { display: block; color: var(--ink-soft); text-decoration: none; padding: 4px 0; font-size: 13px; }
.footer-link:hover { text-decoration: underline; }
.footer-bottom { max-width: var(--max); margin: 55px auto 0; padding-top: 19px; border-top: 1px solid #cbd8d0; display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 12px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),1fr)); gap: 18px; }
.portfolio-grid figure { margin: 0; }
.portfolio-grid img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.portfolio-grid figcaption { margin-top: 8px; }
@media (max-width: 1160px) {
  .js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 26px 22px; max-height: 78vh; overflow-y: auto; box-shadow: 0 12px 23px #00000012; }
  .js .site-nav.open { display: flex; }
  .menu-toggle { display: inline-flex; margin-left: auto; gap: 11px; justify-content: center; align-items: center; background: transparent; border: 1px solid var(--line); border-radius: 3px; color: var(--ink); padding: 8px 12px; font: inherit; font-size: 14px; cursor: pointer; }
  .language { margin-left: 0; }
  .dropdown-items { position: static; box-shadow: none; width: 100%; padding: 4px 10px; }
  .nav-link { font-size: 15px; }
  .footer-grid { gap: 25px; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 72px; padding: 11px 18px; gap: 9px; flex-wrap: wrap; }
  .brand-caption { max-width: 120px; line-height: 1.3; white-space: normal; }
  .brand-mark { font-size: 23px; }
  .language { gap: 0; border-left: none; padding-left: 0; }
  .language a { display: grid; place-items: center; min-height: 44px; min-width: 44px; font-size: 13px; padding: 6px; }
  .menu-toggle { font-size: 13px; padding: 7px 8px; }
  .main-container { padding: 0 18px; }
  .demo-banner { padding: 7px 15px; text-align: center; }
  .demo-banner-secondary { display: none; }
  .hero { padding: 66px 0 75px; }
  .page-heading { padding: 48px 0 50px; }
  .hero-lead { font-size: 1.03rem; }
  .content-section { padding: 56px 0; }
  .section-muted { box-shadow: 18px 0 0 var(--light), -18px 0 0 var(--light); }
  h1 { font-size: clamp(2.08rem,8vw,3rem); }
  h2 { font-size: 1.65rem; }
  .service-line { grid-template-columns: 35px minmax(0,1fr); align-items: start; gap: 8px 12px; }
  .service-line .inline-arrow { grid-column: 2; }
  .models, .audiences, .numbers, .bundles, .example-grid { grid-template-columns: 1fr; gap: 18px; }
  .models { gap: 30px; }
  .audiences { gap: 1px; }
  .numbers { gap: 30px; }
  .journey { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .journey li:not(:last-child)::after { display: none; }
  .closing-cta { align-items: start; flex-direction: column; padding: 55px 0; }
  .footer { padding: 45px 18px 24px; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; margin-top: 35px; }
  .form-two { grid-template-columns: 1fr; gap: 0; }
  .menu-toggle { min-height: 44px; }
  .table-scroll table { min-width: 0; overflow-wrap: anywhere; }
  th, td { padding-inline: 6px; }
  .amount { white-space: normal; }
}
@media (max-width: 420px) {
  .menu-toggle { margin-left: auto; }
  .language { width: 100%; justify-content: flex-start; }
  .language a { padding: 5px 9px; }
  .service-no { display: none; }
  .service-line { grid-template-columns: 1fr; }
  .service-line .inline-arrow { grid-column: 1; }
  .journey { grid-template-columns: 1fr; }
  .journey li { min-height: auto; }
  .price-teaser { display: block; }
  .price-teaser strong { display: block; margin-top: 4px; }
  .person { grid-template-columns: 1fr; gap: 10px; }
  .person-monogram { width: 65px; height: 65px; font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-intro { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
@media print { .site-header,.footer,.demo-banner,.menu-toggle,.button { display:none!important; } body { color:#111; background:#fff; } .content-section { break-inside:avoid; } a {color:#111;} }
