/* showcase.css — HexMind public homepage
   Purpose: scoped presentation for the static multilingual homepage.
   Scope: body.showcase and descendants only. No frameworks and no gradients. */

.showcase {
  --ink: #15233B;
  --blue: #3158A6;
  --mist: #F1F5FA;
  --line: #DCE4EE;
  --white: #FFFFFF;
  --muted: #52627A;
  --shell: 1120px;
  --radius: 6px;
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

.showcase *,
.showcase *::before,
.showcase *::after { box-sizing: border-box; }

.showcase h1,
.showcase h2,
.showcase h3,
.showcase p,
.showcase dl,
.showcase dd,
.showcase figure { margin: 0; }

.showcase ul,
.showcase ol { margin: 0; padding: 0; list-style: none; }

.showcase a { color: var(--blue); text-underline-offset: 3px; }
.showcase svg { display: block; }
.showcase [hidden] { display: none !important; }
.showcase button { font: inherit; }

.showcase h1,
.showcase h2,
.showcase h3,
.showcase .brand {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.showcase .num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.showcase .wrap { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 32px; }

.showcase .skip { position: absolute; left: 16px; top: -64px; z-index: 30; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 4px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 600; text-decoration: none; }
.showcase .skip:focus { top: 12px; color: var(--white); }
.showcase #main:focus { outline: none; }

.showcase .site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.showcase .header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.showcase .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 18px; font-weight: 700; text-decoration: none; }
.showcase .brand svg { width: 24px; height: 24px; }
.showcase .nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.showcase .nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14.5px; font-weight: 500; text-decoration: none; }
.showcase .nav a:hover { color: var(--ink); }
.showcase .lang-switch { flex: none; }
.showcase .lang-select { min-height: 34px; }

.showcase .hero { padding: 76px 0 60px; scroll-margin-top: 24px; }
.showcase .hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: 64px; align-items: start; }
.showcase .hero-copy,
.showcase .memo { min-width: 0; }
.showcase .eyebrow { color: var(--blue); font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; line-height: 1.4; text-transform: uppercase; }
.showcase .hero h1 { margin: 18px 0 20px; font-size: clamp(2.3rem, 4.4vw, 3.4rem); line-height: 1.07; max-width: 18ch; }
html:lang(zh-CN) .showcase .hero h1,
html:lang(ja) .showcase .hero h1,
html:lang(ko) .showcase .hero h1 { max-width: 21em; line-height: 1.24; letter-spacing: 0; }
.showcase .hero .lede { max-width: 47ch; color: var(--muted); font-size: 18px; line-height: 1.6; }
.showcase .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.showcase .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 4px; font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.showcase .btn-primary { background: var(--blue); border-color: var(--blue); color: var(--white); }
.showcase .btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.showcase .btn-ghost { background: var(--white); border-color: var(--line); color: var(--ink); }
.showcase .btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.showcase .fineprint { margin-top: 18px; color: var(--muted); font-size: 13.5px; }

.showcase .memo { padding: 24px 24px 20px; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); background: var(--white); box-shadow: 0 24px 48px -36px rgba(21, 35, 59, 0.4); overflow-wrap: break-word; }
.showcase .memo-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; margin-bottom: 16px; }
.showcase .memo-kicker { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.showcase .memo-tag { color: var(--blue); font-size: 11.5px; font-weight: 600; }
.showcase .memo h2 { margin-bottom: 16px; font-size: 22px; line-height: 1.3; letter-spacing: -0.015em; }
.showcase .memo-rec { padding: 13px 15px; border-radius: 4px; background: var(--mist); font-size: 15.5px; line-height: 1.5; }
.showcase .memo .label { display: block; margin-bottom: 4px; color: var(--blue); font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; line-height: 1.4; text-transform: uppercase; }
.showcase .memo-block { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.showcase .memo-body { color: var(--muted); font-size: 13.8px; line-height: 1.55; }
.showcase .calc { margin: 18px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.showcase .calc-title { margin-bottom: 8px; color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.showcase .calc-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; font-size: 14px; }
.showcase .calc-list dt { color: var(--muted); }
.showcase .calc-list dd { white-space: nowrap; font-weight: 500; }
.showcase .calc-list > .calc-total { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); font-weight: 600; }
.showcase .calc-total dt { color: var(--ink); }
.showcase .calc-shift { margin-top: 12px; }
.showcase .shift-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; font-size: 15px; font-weight: 600; }
.showcase .shift-line .num { font-size: 19px; }
.showcase .arrow { color: var(--blue); }
.showcase .shift-note { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.showcase .calc-caption { margin-top: 10px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.showcase .memo-next { margin-top: 14px; font-size: 14.5px; line-height: 1.5; }
.showcase .memo-link { margin-top: 12px; font-size: 13.5px; font-weight: 600; }

.showcase .deliverables { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--mist); }
.showcase .deliverables .wrap { padding-top: 17px; padding-bottom: 17px; }
.showcase .deliverables ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 28px; }
.showcase .deliverables li { display: flex; align-items: baseline; gap: 10px; color: var(--ink); font-size: 14px; font-weight: 600; }
.showcase .deliverables li::before { content: ''; flex: none; width: 5px; height: 5px; background: var(--blue); }

.showcase .examples { padding: 76px 0 64px; scroll-margin-top: 24px; }
.showcase .section-head { max-width: 660px; margin-bottom: 38px; }
.showcase .section-head h2 { margin-top: 10px; font-size: clamp(1.7rem, 2.7vw, 2.15rem); }
.showcase .section-intro { margin-top: 12px; color: var(--muted); font-size: 16px; }
.showcase .example-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.showcase .example { padding: 26px 30px 0 0; }
.showcase .example + .example { padding-left: 30px; border-left: 1px solid var(--line); }
.showcase .example:last-child { padding-right: 0; }
.showcase .example h3 { margin: 8px 0; font-size: 19px; }
.showcase .example p { color: var(--muted); font-size: 15px; }
.showcase .example p.example-when { margin-top: 10px; color: var(--blue); font-size: 13.5px; line-height: 1.45; }
.showcase .example a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: 14px; font-weight: 600; text-decoration: none; }
.showcase .example a::after { content: '→'; margin-left: 8px; }
.showcase .example a:hover { text-decoration: underline; }
.showcase .lang-note { margin-top: 28px; color: var(--muted); font-size: 13px; }
.showcase .guide-links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 6px; }
.showcase .guide-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: none; }
.showcase .guide-links a:hover { text-decoration: underline; }

.showcase .process { padding: 68px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--mist); scroll-margin-top: 24px; }
.showcase .process h2 { margin-top: 10px; font-size: clamp(1.7rem, 2.7vw, 2.15rem); }
.showcase .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 38px; }
.showcase .step { padding-top: 18px; border-top: 2px solid var(--blue); }
.showcase .step-num { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; }
.showcase .step h3 { margin: 8px 0 6px; font-size: 17px; }
.showcase .step-copy { color: var(--muted); font-size: 14px; }
.showcase .exchange-note { margin-top: 28px; color: var(--muted); font-size: 13px; }

.showcase .pilot { padding: 76px 0 80px; scroll-margin-top: 24px; }
.showcase .pilot-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: start; }
.showcase .pilot h2 { margin-top: 10px; font-size: clamp(1.7rem, 2.7vw, 2.15rem); }
.showcase .pilot-lede { max-width: 56ch; margin-top: 14px; color: var(--muted); font-size: 16px; }
.showcase .pilot .btn { margin-top: 26px; }
.showcase .mail-help { max-width: 52ch; margin-top: 14px; color: var(--muted); font-size: 13px; }
.showcase .email-line { margin-top: 16px; font-size: 15px; }
.showcase .email-line a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.showcase .email-line a:hover { color: var(--ink); }
.showcase .privacy { max-width: 52ch; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

.showcase .faq { border-top: 1px solid var(--line); }
.showcase .faq .faq-title { margin-top: 0; line-height: 1.5; margin-bottom: 4px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.showcase .faq details { border-bottom: 1px solid var(--line); }
.showcase .faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 10px 0; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.showcase .faq summary::-webkit-details-marker { display: none; }
.showcase .faq summary::after { content: '+'; color: var(--blue); font-size: 18px; font-weight: 400; line-height: 1; }
.showcase .faq details[open] summary::after { content: '−'; }
.showcase .faq details p { max-width: 58ch; padding: 0 0 16px; color: var(--muted); font-size: 14px; }

.showcase .site-footer { padding: 38px 0 30px; border-top: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: 13px; }
.showcase .footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 48px; }
.showcase .footer-brand { margin-bottom: 8px; font-size: 17px; }
.showcase .footer-brand svg { width: 22px; height: 22px; }
.showcase .footer-tagline { max-width: 34ch; }
.showcase .footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.showcase .footer-label { margin-bottom: 4px; color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.showcase .footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.showcase .footer-nav a:hover { color: var(--ink); }
.showcase .footer-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; }

.showcase a:focus-visible,
.showcase button:focus-visible,
.showcase summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

@media (max-width: 980px) {
  .showcase .hero-grid,
  .showcase .pilot-grid { grid-template-columns: 1fr; gap: 40px; }
  .showcase .hero h1 { max-width: 18ch; }
  .showcase .memo { max-width: 560px; }
}

@media (max-width: 860px) {
  .showcase .examples { padding: 60px 0 52px; }
  .showcase .example-grid { grid-template-columns: 1fr; }
  .showcase .example { padding: 24px 0 22px; }
  .showcase .example + .example { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .showcase .example:last-child { padding-bottom: 0; }
  .showcase .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .showcase .process { padding: 56px 0; }
}

@media (max-width: 700px) {
  .showcase .deliverables ul { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .showcase { font-size: 16.5px; }
  .showcase .wrap { padding: 0 20px; }
  .showcase .header-inner { flex-wrap: wrap; gap: 2px 16px; padding: 10px 20px 6px; min-height: 0; }
  .showcase .brand { order: 1; }
  .showcase .lang-switch { order: 2; margin-left: auto; }
  .showcase .nav { order: 3; width: 100%; justify-content: space-between; gap: 10px; margin-left: 0; padding-top: 4px; border-top: 1px solid var(--line); }
  .showcase .nav a { font-size: 13.5px; }
  .showcase .hero { padding: 48px 0 40px; }
  .showcase .hero h1 { font-size: clamp(2.05rem, 9vw, 2.7rem); max-width: none; }
  .showcase .hero .lede { font-size: 16.5px; }
  .showcase .cta-row { margin-top: 24px; }
  .showcase .btn { width: 100%; }
  .showcase .memo { padding: 18px 16px 16px; }
  .showcase .memo h2 { font-size: 19.5px; }
  .showcase .memo-rec { padding: 12px 13px; font-size: 14.5px; }
  .showcase .calc-list > div { font-size: 13.5px; }
  .showcase .shift-line .num { font-size: 17px; }
  .showcase .examples,
  .showcase .pilot { padding-top: 54px; }
  .showcase .steps { grid-template-columns: 1fr; }
  .showcase .faq summary { font-size: 14.5px; }
  .showcase .footer-grid { flex-direction: column; gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .showcase * { transition: none !important; animation: none !important; }
}
/* Keep current hypothetical calculations distinct from the historical record. */
.showcase .memo-calculation { margin-top: 20px; border-top: 1px solid var(--line); }
.showcase .memo-calculation summary { padding: 14px 0; color: var(--blue); font-size: 13px; font-weight: 600; cursor: pointer; }
