:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --white: #fffefa;
  --navy: #07142e;
  --ink: #10213b;
  --muted: #4e5c6c;
  --line: #d9dcd9;
  --blue: #1549d8;
  --glass: #a9ccff;
  --amber: #7e3d0d;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', system-ui, sans-serif;
  --mono: Consolas, 'Courier New', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
:focus-visible { outline: 3px solid #476efa; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
h1 { font-size: clamp(3rem, 5.4vw, 5.4rem); line-height: .99; }
h2 { font-size: clamp(2.35rem, 4vw, 3.55rem); line-height: 1.02; }
h3 { font-size: 1.24rem; line-height: 1.25; letter-spacing: -.02em; }
p, dd { overflow-wrap: anywhere; }
.mono, code { font-family: var(--mono); overflow-wrap: anywhere; }
.wrap { width: min(100% - 112px, 1216px); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: 10px; left: 10px; padding: 10px; transform: translateY(-160%); background: white; }
.skip:focus { transform: none; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 1.12rem; letter-spacing: -.035em; white-space: nowrap; }
.brand-mark { display: inline-flex; width: 31px; height: 28px; align-items: center; justify-content: center; gap: 3px; background: var(--blue); border-radius: 5px; }
.brand-mark i { width: 3px; height: 10px; transform: skew(-20deg); background: white; }
.brand-mark i:nth-child(2) { height: 15px; }
.brand-mark i:nth-child(3) { height: 19px; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
nav a { font-size: .93rem; font-weight: 600; text-decoration: none; text-underline-offset: 5px; }
nav a:hover, nav a[aria-current] { color: var(--blue); text-decoration: underline; }
nav a:last-child { border: 1px solid #aeb8c8; padding: 8px 13px; border-radius: 5px; }

.hero { background: var(--navy); color: var(--white); position: relative; isolation: isolate; overflow: clip; }
.hero-inner { display: grid; align-items: center; min-height: 592px; }
.hero-content { position: relative; z-index: 1; width: min(100%, 690px); padding-block: 65px 53px; }
.hero-picture { position: absolute; z-index: -1; inset: 0 0 0 30%; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-picture::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, #07142eea 12%, #07142e68 34%, #07142e00 57%); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; color: #204caa; font-size: .79rem; font-weight: 750; letter-spacing: .115em; }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; flex: none; }
.hero .eyebrow, .hero h1 em { color: var(--glass); }
.hero-intro { margin-top: 23px; max-width: 430px; color: #e3eafd; font-size: 1.08rem; }
.hero-tool .hero-inner { min-height: 500px; }
.domain-form { max-width: 510px; margin-top: 27px; }
label { display: block; margin-bottom: 7px; font-size: .95rem; font-weight: 650; }
.input-group { display: flex; align-items: stretch; gap: 8px; }
input, textarea { color: var(--ink); background: var(--white); border: 1px solid #a4afbf; border-radius: 5px; width: 100%; min-width: 0; padding: 12px 14px; }
input::placeholder { color: #606c7c; }
input[aria-invalid="true"] { border-color: #c2512d; box-shadow: 0 0 0 1px #c2512d; }
.domain-form input { flex: 1; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; border: 1px solid transparent; padding: 10px 17px; border-radius: 5px; font-weight: 650; text-decoration: none; text-align: center; font-size: .95rem; line-height: 1.35; }
.primary { background: var(--blue); color: #fff; }
.primary:hover { background: #0b37b5; }
.hero .primary { background: #b3ceff; color: #07142e; }
.hero .primary:hover { background: #d4e3ff; }
.hero .primary:focus-visible { outline-color: #b3ceff; }
.secondary { border-color: #a3b1c7; color: #173b8f; background: var(--white); }
.secondary:hover { background: #e9effc; }
.demo-note, .loading-note, .audit-note { font-size: .86rem; }
.demo-note { display: flex; align-items: baseline; gap: 8px; color: #d9e3f9; margin-top: 12px; }
.demo-note span { flex: none; width: 6px; height: 6px; border: 1px solid #b3ceff; transform: translateY(-1px) rotate(45deg); }
.loading-note:not(:empty) { margin-top: 9px; color: #d9e3f9; }
.field-error { color: #8d2915; margin-top: 6px; font-size: .9rem; }
.hero .field-error { color: #ffd7be; }

.sample { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; padding-block: 74px 80px; align-items: center; }
.sample-intro > p:not(.eyebrow), .explain p { margin: 16px 0 19px; color: var(--muted); max-width: 490px; }
.text-link { display: inline-block; width: fit-content; padding: 0; background: none; border: 0; color: #1745ac; text-align: left; font-weight: 700; text-decoration: underline; text-decoration-color: #7a99d1; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-color: currentColor; }
.sample-card { min-width: 0; border: 1px solid #cdd4df; border-radius: 8px; overflow: hidden; background: var(--white); box-shadow: 0 14px 34px #0b23490b; }
.sample-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 20px; background: #eaf0fa; color: #243951; font-size: .86rem; font-weight: 600; }
.sample-top span:last-child { font-weight: 500; }
.sample-body { padding: 17px 20px 20px; }
.finding-top { display: flex; align-items: center; justify-content: space-between; gap: 8px 15px; flex-wrap: wrap; margin-bottom: 10px; }
.category, .tool-tag { color: #405472; font-size: .77rem; font-weight: 750; letter-spacing: .09em; }
.badge { display: inline-flex; align-items: center; width: fit-content; gap: 6px; padding: 3px 9px; border-radius: 4px; font-size: .83rem; font-weight: 690; line-height: 1.4; }
.badge.warn { background: #f9e9d4; color: var(--amber); }
.badge.ok { background: #e6edf9; color: #174082; }
.badge.unknown { background: #e8e9ed; color: #3c4555; }
.badge.demo { background: #e6edf9; color: #174082; white-space: nowrap; }
.sample-body p { margin-top: 7px; color: var(--muted); }
.sample-action { display: flex; flex-wrap: wrap; column-gap: 10px; padding: 11px 20px; border-top: 1px solid #dce1ea; font-size: .91rem; color: #344661; }

.tools-section { background: #eeefe9; padding-block: 61px 68px; border-block: 1px solid var(--line); }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 31px; border-block: 1px solid #c2cad1; }
.tool-grid article { padding: 23px 23px 25px 0; }
.tool-grid article + article { padding-left: 29px; border-left: 1px solid #c2cad1; }
.tool-grid h3 { margin-top: 8px; }
.tool-grid p { margin: 8px 0 12px; color: var(--muted); }
.audit-teaser { margin-block: 76px; display: grid; grid-template-columns: 1fr 1fr; background: #e8eef7; border: 1px solid #d3dfe9; border-radius: 8px; overflow: hidden; }
.audit-teaser img { width: 100%; height: 100%; object-fit: cover; }
.audit-teaser > div { padding: clamp(30px, 5.4vw, 76px); align-self: center; }
.audit-teaser h2 { font-size: clamp(2.1rem, 3.6vw, 3.35rem); }
.audit-teaser p:not(.eyebrow) { margin: 15px 0 22px; color: #384961; }
.explain { padding-top: 67px; }

.report { padding-block: 57px 15px; scroll-margin-top: 22px; }
.report-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid #bfcadd; padding-bottom: 23px; }
.report-header h2 { margin-bottom: 10px; font-family: var(--mono); font-size: clamp(1.85rem, 4vw, 3.4rem); letter-spacing: -.045em; overflow-wrap: anywhere; }
.report-header > div { min-width: 0; }
.report-header p:not(.eyebrow) { color: var(--muted); font-size: .92rem; }
.partial { margin-block: 20px; color: #37465b; font-size: .95rem; }
.findings { display: grid; gap: 13px; }
.finding { background: var(--white); border: 1px solid #cdd4df; border-radius: 6px; padding: 22px 24px; min-width: 0; }
.finding.priority { border-left: 4px solid #315fce; }
.finding.priority.warn { border-left-color: #ad6127; }
.finding h3 { font-size: 1.4rem; }
.finding h3 + p { margin-top: 8px; }
.finding p { max-width: 75ch; color: #3f4e62; }
.owner-action { margin-top: 12px; }
.copy-area { margin-top: 12px; }
.copy-area .button { min-height: 42px; }
.copy-note:not(:empty) { margin-top: 7px; }
.manual { margin-top: 11px; }
.manual textarea { display: block; }
details { margin-top: 17px; padding-top: 11px; border-top: 1px solid #e1e4eb; }
summary { cursor: pointer; width: fit-content; padding: 3px 0; color: #1745ac; font-weight: 650; }
.evidence { margin-block: 11px 0; background: #f1f4f8; padding-inline: 13px; }
.evidence > div { display: grid; grid-template-columns: minmax(0, 175px) minmax(0, 1fr); gap: 4px 12px; padding-block: 8px; }
.evidence > div + div { border-top: 1px solid #d9e0eb; }
.evidence dt { font-weight: 650; }
.evidence dd { margin: 0; }
.report-audit { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 22px; margin-top: 25px; background: #e8eef7; border-radius: 6px; }
.report-audit p { margin-top: 4px; }

.audit-hero { background: var(--navy); color: var(--white); }
.audit-layout { display: grid; grid-template-columns: 1fr minmax(0, .95fr); align-items: center; gap: clamp(20px, 5vw, 70px); padding-block: 62px; }
.audit-layout h1 { font-size: clamp(2.45rem, 5vw, 4.75rem); overflow-wrap: anywhere; }
.audit-layout h1 em, .audit-layout .eyebrow { color: var(--glass); }
.audit-layout p:not(.eyebrow) { color: #e3eafd; }
.audit-layout h1 + p { margin-block: 18px 22px; max-width: 490px; }
.audit-layout img { width: 100%; border-radius: 7px; }
.audit-note { margin-top: 10px; }
.audit-content { display: grid; grid-template-columns: 1fr minmax(0, .95fr); gap: clamp(24px, 5vw, 70px); padding-block: 70px; align-items: start; }
.audit-scope { margin-bottom: 0; }
.audit-scope dt { padding-top: 10px; font-weight: 700; }
.audit-scope dd { margin: 4px 0 10px; color: var(--muted); }
.audit-report { margin-top: 18px; }
dialog { width: min(520px, 100% - 28px); max-height: calc(100% - 28px); padding: 24px; border: 1px solid #aab9d2; border-radius: 9px; background: var(--white); color: var(--ink); }
dialog::backdrop { background: #07142ed0; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dialog-top .eyebrow { margin: 0; }
.close { border: 1px solid #b6c0cf; background: transparent; border-radius: 4px; font-size: 1.5rem; line-height: 1; width: 36px; height: 36px; color: var(--ink); }
dialog h2 { font-size: clamp(1.95rem, 5vw, 2.7rem); margin: 11px 0 8px; }
dialog form { margin-top: 20px; }
dialog form label:not(:first-child) { margin-top: 12px; }
dialog label span { color: var(--muted); font-weight: 400; }
dialog textarea { resize: vertical; }
dialog form .button, #finish-audit { margin-top: 13px; }
.confirm { padding: 12px 14px; margin-top: 14px; background: #e8eef7; border-radius: 5px; }

footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 95px; }
.footer-inner p { font-size: .9rem; color: var(--muted); }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 72px); }
  .hero-inner { min-height: 553px; }
  .hero-content { width: min(100%, 575px); }
  .hero-picture { inset-inline-start: 26%; }
  .hero-picture::after { background: linear-gradient(90deg, var(--navy), #07142edb 16%, #07142e53 54%, #07142e12 100%); }
  .sample { gap: 32px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 38px); }
  .header-inner { align-items: flex-start; justify-content: center; gap: 10px; flex-direction: column; padding-block: 12px; }
  nav { gap: 3px 16px; }
  nav a { font-size: .875rem; padding-block: 4px; }
  nav a:last-child { padding: 4px 0; border: 0; }
  .hero-inner, .hero-tool .hero-inner { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-content { padding-block: 34px 24px; }
  .hero h1 { font-size: clamp(2.7rem, 10vw, 4.15rem); }
  .wide-break { display: none; }
  .hero-intro { margin-top: 15px; }
  .domain-form { margin-top: 22px; }
  .hero-picture { position: relative; inset: auto; width: calc(100% + 38px); left: -19px; aspect-ratio: 2 / 1; }
  .hero-picture img { object-position: center 55%; }
  .hero-picture::after { background: linear-gradient(180deg, var(--navy), transparent 34%); }
  .sample, .audit-layout, .audit-content { grid-template-columns: 1fr; gap: 24px; padding-block: 42px; }
  .tools-section { padding-block: 42px; }
  .tool-grid { grid-template-columns: 1fr; margin-top: 23px; }
  .tool-grid article { padding: 16px 0 20px; }
  .tool-grid article + article { border-left: 0; border-top: 1px solid #c2cad1; padding-left: 0; }
  .audit-teaser { grid-template-columns: 1fr; margin-block: 43px; }
  .audit-teaser img { aspect-ratio: 16 / 9; }
  .audit-teaser > div { padding: 23px; }
  .report { padding-top: 36px; }
  .report-header, .report-audit { flex-direction: column; align-items: flex-start; }
  .finding { padding: 15px; }
  .explain { padding-top: 42px; }
  .audit-report { margin-top: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 17px; gap: 7px; }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

[data-page="home"] {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  background: radial-gradient(ellipse at 50% 19%, #fffefa, var(--paper) 71%);
}
.domain-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 42px 24px 72px;
}
.domain-panel { width: min(100%, 850px); min-width: 0; }
.home-brand {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: .96rem;
  margin-bottom: 22px;
}
.home-brand .brand-mark { width: 25px; height: 24px; gap: 2.5px; }
.home-brand .brand-mark i { width: 2.5px; height: 8px; }
.home-brand .brand-mark i:nth-child(2) { height: 12px; }
.home-brand .brand-mark i:nth-child(3) { height: 16px; }
.domain-start { text-align: center; }
.domain-start h1 { font-size: clamp(2.55rem, 5.5vw, 4.75rem); line-height: 1.02; overflow-wrap: anywhere; }
.domain-start h1 em { display: inline-block; color: #183f9e; }
.domain-start .domain-form { max-width: 540px; margin: 30px auto 0; }
.domain-start .input-group {
  flex-direction: row;
  gap: 4px;
  padding: 5px;
  border: 1px solid #a5b0c2;
  border-radius: 9px;
  background: var(--white);
  box-shadow: 0 4px 13px #0b23490b;
}
.domain-start .input-group:focus-within { border-color: #2452cc; }
.domain-start .input-group input { padding: 9px 11px; border-color: transparent; background: transparent; font-size: 1.05rem; }
.domain-start .input-group input[aria-invalid="true"] { border-color: #c2512d; }
.domain-start .input-group button { min-width: 115px; }
.domain-start .field-error { text-align: start; padding-inline: 5px; }
.home-scope { color: #34465f; margin-top: 15px; }
.home-demo { color: #596779; margin-top: 7px; font-size: .85rem; }

.domain-result { max-width: 676px; margin-inline: auto; }
.domain-result-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 14px; }
.domain-result-header h2 { font-size: clamp(2rem, 5vw, 3.85rem); min-width: 0; overflow-wrap: anywhere; }
.report-notice { margin-bottom: 12px; }
.domain-readings {
  background: var(--white);
  border: 1px solid #cfd7e2;
  border-radius: 8px;
}
.domain-reading { margin: 0; padding: 0; border: 0; }
.domain-reading + .domain-reading { border-top: 1px solid #dce1e9; }
.domain-reading summary {
  display: grid;
  grid-template-columns: minmax(0, 145px) minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 8px 12px;
  border-radius: 5px;
  color: var(--ink);
  line-height: 1.25;
  list-style: none;
}
.domain-reading summary::-webkit-details-marker { display: none; }
.domain-reading summary:hover { background: #f1f5fc; }
.domain-reading summary:focus-visible { outline-offset: -3px; }
.reading-value { color: #47556b; font-weight: 500; }
.reading-value.ok { color: #26594b; }
.reading-value.warn { color: #7e3d0d; }
.reading-details { color: #1745ac; font-size: .83rem; font-weight: 650; }
.reading-details::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 6px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: translateY(-2px) rotate(45deg);
}
.domain-reading[open] .reading-details::after { transform: rotate(225deg); }
.reading-body { padding: 4px 12px 14px; color: #3f4e62; font-size: .94rem; }
.reading-body .owner-action { margin-top: 7px; }
.reading-body .evidence { border-radius: 4px; }
.domain-result-actions { margin-top: 18px; }
.domain-result-actions .copy-area { margin: 0; }
.domain-result-actions .button { min-height: 48px; }
.domain-secondary-actions { display: flex; flex-wrap: wrap; gap: 9px 19px; margin-top: 12px; font-size: .92rem; }
.domain-secondary-actions .text-link { font-weight: 600; }

.home-footer { border-color: #dce0e5; text-align: center; }
.home-footer nav { justify-content: center; gap: 3px 24px; padding: 14px 20px; }
.home-footer nav a { padding: 4px 0; border: 0; color: #4a586c; font-size: .86rem; font-weight: 550; }
.home-footer nav a:hover { color: #1549d8; }
.domain-guide { max-width: 760px; padding-block: 50px 64px; }
.domain-guide h1 { font-size: clamp(2.7rem, 5vw, 4.2rem); }
.domain-guide h2 { margin-top: 32px; font-size: clamp(1.85rem, 3vw, 2.45rem); }
.domain-guide h2 + p { margin-block: 11px 16px; }
.domain-guide h1 { overflow-wrap: anywhere; }
.domain-guide p { margin-block: 12px; }
.domain-guide li + li { margin-top: 7px; }
.guide-lead { font-size: clamp(1.08rem, 2vw, 1.28rem); }
.guide-links { padding-inline-start: 20px; }
.guide-links a, .domain-guide p a, .form-privacy a { color: #1745ac; text-underline-offset: 3px; }
.form-privacy { color: var(--muted); font-size: .88rem; margin-top: 9px; }
.footer-inner nav a:last-child { border: 0; padding: 0; }
.home-demo .text-link { font-weight: 550; }
.domain-start .loading-note:not(:empty) { color: var(--muted); }
.hero .demo-note .text-link { color: inherit; }
.report-final { color: var(--muted); margin-block: 8px 12px; font-size: .93rem; }
.destination-heading { margin-block: 14px 5px; font-size: 1rem; }
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #a4afbf;
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
select[aria-invalid="true"] { border-color: #c2512d; }

@media (max-width: 600px) {
  .domain-main { padding: 30px 18px 62px; }
  .domain-main:has(.domain-result:not([hidden])) { align-items: start; padding-block: 26px 25px; }
  .domain-main:has(.domain-result:not([hidden])) .home-brand { justify-content: flex-start; margin-bottom: 17px; }
  .domain-start h1 { max-width: 520px; margin-inline: auto; font-size: clamp(2.25rem, 10vw, 3.75rem); }
  .domain-start h1 em { display: block; }
  .domain-start .domain-form { margin-top: 23px; }
  .domain-start .input-group button { min-width: 92px; }
  .domain-reading summary { grid-template-columns: minmax(0, 85px) minmax(0, 1fr) auto; gap: 7px; padding-inline: 9px; font-size: .875rem; }
  .reading-details { font-size: .8rem; }
  .reading-details::after { display: none; }
  .domain-result-actions .button { width: 100%; }
  .domain-secondary-actions { justify-content: space-between; gap: 8px; }
  .home-footer nav { column-gap: 18px; }
}

@media (max-width: 420px) {
  .input-group { flex-direction: column; gap: 7px; }
  .sample-top { align-items: flex-start; padding-inline: 14px; }
  .sample-body, .sample-action { padding-inline: 14px; }
  .evidence > div { grid-template-columns: minmax(0, 1fr); }
}

.preview-notice { margin-top: 14px; font-size: .9rem; }
.hero .preview-notice { color: #e3eafd; }
.preview-domain { margin-top: 24px; }
.preview-domain .mono { display: block; margin-bottom: 12px; }
.preview-result #wynik:not(:target) { display: none; }
.preview-result:has(.domain-result:target) #domain-start { display: none; }
.preview-audit { max-width: 32rem; border: 0; padding: 0; }
.preview-audit summary.button { display: inline-flex; color: var(--navy); background: #b3ceff; }
.preview-audit summary.button:hover { background: #d4e3ff; }
.preview-audit fieldset { border: 0; padding: 0; margin: 14px 0 0; min-inline-size: 0; }
.preview-audit fieldset label:not(:first-child) { margin-top: 12px; }
.preview-audit :disabled { color: var(--navy); opacity: 1; }
.preview-audit .button:disabled { margin-top: 12px; color: #fff; cursor: default; }
@media (max-width: 600px) {
  .preview-result .domain-main:has(.domain-result:target) { align-items: start; padding-block: 26px 25px; }
  .preview-result .domain-main:has(.domain-result:target) .home-brand { justify-content: flex-start; margin-bottom: 17px; }
}
