/* Slide 07 (AutoCert standard): principles, independence and Verified-meaning blocks.
   Thin separators and plain text only; no decorative cards. */

.trust-section .trust-principles {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid rgba(142, 219, 200, 0.18);
}

.trust-section .trust-principle {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(142, 219, 200, 0.1);
}

.trust-section .trust-principle-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mint);
  padding-top: 3px;
}

.trust-section .trust-principle h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.25;
}

.trust-section .trust-principle p,
.trust-section .trust-independence p,
.trust-section .trust-meaning p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.trust-section .trust-independence,
.trust-section .trust-meaning {
  margin-top: 22px;
}

.trust-section .trust-independence h3 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.25;
}

.trust-section .trust-meaning p {
  margin-top: 8px;
}

.trust-section .trust-threshold-title {
  margin: 18px 0 6px;
  font-size: 16px;
  line-height: 1.25;
}

.trust-section .trust-score > p {
  font-size: 13px;
  line-height: 1.5;
}

/* Desktop: three principles side by side, tighter spacing, so the whole slide fits a 900 px viewport. */
@media (min-width: 801px) {
  .trust-section .trust-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 18px;
    margin-top: 22px;
  }

  .trust-section .trust-principle {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 14px 0 12px;
  }

  .trust-section .trust-principle-num {
    padding-top: 0;
  }

  .trust-section .trust-principle p {
    font-size: 12.5px;
  }

  .trust-section .trust-independence,
  .trust-section .trust-meaning {
    margin-top: 16px;
  }
}

@media (max-width: 800px) {
  .trust-section .trust-principle {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  #trust .trust-copy h2 {
    font-size: 26px !important;
    line-height: 1.12;
    margin-bottom: 0;
  }

  .trust-section .trust-copy .trust-intro {
    font-size: 13px;
    line-height: 1.5;
    margin: 10px 0 0;
  }

  #trust .trust-score .ring {
    margin-bottom: 8px;
  }

  .trust-section .trust-meaning .trust-pill {
    display: inline-block;
    line-height: 1.2;
  }

  .trust-section .trust-principles {
    margin-top: 18px;
  }

  .trust-section .trust-principle {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
  }

  .trust-section .trust-principle h3 {
    font-size: 14px;
    margin-bottom: 3px;
  }

  .trust-section .trust-principle p,
  .trust-section .trust-independence p,
  .trust-section .trust-meaning p,
  .trust-section .trust-score > p {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .trust-section .trust-independence,
  .trust-section .trust-meaning {
    margin-top: 14px;
  }

  .trust-section .trust-independence h3 {
    font-size: 14px;
  }

  .trust-section .trust-meaning .trust-pill {
    font-size: 9px;
    padding: 8px 10px;
  }

  .trust-section .trust-score {
    margin-top: 18px;
    padding-top: 12px;
  }

  #trust.is-active .trust-score .ring {
    width: 128px;
    height: 128px;
  }

  #trust .trust-score .ring span {
    font-size: 40px;
  }

  .trust-section .trust-threshold-title {
    margin-top: 12px;
    font-size: 15px;
  }

  .trust-section .trust-score .score-row {
    padding: 10px 0;
  }
}

/* ---- Slide 07 redesign: three line-icon principles, dominant 70/100 threshold, short closing lines. ---- */

#trust .trust-principles {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid rgba(142, 219, 200, 0.18);
}

#trust .trust-principle {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(142, 219, 200, 0.1);
}

#trust .trust-icon {
  width: 26px;
  height: 26px;
  margin-top: 1px;
  color: var(--mint);
  flex: 0 0 auto;
}

#trust .trust-principle h3 {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.25;
}

#trust .trust-principle p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

#trust .trust-closing {
  margin-top: 24px;
}

#trust .trust-tagline {
  margin: 0;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-transform: uppercase;
}

#trust .trust-disclaimer {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Verified threshold: a dominant progress ring that fills to exactly 70 of 100 (pathLength = 100). */
#trust .trust-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#trust .trust-score .ring {
  position: relative;
  animation: none; /* the progress arc is the only motion here; no scaling pulse */
  display: grid;
  place-items: center;
  width: 250px;
  height: 250px;
  margin: 0 auto 18px;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(142, 219, 200, 0.1);
}

#trust .trust-score .ring span {
  position: relative;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--mint);
}

#trust .trust-score .ring small {
  font-size: 16px;
  letter-spacing: 0;
  color: var(--muted);
}

#trust .threshold-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

#trust .threshold-track {
  fill: none;
  stroke: rgba(142, 219, 200, 0.16);
  stroke-width: 3;
}

#trust .threshold-progress {
  fill: none;
  stroke: var(--mint);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 30; /* 100 - 70: the final, exact state */
}

#trust .trust-threshold-title {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.25;
}

#trust .trust-threshold-note {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Discreet entrance: principles in sequence, then the threshold text and the closing lines. */
@keyframes trust-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes threshold-fill {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 30; }
}

#trust.is-active .trust-principle {
  animation: trust-rise 0.6s cubic-bezier(0.22, 0.8, 0.26, 1) both;
  animation-delay: calc(var(--i, 0) * 0.12s);
}

#trust.is-active .threshold-progress {
  animation: threshold-fill 0.7s cubic-bezier(0.22, 0.8, 0.26, 1) both;
}

#trust.is-active .trust-threshold-title,
#trust.is-active .trust-threshold-note {
  animation: trust-rise 0.6s ease-out 0.3s both;
}

#trust.is-active .trust-closing {
  animation: trust-rise 0.6s ease-out 0.55s both;
}

@media (prefers-reduced-motion: reduce) {
  #trust.is-active .trust-principle,
  #trust.is-active .threshold-progress,
  #trust.is-active .trust-threshold-title,
  #trust.is-active .trust-threshold-note,
  #trust.is-active .trust-closing {
    animation: none !important;
  }
}

/* Desktop: a larger ring to lead the composition. */
@media (min-width: 801px) {
  #trust.is-active .trust-score .ring {
    width: 250px;
    height: 250px;
  }
}

/* Phones: Verified threshold shown right after the headline, principles and closing lines follow. */
@media (max-width: 800px) {
  #trust .trust-layout {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  #trust .trust-copy {
    display: contents;
  }

  #trust .trust-copy > h2 { order: 1; }
  #trust .trust-score { order: 2; }
  #trust .trust-principles { order: 3; margin-top: 4px; }
  #trust .trust-closing { order: 4; margin-top: 10px; }

  #trust .trust-score .ring { margin-bottom: 8px; width: 150px; height: 150px; }
  #trust.is-active .trust-score .ring { width: 150px; height: 150px; }
  #trust .trust-score .ring span { font-size: 46px; }
  #trust .trust-score .ring small { font-size: 12px; }
  #trust .trust-threshold-title { font-size: 15px; margin-top: 2px; }
  #trust .trust-threshold-note { font-size: 12.5px; }

  #trust .trust-principle { grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 10px 0; }
  #trust .trust-icon { width: 22px; height: 22px; }
  #trust .trust-principle h3 { font-size: 14px; margin-bottom: 2px; }
  #trust .trust-principle p { font-size: 12.5px; }
  #trust .trust-tagline { font-size: 9px; }
  #trust .trust-disclaimer { font-size: 12px; }
}

/* Notes panel: structured sections for slides that define them (slide 07). Plain notes are unchanged. */
.speaker-notes-card .notes-section {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(142, 219, 200, 0.14);
}

.speaker-notes-card .notes-section:first-child {
  margin-top: 10px;
  padding-top: 0;
  border-top: 0;
}

.speaker-notes-card .notes-heading {
  display: flex;
  gap: 10px;
  margin: 0;
  color: #e8f4f1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.speaker-notes-card .notes-number {
  flex: 0 0 auto;
  color: var(--mint);
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.speaker-notes-card .notes-section p {
  margin: 6px 0 0;
  color: #d1e1e6;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 800px) {
  .speaker-notes-card .notes-section p { font-size: 12px; }
}

/* Scrolling inside the open notes never chains to the slide behind it. */
.speaker-notes-panel {
  overscroll-behavior: contain;
}

.speaker-notes-card .notes-title {
  margin: 4px 0 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(142, 219, 200, 0.22);
  color: #f2fbf8;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
}
