/* /{locale}/guide/ and /{locale}/company/ (design B, Claude Design 2026-10-31: suite docs/design/site-redesign/export
   Guide.dc.html and Company.dc.html). web-kit tokens and the site.css marketing scale only; no hex values here. */

/* Guide: Navy head, then the table of contents beside the nine steps (sticky from 960px). */
.guide-head h1 { font-size: var(--font-size-mkt-close); }
.guide-head .meta { font-size: var(--font-size-label); color: var(--color-nav-muted); font-variant-numeric: tabular-nums; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-12); padding-block: clamp(48px, 6vw, 88px) var(--space-mkt-band); }
.guide-toc { display: flex; flex-direction: column; gap: var(--space-3); }
.toc-title { font-size: var(--font-size-caption); font-weight: var(--font-weight-semibold); color: var(--color-ink-muted); }
.guide-toc ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-ink); }
.guide-toc li { border-bottom: 1px solid var(--color-line); }
.guide-toc a { display: flex; align-items: baseline; gap: var(--space-3); padding: var(--space-3) 0; font-size: var(--font-size-body); font-weight: var(--font-weight-medium); line-height: 1.45; color: var(--color-ink); text-decoration: none; }
.guide-toc a:hover { color: var(--color-action-text); }
.guide-toc a:focus-visible { outline-offset: calc(-1 * var(--focus-ring-width)); }
.guide-toc a span { flex: none; width: var(--space-5); font-size: var(--font-size-caption); color: var(--color-action-text); font-variant-numeric: tabular-nums; }
.guide-toc .meta { line-height: 1.55; }
@media (min-width: 960px) {
  .guide-layout { grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); column-gap: clamp(40px, 5vw, 80px); align-items: start; }
  .guide-toc { position: sticky; top: calc(var(--site-gnb-height, var(--size-mkt-gnb)) + var(--space-6)); max-height: calc(100dvh - var(--site-gnb-height, var(--size-mkt-gnb)) - var(--space-12)); overflow-y: auto; overscroll-behavior: contain; }
}

/* One step: number, who does it, the title and its numbered actions, then the real screen in a plain frame. */
.guide-steps { min-width: 0; display: flex; flex-direction: column; }
.guide-step { display: flex; flex-direction: column; gap: var(--space-6); margin-bottom: clamp(56px, 6vw, 88px); padding-bottom: clamp(56px, 6vw, 88px); border-bottom: 1px solid var(--color-line); }
.step-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--space-4) var(--space-8); }
.step-title { flex: 1 1 320px; min-width: 0; display: flex; align-items: flex-start; gap: var(--space-5); }
.step-title > div { min-width: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.step-num { flex: none; width: var(--size-control-lg); height: var(--size-control-lg); display: grid; place-items: center; border-radius: 50%; background: var(--color-brand-navy); color: var(--color-ink-inverse); font-size: var(--font-size-body-lg); font-weight: var(--font-weight-semibold); font-variant-numeric: tabular-nums; }
.guide-step h2 { font-size: clamp(var(--font-size-title-lg), 2.2vw, var(--font-size-display)); line-height: 1.3; letter-spacing: -0.02em; }
.step-actions { flex: 1 1 360px; margin: 0; padding: 0; list-style: none; counter-reset: step-action; display: flex; flex-direction: column; gap: var(--space-3); }
.step-actions li { counter-increment: step-action; display: flex; gap: var(--space-3); font-size: 16px; line-height: 1.6; color: var(--color-ink-secondary); }
/* The list already numbers its items for screen readers; the drawn number is hidden from them where supported. */
.step-actions li::before { content: counter(step-action); content: counter(step-action) / ""; flex: none; width: var(--space-6); height: var(--space-6); margin-top: 1px; display: grid; place-items: center; border: 1px solid var(--color-line-strong); border-radius: 50%; font-size: var(--font-size-caption); font-weight: var(--font-weight-semibold); line-height: 1; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.frame { overflow: hidden; border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-mkt-card); }
.frame-bar { height: 36px; display: flex; align-items: center; gap: var(--space-2); padding: 0 var(--space-4); border-bottom: 1px solid var(--color-line); background: var(--color-bg); }
.frame-bar span { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--color-line-strong); }
.frame-bar span:last-child { flex: 1 1 auto; min-width: 0; width: auto; height: auto; margin-left: var(--space-2); border-radius: 0; background: none; font-size: var(--font-size-caption); line-height: 1.5; color: var(--color-ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame a { display: block; }
.frame img { width: 100%; height: auto; }
.step-shot figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-1) var(--space-6); }
.step-links { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }
.step-links a { min-height: var(--size-control-sm); display: inline-flex; align-items: center; font-weight: var(--font-weight-medium); text-decoration: none; }
.step-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.step-links a + a { color: var(--color-ink-secondary); }
.step-links a + a:hover { color: var(--color-ink); }
.guide-help { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius-xl); background: var(--color-bg); }
.guide-help h2 { font-size: var(--font-size-mkt-h3); }
.guide-help p { font-size: 16px; line-height: 1.7; color: var(--color-ink-secondary); }
.guide-help a { min-height: var(--size-control-sm); display: inline-flex; align-items: center; font-size: var(--font-size-body); font-weight: var(--font-weight-medium); overflow-wrap: anywhere; text-underline-offset: 4px; }

/* Company: Navy head with the confirmed company facts beside the introduction. */
.company-head .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); align-items: end; gap: var(--space-10) clamp(40px, 6vw, 96px); }
.company-copy { display: flex; flex-direction: column; gap: var(--space-6); }
.company-facts { border-top: 1px solid var(--color-nav-line); font-size: var(--font-size-body); line-height: 1.55; }
.company-facts div { display: grid; grid-template-columns: minmax(6em, 30%) minmax(0, 1fr); gap: var(--space-1) var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--color-nav-line); }
.company-facts dt { color: var(--color-nav-muted); }
.company-facts dd { overflow-wrap: anywhere; }
.company-facts a { text-underline-offset: 4px; }
@media (max-width: 479px) { .company-facts div { grid-template-columns: minmax(0, 1fr); } }
.section > h2 { margin-bottom: clamp(32px, 4vw, 48px); }

/* News: the source note stays above every article; the featured cards, then all articles in date order. */
.news-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4) var(--space-12); margin-bottom: var(--space-6); }
.news-head .meta { font-size: var(--font-size-label); }
.news-note { margin-bottom: clamp(32px, 4vw, 48px); display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg); background: var(--color-bg); font-size: var(--font-size-label); line-height: 1.65; color: var(--color-ink-secondary); }
.news-note .icon { margin-top: 3px; color: var(--color-info); }
.news-featured, .news-list { margin: 0; padding: 0; list-style: none; }
.news-featured { margin-bottom: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: var(--space-4); }
.news-featured li { position: relative; display: flex; flex-direction: column; gap: var(--space-4); padding: clamp(24px, 2.2vw, 32px); border: 1px solid var(--color-line); border-radius: var(--radius-xl); transition: border-color var(--motion-duration-fast) var(--motion-easing-standard); }
.news-featured li:hover { border-color: var(--color-line-strong); }
.news-featured .meta, .video-list .meta { display: flex; flex-wrap: wrap; gap: 0 var(--space-2); font-size: var(--font-size-label); font-variant-numeric: tabular-nums; }
.news-featured h3 { flex: 1; font-size: var(--font-size-title-md); line-height: 1.5; letter-spacing: 0; }
.news-list small { font-size: var(--font-size-caption); }
/* The separator stays with the publisher, so a wrapped line never ends on it; screen readers skip it. */
:is(.news-featured, .video-list) .pub::before { content: "·"; content: "·" / ""; margin-right: var(--space-2); }
.video-list .meta small { font-size: inherit; }
/* The title is the one link of an item; it stretches over the card or the row, the cue under it only shows that. */
:is(.news-featured, .news-list) h3 a { color: var(--color-ink); text-decoration: none; text-underline-offset: 4px; }
:is(.news-featured, .news-list) h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-xl); }
.news-all h3 a::after { border-radius: 0; }
:is(.news-featured, .news-list) li:hover h3 a { text-decoration: underline; }
:is(.news-featured, .news-list) h3 a:focus-visible { outline: none; }
:is(.news-featured, .news-list) h3 a:focus-visible::after { outline: var(--focus-ring-width) solid var(--color-focus); outline-offset: var(--focus-ring-offset); }
.news-cue { font-size: var(--font-size-body); font-weight: var(--font-weight-medium); color: var(--color-action-text); }
.news-all { border-top: 1px solid var(--color-ink); }
.news-all summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding: var(--space-5) 0; border-bottom: 1px solid var(--color-line); font-size: var(--font-size-body-lg); font-weight: var(--font-weight-medium); line-height: 1.45; }
.news-all summary:hover { color: var(--color-action-text); }
.news-all summary .icon { width: 20px; height: 20px; color: var(--color-ink-secondary); transition: transform var(--motion-duration-base) var(--motion-easing-standard); }
.news-all[open] summary .icon { transform: rotate(180deg); }
.news-all li { position: relative; display: grid; grid-template-columns: minmax(0, 10em) minmax(0, 1fr) auto; align-items: baseline; gap: var(--space-1) var(--space-6); padding: var(--space-4) 0; border-bottom: 1px solid var(--color-line); }
.news-all .meta { display: flex; flex-direction: column; font-size: var(--font-size-label); font-variant-numeric: tabular-nums; }
.news-all h3 { font-size: 16px; font-weight: var(--font-weight-regular); line-height: 1.55; letter-spacing: 0; }
.news-all .news-cue { font-size: var(--font-size-label); white-space: nowrap; }
/* The note under a title that uses the ailix name for another product: second line of the title's column. */
.news-flag { font-size: var(--font-size-caption); line-height: 1.5; color: var(--color-ink-secondary); }
.news-all .news-flag { grid-column: 2; grid-row: 2; }
.news-all .news-cue { grid-column: 3; grid-row: 1; }
.news-all li:has(.news-flag) .meta { grid-row: 1 / span 2; }
@media (max-width: 639px) {
  .news-all li { grid-template-columns: minmax(0, 1fr); }
  .news-all :is(.news-flag, .news-cue), .news-all li:has(.news-flag) .meta { grid-column: auto; grid-row: auto; }
  .news-all .meta { flex-direction: row; flex-wrap: wrap; gap: 0 var(--space-2); }
  .news-all .pub::before { content: "·"; content: "·" / ""; margin-right: var(--space-2); }
}

/* Videos: one card each, the whole card opens the video on YouTube. */
.video-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--space-4); }
.video-list li { position: relative; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); border-radius: var(--radius-xl); background: var(--color-bg); transition: background var(--motion-duration-fast) var(--motion-easing-standard); }
.video-list li:hover { background: var(--color-surface-sunk); }
.play { width: 44px; height: 44px; margin-bottom: var(--space-1); display: grid; place-items: center; border-radius: 50%; background: var(--color-brand-navy); color: var(--color-ink-inverse); }
.video-list h3 { flex: 1; font-size: var(--font-size-title-sm); line-height: 1.5; letter-spacing: 0; }
.video-list .news-cue { font-size: var(--font-size-label); }
.video-list + .meta { margin-top: var(--space-4); }

/* Offices: the map opens in place and shrinks with the column. */
.offices { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: var(--space-6); }
.office { min-width: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.office iframe { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 3; margin-bottom: var(--space-2); border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface-sunk); }
.office h3 { font-size: var(--font-size-title-md); letter-spacing: 0; }
.office address { font-size: var(--font-size-body); font-style: normal; line-height: 1.55; color: var(--color-ink-secondary); }
