/* Landing content only; header, footer and platform routing retain their shared contracts. */
.landing-page {
  --landing-text: #262824;
  --landing-muted: #61645b;
  --landing-line: #dedfd8;
  --landing-panel: #f7f8f4;
  color: var(--landing-text);
  padding-top: 104px;
  padding-bottom: 88px;
  font-size: 17px;
  line-height: 1.6;
}
.landing-page *, .landing-page *::before, .landing-page *::after { min-width: 0; }
.landing-container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.landing-page h1, .landing-page h2, .landing-page h3, .landing-page p, .landing-page figure { margin: 0; }
.landing-page h1, .landing-page h2, .landing-page h3 { text-wrap: balance; font-weight: 560; overflow-wrap: anywhere; }
.landing-page h1 { font-size: clamp(2.25rem, 3.9vw, 3.375rem); line-height: 1.12; letter-spacing: -.026em; }
.landing-page h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.16; letter-spacing: -.018em; max-width: 24ch; }
.landing-page h3 { font-size: 23px; line-height: 1.3; letter-spacing: -.01em; }
.landing-page p { text-wrap: pretty; }
/* Keep authored thought units together while they fit. A phrase may still wrap
   inside itself on narrow screens or with enlarged text; never force nowrap. */
.landing-phrase { display: inline-block; max-width: 100%; vertical-align: top; }
.landing-page p + p { margin-top: 16px; }
.landing-page :is(a, summary, [tabindex]):focus-visible { outline: 3px solid var(--olive-dark); outline-offset: 5px; border-radius: 4px; }
.landing-page :is(section, [id]) { scroll-margin-top: 104px; }
.landing-skip { position: fixed; left: 20px; top: -100px; z-index: 1000; padding: 12px 20px; background: #fff; color: var(--olive-dark); border: 2px solid var(--olive-dark); border-radius: 8px; }
.landing-skip:focus { top: 12px; }
.landing-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; line-height: 1.5; color: var(--landing-muted); margin-bottom: 40px; }
.landing-breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.landing-breadcrumb span[aria-hidden] { color: #888b80; }
.landing-hero { padding: 28px 0 76px; }
.landing-hero__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 48px; }
.landing-hero__copy { display: grid; justify-items: start; gap: 24px; }
.landing-page .landing-lead { color: var(--landing-muted); font-size: 18px; line-height: 1.65; max-width: 45ch; text-wrap: balance; }
.landing-sentence { display: block; }
.landing-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; padding-top: 4px; }
.landing-page .landing-primary { min-height: 48px; max-width: 100%; padding: 13px 25px; font-size: 16px; text-align: center; text-wrap: balance; box-shadow: none; background: var(--olive-dark); color: #fff; }
.landing-link { display: inline-flex; gap: 10px; align-items: center; max-width: 100%; min-height: 32px; text-wrap: balance; overflow-wrap: anywhere; color: var(--olive-dark); font-weight: 550; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #b3bca0; }
.landing-link:hover { text-decoration-color: currentColor; }
.landing-link::after { content: '↗'; flex: none; text-decoration: none; }
.landing-link[href^='#']::after { content: '↓'; }
.landing-proof { width: 100%; }
.landing-proof__surface { background: var(--landing-panel); border: 1px solid var(--landing-line); border-radius: 16px; padding: 18px; overflow: hidden; }
.landing-proof img { display: block; width: 100%; height: auto; border-radius: 8px; }
/* The companion card is a small floating window, 352 CSS px wide in the app.
   Stretching it to a full column would show it at nearly twice its real size. */
.landing-proof--compact .landing-proof__surface { display: grid; justify-items: start; padding: 24px; }
.landing-proof--compact img { width: min(100%, 400px); }
.landing-proof--compact figcaption { justify-items: start; }
/* A very wide, short capture stretched across a full-width hero reads as a
   decorative band rather than a product screen. Cap its width so the scene
   keeps a recognisable shape and the row text stays at a comfortable size,
   and centre it so the remaining column space is balanced on both sides. */
.landing-proof--wide { width: min(100%, 880px); margin-inline: auto; }
.landing-proof figcaption { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px 24px; padding: 14px 2px 0; font-size: 14px; line-height: 1.5; color: var(--landing-muted); }
.landing-proof__description { display: grid; gap: 4px; }
.landing-proof__description > * { text-wrap: balance; }
.landing-proof__original { color: var(--olive-dark); text-decoration: underline; text-underline-offset: 4px; min-height: 28px; }
.landing-proof figcaption strong { font-weight: 550; color: var(--landing-text); }
.landing-hero--wide .landing-hero__layout { grid-template-columns: 1fr 1fr; align-items: start; gap: 32px 64px; }
.landing-hero--wide .landing-hero__copy { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; align-items: end; column-gap: 64px; }
.landing-hero--wide .landing-hero__copy h1 { grid-row: 1 / 3; }
.landing-hero--wide .landing-hero__layout > .landing-proof { grid-column: 1 / -1; }
/* The wide hero holds short, wide product scenes. A tall inset would leave a
   visible empty band above and below a two-row screen, so the surface hugs the
   capture and the hero closes the gap below its own copy instead. */
.landing-hero--wide .landing-proof__surface { padding: 18px 20px; }
.landing-hero--wide .landing-hero__layout { gap: 28px 64px; }
.landing-section { padding-block: 80px; border-top: 1px solid var(--landing-line); }
.landing-section__head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 36px; }
.landing-section__head > p, .landing-copy > p { color: var(--landing-muted); max-width: 58ch; }
.landing-section__head .landing-link { margin-top: 16px; }
/* Short copy beside a tall product scene reads as a floating block when it is
   vertically centred, so the explanation starts level with the screen. */
.landing-story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.landing-story h2 { font-size: clamp(1.75rem, 2.5vw, 2.125rem); }
.landing-copy { display: grid; justify-items: start; gap: 22px; }
/* Two short notes on their own read as a thin afterthought between two tall
   product scenes, so they sit on the same panel the option cards use. */
.landing-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.landing-notes + .landing-proof { margin-top: 32px; }
.landing-notes article { padding: 26px 24px; background: var(--landing-panel); border: 1px solid var(--landing-line); border-radius: 14px; }
.landing-notes h3 { font-size: 19px; margin-bottom: 10px; }
.landing-notes p { color: var(--landing-muted); }
.landing-comparison { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--landing-line); }
.landing-comparison article { padding: 32px; }
.landing-comparison article + article { border-left: 1px solid var(--landing-line); }
.landing-comparison h3 { margin-block: 14px 10px; }
.landing-comparison p { color: var(--landing-muted); }
.landing-state { display: inline-flex; align-items: center; gap: 8px; color: var(--olive-dark); font-size: 14px; font-weight: 600; }
.landing-state::before { content: ''; width: 8px; height: 8px; background: currentColor; border-radius: 50%; }
.landing-state--drift { color: #944a42; }
.landing-example-note { font-size: 14px; color: var(--landing-muted); margin-top: 16px !important; }
.landing-table { width: 100%; border-collapse: collapse; text-align: left; }
.landing-table-wrap { overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--landing-line); border-radius: 14px; background: #fff; }
.landing-table-wrap:focus-visible { outline: 3px solid color-mix(in srgb, var(--olive-dark) 36%, transparent); outline-offset: 3px; }
.landing-table-wrap .landing-table { min-width: 760px; }
.landing-table th, .landing-table td { border-bottom: 1px solid var(--landing-line); padding: 22px 24px; vertical-align: top; }
.landing-table tbody tr:last-child > * { border-bottom: 0; }
.landing-table th { font-weight: 560; color: var(--landing-text); }
.landing-table td { color: var(--landing-muted); }
.landing-table tbody tr.is-drifty > * { background: var(--olive-soft); color: var(--landing-text); }
.landing-table tbody tr.is-drifty th { color: var(--olive-dark); font-weight: 680; }
.landing-table thead { background: var(--landing-panel); font-size: 14px; }
.landing-table tbody th { width: 25%; }
.landing-table caption { text-align: left; font-size: 14px; color: var(--landing-muted); caption-side: bottom; padding: 16px 0; }
.landing-table-hint { display: none; }
/* Three parallel choices read better as cards than as a second data table on
   the same page, where two stacked tables blur into one long grid. */
.landing-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 4px; }
/* When a head introduces a card set rather than a product screen, the split
   column leaves its sentence floating far from what it describes. */
.landing-section:has(.landing-options) .landing-section__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; margin-bottom: 28px; }
.landing-options article { display: grid; align-content: start; gap: 10px; padding: 26px 24px; background: var(--landing-panel); border: 1px solid var(--landing-line); border-radius: 14px; }
.landing-options h3 { font-size: 18px; letter-spacing: 0; }
.landing-options p { color: var(--landing-muted); font-size: 15px; line-height: 1.6; }
.landing-options__where { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--olive-dark); }
.landing-options + .landing-note { display: block; font-size: 14px; color: var(--landing-muted); margin-top: 20px; }
.landing-steps { list-style: none; margin: 0; padding: 0; }
.landing-steps li { display: grid; grid-template-columns: 48px 1fr 1.2fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--landing-line); }
.landing-steps li:last-child { border-bottom: 1px solid var(--landing-line); }
.landing-steps span { color: var(--olive-dark); font-variant-numeric: tabular-nums; }
.landing-steps p { color: var(--landing-muted); }
.landing-faq { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; }
.landing-faq details { border-bottom: 1px solid var(--landing-line); }
.landing-faq details:first-child { border-top: 1px solid var(--landing-line); }
.landing-faq summary { padding: 22px 36px 22px 0; cursor: pointer; font-size: 18px; font-weight: 550; text-wrap: balance; list-style: none; position: relative; }
.landing-faq summary::-webkit-details-marker { display: none; }
.landing-faq summary::after { content: '+'; position: absolute; right: 4px; top: 21px; font-size: 24px; font-weight: 400; color: var(--olive-dark); }
.landing-faq details[open] summary::after { content: '−'; }
.landing-faq details p { color: var(--landing-muted); padding: 0 24px 24px 0; }
.landing-cta { background: var(--landing-panel); border: 1px solid var(--landing-line); border-radius: 20px; padding: 44px 48px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.landing-cta h2 { max-width: 26ch; font-size: clamp(28px, 2.8vw, 38px); }
.landing-cta p { color: var(--landing-muted); margin-top: 16px; max-width: 54ch; }
.landing-related { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 30px; }
.landing-hub-intro { max-width: 720px; padding-bottom: 48px; }
.landing-hub-intro .landing-lead { margin-top: 24px; }
.landing-role { display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: 64px; padding-block: 40px; border-top: 1px solid var(--landing-line); }
.landing-role h2 { margin-bottom: 16px; }
.landing-role p { color: var(--landing-muted); max-width: 38ch; }
.landing-role .landing-role__action { display: inline-block; margin-top: 24px; color: var(--olive-dark); text-decoration: underline; text-underline-offset: 5px; }
.landing-role img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--landing-line); }
.landing-role figcaption { padding-top: 10px; font-size: 14px; text-wrap: balance; color: var(--landing-muted); }
.landing-role:hover .landing-role__action { text-decoration-thickness: 2px; }
.landing-proof-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.landing-proof-scroll img { width: max(100%, 760px); max-width: none; }
.landing-scroll-hint { font-size: 14px; color: var(--landing-muted); padding-top: 10px; }
:lang(ko) .landing-page { word-break: keep-all; overflow-wrap: anywhere; }
:lang(ko) .landing-page :is(h1,h2,h3,p,summary,td,th) { letter-spacing: 0; }
:lang(ko) .landing-page h1 { font-size: clamp(2.125rem, 3.65vw, 3.25rem); line-height: 1.22; }
:lang(ko) .landing-page h2 { line-height: 1.3; }
@media (max-width: 1024px) {
  .landing-container { width: calc(100% - 48px); }
  .landing-hero__layout, .landing-story, .landing-role, .landing-faq { gap: 32px; }
  .landing-proof__surface { padding: 12px; }
  .landing-story, .landing-faq { grid-template-columns: 1fr; }
  .landing-hero__layout, .landing-hero--wide .landing-hero__layout, .landing-hero--wide .landing-hero__copy { grid-template-columns: 1fr; gap: 28px; }
  .landing-hero--wide .landing-hero__copy h1 { grid-row: auto; }
}
@media (max-width: 760px) {
  .landing-page { padding-top: 88px; padding-bottom: 56px; font-size: 16px; }
  .landing-container { width: calc(100% - 40px); }
  .landing-breadcrumb { margin-bottom: 28px; font-size: 13px; }
  .landing-hero { padding: 20px 0 48px; }
  .landing-hero__layout, .landing-hero--wide .landing-hero__layout, .landing-hero--wide .landing-hero__copy, .landing-story, .landing-section__head, .landing-faq, .landing-role { grid-template-columns: 1fr; gap: 28px; }
  .landing-hero--wide .landing-hero__copy h1 { grid-row: auto; }
  .landing-hero__copy { gap: 20px; }
  .landing-page h1 { font-size: 2.375rem; max-width: 20ch; }
  :lang(ko) .landing-page h1 { font-size: 2.25rem; max-width: none; }
  .landing-page h2 { font-size: 29px; }
  .landing-page h3 { font-size: 21px; }
  .landing-page .landing-lead { font-size: 16px; line-height: 1.6; }
  .landing-actions { gap: 12px 20px; padding: 0; }
  .landing-page .landing-primary { font-size: 15px; min-height: 46px; padding: 12px 22px; }
  .landing-actions .landing-link { font-size: 14px; }
  .landing-proof__surface, .landing-hero--wide .landing-proof__surface { padding: 8px; border-radius: 12px; }
  .landing-proof figcaption { grid-template-columns: 1fr; justify-items: start; font-size: 14px; padding-top: 12px; gap: 8px; }
  .landing-section { padding-block: 48px; }
  .landing-section__head { margin-bottom: 28px; gap: 20px; }
  /* Same specificity as the desktop card-head rule, so the narrow layout wins. */
  .landing-section:has(.landing-options) .landing-section__head { grid-template-columns: 1fr; gap: 16px; align-items: start; margin-bottom: 24px; }
  .landing-notes { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .landing-notes article { padding: 20px 18px; }
  .landing-comparison { grid-template-columns: 1fr; }
  .landing-comparison article { padding: 24px 0; }
  .landing-comparison article + article { border-left: 0; border-top: 1px solid var(--landing-line); }
  .landing-table th, .landing-table td { padding: 16px 12px; font-size: 14px; overflow-wrap: anywhere; }
  .landing-table tbody th { width: 26%; }
  .landing-table-hint { display: block; margin-bottom: 10px; color: var(--landing-muted); font-size: 13px; }
  .landing-options { grid-template-columns: 1fr; gap: 14px; }
  .landing-options article { padding: 20px 18px; }
  .landing-steps li { grid-template-columns: 28px 1fr; gap: 12px; padding: 24px 0; }
  .landing-steps p { grid-column: 2; }
  .landing-faq summary { font-size: 16px; padding-block: 20px; }
  .landing-cta { grid-template-columns: 1fr; justify-items: start; padding: 26px 24px; gap: 24px; border-radius: 16px; }
  .landing-cta h2 { font-size: 28px; }
  .landing-related { gap: 12px 24px; margin-top: 24px; }
  .landing-related a { font-size: 15px; }
  .landing-hub-intro { padding-bottom: 36px; }
  .landing-role { padding-block: 28px; gap: 24px; }
  .landing-role .landing-role__action { margin-top: 16px; }
}
@media (max-width: 359px) {
  .landing-container { width: calc(100% - 32px); }
  .landing-page h1, :lang(ko) .landing-page h1 { font-size: 2.125rem; }
  .landing-table th, .landing-table td { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.landing-page) { scroll-behavior: auto; }
  .landing-page *, .landing-page *::before, .landing-page *::after { transition: none !important; animation: none !important; }
}
/* On phones the data boundary reads as a named item, its location, then scope.
   The visually hidden column headings remain available to assistive technology. */
@media (max-width: 760px) {
  .landing-data-table, .landing-data-table tbody { display: block; }
  .landing-data-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .landing-data-table tbody tr { display: grid; grid-template-columns: 1fr 2fr; column-gap: 20px; border-bottom: 1px solid var(--landing-line); padding-block: 20px; }
  .landing-data-table tbody tr:first-child { border-top: 1px solid var(--landing-line); }
  .landing-data-table tbody :is(th, td) { width: auto; padding: 0; border: 0; font-size: 16px; }
  .landing-data-table tbody th { color: var(--olive-dark); }
  .landing-data-table tbody td:last-child { grid-column: 1 / -1; padding-top: 14px; }
}
