.teams-hero { min-height: 760px; padding-block: 120px; overflow: hidden; background: var(--lumise-ink); color: white; }
.teams-hero-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; align-items: center; }
.teams-hero h1 { margin-top: 28px; font-size: var(--display); line-height: .98; letter-spacing: -.055em; }
.teams-hero-grid > div:first-child > p:last-of-type { margin-top: 34px; max-width: 570px; color: #aeb6b0; font-size: var(--body); line-height: 1.8; }
.arrow-link-light { color: #b8c0ba; border-color: #5a625c; }
.teams-hero-diagram { position: relative; min-height: 520px; }
.teams-hero-diagram > div { position: absolute; z-index: 2; border: 1px solid #424a45; background: #202521; }
.diagram-page { left: 3%; top: 9%; width: 56%; height: 62%; padding: 60px 45px; }
.diagram-page > span { display: block; height: 8px; margin-top: 15px; background: #59615b; }
.diagram-page .mock-title { width: 48%; height: 18px; margin-bottom: 48px; background: var(--lumise-accent); }
.diagram-pin { position: absolute; right: 16%; top: 42%; width: 48px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50% 50% 50% 8px; background: var(--lumise-accent-signal); color: var(--lumise-ink); }
.diagram-comment { right: 1%; top: 17%; width: 42%; padding: 28px; box-shadow: 0 25px 60px rgba(0,0,0,.28); }
.diagram-comment small, .diagram-version small { color: #7f8a82; }
.diagram-comment strong { display: block; margin: 26px 0; font-size: 17px; line-height: 1.55; }
.diagram-comment span { color: #80dbbd; font-size: 12px; }
.diagram-version { right: 4%; bottom: 6%; width: 31%; padding: 24px; border-color: var(--lumise-accent-strong) !important; }
.diagram-version b, .diagram-version span { display: block; margin-top: 10px; }
.diagram-version span { color: var(--lumise-accent); font-size: 12px; }
.teams-hero-diagram svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.teams-hero-diagram path { fill: none; stroke: var(--lumise-accent); stroke-width: 1.5; stroke-dasharray: 5 7; }

.teams-problem, .team-workflow, .teams-faq { padding-block: 140px; }
.problem-contrast { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border: 1px solid var(--line); }
.problem-contrast article { min-height: 380px; padding: 50px; background: var(--lumise-surface); }
.problem-contrast article > span { color: var(--muted); font-size: 13px; letter-spacing: .08em; }
.problem-contrast ul { margin-top: 60px; display: grid; gap: 0; }
.problem-contrast li { padding: 16px 0; border-top: 1px solid var(--line); }
.problem-contrast > i { padding: 20px; color: var(--lumise-deep-green); font-style: normal; }
.problem-contrast .contrast-good { background: var(--lumise-accent-soft); }

.teams-proof { padding-block: 140px; background: var(--lumise-ink); color: white; }
.teams-proof-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 7vw; align-items: center; }
.teams-proof-copy h2 { margin-top: 24px; font-size: var(--h2); line-height: 1.1; letter-spacing: -.045em; }
.teams-proof-copy > p:last-of-type { margin-top: 32px; color: #aeb6b0; font-size: var(--body); line-height: 1.8; }
.teams-proof-copy ul { margin-top: 45px; display: grid; }
.teams-proof-copy li { padding: 17px 0; display: flex; gap: 22px; border-top: 1px solid #343c36; }
.teams-proof-copy li b { color: var(--lumise-accent); font-size: 12px; }
.teams-proof-copy li span { color: #aeb6b0; font-size: 13px; }
.teams-product-frame { position: relative; border: 1px solid #4a514c; background: #d6d5cf; box-shadow: 0 35px 70px rgba(0,0,0,.28); }
.teams-product-frame img { width: 100%; height: auto; }
.frame-callout { position: absolute; right: -25px; bottom: -24px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; background: var(--lumise-surface); color: var(--lumise-ink); border: 1px solid var(--line); font-size: 12px; }
.frame-callout i { width: 28px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50% 50% 50% 6px; background: var(--lumise-accent-signal); font-style: normal; }

.team-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.team-step { min-height: 315px; padding: 30px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--lumise-surface); }
.team-step > div { display: flex; justify-content: space-between; color: var(--lumise-deep-green); font-size: 11px; }
.team-step em { padding: 4px 7px; border: 1px solid #aaa; color: var(--muted); font-style: normal; }
.team-step em.available { border-color: #9db67c; color: var(--lumise-deep-green); }
.team-step h3 { margin-top: auto; font-size: var(--h3); }
.team-step p { margin-top: 18px; color: var(--muted); line-height: 1.65; }
.team-step[data-status="planned"] { background: #edebe5; }

.roles-section { padding-block: 140px; background: var(--lumise-surface); }
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.role-grid article { min-height: 350px; padding: 30px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.role-grid article:nth-child(2) { background: var(--lumise-accent-soft); }
.role-grid span { color: var(--lumise-deep-green); font-size: 11px; letter-spacing: .08em; }
.role-grid h3 { margin-top: auto; font-size: var(--h3); line-height: 1.2; }
.role-grid p { margin-top: 18px; color: var(--muted); line-height: 1.65; }

.teams-faq { display: grid; grid-template-columns: .65fr 1.35fr; gap: 9vw; }
.teams-faq h2 { margin-top: 24px; font-size: var(--h2); line-height: 1.1; letter-spacing: -.045em; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 28px 50px 28px 0; cursor: pointer; font-size: 18px; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; top: 27px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 55px 28px 0; color: var(--muted); line-height: 1.75; }

@media (max-width: 1000px) {
  .teams-hero-grid, .teams-proof-grid, .teams-faq { grid-template-columns: 1fr; }
  .teams-hero-diagram { margin-top: 35px; }
  .team-steps { grid-template-columns: 1fr 1fr; }
  .role-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .teams-hero { min-height: 0; padding-block: 90px; }
  .teams-hero h1 { font-size: var(--display); }
  .teams-hero-diagram { min-height: 440px; }
  .diagram-page { width: 76%; height: 54%; padding: 45px 28px; }
  .diagram-comment { right: 0; top: 23%; width: 59%; padding: 20px; }
  .diagram-version { width: 48%; }
  .teams-problem, .team-workflow, .teams-faq, .teams-proof, .roles-section { padding-block: 95px; }
  .problem-contrast { grid-template-columns: 1fr; }
  .problem-contrast > i { transform: rotate(90deg); justify-self: center; }
  .problem-contrast article { min-height: 340px; padding: 32px; }
  .teams-product-frame { margin-top: 25px; }
  .frame-callout { right: 8px; bottom: -30px; }
  .team-steps, .role-grid { grid-template-columns: 1fr; }
  .team-step, .role-grid article { min-height: 290px; }
  .teams-faq { gap: 45px; }
}
