/* /lt/is-my-email-safe and /en/is-my-email-safe: built from the home page's own blocks (index.page.css and chrome.css:
   the hero over the net, the blue container of cards, the blue band of steps, the split FAQ). This file holds only
   what the checker itself needs: the domain field in the hero, the report and its states, the request form's place.
   Every colour is a --g-* or --home-* token. */
.hero .es-form { display: flex; gap: 8px; max-width: 600px; margin-top: 34px; padding: 6px; border-radius: 14px; background: var(--g-panel); box-shadow: var(--home-chip-shadow), inset 0 0 0 1px var(--g-line); }
.hero .es-form input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--g-text); font: 400 16px var(--g-sans); outline: none; }
.hero .es-form input::placeholder { color: var(--g-faint); }
.hero .es-form:focus-within { box-shadow: var(--home-chip-shadow), inset 0 0 0 2px var(--g-action); }
.hero .es-form .btn-lg { flex: none; border: 0; cursor: pointer; font-family: inherit; }
.hero .es-form .btn-lg:disabled { opacity: .6; cursor: progress; }
.es-err { max-width: 600px; }
.hero .actions-note { margin-top: 18px; }

/* The report */
.es-result { padding-top: 8px; }
/* No box before a check: the report appears with its first answer, or with "checking". */
.es-report[data-state="empty"] { display: none; }
.es-report { padding: 32px; border-radius: 16px; background: var(--g-panel); box-shadow: var(--home-card-shadow); scroll-margin-top: 96px; }

.es-report-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px; }

/* Its states: nothing asked yet, asking or failed (one line), or the answer */
.es-empty, .es-status { margin: 0; font-size: 16px; line-height: 1.6; color: var(--g-muted); }
.es-report:not([data-state="empty"]) .es-empty,
.es-report:not([data-state="loading"]):not([data-state="error"]) .es-status,
.es-report:not([data-state="done"]) .es-done { display: none; }
.es-report[data-state="error"] .es-status { color: var(--g-danger-text); }
.es-report[data-state="loading"] .es-status::before {
  content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 10px; vertical-align: -2px;
  border: 2px solid var(--g-line-2); border-top-color: var(--g-action); border-radius: 50%; animation: es-spin .8s linear infinite;
}
@keyframes es-spin { to { transform: rotate(360deg); } }
.es-again { font: inherit; font-size: 14px; cursor: pointer; border: 0; }
.es-again:focus-visible { outline: 2px solid var(--g-action); outline-offset: 2px; }
.es-report-title { margin: 0; font-size: 24px; line-height: 1.25; letter-spacing: -.015em; font-weight: 600; color: var(--g-text); }
.es-domain { color: var(--g-action-text); overflow-wrap: anywhere; }
.es-report-sub { margin: 6px 0 0; font-size: 15px; color: var(--g-muted); }


.es-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; margin-top: 22px; }

/* The plain status, first: one colour per level, the reasons under it */
.es-verdict-main { margin-top: 22px; padding: 20px 22px; border-radius: 14px; border: 1px solid var(--es-line); background: var(--es-bg); color: var(--es-t); }
.es-verdict-main[data-level="basic"] { --es-line: var(--web-3ddc97-a35); --es-bg: var(--g-live-dim); --es-t: var(--g-live-text); }
.es-verdict-main[data-level="partial"] { --es-line: var(--g-warn); --es-bg: var(--g-warn-dim); --es-t: var(--g-warn-text); }
.es-verdict-main[data-level="missing"] { --es-line: var(--g-danger-line); --es-bg: var(--g-danger-dim); --es-t: var(--g-danger-text); }
.es-verdict-main[data-level="unknown"] { --es-line: var(--g-line-2); --es-bg: var(--g-sunken); --es-t: var(--g-text-2); }
.es-verdict-main h3 { margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: -.015em; font-weight: 650; }
.es-verdict-main p { margin: 8px 0 0; max-width: 75ch; font-size: 15px; line-height: 1.6; }
.es-verdict-main ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; line-height: 1.55; }
.es-verdict-main ul:empty { display: none; }

/* What we found: the records and the illustration, folded */
.es-found { margin-top: 24px; border-top: 1px solid var(--g-line); padding-top: 16px; }
.es-found > summary { cursor: pointer; font-size: 18px; font-weight: 600; color: var(--g-text); width: fit-content; }
.es-found > summary:focus-visible { outline: 2px solid var(--g-action); outline-offset: 3px; border-radius: 4px; }

/* The forged e-mail: what the records are there to stop */
.es-forged { display: flex; flex-direction: column; align-self: start; position: sticky; top: 96px; }
.es-forged-head { font-size: 13.5px; color: var(--g-dim); margin-bottom: 10px; }
.es-mail { padding: 18px 20px; border-radius: 14px 14px 0 0; border: 1px solid var(--g-line); border-bottom: 0; background: var(--g-sunken); font-size: 14px; color: var(--g-text-2); }
.es-mail-row { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--g-line); }
.es-mail-row > span { color: var(--g-faint); }
.es-mail-row b { font-weight: 550; color: var(--g-text); overflow-wrap: anywhere; }
.es-mail p { margin: 14px 0 10px; line-height: 1.55; }
.es-iban { display: inline-block; padding: 4px 8px; border-radius: 6px; background: var(--g-panel); border: 1px solid var(--g-line); font: 500 13px var(--g-mono); color: var(--g-text); }
.es-verdict { padding: 16px 20px; border-radius: 0 0 14px 14px; border: 1px solid; }
.es-verdict b { display: block; font-size: 16px; line-height: 1.35; font-weight: 600; }
.es-verdict span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.55; }
.es-verdict.es-v-warn { background: var(--g-warn-dim); border-color: var(--g-warn); color: var(--g-warn-text); }
.es-verdict.es-v-ok { background: var(--g-live-dim); border-color: var(--web-3ddc97-a35); color: var(--g-live-text); }
.es-verdict.es-v-unknown { background: var(--g-sunken); border-color: var(--g-line-2); color: var(--g-muted); }

/* The three records */
.es-checks { display: grid; gap: 12px; align-content: start; }
.es-check { padding: 16px 18px 16px 20px; border-radius: 14px; border: 1px solid var(--g-line); border-left: 4px solid var(--es-c); background: var(--g-panel); }
.es-check.s-ok { --es-c: var(--g-live); --es-bg: var(--g-live-dim); --es-t: var(--g-live-text); }
.es-check.s-warn { --es-c: var(--g-warn); --es-bg: var(--g-warn-dim); --es-t: var(--g-warn-text); }
.es-check.s-bad { --es-c: var(--g-danger); --es-bg: var(--g-danger-dim); --es-t: var(--g-danger-text); }
.es-check.s-unknown { --es-c: var(--g-line-2); --es-bg: var(--g-sunken); --es-t: var(--g-muted); }
.es-check-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.es-check h3 { margin: 0; font-size: 17px; letter-spacing: -.01em; color: var(--g-text); }
.es-chip { padding: 3px 10px; border-radius: 999px; background: var(--es-bg); color: var(--es-t); font-size: 12.5px; font-weight: 550; white-space: nowrap; }
.es-check code { display: block; margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: var(--g-sunken); font: 400 12.5px/1.5 var(--g-mono); color: var(--g-text-2); overflow-wrap: anywhere; white-space: pre-wrap; }
.es-notes p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--g-muted); }

/* Next steps: a real sequence, so numbered */
.es-next { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--g-line); }
.es-next h3 { margin: 0; font-size: 18px; color: var(--g-text); }
.es-next ol { list-style: none; counter-reset: es; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 16px 0 0; padding: 0; }
.es-next li { counter-increment: es; position: relative; padding-left: 40px; }
.es-next li::before {
  content: counter(es); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--g-action-dim); border: 1px solid var(--g-action-line);
  font: 600 13px var(--g-sans); color: var(--g-action-text);
}
.es-next li b { display: block; font-size: 15.5px; line-height: 1.35; color: var(--g-text); }
.es-next li span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: var(--g-muted); }

.es-report[data-state="done"] .es-done { animation: es-in .32s ease both; }
@keyframes es-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .es-report[data-state="done"] .es-done, .es-report[data-state="loading"] .es-status::before { animation: none; } }

/* The cards' foot: what each record does not do, under the home card's rule */
.es-limit { display: block; font-size: 14px; line-height: 1.6; color: var(--g-muted); }
.es-limit b { color: var(--g-text); font-weight: 600; }
.pillars .card:hover { transform: none; }

/* The offer: the home page's blue band of steps; each step a service, and the request form its buttons open */
.bb-how .step h3 { margin: 12px 0 0; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; color: var(--g-text); }
.bb-how .step { display: flex; flex-direction: column; }
.bb-how .step .actions { margin-top: auto; padding-top: 24px; }
.bb-how .sec-list { margin-top: 18px; }
.bb-how .sec-list .larr { color: var(--g-faint); }
.bb-how .sec-list .lact { color: var(--g-action-text); }
.bb-how .sec-head { max-width: 760px; }
.bb-how { background: var(--email-how-bg); }
.bb-how .sec-lede { color: var(--home-on-navy); }
/* The home page draws these fragments faint and in the action blue; as words here they read at 4.5:1. */
.tline .tp { color: var(--g-muted); }
.cmdline .tp { color: var(--g-action-text); }
.bb-how .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; margin-inline: auto; }
.es-terms { max-width: 920px; margin: 26px auto 0; text-align: center; font-size: 15px; }
.es-order-box { margin: 22px auto 0; max-width: 640px; scroll-margin: 96px; }
.es-order-box[hidden], .es-order-box [hidden] { display: none; }
.es-order-box h3 { margin: 0 0 18px; font-size: 20px; color: var(--g-text); }
.es-order-box select { height: 44px; padding: 0 12px; border: 1px solid var(--g-line-2); border-radius: 10px; background: var(--g-panel); color: var(--g-text); font: 400 15px var(--g-sans); }
.es-order-box select:focus-visible { outline: 2px solid var(--g-action); outline-offset: 2px; }
.es-order-box .btn-primary { justify-self: start; font: inherit; font-weight: 600; border: 0; cursor: pointer; }
.es-order-box .btn-primary:disabled { opacity: .6; cursor: progress; }
.es-order-fine { margin: -6px 0 0; font-size: 13.5px; color: var(--g-dim); }
.es-order-done { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--g-live-dim); color: var(--g-live-text); font-size: 15px; }
.es-order-err { margin-top: 12px; }
.es-order { font-family: inherit; cursor: pointer; border: 0; }
.es-order:focus-visible { outline: 2px solid var(--g-action); outline-offset: 2px; }

@media (max-width: 960px) {
  .es-panel { grid-template-columns: 1fr; }
  .es-report { padding: 22px; }
  .es-forged { position: static; }
  .es-next ol { grid-template-columns: 1fr; }
  .bb-how .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .es-report { padding: 18px; }
  .hero .es-form { flex-direction: column; }
  .hero .es-form input { flex: none; }
  .es-report-title { font-size: 20px; }
}
