/* V3: proportions from the user-approved, final landing reference.
 * Shared header/footer markup and all interactive hooks stay unchanged. */
body.landing-v2 {
  /* Landing-only brand match, verified against getsagi.com on 2026-10-07.
   * The component catalogue retains its Inter foundation. */
  --sagi-font: "Alliance No.1", Arial, sans-serif;
  --sagi-heading: "Alliance No.2", "Alliance No.1", Arial, sans-serif;
  --sagi-button-ink: #0d0d12;
  --sagi-button-hover: #26262e;
  --sagi-button-surface: #f5f5f7;
  --sagi-button-border: #e2e2e6;
  --ink: var(--sagi-ink);
  --mut: var(--sagi-muted);
  --muted: var(--sagi-muted);
  --txt2: var(--sagi-secondary);
  --ink-2: var(--sagi-secondary);
  --faint: var(--sagi-muted);
  --line: var(--sagi-border);
  --line-2: var(--sagi-border);
  --soft: var(--sagi-surface);
  --surface: var(--sagi-surface);
  --lav: var(--sagi-accent);
  --bg: var(--sagi-white);
  --card: var(--sagi-white);
  --accent: var(--sagi-button-ink);
  --accent-2: var(--sagi-button-hover);
  --accent-tint: var(--sagi-surface);
  --sans: var(--sagi-font);
  --head: var(--sagi-heading);
  margin: 0;
  color: var(--sagi-ink);
  background: var(--sagi-white);
  font-family: var(--sagi-font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.landing-v2 *, .landing-v2 *::before, .landing-v2 *::after { box-sizing: border-box; }
.landing-v2::before { content: none; }
.landing-v2 :where(a) { color: inherit; text-decoration: none; }
.landing-v2 .v2-skip { position: fixed; top: -100px; left: var(--sagi-space-4); z-index: 100; padding: var(--sagi-space-3) var(--sagi-space-4); background: var(--sagi-white); border: 1px solid var(--sagi-ink); border-radius: var(--sagi-radius-small); }
.landing-v2 .v2-skip:focus { top: var(--sagi-space-2); }
.landing-v2 :where(#landing-v2) :where(h1,h2,h3,h4,p) { margin: 0; }
.landing-v2 #landing-v2 :where(h1,h2,h3,h4) { font-family: var(--sagi-font); font-weight: 400; letter-spacing: -.035em; text-wrap: balance; }
.landing-v2 #landing-v2 h1 { font-size: clamp(40px,4.7vw,60px); line-height: 1.06; letter-spacing: -.048em; }
.landing-v2 #landing-v2 h2 { font-size: clamp(30px,3.2vw,40px); line-height: 1.15; }
.landing-v2 #landing-v2 h3 { font-size: 20px; line-height: 1.35; letter-spacing: -.025em; }
.landing-v2 #landing-v2 p { text-wrap: pretty; }
.landing-v2 #landing-v2 :where(button) { font-family: var(--sagi-font); cursor: pointer; }
.landing-v2 #landing-v2 :is(a,button,summary):focus-visible { outline: 2px solid var(--sagi-ink); outline-offset: var(--sagi-space-1); }
.landing-v2 #landing-v2 [hidden] { display: none !important; }
.v2-wrap { width: min(1040px, calc(100% - var(--sagi-space-8))); margin-inline: auto; }
.v2-section { padding-block: 76px; scroll-margin-top: 92px; }
.v2-section-label { width: min(1040px, calc(100% - var(--sagi-space-8))); margin-inline: auto; padding-top: 18px; border-top: 1px solid #f0f0f0; display: flex; align-items: baseline; justify-content: space-between; gap: var(--sagi-space-5); color: var(--sagi-secondary); font-size: 12px; line-height: 1.5; font-weight: 500; letter-spacing: .075em; text-transform: uppercase; }
.v2-section-label > :last-child { color: var(--sagi-muted); text-align: right; font-weight: 400; letter-spacing: .07em; }
.v2-section-label b { font-weight: 400; color: var(--sagi-accent); margin-right: var(--sagi-space-3); font-variant-numeric: tabular-nums; }
.v2-center { text-align: center; }
.v2-fine, .v2-note { font-size: 13px; color: var(--sagi-muted); line-height: 1.6; }
.v2-section .v2-note { margin-top: 18px; }
.v2-sub { color: var(--sagi-muted); font-size: 18px; line-height: 1.65; }
.v2-actions { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: var(--sagi-space-3); margin-top: var(--sagi-space-5); }

/* Compact floating navigation; nav.js remains its sole markup source. */
.landing-v2 .nav2 { top: 12px; height: 60px; padding-inline: 24px; }
.landing-v2 .nav2-inner { max-width: 1140px; height: 60px; padding: 8px 12px; border-radius: 12px; border-color: #ededed; box-shadow: 0 3px 12px rgb(23 23 23 / 4%); }
.landing-v2 .nav2-grid { height: 42px; }
.landing-v2 .brand img { height: 28px; }
.landing-v2 .nav2links { margin-left: 8px; gap: 2px; }
.landing-v2 .nav2-link { font-size: 14px; padding-inline: 12px; font-weight: 400; }
.landing-v2 .nav2right { gap: 8px; }
.landing-v2 .nav2-signin { font-size: 14px; font-weight: 400; padding-inline: 8px; }
.landing-v2 .lang-btn { width: 80px; padding-inline: 8px; font-size: 14px; font-weight: 400; }
.landing-v2 .mega-ic { width: 24px; height: 24px; border: 0; background: transparent; border-radius: 0; }
.landing-v2 .mega-link:hover .mega-ic { background: transparent; }

/* The reference keeps the product image lighter than the surrounding page. */
.v2-hero { text-align: center; padding: 136px 0 94px; }
.v2-hero h1 { max-width: 800px; margin-inline: auto !important; }
.v2-hero .v2-sub { max-width: 690px; margin: 20px auto 0 !important; }
.v2-hero .v2-fine { max-width: 660px; margin: 14px auto 0 !important; font-size: 12px; }
.v2-proofs { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin-top: 16px; color: var(--sagi-secondary); font-size: 14px; }
.v2-proofs > span { display: inline-flex; align-items: center; gap: 5px; }
.v2-proofs i { font-size: 16px; }
.v2-shot-outer { width: min(940px,calc(100% - 80px)); margin: 62px auto 0; position: relative; }
.v2-shot { width: 100%; height: auto; display: block; border: 1px solid #eeeeef; border-radius: 10px; background: var(--sagi-white); box-shadow: 0 20px 40px -18px rgb(169 182 243 / 40%),0 3px 16px rgb(23 23 23 / 3%); }
.v2-float { position: absolute; z-index: 1; width: 230px; padding: 16px; background: var(--sagi-white); border: 1px solid #eeeef0; border-radius: 8px; text-align: left; box-shadow: 0 8px 24px rgb(23 23 23 / 5%); }
.v2-float small { display: flex; align-items: center; gap: 5px; color: var(--sagi-muted); font-size: 12px; line-height: 1.5; }
.v2-float strong { display: block; font-size: 20px; font-weight: 400; letter-spacing: -.035em; margin-top: 6px; line-height: 1.25; }
.v2-float p { font-size: 13px; color: var(--sagi-muted); line-height: 1.5; margin-top: 4px !important; }
.v2-float-signal { top: 6%; right: -34px; }
.v2-float-signal small { color: var(--sagi-accent); }
.v2-float-task { bottom: 10%; left: -28px; width: 180px; }
.v2-float-review { bottom: -28px; right: 18px; }

/* Radar is a chronological three-card example. Its state is owned by JS. */
.v2-loop { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--sagi-space-5); }
.v2-example-card { position: relative; padding: 20px; border: 1px solid #ededed; border-radius: 9px; background: var(--sagi-white); box-shadow: 0 2px 6px rgb(23 23 23 / 2%); }
.v2-example-card:not(:last-child)::after { content: ""; position: absolute; left: 100%; top: 50%; height: 1px; width: var(--sagi-space-5); background: var(--sagi-border); }
.v2-example-card > small { color: var(--sagi-secondary); font-size: 13px; letter-spacing: .025em; font-variant-numeric: tabular-nums; }
.v2-example-card h3 { margin-top: 12px !important; }
.v2-example-card:last-child { background: var(--sagi-white); }
.v2-example-actions { display: flex; flex-wrap: wrap; gap: var(--sagi-space-2); }
.v2-example-card [data-example-status] { color: var(--sagi-ink); }

/* Playbook: visible structure; motion does not move the layout. */
.v2-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.v2-split > :first-child h2 { max-width: 440px; }
.v2-split .v2-actions { justify-content: flex-start; }
.v2-playbook-intro > p:not(.v2-note) { max-width: 42ch; color: var(--sagi-muted); font-size: 16px; line-height: 1.7; margin-top: 20px !important; }
.v2-playbook-intro .v2-note { max-width: 46ch; }
.v2-pill { display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 12px; padding: 4px 10px; color: var(--sagi-ink); background: rgb(169 182 243 / 25%); font-size: 13px; margin-bottom: 14px; }
.v2-flow { width: min(100%,520px); margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.v2-flow-node { position: relative; width: 100%; max-width: 300px; border: 1px solid #eaeaec; border-radius: 7px; padding: 16px; background: var(--sagi-white); box-shadow: 0 2px 7px rgb(23 23 23 / 2%); transition: border-color var(--sagi-duration), box-shadow var(--sagi-duration), background var(--sagi-duration); }
.v2-flow-node::after { content: ""; position: absolute; top: 100%; left: 50%; height: 18px; width: 1px; background: #e5e5e8; }
.v2-flow > .v2-flow-node:last-of-type::after { display: none; }
.landing-v2 #landing-v2 .v2-flow-node h3 { font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: -.015em; margin-top: 5px; }
.v2-flow-node p { font-size: 13px; color: var(--sagi-muted); line-height: 1.5; margin-top: 3px !important; }
.v2-flow-node small { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--sagi-muted); line-height: 1.5; }
.v2-flow-node small i { flex-shrink: 0; font-size: 14px; }
.v2-flow-pair { position: relative; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; width: 100%; }
.v2-flow-pair .v2-flow-node { max-width: none; }
.v2-flow-node[data-flow-state="active"] { border-color: var(--sagi-accent); box-shadow: 0 0 0 2px rgb(169 182 243 / 8%); }
.v2-flow-node[data-flow-state="done"] { background: var(--sagi-white); }
.v2-flow-status { display: inline-flex; align-items: center; gap: var(--sagi-space-1); font-size: var(--sagi-type-caption); color: var(--sagi-muted); margin-top: var(--sagi-space-2); }
.v2-flow-check { font-size: var(--sagi-type-copy); line-height: 1; }
.v2-flow-node[data-flow-state="done"] .v2-flow-status { color: var(--sagi-ink); }
.v2-flow-check { margin-left: auto; }
.v2-flow-node:not([data-flow-state="done"]) .v2-flow-check { visibility: hidden; }
.v2-flow-controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--sagi-space-3); width: 100%; }
.v2-example-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sagi-space-3); margin-top: var(--sagi-space-5); }
.v2-example-footer .v2-note { margin-top: 0; }
.v2-flow-footer { width: 100%; display: flex; flex-direction: column; align-items: center; gap: var(--sagi-space-2); }
.v2-flow-footer .v2-note { margin-top: 0; }
.v2-text-action { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; border: 1px solid transparent; border-radius: 10px; padding: 8px 10px; color: var(--sagi-muted); background: transparent; font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: 0; }
.v2-text-action:hover { background: var(--sagi-surface); color: var(--sagi-ink); }
.v2-models { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 18px; padding-block: 10px; width: fit-content; }
.v2-models img { width: 20px; height: 20px; object-fit: contain; }

/* Traceability follows the same neutral borders and label scale. */
.v2-module-intro > p { max-width: 45ch; color: var(--sagi-muted); font-size: 16px; line-height: 1.7; }
.v2-trust-intro { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: 32px; }
.v2-trust-intro > p { color: var(--sagi-muted); font-size: 14px; line-height: 1.6; max-width: 65ch; margin: 18px auto 0 !important; }
.v2-trust-row { display: grid; grid-template-columns: 170px minmax(0,1fr); align-items: center; gap: 18px; width: min(820px,100%); margin-inline: auto; padding: 14px 20px; border-bottom: 1px solid #eeeeef; }
.v2-trust-row:first-of-type { border-top: 1px solid #eeeeef; }
.v2-trust-row + .v2-trust-row { margin-top: 0; }
.v2-trust-row > strong { color: var(--sagi-ink); font-weight: 500; font-size: 12px; letter-spacing: .025em; text-transform: uppercase; }
.v2-trust-row .sagi-chips { gap: 18px; }
.v2-trust-row .sagi-chip { border: 0; background: transparent; padding: 0; font-size: 14px; }

/* Native FAQ with a large target and unobtrusive affordance. */
.v2-faq { margin-top: var(--sagi-space-6); }
.v2-faq details { border-top: 1px solid var(--sagi-border); }
.v2-faq details:last-child { border-bottom: 1px solid var(--sagi-border); }
.v2-faq summary { position: relative; display: block; padding: 20px 40px 20px 0; cursor: pointer; list-style: none; font-size: 18px; line-height: 1.5; letter-spacing: -.02em; }
.v2-faq summary::-webkit-details-marker { display: none; }
.v2-faq summary::after { content: "+"; position: absolute; top: 20px; right: 4px; color: var(--sagi-muted); font-size: 16px; line-height: 1.35; }
.v2-faq details[open] summary::after { content: "−"; }
.v2-faq p { color: var(--sagi-muted); max-width: 78ch; font-size: 16px; line-height: 1.7; padding-bottom: 20px; }
.v2-final { padding: 28px 0 80px; }
.v2-final-box { border: 1px solid #f2f2f2; border-radius: 16px; padding: 76px 24px; text-align: center; background: #f8f8f7; }
.v2-final-box p { color: var(--sagi-muted); margin-top: 12px !important; font-size: 14px; }
.v2-final-box .sagi-button { margin-top: var(--sagi-space-5); }

/* The approved reference uses the native dark shared footer, from foot.css. */
.landing-v2 .sfoot :is(a,button):focus-visible { outline: 2px solid var(--sagi-white); outline-offset: var(--sagi-space-1); }

@media (max-width:1023px) {
  .landing-v2 .nav2 { top: 0; height: auto; padding: 0; }
  .landing-v2 .nav2-inner { max-width: none; height: auto; padding: 12px 20px; border: 0; border-bottom: 1px solid #ededed; border-radius: 0; box-shadow: none; }
  .landing-v2 .nav2-grid { height: auto; }
  .landing-v2 .nav2-link { height: 40px; font-size: 13px; }
  .landing-v2 .nav2links { margin-left: 0; }
  .landing-v2 .nav2right { gap: 12px; }
  .landing-v2 .nav2right .btn, .landing-v2 .nav2-signin { height: 44px; font-size: 14px; }
  .landing-v2 .lang-btn { height: 32px; }
}
@media (max-width: 1000px) {
  .v2-split { gap: var(--sagi-space-7); }
  .v2-shot-outer { width: calc(100% - 64px); }
  .v2-float { width: 185px; }
  .v2-float strong { font-size: var(--sagi-type-copy); }
  .v2-float-signal { right: -20px; }
  .v2-float-task { left: -20px; }
}
@media (max-width: 800px) {
  .v2-hero { padding: 116px 0 70px; }
  .v2-section { padding-block: 56px; }
  .v2-shot-outer { width: calc(100% - 32px); margin-top: 44px; }
  .v2-float { width: 170px; padding: var(--sagi-space-3); }
  .v2-float-signal { right: -12px; }
  .v2-float-task { left: -12px; }
  .v2-float-review { right: var(--sagi-space-4); }
  .v2-split { grid-template-columns: 1fr; gap: var(--sagi-space-7); }
  .v2-split > :first-child h2 { max-width: 620px; }
  .v2-playbook-intro > p:not(.v2-note) { max-width: 62ch; }
  .v2-loop { gap: 14px; }
  .v2-example-card { padding: 16px; }
  .v2-example-card:not(:last-child)::after { width: 14px; }
}
@media (max-width: 700px) {
  .v2-wrap, .v2-section-label, .landing-v2 .sfoot-wrap { width: calc(100% - 40px); }
  .v2-section-label { flex-direction: column; align-items: flex-start; gap: var(--sagi-space-1); }
  .v2-section-label > :last-child { text-align: left; }
  .v2-loop { grid-template-columns: 1fr; gap: 16px; }
  .v2-example-card:not(:last-child)::after { top: 100%; left: 28px; height: 16px; width: 1px; }
}
@media (max-width: 600px) {
  .v2-hero { padding-top: 112px; }
  .landing-v2 #landing-v2 h1 { font-size: clamp(34px,9vw,42px); }
  .v2-hero .v2-sub { font-size: 16px; }
  .v2-float { display: none; }
  .v2-proofs { gap: var(--sagi-space-4); }
  .v2-shot-outer { width: 100%; }
  .v2-flow-pair { grid-template-columns: 1fr; gap: 18px; }
  .v2-flow-pair .v2-flow-node { max-width: 300px; margin-inline: auto; }
  .v2-flow-node { padding: 16px; }
  .v2-trust-row { grid-template-columns: 1fr; gap: var(--sagi-space-3); padding: var(--sagi-space-4); }
  .v2-faq summary { font-size: 16px; }
  .v2-final-box { padding: 52px 20px; }
  .v2-text-action { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-v2 *, .landing-v2 *::before, .landing-v2 *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
