/* Secure Hybrid Meetings section (#hybrid). Load after styles.css.
   Uses the color and font variables from styles.css :root. */

/* Diagrams are inline SVG so their text uses the site font (var(--font)) */
.hy-svg { display: block; width: 100%; height: auto; font-family: var(--font); }
.hy-svg text { font-family: var(--font); }
.hy-figure .hy-svg { border-radius: 8px; }
.hy-tall { display: none; }

.hy-section { border-bottom: 1px solid var(--line); }

.hy-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }

.hy-figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.hy-figure figcaption { font-size: 14px; line-height: 1.5; color: var(--dim); }

.hy-kit-title { margin-bottom: 16px; font-size: 20px; font-weight: 700; }
.hy-kit { list-style: none; margin: 0 0 28px; padding: 0; }
.hy-kit li { padding: 18px 0; border-top: 1px solid var(--line-2); }
.hy-kit li:last-child { border-bottom: 1px solid var(--line-2); }
.hy-kit h3 { margin-bottom: 4px; font-size: 18px; font-weight: 700; }
.hy-kit p { font-size: 15px; line-height: 1.55; color: var(--muted); }

.hy-flow { margin-top: 56px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 40px; }
.hy-flow > h3 { margin-bottom: 28px; font-size: 32px; font-weight: 800; letter-spacing: -0.01em; }

.hy-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.hy-points > div { padding-top: 18px; border-top: 2px solid var(--accent); }
.hy-points h3 { margin-bottom: 8px; font-size: 19px; font-weight: 700; }
.hy-points p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Tablet: same breakpoint as the rest of the site */
@media (max-width: 1100px) {
  .hy-grid { grid-template-columns: 1fr; gap: 48px; }
  .hy-points { grid-template-columns: 1fr; gap: 20px; }
}

/* Below 900px the wide diagram's text gets too small to read,
   so the tall phone version takes over */
@media (max-width: 900px) {
  .hy-wide { display: none; }
  .hy-tall { display: block; max-width: 420px; margin: 0 auto; }
  .hy-figure .hy-tall { max-width: none; }
}

/* Phone: match the site's phone sizes */
@media (max-width: 700px) {
  .hy-grid { gap: 28px; }
  .hy-figure { padding: 12px; }
  .hy-figure figcaption { font-size: 13px; }
  .hy-kit-title { font-size: 18px; }
  .hy-kit li { padding: 16px 0; }
  .hy-kit h3 { font-size: 17px; }
  .hy-kit p { font-size: 14px; }
  .hy-kit + .btn { width: 100%; }
  .hy-flow { margin-top: 28px; padding: 18px; }
  .hy-flow > h3 { font-size: 22px; margin-bottom: 18px; }
  .hy-points { margin-top: 20px; gap: 0; }
  .hy-points > div { padding: 16px 0; border-top: 1px solid var(--line-2); }
  .hy-points > div:first-child { border-top: 2px solid var(--accent); }
  .hy-points h3 { font-size: 17px; }
  .hy-points p { font-size: 14px; }
}

/* Meeting options (Private, Zoom/Teams, remote attendees, translation) */
.hy-options { margin-top: 56px; }
.hy-options-title { margin-bottom: 24px; font-size: 32px; font-weight: 800; letter-spacing: -0.01em; }
@media (max-width: 700px) {
  .hy-options { margin-top: 36px; }
  .hy-options-title { font-size: 22px; margin-bottom: 8px; }
}
