:root {
  --bg: #f4f7fb;
  --ink: #101a2b;
  --muted: #59677a;
  --line: #d8e2ef;
  --panel: #ffffff;
  --blue: #155eef;
  --blue-dark: #0f46bd;
  --blue-soft: #eaf1ff;
  --green: #0b8f63;
  --green-soft: #e8f8f1;
  --amber: #b86b00;
  --amber-soft: #fff4df;
  --red: #bf2f45;
  --red-soft: #fff0f3;
  --teal: #087f89;
  --shadow: 0 18px 48px rgba(16, 26, 43, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 0%, rgba(21, 94, 239, 0.12), transparent 28rem),
    radial-gradient(circle at 85% 12%, rgba(8, 127, 137, 0.13), transparent 26rem),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 42%, #eef3f9 100%);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  border-bottom: 1px solid rgba(216, 226, 239, 0.9);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.site-brand img {
  width: 30px;
  height: 30px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.site-header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

button,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: stretch;
  min-height: 310px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 11px;
  border: 1px solid rgba(21, 94, 239, 0.24);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: 0.84rem;
}

.brand-logo {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(21, 94, 239, 0.2);
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.intro {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.hero-panel {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(220, 227, 238, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.hero-panel > div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.metric {
  display: block;
  font-weight: 800;
  font-size: 2.6rem;
}

.metric-label {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.94rem;
}

.workspace,
.results {
  margin-top: 18px;
}

.security-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) 160px 150px auto minmax(280px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(20, 32, 51, 0.08);
}

.security-panel h2 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.security-panel p,
.security-panel small {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.security-panel label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.security-panel select,
.security-panel input[type="password"] {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: #fbfdff;
  color: var(--ink);
}

.consent-check {
  display: flex;
  grid-column: span 2;
  gap: 9px;
  align-items: flex-start;
  max-width: 430px;
}

.consent-check input {
  margin-top: 3px;
}

.consent-check span {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
  text-transform: none;
}

#accessStatus {
  align-self: center;
}

.input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.text-box,
.panel,
.message-card,
.score-card,
.recommendation-card,
.risk-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(20, 32, 51, 0.08);
}

.text-box {
  display: block;
  padding: 16px;
}

.text-box span {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: #fbfdff;
  color: var(--ink);
  line-height: 1.55;
}

textarea:focus {
  border-color: rgba(21, 94, 239, 0.72);
  box-shadow: 0 0 0 4px rgba(21, 94, 239, 0.12);
}

.text-box textarea {
  min-height: 275px;
  padding: 14px;
}

.detected-text {
  display: block;
  margin-top: 12px;
}

.detected-text.hidden {
  display: none;
}

.detected-text:first-of-type {
  margin-top: 0;
}

.detected-text span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.file-preview + .detected-text textarea {
  min-height: 190px;
}

.file-preview {
  min-height: 275px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.file-preview-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.file-preview-title {
  min-width: 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.file-preview-action {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(21, 94, 239, 0.22);
  border-radius: 8px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-weight: 800;
}

.file-preview-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.file-preview-body {
  display: grid;
  place-items: center;
  min-height: 222px;
  padding: 12px;
  color: var(--muted);
  text-align: center;
}

.file-preview img,
.file-preview iframe {
  width: 100%;
  height: 222px;
  border: 0;
  object-fit: contain;
  background: #fff;
}

.input-hidden-by-file {
  display: block;
}

.file-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.file-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(21, 94, 239, 0.22);
  border-radius: 8px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-weight: 800;
  overflow: hidden;
}

.file-picker input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-tools small {
  min-width: 220px;
  flex: 1;
  color: var(--muted);
  line-height: 1.45;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.primary-action,
.secondary-action,
.copy-btn {
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
}

.primary-action {
  padding: 0 20px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(21, 94, 239, 0.22);
}

.primary-action:hover {
  background: var(--blue-dark);
}

.secondary-action {
  padding: 0 18px;
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.hidden {
  display: none;
}

.score-band {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 260px;
  gap: 16px;
  margin-top: 24px;
}

.score-card,
.recommendation-card,
.risk-card {
  padding: 22px;
}

.score-label,
.recommendation-card span,
.risk-card span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

#scoreValue {
  display: block;
  margin: 12px 0;
  font-size: 3.4rem;
}

.score-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef6;
}

.score-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width 420ms ease;
}

.recommendation-card strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.recommendation-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.risk-card {
  overflow: hidden;
  border-color: transparent;
}

.risk-card::before {
  content: "";
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.65);
}

.risk-card strong {
  display: block;
  font-size: 2rem;
}

.risk-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.risk-green::before {
  background: var(--green);
}

.risk-green {
  background: linear-gradient(180deg, #fff, var(--green-soft));
  border-color: rgba(11, 143, 99, 0.22);
}

.risk-yellow::before {
  background: var(--amber);
}

.risk-yellow {
  background: linear-gradient(180deg, #fff, var(--amber-soft));
  border-color: rgba(184, 107, 0, 0.26);
}

.risk-red::before {
  background: var(--red);
}

.risk-red {
  background: linear-gradient(180deg, #fff, var(--red-soft));
  border-color: rgba(191, 47, 69, 0.28);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.panel {
  padding: 20px;
}

.panel h2,
.section-heading h2 {
  margin: 0 0 16px;
  font-size: 1.22rem;
}

.facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.facts div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #edf1f6;
}

.facts dt {
  color: var(--muted);
  font-weight: 800;
}

.facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.list-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

h3 {
  margin: 0 0 10px;
  font-size: 0.98rem;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

li {
  margin: 0 0 9px;
  padding: 10px 11px;
  border-radius: 8px;
  background: #f6f8fb;
  color: #26364d;
  line-height: 1.45;
}

.check-list li {
  background: rgba(15, 159, 110, 0.11);
}

.warning-list li {
  background: rgba(196, 122, 0, 0.12);
}

.alert-list li {
  background: rgba(196, 61, 75, 0.11);
  color: #7e1e29;
}

.plain-list li {
  background: #f4f7fb;
}

.messages {
  margin-top: 20px;
}

.adapted-cv-section {
  margin-top: 20px;
}

.adapted-cv-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(20, 32, 51, 0.08);
}

.adapted-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

#adaptedCvText {
  min-height: 430px;
  padding: 14px;
}

.history-section {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(20, 32, 51, 0.08);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 14px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.message-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.message-card {
  padding: 16px;
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.copy-btn {
  min-width: 88px;
  padding: 0 12px;
  color: var(--blue-dark);
  background: rgba(23, 105, 255, 0.1);
  border-color: rgba(23, 105, 255, 0.22);
}

.message-card textarea {
  min-height: 170px;
  padding: 12px;
}

.history-empty {
  padding: 14px;
  border-radius: 8px;
  color: var(--muted);
  background: #f6f8fb;
}

.history-list {
  display: grid;
  gap: 12px;
}

.history-item {
  display: grid;
  grid-template-columns: minmax(170px, 1.2fr) minmax(130px, 0.9fr) 120px 110px 150px minmax(180px, 1fr);
  gap: 10px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.history-field {
  min-width: 0;
}

.history-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.history-value {
  display: block;
  overflow-wrap: anywhere;
  font-weight: 700;
  line-height: 1.35;
}

.history-score {
  color: var(--blue-dark);
}

.history-status,
.history-notes {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--ink);
}

.history-status {
  min-height: 38px;
  padding: 0 9px;
}

.history-notes {
  min-height: 70px;
  resize: vertical;
  padding: 9px;
  line-height: 1.45;
}

.info-section,
.trust-section,
.faq-section,
.guides-preview {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(20, 32, 51, 0.07);
}

.info-intro {
  max-width: 780px;
}

.info-intro h2,
.trust-section h2,
.faq-section h2,
.guides-preview h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.info-intro p,
.trust-section p,
.faq-section p,
.guides-preview p {
  color: var(--muted);
  line-height: 1.65;
}

.info-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.info-grid article,
.faq-grid article {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(220, 227, 238, 0.9);
  border-radius: 8px;
  background: #fbfdff;
}

.info-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-weight: 800;
}

.info-grid h3,
.faq-grid h3 {
  margin: 14px 0 8px;
  font-size: 1rem;
  line-height: 1.25;
}

.info-grid p,
.faq-grid p {
  margin: 0;
  font-size: 0.94rem;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 22px;
  align-items: start;
}

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

.check-list li {
  position: relative;
  padding: 12px 12px 12px 40px;
  border: 1px solid rgba(220, 227, 238, 0.9);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--muted);
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
}

.guide-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.guide-card,
.guide-feature {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.guide-card {
  padding: 20px;
}

.guide-kicker {
  margin: 0 0 10px;
  color: var(--teal) !important;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.guide-card h3,
.guide-feature h2 {
  margin: 0 0 10px;
  line-height: 1.25;
}

.guide-card a,
.guide-feature h2 a,
.text-link,
.back-link {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.guide-card a:hover,
.guide-feature h2 a:hover,
.text-link:hover,
.back-link:hover {
  text-decoration: underline;
}

.editorial-shell,
.article-shell {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 56px;
}

.editorial-hero {
  max-width: 800px;
  margin-bottom: 34px;
}

.editorial-hero h1,
.article-header h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.02;
}

.editorial-hero > p:last-child,
.article-lead {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.guide-index {
  display: grid;
  gap: 16px;
}

.guide-feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px;
}

.guide-feature h2 {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.guide-feature p,
.editorial-note p {
  color: var(--muted);
  line-height: 1.65;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  text-decoration: none;
  white-space: nowrap;
}

.editorial-note {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid rgba(21, 94, 239, 0.24);
  border-radius: 8px;
  background: var(--blue-soft);
}

.editorial-note h2 {
  margin-top: 0;
}

.editorial-article {
  padding: 38px clamp(22px, 6vw, 68px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.article-header {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.article-header .guide-kicker {
  margin-top: 26px;
}

.article-meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.article-toc {
  display: flex;
  gap: 10px 18px;
  flex-wrap: wrap;
  margin: 28px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.article-toc strong {
  width: 100%;
}

.article-toc a {
  color: var(--blue-dark);
  font-weight: 700;
}

.editorial-article section {
  scroll-margin-top: 24px;
  margin-top: 42px;
}

.editorial-article h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.2;
}

.editorial-article h3 {
  margin: 26px 0 8px;
  font-size: 1.15rem;
}

.editorial-article p,
.editorial-article li {
  color: #3f4e63;
  line-height: 1.78;
}

.editorial-article li + li {
  margin-top: 10px;
}

.callout,
.message-example {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--teal);
  background: #effbfc;
  color: #244b50;
  line-height: 1.7;
}

.message-example p {
  margin-bottom: 0;
}

.article-table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.article-table th,
.article-table td {
  padding: 13px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.article-table th {
  color: var(--ink);
  background: var(--blue-soft);
}

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding: 24px;
  border-radius: 8px;
  color: #fff;
  background: #15325f;
}

.article-cta h2,
.article-cta p {
  margin: 0;
  color: #fff;
}

.article-cta p {
  margin-top: 8px;
  opacity: 0.84;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
  padding: 18px 0;
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.content-page {
  max-width: 820px;
}

.content-card {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(20, 32, 51, 0.08);
}

.content-card h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.content-card h2 {
  margin-top: 28px;
}

.content-card p,
.content-card li {
  color: var(--muted);
  line-height: 1.7;
}

.content-card ul {
  padding-left: 18px;
  list-style: disc;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 15px;
  border-radius: 8px;
  color: #fff;
  background: #182235;
  box-shadow: var(--shadow);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 860px) {
  .hero,
  .security-panel,
  .input-grid,
  .score-band,
  .details-grid,
  .message-grid,
  .history-item,
  .info-grid,
  .faq-grid,
  .guide-card-grid,
  .trust-section,
  .list-pair {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-bottom: 8px;
  }

  .section-heading {
    display: block;
  }

  .info-section,
  .trust-section,
  .faq-section,
  .guides-preview {
    padding: 18px;
  }

  .guide-feature,
  .article-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .consent-check {
    grid-column: auto;
    max-width: none;
  }

}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-header nav {
    width: 100%;
  }

  .site-header nav a {
    flex: 1;
    justify-content: center;
    padding: 0 8px;
    font-size: 0.88rem;
  }

  .app-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .actions button {
    width: 100%;
  }

  .adapted-actions button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .editorial-shell,
  .article-shell {
    width: min(100% - 20px, 960px);
    padding-top: 28px;
  }

  .editorial-article {
    padding: 24px 18px;
  }

  .article-table {
    display: block;
    overflow-x: auto;
  }
}
