/* The security page (November 2026). Every rule here is for main.sp and the
   classes that begin sp-, so no other page changes. The colours, the two
   typefaces, the header, the footer and the buttons come from styles.css. */

.sp { padding-bottom: 72px; }
.sp h2 { font: 600 28px/1.2 var(--serif); letter-spacing: -0.01em; }
.sp h2.sp-next { margin-top: 30px; }

/* --------------------------------------------------------- the opening */
.sp-hero { padding: 44px 0 8px; border-top: 0; }
.sp-eyebrow { font: 500 14px var(--sans); color: var(--muted); }
.sp-hero h1 {
  font: 600 46px/1.1 var(--serif); letter-spacing: -0.015em;
  max-width: 20ch; margin-top: 12px;
}
.sp-sub { margin-top: 18px; font-size: 18px; line-height: 1.65; color: var(--ink2); max-width: 60ch; }
.sp-ctas { margin-top: 26px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.sp-rev { font-size: 13px; color: var(--muted); margin-left: 6px; }

.sp-plain { padding: 38px 0 0; border-top: 0; max-width: 46em; }
.sp-plain p { font: 400 19.5px/1.62 var(--serif); color: var(--ink); }
.sp-plain p + p { margin-top: 16px; }

/* ------------------------------------------------------------ sections */
.sp-sec { padding: 52px 0 0; border-top: 0; }
.sp-lead { margin-top: 8px; color: var(--ink2); max-width: 64ch; }
.sp-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); max-width: 86ch; }
.sp-prose { margin-top: 12px; color: var(--ink2); font-size: 15.5px; line-height: 1.65; max-width: 34em; }
.sp-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.sp-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.sp-two { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; }

/* --------------------------------------------------------------- cards */
.sp-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 14px; padding: 22px 22px 20px;
}
.sp-card h3 { font: 600 17px/1.3 var(--sans); }
.sp-card p { margin-top: 6px; color: var(--ink2); font-size: 14.5px; line-height: 1.55; }
.sp-tag { font: 600 13px var(--sans); color: var(--green); }
.sp-prod h3 { font: 600 22px/1.25 var(--serif); margin-top: 8px; }
.sp-prod ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.sp-prod li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--ink2); line-height: 1.5; }
.sp-prod li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
}
.sp-try {
  margin-top: 14px; padding: 12px 14px; background: var(--green-wash);
  border-radius: 10px; font-size: 14px; color: var(--ink);
}
.sp-more { display: inline-block; margin-top: 14px; font-size: 14.5px; font-weight: 500; }
.sp-ico {
  width: 34px; height: 34px; border-radius: 9px; background: var(--green-wash); color: var(--green);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.sp-ico svg {
  width: 19px; height: 19px; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* ------------------------------------------------- the path of an email */
.sp-flow {
  margin-top: 22px; background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 14px; padding: 26px 22px 20px;
}
.sp-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; align-items: stretch; }
.sp-node { position: relative; padding: 0 16px; }
.sp-node + .sp-node { border-left: 1px dashed var(--hairline2); }
.sp-n { font: 600 11px var(--sans); letter-spacing: 0.14em; color: var(--muted); }
.sp-node h3 { font: 600 15px/1.3 var(--sans); margin-top: 6px; }
.sp-node p { font-size: 13px; color: var(--ink2); margin-top: 5px; line-height: 1.5; }
.sp-pill {
  display: inline-block; margin-top: 10px; font: 600 11px var(--sans);
  letter-spacing: 0.04em; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.sp-pill.sp-gone { background: #f1efe6; color: var(--ink2); }
.sp-pill.sp-kept { background: var(--green-wash); color: var(--green); }
.sp-cap {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--hairline);
  font-size: 13.5px; color: var(--muted);
}

/* -------------------------------------------------------------- tables */
/* The frame carries the border and the rounded corners, because a table
   with collapsed borders does not round its own in every browser. */
.sp-table {
  margin-top: 18px; background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 14px; overflow: hidden;
}
.sp-table table { width: 100%; border-collapse: collapse; }
.sp-table th, .sp-table td { text-align: left; padding: 12px 16px; font-size: 14.5px; vertical-align: top; }
.sp-table th {
  font: 600 13px var(--sans); color: var(--muted);
  border-bottom: 1px solid var(--hairline2); background: #fdfcf8;
}
.sp-table td { color: var(--ink2); border-bottom: 1px solid var(--hairline); }
.sp-table tr:last-child td { border-bottom: 0; }
.sp-table td:first-child { color: var(--ink); font-weight: 500; }
.sp-table td.sp-no { color: var(--muted); font-weight: 600; white-space: nowrap; }
.sp-table td.sp-yes { color: var(--green); font-weight: 600; white-space: nowrap; }
.sp-perm { color: var(--ink); }

/* ----------------------------------------------------------- questions */
.sp details {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 12px; padding: 0 18px; margin-top: 10px;
}
.sp summary {
  list-style: none; cursor: pointer; padding: 15px 0; font: 600 15.5px var(--sans);
  display: flex; justify-content: space-between; gap: 16px;
}
.sp summary::-webkit-details-marker { display: none; }
.sp summary::after { content: '+'; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
.sp details[open] summary::after { content: '\2212'; }
.sp summary:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 6px; }
.sp details p { padding: 0 0 16px; color: var(--ink2); font-size: 15.5px; max-width: 80ch; }
.sp details ul { padding: 0 0 16px 20px; color: var(--ink2); font-size: 15.5px; max-width: 80ch; }
.sp details li { margin-top: 6px; }
.sp details li:first-child { margin-top: 0; }
.sp details strong { color: var(--ink); font-weight: 600; }

/* ----------------------------------------------------- the closing box */
.sp-band {
  margin-top: 56px; background: var(--green-wash); border: 1px solid rgba(28, 107, 75, 0.18);
  border-radius: 16px; padding: 30px 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.sp-band h2 { font-size: 26px; }
.sp-band p { color: var(--ink2); margin-top: 6px; font-size: 15.5px; }
.sp-band .btn { white-space: nowrap; }

/* Below 1000 px the five steps are too narrow side by side, so they stack. */
@media (max-width: 1000px) {
  .sp-row { grid-template-columns: 1fr; gap: 16px; }
  .sp-node + .sp-node { border-left: 0; border-top: 1px dashed var(--hairline2); padding-top: 14px; }
}

/* ------------------------------------------------------------- mobile */
@media (max-width: 800px) {
  .sp-hero h1 { font-size: 34px; }
  .sp-plain p { font-size: 17.5px; }
  .sp-grid2, .sp-grid3, .sp-two { grid-template-columns: minmax(0, 1fr); }
  .sp-band { flex-direction: column; align-items: flex-start; padding: 26px 24px; }
  .sp-perm { overflow-wrap: anywhere; }
  /* On a phone a table becomes a list: each row a block, its first cell the
     name, and in the permissions table each further cell under its own label. */
  .sp-table table, .sp-table tbody, .sp-table tr, .sp-table td { display: block; width: auto; }
  .sp-table tr:first-child { display: none; }
  .sp-table tr { padding: 13px 16px; border-bottom: 1px solid var(--hairline); }
  .sp-table tr:last-child { border-bottom: 0; }
  .sp-table td { padding: 0; border: 0; }
  .sp-table td:first-child { font-weight: 600; margin-bottom: 3px; }
  .sp-table td.sp-yes, .sp-table td.sp-no { display: inline; }
  .sp-table td.sp-yes + td, .sp-table td.sp-no + td { display: inline; }
  .sp-table td.sp-yes::after, .sp-table td.sp-no::after { content: '.'; }
  .sp-table td[data-l] { margin-top: 8px; }
  .sp-table td[data-l]::before {
    content: attr(data-l); display: block; font: 600 12.5px var(--sans);
    color: var(--muted); margin-bottom: 2px;
  }
}

/* -------------------------------------------------------------- paper */
/* On paper, and in a PDF saved from the browser, every answer is shown, in
   browsers that let a stylesheet reach the folded part of a question. */
@media print {
  .sp details::details-content { content-visibility: visible; }
  .sp summary::after { content: none; }
}
