:root {
  --canvas: #f6f4ed;
  --paper: #fffdf8;
  --paper-strong: #ffffff;
  --ink: #17182f;
  --ink-soft: #53546c;
  --ink-faint: #6b6c7d;
  --line: #dcd9cf;
  --line-strong: #c6c2b6;
  --brand: #5b5bd6;
  --brand-dark: #4545bc;
  --brand-soft: #e9e8fb;
  --mint: #24a98e;
  --mint-soft: #dff3ed;
  --coral: #ef705e;
  --coral-soft: #f9ded8;
  --amber: #b97819;
  --amber-soft: #f8ebcf;
  --shadow-sm: 0 10px 30px rgba(23, 24, 47, 0.07);
  --shadow-lg: 0 28px 80px rgba(23, 24, 47, 0.12);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 7%, rgba(91, 91, 214, 0.07), transparent 23rem),
    radial-gradient(circle at 96% 27%, rgba(36, 169, 142, 0.09), transparent 26rem),
    var(--canvas);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button {
  color: inherit;
}

code {
  padding: 0.08em 0.32em;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.88em;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h3,
h4 {
  line-height: 1.2;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(91, 91, 214, 0.36);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  transform: translateY(-150%);
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.hero,
.tool-wrap,
.proof-strip,
.content-section,
.example-section,
.limits-section,
.faq-section,
.support-section,
.site-footer,
.legal-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid rgba(23, 24, 47, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark > span:first-child {
  position: absolute;
  content: "";
  background: var(--canvas);
}

.brand-mark::before {
  top: 7px;
  bottom: 6px;
  left: 10px;
  width: 2px;
}

.brand-mark::after {
  top: 7px;
  bottom: 6px;
  right: 10px;
  width: 2px;
}

.brand-mark > span:first-child {
  top: 11px;
  right: 7px;
  left: 7px;
  height: 2px;
}

.brand-mark > span:last-child {
  position: absolute;
  right: 7px;
  bottom: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-header nav a,
.site-footer nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 650;
}

.site-header nav a:hover,
.site-footer nav a:hover {
  color: var(--brand-dark);
}

.site-header nav .nav-support {
  padding: 7px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.45);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 100px;
  align-items: end;
  padding: 92px 0 78px;
}

.hero-copy {
  max-width: 820px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--brand-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker > span {
  width: 24px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(3.3rem, 6.5vw, 6.25rem);
  font-weight: 500;
}

.hero h1 em {
  color: var(--brand);
  font-weight: 400;
}

.hero-lede {
  max-width: 710px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.7vw, 1.27rem);
  line-height: 1.65;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.38);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-trust span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  content: "";
}

.hero-note {
  position: relative;
  padding: 28px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.66);
  box-shadow: var(--shadow-sm);
}

.note-number,
.feature-index,
.repair-number {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.hero-note > p {
  margin: 22px 0;
  font-family: var(--serif);
  font-size: 1.13rem;
  line-height: 1.48;
}

.note-line {
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 18px;
  background: var(--line);
}

.note-caption {
  color: var(--ink-faint);
  font-size: 0.74rem;
  line-height: 1.45;
}

.tool-wrap {
  margin-bottom: 58px;
}

.section-label {
  display: flex;
  justify-content: space-between;
  padding: 0 22px 12px;
  color: var(--ink-faint);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tool-card {
  overflow: hidden;
  border: 1px solid rgba(23, 24, 47, 0.11);
  border-radius: var(--radius-lg);
  background: var(--paper-strong);
  box-shadow: var(--shadow-lg);
}

.tool-card[aria-busy="true"] {
  cursor: progress;
}

.tool-intro {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
  padding: 38px 42px 28px;
}

.step-label {
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tool-intro h2,
.result-heading h3,
.downloads h3 {
  margin-bottom: 7px;
  letter-spacing: -0.035em;
}

.tool-intro h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.tool-intro p:last-child,
.result-heading + p,
.downloads p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.local-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #176a59;
  background: var(--mint-soft);
  font-size: 0.75rem;
  font-weight: 800;
}

.local-badge span {
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.drop-zone {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 0 42px 18px;
  padding: 28px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: #faf9f5;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.drop-zone.is-dragging {
  transform: translateY(-2px);
  border-color: var(--brand);
  background: var(--brand-soft);
}

.drop-zone.has-file {
  border-style: solid;
  border-color: rgba(36, 169, 142, 0.45);
  background: rgba(223, 243, 237, 0.42);
}

.file-symbol {
  position: relative;
  display: grid;
  width: 58px;
  height: 68px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 6px 13px 6px 6px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--coral-soft);
}

.file-symbol::after {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 17px;
  height: 17px;
  border-bottom: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  background: var(--canvas);
  content: "";
}

.file-symbol span {
  margin-top: 13px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.file-copy p:first-child {
  margin-bottom: 2px;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.file-copy p:last-child {
  margin-bottom: 0;
  color: var(--ink-faint);
  font-size: 0.8rem;
}

.file-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:disabled {
  color: #9696a3;
  background: #ecebe7;
  cursor: not-allowed;
}

.button-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 7px 18px rgba(91, 91, 214, 0.22);
}

.button-primary:hover:not(:disabled) {
  background: var(--brand-dark);
  box-shadow: 0 9px 22px rgba(91, 91, 214, 0.28);
}

.button-quiet,
.button-secondary {
  border-color: var(--line-strong);
  background: var(--paper-strong);
}

.button-quiet:hover:not(:disabled),
.button-secondary:hover:not(:disabled) {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.button-text {
  padding-inline: 9px;
  color: var(--ink-soft);
  background: transparent;
}

.tool-status {
  min-height: 24px;
  margin: 0 42px 28px;
  color: var(--ink-faint);
  font-size: 0.78rem;
}

.results {
  border-top: 1px solid var(--line);
}

.verdict {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  margin: 36px 42px 24px;
  padding: 25px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #faf9f6;
}

.verdict[data-tone="success"] {
  border-color: rgba(36, 169, 142, 0.35);
  background: var(--mint-soft);
}

.verdict[data-tone="warning"] {
  border-color: rgba(185, 120, 25, 0.32);
  background: var(--amber-soft);
}

.verdict[data-tone="danger"] {
  border-color: rgba(239, 112, 94, 0.36);
  background: var(--coral-soft);
}

.verdict-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.68);
}

.verdict-icon span {
  width: 15px;
  height: 15px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.verdict[data-tone="success"] .verdict-icon {
  color: #13715c;
}

.verdict[data-tone="success"] .verdict-icon span {
  width: 16px;
  height: 9px;
  transform: translateY(-2px) rotate(-45deg);
  border: 0;
  border-bottom: 3px solid currentColor;
  border-left: 3px solid currentColor;
  border-radius: 0;
}

.verdict[data-tone="warning"] .verdict-icon {
  color: var(--amber);
}

.verdict[data-tone="danger"] .verdict-icon {
  color: #b63d2e;
}

.verdict p:first-child {
  margin-bottom: 4px;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.verdict h3 {
  margin-bottom: 4px;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}

.verdict p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 42px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.metrics > div {
  padding: 20px 22px;
}

.metrics > div + div {
  border-left: 1px solid var(--line);
}

.metrics dt {
  margin-bottom: 3px;
  color: var(--ink-faint);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metrics dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
}

.diagnostic-section,
.repair-section {
  padding: 36px 42px;
  border-top: 1px solid var(--line);
}

.result-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.result-heading > span {
  color: var(--ink-faint);
  font-size: 0.72rem;
  font-weight: 700;
}

.diagnostics {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.diagnostic {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  align-items: start;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #faf9f6;
}

.diagnostic-danger {
  border-color: rgba(239, 112, 94, 0.35);
  background: rgba(249, 222, 216, 0.52);
}

.diagnostic-warning {
  border-color: rgba(185, 120, 25, 0.29);
  background: rgba(248, 235, 207, 0.48);
}

.diagnostic-info {
  border-color: rgba(36, 169, 142, 0.27);
  background: rgba(223, 243, 237, 0.48);
}

.diagnostic-badge {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.66);
  font-size: 0.65rem;
  font-weight: 900;
  text-align: center;
}

.diagnostic p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.diagnostic .diagnostic-code {
  margin-top: 4px;
  color: var(--ink-faint);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.65rem;
}

.repair-section {
  background: #faf9f6;
}

.repair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.repair-grid article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: start;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-strong);
}

.repair-number {
  margin-bottom: 20px;
}

.repair-grid h4 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.repair-grid article > p {
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.repair-grid article > .button {
  width: 100%;
  margin-top: auto;
}

.repair-grid label {
  margin: 4px 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
}

.split-control {
  display: flex;
  width: 128px;
  align-items: center;
  margin-bottom: 5px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
}

.split-control input {
  min-width: 0;
  width: 85px;
  padding: 8px 2px 8px 10px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 750;
}

.split-control span {
  color: var(--ink-faint);
  font-size: 0.72rem;
  font-weight: 800;
}

.repair-grid .field-hint {
  min-height: 38px;
  margin-bottom: 14px;
  color: var(--ink-faint);
  font-size: 0.7rem;
  line-height: 1.4;
}

.downloads {
  display: grid;
  grid-template-columns: minmax(200px, 0.65fr) 1fr;
  gap: 30px;
  padding: 36px 42px;
  border-top: 1px solid rgba(36, 169, 142, 0.3);
  background: var(--mint-soft);
}

.download-list {
  display: grid;
  gap: 8px;
  align-content: start;
}

.download-link {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 14px;
  border: 1px solid rgba(23, 24, 47, 0.15);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 800;
}

.download-link > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-link:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.download-detail {
  flex: 0 0 auto;
  color: var(--ink-faint);
  font-size: 0.68rem;
  font-weight: 650;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 120px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.proof-strip p {
  display: grid;
  grid-template-columns: auto 1fr;
  margin: 0;
  padding: 21px 28px;
  color: var(--ink-soft);
  font-size: 0.77rem;
  line-height: 1.45;
}

.proof-strip p + p {
  border-left: 1px solid var(--line-strong);
}

.proof-strip span {
  grid-row: 1 / span 2;
  margin-right: 14px;
  color: var(--brand);
  font-family: var(--serif);
  font-size: 1.18rem;
  font-style: italic;
}

.proof-strip strong {
  color: var(--ink);
}

.content-section {
  padding-bottom: 120px;
}

.content-heading {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  column-gap: 80px;
  align-items: end;
  margin-bottom: 54px;
}

.content-heading .kicker {
  grid-column: 1 / -1;
}

.content-heading h2,
.example-copy h2,
.limits-section h2,
.faq-intro h2,
.support-section h2,
.legal-hero h1 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 4.7vw, 4.55rem);
  font-weight: 500;
}

.content-heading > p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}

.feature-grid article {
  padding: 32px 30px 0;
}

.feature-grid article:first-child {
  padding-left: 0;
}

.feature-grid article + article {
  border-left: 1px solid var(--line-strong);
}

.feature-grid h3 {
  margin: 28px 0 13px;
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: -0.025em;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.example-section {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 100px;
  align-items: center;
  margin-bottom: 120px;
  padding: 80px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}

.example-copy h2 {
  margin-bottom: 28px;
}

.example-copy > p:not(.kicker) {
  color: rgba(255, 255, 255, 0.7);
}

.example-copy .kicker {
  color: #aaaaff;
}

.calendar-illustration {
  transform: rotate(2deg);
  padding: 28px;
  border-radius: 20px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 16px 18px 0 rgba(91, 91, 214, 0.4);
}

.calendar-top {
  display: flex;
  gap: 6px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.calendar-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.calendar-top span:nth-child(2) {
  background: #eab94b;
}

.calendar-top span:nth-child(3) {
  background: var(--mint);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  padding: 24px 0;
}

.calendar-grid > span {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 6px;
  background: #efede7;
  font-size: 0.55rem;
  font-weight: 900;
}

.calendar-grid .event-dot {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.calendar-grid .event-dot.edited {
  background: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-soft);
}

.calendar-illustration > p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 800;
}

.calendar-illustration > p span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}

.limits-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  margin-bottom: 120px;
  padding: 55px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.limits-section > div:last-child {
  padding-top: 39px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.limits-section > div:last-child p:last-child {
  margin-bottom: 0;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 100px;
  margin-bottom: 120px;
}

.faq-intro {
  position: sticky;
  top: 30px;
  align-self: start;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  position: relative;
  padding: 25px 48px 25px 0;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 16px;
  height: 1.5px;
  background: var(--brand);
  content: "";
}

.faq-list summary::after {
  transform: rotate(90deg);
  transition: transform 150ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 650px;
  padding: 0 45px 24px 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.support-section {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 80px;
  padding: 48px 52px;
  overflow: hidden;
  border: 1px solid rgba(91, 91, 214, 0.18);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #ecebfd, #f7e4e0);
}

.support-mark {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 50%;
  color: var(--coral);
  background: rgba(255, 255, 255, 0.72);
  font-family: var(--serif);
  font-size: 2.25rem;
}

.support-section .kicker {
  margin-bottom: 10px;
}

.support-section h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.support-section p:last-child {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.button-support {
  min-width: 170px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 8px 22px rgba(23, 24, 47, 0.18);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 35px;
  align-items: start;
  padding: 44px 0 50px;
  border-top: 1px solid var(--line-strong);
}

.footer-brand {
  margin-bottom: 13px;
}

.site-footer > div > p,
.footer-note {
  margin-bottom: 0;
  color: var(--ink-faint);
  font-size: 0.76rem;
}

.site-footer > div > p strong {
  color: var(--ink-soft);
}

.footer-note {
  grid-column: 1 / -1;
}

/* Privacy and legal pages */
.legal-shell {
  padding: 84px 0 110px;
}

.legal-hero {
  max-width: 850px;
  margin-bottom: 70px;
}

.legal-hero h1 {
  margin-bottom: 24px;
}

.legal-hero > p:last-child {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  gap: 75px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 30px;
  display: grid;
  gap: 8px;
}

.legal-nav a {
  padding: 7px 0;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 750;
}

.legal-content section {
  scroll-margin-top: 30px;
  padding: 0 0 34px;
}

.legal-content section + section {
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.legal-content h3 {
  margin: 24px 0 8px;
  font-size: 0.95rem;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-meta {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--brand-soft);
  font-size: 0.72rem;
  font-weight: 750;
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-note {
    max-width: 560px;
  }

  .file-actions {
    flex-wrap: wrap;
  }

  .example-section {
    gap: 60px;
    padding: 60px;
  }

  .faq-section {
    gap: 65px;
  }

  .support-section {
    grid-template-columns: auto 1fr;
  }

  .support-section .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 820px) {
  .site-header nav a:not(.nav-support) {
    display: none;
  }

  .hero {
    padding-top: 70px;
  }

  .drop-zone {
    grid-template-columns: auto 1fr;
  }

  .file-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .metrics > div + div {
    border-left: 0;
  }

  .metrics > div:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .metrics > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .proof-strip,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip p + p,
  .feature-grid article + article {
    border-left: 0;
    border-top: 1px solid var(--line-strong);
  }

  .feature-grid article,
  .feature-grid article:first-child {
    padding: 28px 0;
  }

  .content-heading,
  .example-section,
  .limits-section,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .content-heading > p:last-child {
    max-width: 650px;
  }

  .example-section {
    padding: 50px;
  }

  .calendar-illustration {
    max-width: 500px;
  }

  .limits-section > div:last-child {
    padding-top: 0;
  }

  .faq-intro {
    position: static;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-note {
    grid-column: 1;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .tool-wrap,
  .proof-strip,
  .content-section,
  .example-section,
  .limits-section,
  .faq-section,
  .support-section,
  .site-footer,
  .legal-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 70px;
  }

  .brand {
    font-size: 0.88rem;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .site-header nav {
    gap: 8px;
  }

  .site-header nav .nav-support {
    padding: 6px 11px;
    font-size: 0.76rem;
  }

  .hero {
    gap: 35px;
    padding: 55px 0 55px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 4.1rem);
  }

  .hero-note {
    padding: 22px;
  }

  .section-label {
    padding-inline: 8px;
  }

  .section-label span:last-child {
    display: none;
  }

  .tool-card {
    border-radius: 20px;
  }

  .tool-intro {
    display: block;
    padding: 28px 20px 22px;
  }

  .local-badge {
    margin-top: 15px;
  }

  .drop-zone {
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 0 14px 14px;
    padding: 21px;
  }

  .file-symbol {
    width: 48px;
    height: 57px;
  }

  .file-actions {
    grid-column: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .file-actions .button-text {
    grid-column: 1 / -1;
  }

  .tool-status {
    margin: 0 20px 22px;
  }

  .verdict {
    grid-template-columns: 1fr;
    margin: 24px 14px 18px;
    padding: 21px;
  }

  .metrics {
    margin: 0 14px 24px;
  }

  .metrics > div {
    padding: 16px;
  }

  .metrics dd {
    font-size: 1.25rem;
  }

  .diagnostic-section,
  .repair-section,
  .downloads {
    padding: 28px 20px;
  }

  .result-heading {
    display: block;
  }

  .result-heading > span {
    display: block;
    margin-top: 7px;
  }

  .diagnostic {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .diagnostic-badge {
    justify-self: start;
  }

  .repair-grid,
  .downloads {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    margin-bottom: 90px;
  }

  .proof-strip p {
    padding-inline: 10px;
  }

  .content-section,
  .example-section,
  .limits-section,
  .faq-section {
    margin-bottom: 90px;
    padding-bottom: 0;
  }

  .content-heading h2,
  .example-copy h2,
  .limits-section h2,
  .faq-intro h2,
  .legal-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.4rem);
  }

  .example-section {
    gap: 45px;
    padding: 38px 25px 45px;
    border-radius: 20px;
  }

  .calendar-illustration {
    padding: 18px;
    box-shadow: 9px 10px 0 rgba(91, 91, 214, 0.4);
  }

  .calendar-grid {
    gap: 5px;
  }

  .limits-section {
    padding: 45px 0;
  }

  .faq-list summary {
    font-size: 1.08rem;
  }

  .support-section {
    display: block;
    padding: 34px 25px;
  }

  .support-mark {
    width: 55px;
    height: 55px;
    margin-bottom: 22px;
    font-size: 1.8rem;
  }

  .support-section .button {
    margin-top: 22px;
  }

  .site-footer nav {
    flex-wrap: wrap;
    gap: 13px 20px;
  }

  .legal-shell {
    padding-top: 60px;
  }

  .legal-hero {
    margin-bottom: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
