/* Homepage v2. Shell, tokens and buttons come from styles.css and ui.css. */
.v2 { --v2-gap: clamp(112px, 13vw, 184px); --v2-head: clamp(44px, 5.2vw, 72px); --v2-grid: clamp(16px, 1.9vw, 24px); --v2-pad: clamp(24px, 2.7vw, 36px); overflow-x: clip; }
.v2-wrap { width: min(var(--page-max), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.v2 h1, .v2 h2, .v2 h3 { margin: 0; color: var(--ink); text-wrap: balance; }
.v2 p { margin: 0; }
.v2 svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Section rhythm: eyebrow → title → lead → content. */
.v2-section { padding-top: var(--v2-gap); }
.v2-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: var(--v2-head); }
.v2-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.v2-eyebrow { color: var(--accent-text); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.v2-head h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.15; letter-spacing: -.035em; font-weight: 650; }
.v2-lead { text-wrap: pretty; color: var(--text-soft); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.75; }
.v2-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.v2-link svg { width: 16px; height: 16px; transition: transform var(--duration-base) var(--ease); }
.v2-link:hover svg { transform: translateX(3px); }
.v2-chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid var(--hairline-strong); border-radius: 999px; color: var(--text-soft); font-size: 12px; font-weight: 550; white-space: nowrap; }
.v2-chip.warm { border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-text); }

/* ① Hero */
.v2-hero { position: relative; padding-top: clamp(72px, 10vw, 128px); isolation: isolate; }
.v2-hero-glow { position: absolute; inset: -160px 0 auto; height: 760px; z-index: -1; background: radial-gradient(50% 55% at 50% 0%, var(--glow-strong), transparent 70%), radial-gradient(30% 35% at 78% 18%, var(--glow), transparent 70%); pointer-events: none; }
.v2-hero-grid { position: absolute; inset: 0 0 auto; height: 720px; z-index: -1; background-image: linear-gradient(var(--hairline) 1px, transparent 1px), linear-gradient(90deg, var(--hairline) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(60% 70% at 50% 0%, #000 30%, transparent 75%); pointer-events: none; }
.v2-hero-copy { display: grid; justify-items: center; gap: 24px; text-align: center; }
.v2-pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border: 1px solid var(--hairline-strong); border-radius: 999px; background: color-mix(in srgb, var(--surface-1) 70%, transparent); backdrop-filter: blur(8px); color: var(--text-soft); font-size: 13px; font-weight: 550; }
.v2-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--glow); }
.v2-hero h1 { font-size: clamp(44px, 8vw, 92px); line-height: 1.04; letter-spacing: -.05em; font-weight: 700; background: linear-gradient(180deg, var(--ink) 30%, color-mix(in srgb, var(--ink) 62%, transparent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v2-hero .v2-lead { max-width: 640px; }
.v2-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.v2-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 4px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.v2-facts li { display: inline-flex; align-items: center; gap: 8px; }
.v2-facts svg { width: 14px; height: 14px; color: var(--accent); }

/* Hero visual: one job from input to a result a person can check. */
.v2-run { position: relative; margin: clamp(56px, 7vw, 88px) auto 0; border: 1px solid var(--hairline-strong); border-radius: 20px; background: linear-gradient(180deg, var(--surface-2), var(--surface-1)); box-shadow: var(--shadow-lg), 0 40px 120px -40px var(--glow-strong); overflow: hidden; }
.v2-run::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 45%, transparent), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.v2-run-bar { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--hairline); color: var(--muted); font-size: 12px; }
.v2-run-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-3); }
.v2-run-bar em { margin-left: 10px; font-style: normal; }
.v2-run-bar b { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); font-weight: 600; }
.v2-run-bar b::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: v2-pulse 1.6s ease-in-out infinite; }
.v2-run-body { display: grid; grid-template-columns: 1fr 1.05fr 1.1fr; }
.v2-run-col { display: grid; align-content: start; gap: 14px; padding: 24px; text-align: left; }
.v2-run-col + .v2-run-col { border-left: 1px solid var(--hairline); }
.v2-run-label { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.v2-msg { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--hairline); border-radius: 14px; background: var(--surface-1); font-size: 14px; line-height: 1.65; color: var(--ink); }
.v2-msg-head { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.v2-msg-head b { color: var(--ink); font-weight: 600; }
.v2-msg-head small { margin-left: auto; font-size: 11px; }
.v2-avatar { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-3); color: var(--ink); font-size: 11px; font-weight: 600; font-style: normal; }
.v2-file { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 6px 10px; border-radius: 8px; background: var(--surface-2); color: var(--text-soft); font-size: 12px; }
.v2-file svg { width: 14px; height: 14px; }
.v2-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.v2-steps li { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--surface-1); color: var(--muted); font-size: 14px; transition: color .3s, border-color .3s, background-color .3s; }
.v2-steps li::before { content: ''; flex: none; width: 16px; height: 16px; border: 1.5px solid var(--hairline-strong); border-radius: 50%; transition: all .3s; }
.v2-steps li.is-active { border-color: color-mix(in srgb, var(--accent) 50%, transparent); color: var(--ink); }
.v2-steps li.is-active::before { border-color: var(--accent); border-right-color: transparent; animation: v2-spin .8s linear infinite; }
.v2-steps li.is-done { color: var(--ink); }
.v2-steps li.is-done::before { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.5l4.5-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.v2-result { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--hairline-strong); border-radius: 14px; background: var(--surface-1); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.v2-result h3 { font-size: 17px; letter-spacing: -.01em; }
.v2-result ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.v2-result li { display: flex; gap: 10px; color: var(--text-soft); font-size: 14px; line-height: 1.55; }
.v2-result li::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 2px; background: var(--accent); }
.v2-result-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 12px; }
.v2-run figcaption { padding: 12px 16px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 12px; text-align: center; }
html.js .v2-run:not(.is-finished) .v2-result { opacity: .25; transform: translateY(6px); }

/* ② Principles */
.v2-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--v2-grid); }
.v2-principle { display: grid; gap: 14px; align-content: start; padding: var(--v2-pad); border: 1px solid var(--hairline); border-radius: 20px; background: var(--surface-1); }
.v2-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; border: 1px solid var(--hairline-strong); border-radius: 12px; background: linear-gradient(180deg, var(--surface-2), var(--surface-1)); color: var(--accent); }
.v2-icon svg { width: 20px; height: 20px; }
.v2-principle h3 { font-size: 20px; letter-spacing: -.02em; }
.v2-principle p { color: var(--text-soft); font-size: 15px; line-height: 1.7; }

/* ③ Solutions bento with a pointer spotlight. */
.v2-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--v2-grid); }
.v2-card { position: relative; display: grid; grid-column: span 3; grid-template-rows: auto 1fr; gap: 32px; min-height: 320px; padding: var(--v2-pad); border: 1px solid var(--hairline); border-radius: 20px; background: var(--surface-1); overflow: hidden; isolation: isolate; }
.v2-card.wide { grid-column: span 4; }
.v2-card.narrow { grid-column: span 2; }
[data-spot]::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(420px circle at var(--x, 50%) var(--y, 0%), var(--glow), transparent 60%); transition: opacity .3s; pointer-events: none; }
[data-spot]:hover::after { opacity: 1; }
.v2-card-copy { display: grid; gap: 8px; max-width: 420px; }
.v2-card-tag { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.v2-card h3 { font-size: 22px; letter-spacing: -.02em; }
.v2-card-copy p:last-child { text-wrap: pretty; color: var(--text-soft); font-size: 15px; line-height: 1.7; }
.v2-mini { align-self: end; display: grid; gap: 10px; padding: 16px; border: 1px solid var(--hairline); border-radius: 14px; background: var(--surface-2); font-size: 13px; line-height: 1.6; }
.v2-bubble { max-width: 86%; padding: 10px 14px; border-radius: 12px; background: var(--surface-3); color: var(--text-soft); }
.v2-bubble.out { justify-self: end; display: grid; gap: 2px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: color-mix(in srgb, var(--accent) 10%, var(--surface-1)); color: var(--text-soft); }
.v2-bubble.out b { color: var(--ink); font-weight: 600; }
.v2-sources { display: flex; flex-wrap: wrap; gap: 8px; }
.v2-sources span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--hairline-strong); border-radius: 8px; background: var(--surface-1); color: var(--text-soft); font-size: 12px; }
.v2-sources span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.v2-table { grid-template-columns: 2fr 1fr 1fr; gap: 6px; }
.v2-table span { height: 10px; border-radius: 4px; background: var(--surface-3); }
.v2-table span.hl { background: color-mix(in srgb, var(--accent) 60%, transparent); }
.v2-doc span { display: block; height: 9px; border-radius: 4px; background: var(--surface-3); }
.v2-doc span.flag { background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--accent) 55%, transparent) 0 6px, transparent 6px 10px); }
.v2-doc span:nth-child(1) { width: 92%; } .v2-doc span:nth-child(2) { width: 74%; } .v2-doc span:nth-child(3) { width: 82%; } .v2-doc span:nth-child(4) { width: 56%; }
.v2 .v2-more { margin-top: 28px; }

/* ④ Process */
.v2-steps-row { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--v2-grid); margin: 0; padding: 0; list-style: none; }
.v2-step { display: grid; gap: 14px; align-content: start; padding: var(--v2-pad); border: 1px solid var(--hairline); border-radius: 20px; background: var(--surface-1); }
.v2-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.v2-step-no { font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: -.04em; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 30%, transparent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v2-step h3 { font-size: 20px; letter-spacing: -.02em; }
.v2-step p { color: var(--text-soft); font-size: 15px; line-height: 1.7; }

/* ⑤ Governance */
.v2-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.v2-split .v2-head { margin-bottom: 28px; }
.v2-ticks { display: grid; gap: 14px; margin: 0 0 32px; padding: 0; list-style: none; }
.v2-ticks li { display: flex; gap: 12px; color: var(--text-soft); font-size: 15px; line-height: 1.65; }
.v2-ticks svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.v2-shot { position: relative; margin: 0; }
.v2-shot::before { content: ''; position: absolute; inset: 8% -6% -10%; z-index: -1; background: radial-gradient(closest-side, var(--glow-strong), transparent); filter: blur(30px); }
.v2-frame { padding: 8px; border: 1px solid var(--hairline-strong); border-radius: 18px; background: linear-gradient(180deg, var(--surface-3), var(--surface-1)); box-shadow: var(--shadow-lg); }
.v2-frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 11px; background: var(--surface-2); }
.v2-shot figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; }

/* ⑥ Products */
.v2-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--v2-grid); }
.v2-product { position: relative; display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--hairline); border-radius: 20px; background: var(--surface-1); color: inherit; text-decoration: none; overflow: hidden; isolation: isolate; transition: border-color var(--duration-base) var(--ease); }
.v2-product:hover { border-color: var(--hairline-strong); }
.v2-product-shot { height: 200px; overflow: hidden; border-bottom: 1px solid var(--hairline); background: var(--surface-2); }
.v2-product-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .6s var(--ease); }
.v2-product:hover .v2-product-shot img { transform: scale(1.03); }
.v2-product-body { display: grid; gap: 10px; align-content: start; padding: 24px; }
.v2-product .product-wordmark { margin: 0; font-size: 22px; }
.v2-product-body > p:not(.product-wordmark) { color: var(--text-soft); font-size: 15px; line-height: 1.7; }
.v2-product .v2-link { margin-top: 6px; font-size: 14px; }

/* ⑦ FAQ */
.v2-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.v2-faq-list { border-top: 1px solid var(--hairline-strong); }
.v2-faq details { border-bottom: 1px solid var(--hairline-strong); }
.v2-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; color: var(--ink); font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.v2-faq summary::-webkit-details-marker { display: none; }
.v2-faq summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform var(--duration-base) var(--ease); }
.v2-faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.v2-faq details p { padding: 0 32px 24px 0; color: var(--text-soft); font-size: 15px; line-height: 1.75; }

/* ⑧ About */
.v2-about { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 32px; border: 1px solid var(--hairline); border-radius: 20px; background: var(--surface-1); }
.v2-founder { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 40%, var(--surface-3))); color: #fff; font-size: 22px; font-weight: 650; }
.v2-about h2 { text-wrap: pretty; font-size: 22px; letter-spacing: -.02em; }
.v2-about p { margin-top: 8px; color: var(--text-soft); font-size: 15px; line-height: 1.7; }
.v2-about-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* ⑨ Closing call to action */
.v2-cta { position: relative; display: grid; justify-items: center; gap: 16px; margin-top: var(--v2-gap); padding: clamp(56px, 8vw, 96px) 24px; border: 1px solid var(--hairline-strong); border-radius: 28px; background: var(--surface-1); text-align: center; overflow: hidden; isolation: isolate; }
.v2-cta::before { content: ''; position: absolute; inset: auto -20% -60%; height: 120%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, var(--glow-strong), transparent 70%); }
.v2-cta h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.15; letter-spacing: -.035em; font-weight: 650; }
.v2-cta p { max-width: 520px; color: var(--text-soft); font-size: 17px; line-height: 1.7; }
.v2-tail { height: var(--v2-gap); }

/* Entrance: fade and a short rise, staggered within a group. The animation only fills
   backwards, so once it ends hover transitions own transform and translate again. */
html.js .v2 [data-rise] { opacity: 0; }
html.js .v2 [data-rise].is-in { opacity: 1; animation: v2-rise .9s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 80ms); }
/* Headlines arrive slightly out of focus, like a camera settling. */
html.js .v2 :is(h1, .v2-head, .v2-pill, .v2-lead, .legal-crumbs, .legal-meta)[data-rise].is-in { animation-name: v2-rise-soft; }
/* Illustrations play out: the request lands, then each result line follows. */
html.js .v2 [data-rise] :is(.v2-io-out li, .v2-io-foot) { opacity: 0; }
html.js .v2 [data-rise].is-in :is(.v2-io-out li, .v2-io-foot) { opacity: 1; animation: v2-item .55s var(--ease) backwards; }
html.js .v2 [data-rise].is-in .v2-io-arrow svg { animation: v2-drop .8s .35s var(--ease) backwards; }
html.js .v2 [data-rise].is-in .v2-io-out li:nth-child(1) { animation-delay: .55s; }
html.js .v2 [data-rise].is-in .v2-io-out li:nth-child(2) { animation-delay: .7s; }
html.js .v2 [data-rise].is-in .v2-io-out li:nth-child(3) { animation-delay: .85s; }
html.js .v2 [data-rise].is-in .v2-io-out li:nth-child(4) { animation-delay: 1s; }
html.js .v2 [data-rise].is-in .v2-io-foot { animation-delay: 1.2s; }
@keyframes v2-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes v2-rise-soft { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }
@keyframes v2-item { from { opacity: 0; transform: translateX(-8px); } }
@keyframes v2-drop { from { opacity: 0; transform: translateY(-8px); } }

@keyframes v2-pulse { 50% { opacity: .35; } }
@keyframes v2-spin { to { transform: rotate(360deg); } }

@media (max-width: 1000px) {
  .v2-run-body { grid-template-columns: 1fr 1fr; }
  .v2-run-col:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--hairline); }
  .v2-run-col:nth-child(2) { border-left: 0; }
  .v2-card, .v2-card.wide, .v2-card.narrow { grid-column: span 3; }
  .v2-products { grid-template-columns: 1fr 1fr; }
  .v2-split, .v2-faq { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .v2-run-body, .v2-principles, .v2-steps-row, .v2-products { grid-template-columns: 1fr; }
  .v2-run-col + .v2-run-col { border-left: 0; border-top: 1px solid var(--hairline); }
  .v2-run-col:first-child { border-bottom: 0; }
  .v2-bento { grid-template-columns: 1fr; }
  .v2-card, .v2-card.wide, .v2-card.narrow { grid-column: auto; min-height: 0; }
  .v2-head { margin-bottom: 36px; }
  .v2-about { grid-template-columns: 1fr; justify-items: start; padding: 24px; }
  .v2-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .v2 [data-rise], html.js .v2 [data-rise] :is(.v2-io-out li, .v2-io-foot) { opacity: 1; animation: none !important; }
  html.js .v2-run:not(.is-finished) .v2-result { opacity: 1; transform: none; }
  .v2-run-bar b::before, .v2-steps li.is-active::before { animation: none; }
  .v2-product-shot img, .v2-link svg { transition: none; }
}

/* Subpages: solutions, pricing and contact share the homepage system. */
.v2-page-hero { padding-bottom: clamp(16px, 4vw, 40px); }
.v2-page-hero h1 { font-size: clamp(40px, 6.4vw, 76px); }
.v2-page-hero .v2-lead { max-width: 680px; }
.v2-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.v2-chips .v2-chip { height: 36px; padding: 0 16px; font-size: 14px; color: var(--ink); background: var(--surface-1); }

/* Solutions: alternating scene chapters. */
.v2-scene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.v2-scene.reverse .v2-scene-copy { order: 2; }
.v2-scene-copy { display: grid; gap: 16px; }
.v2-scene-copy h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; letter-spacing: -.035em; font-weight: 650; }
.v2-scene-copy .v2-ticks { margin: 12px 0 0; }
.v2-scene-check { display: grid; gap: 6px; margin-top: 8px; padding: 16px 18px; border: 1px solid var(--hairline); border-radius: 14px; background: var(--surface-1); font-size: 14px; line-height: 1.65; }
.v2-scene-check b { color: var(--accent-text); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.v2-scene-check span { color: var(--text-soft); }
.v2-scene-visual { grid-column: auto; grid-template-rows: auto; align-content: center; min-height: 0; padding: clamp(24px, 4vw, 48px); }
.v2-scene-visual .v2-mini { align-self: center; font-size: 14px; }

/* Pricing */
.v2-plans-section { margin-top: clamp(40px, 6vw, 64px); }
.v2-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--v2-grid); align-items: stretch; }
.v2-plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: var(--v2-pad) calc(var(--v2-pad) * .85); border: 1px solid var(--hairline); border-radius: 20px; background: var(--surface-1); }
.v2-plan.featured { border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 30px 80px -40px var(--glow-strong); }
.v2-plan .v2-chip { position: absolute; top: 24px; right: 20px; }
.v2-plan h2 { font-size: 20px; letter-spacing: -.02em; }
.v2-plan-pitch { min-height: 48px; color: var(--text-soft); font-size: 14px; line-height: 1.7; }
.v2-price { margin-top: 8px !important; color: var(--ink); font-size: 38px; font-weight: 650; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.v2-price-unit { min-height: 40px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.btn-block { width: 100%; margin-block: 4px 12px; }
.v2-plan .v2-ticks { gap: 10px; margin: 0; padding-top: 16px; border-top: 1px solid var(--hairline); }
.v2-plan .v2-ticks li { font-size: 14px; }
.v2 .v2-plans-note { margin-top: 20px; color: var(--muted); font-size: 13px; line-height: 1.7; text-align: center; }
.v2-split-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.v2-scene-def, .v2-example { display: grid; border: 1px solid var(--hairline); border-radius: 20px; background: var(--surface-1); overflow: hidden; }
.v2-scene-def > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 18px 24px; font-size: 15px; line-height: 1.65; }
.v2-scene-def > div + div, .v2-example-row + .v2-example-row { border-top: 1px solid var(--hairline); }
.v2-scene-def b { color: var(--ink); font-weight: 600; }
.v2-scene-def span { color: var(--text-soft); }
.v2-example-row { display: flex; justify-content: space-between; gap: 16px; padding: 18px 24px; color: var(--text-soft); font-size: 15px; }
.v2-example-row b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.v2-example-row.total { background: var(--surface-2); }
.v2-example-row.total span, .v2-example-row.total b { color: var(--ink); font-weight: 650; font-size: 17px; }
.v2-example > p { padding: 14px 24px 18px; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* Contact */
.v2-channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--v2-grid); margin-top: clamp(40px, 6vw, 64px); }
.v2-channel { display: grid; align-content: start; justify-items: center; gap: 10px; padding: var(--v2-pad); border: 1px solid var(--hairline); border-radius: 20px; background: var(--surface-1); text-align: center; }
.v2-channel h2 { margin-top: 12px; font-size: 20px; }
.v2-channel p { color: var(--text-soft); font-size: 14px; }
.v2-channel-mail { align-content: center; }
.v2-channel-mail .v2-icon { width: 56px; height: 56px; border-radius: 16px; }
.v2-channel-mail .v2-icon svg { width: 26px; height: 26px; }
.v2-channel-mail .btn { margin-top: 12px; }
.v2-qr { position: relative; width: min(200px, 100%); aspect-ratio: 1; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--hairline-strong); }
.v2-qr img { position: absolute; height: auto; max-width: none; }
.v2-qr.qr-feishu img { width: 129.924242%; left: -14.962121%; top: -33.333333%; }
.v2-qr.qr-wechat img { width: 121.311475%; left: -10.655738%; top: -33.606557%; }
.v2-prepare { padding: var(--v2-pad); border: 1px solid var(--hairline); border-radius: 20px; background: var(--surface-1); }

@media (max-width: 1000px) {
  .v2-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-scene, .v2-split-even { grid-template-columns: 1fr; }
  .v2-scene.reverse .v2-scene-copy { order: 0; }
}
@media (max-width: 720px) {
  .v2-plans, .v2-channels { grid-template-columns: 1fr; }
  .v2-plan-pitch, .v2-price-unit { min-height: 0; }
  .v2-scene-def > div { grid-template-columns: 1fr; gap: 4px; }
}

/* Solutions v2: scene index, input → output illustrations, delivery and tools. */
.v2-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(var(--v2-grid) * .75); margin-top: clamp(40px, 6vw, 72px); }
.v2-index-card { position: relative; display: grid; align-content: start; gap: 6px; padding: 20px; border: 1px solid var(--hairline); border-radius: 16px; background: var(--surface-1); color: inherit; text-decoration: none; overflow: hidden; isolation: isolate; transition: border-color var(--duration-base) var(--ease), translate var(--duration-slow) var(--ease); }
.v2-index-card:hover { border-color: var(--hairline-strong); translate: 0 -2px; }
.v2-index-card b { color: var(--ink); font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.v2-index-card span:last-child { color: var(--text-soft); font-size: 13px; line-height: 1.6; }
.v2-scene-visual { padding: clamp(20px, 3vw, 32px); }
.v2-io { display: grid; gap: 4px; }
.v2-io-in, .v2-io-out { display: grid; gap: 8px; padding: 18px 20px; border: 1px solid var(--hairline); border-radius: 14px; background: var(--surface-2); }
.v2-io-out { border-color: var(--hairline-strong); background: var(--surface-1); box-shadow: var(--shadow-lg); }
.v2-io h3 { font-size: 16px; letter-spacing: -.01em; }
.v2-io-in p:not(.v2-run-label) { color: var(--text-soft); font-size: 14px; line-height: 1.65; }
.v2-io-arrow { display: grid; place-items: center; height: 28px; color: var(--accent); }
.v2-io-arrow svg { width: 18px; height: 18px; }
.v2-io-out ul { display: grid; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; }
.v2-io-out li { position: relative; padding-left: 18px; color: var(--text-soft); font-size: 14px; line-height: 1.55; }
.v2-io-out li::before { content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.v2-io-out li.source { color: var(--muted); font-size: 13px; }
.v2-io-out li.source::before { border-radius: 50%; background: var(--quiet); }
.v2-io-out li.done::before { background: #22a06b; }
.v2-io-out li.doing::before { background: #3b82f6; }
.v2-io-out li.risk { color: var(--ink); }
.v2-io-out li.risk::before { background: var(--danger); }
.v2-io-out li.flag { color: var(--accent-text); }
.v2-io-out li.flag::before { background: repeating-linear-gradient(45deg, var(--accent) 0 2px, transparent 2px 4px); }
.v2-io-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 12px; }
.v2-steps-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v2 .v2-step-note { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 13px; }
.v2-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(var(--v2-grid) * .75); }
.v2-tool { display: grid; align-content: start; gap: 4px; padding: 18px 20px; border: 1px solid var(--hairline); border-radius: 16px; background: var(--surface-1); }
.v2-tool b { color: var(--ink); font-size: 15px; font-weight: 600; }
.v2-tool span { color: var(--text-soft); font-size: 13px; line-height: 1.6; }
@media (max-width: 1000px) {
  .v2-index, .v2-steps-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .v2-index, .v2-steps-four, .v2-tools { grid-template-columns: 1fr; }
}

/* FAQ answers unfold instead of snapping open, where the browser can animate to auto. */
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    .v2-faq { interpolate-size: allow-keywords; }
    .v2-faq details::details-content { height: 0; overflow: clip; transition: height var(--duration-slow) var(--ease), content-visibility var(--duration-slow) allow-discrete; }
    .v2-faq details[open]::details-content { height: auto; }
  }
}
