@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap");

:root {
  --ink: #383c3c;
  --muted: #6b6b6b;
  --line: #d5dfdf;
  --soft: #f2f5f5;
  --panel: #dce5e5;
  --accent: #ff1f16;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

:where(a, summary):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

button:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 2px #515656;
}

:where(input, textarea, select):focus,
:where(input, textarea, select):focus-visible {
  outline: 0 !important;
  outline-offset: 0;
  box-shadow: none !important;
}

.article-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 20px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
}

.article-header img {
  display: block;
  width: 188px;
  height: auto;
}

.article-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.article-nav a {
  text-decoration: none;
}

.article-nav .nav-cta {
  padding: 12px 18px;
  background: var(--accent);
  color: #fff;
}

.article-hero {
  background: var(--soft);
  padding: clamp(64px, 9vw, 128px) 24px;
}

.article-hero-inner,
.article-layout {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.article-hero-inner {
  max-width: 920px;
}

.article-label {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.article-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 6.5vw, 82px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.03;
}

.article-standfirst {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 14px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(220px, 1fr);
  gap: clamp(48px, 8vw, 112px);
  padding: clamp(64px, 8vw, 112px) 24px;
}

.article-body > :first-child {
  margin-top: 0;
}

.article-body h2 {
  margin: 64px 0 18px;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1.15;
}

.article-body h3 {
  margin: 38px 0 12px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
}

.article-body p,
.article-body li {
  font-size: 17px;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
}

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

.article-body a {
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.article-note {
  margin: 36px 0;
  padding: 26px 28px;
  background: var(--panel);
}

.article-note strong {
  display: block;
  margin-bottom: 6px;
}

.article-aside {
  align-self: start;
  position: sticky;
  top: 28px;
}

.article-aside-panel {
  padding: 28px;
  background: var(--soft);
}

.article-aside h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 500;
}

.article-aside p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.article-button {
  display: block;
  padding: 14px 16px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.article-sources {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article-sources h2 {
  margin-top: 0;
  font-size: 20px;
}

.article-sources li {
  font-size: 14px;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px max(24px, calc((100vw - 1120px) / 2));
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
}

.article-footer img {
  width: 154px;
}

.article-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.article-footer nav a {
  text-decoration: none;
}

.article-footer nav a:hover,
.article-footer nav a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-hero {
  padding-bottom: clamp(48px, 7vw, 84px);
}

.legal-hero .article-label {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.legal-hero h1 {
  color: #515656;
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 300;
  line-height: 1.08;
}

.legal-hero .article-standfirst,
.legal-hero .article-meta {
  color: #8b9191;
}

.legal-layout {
  display: block;
  width: min(100%, 820px);
}

.legal-body h2 {
  margin-top: 52px;
  color: #515656;
  font-size: clamp(25px, 2.5vw, 32px);
  font-weight: 300;
  line-height: 1.18;
}

.legal-body p,
.legal-body li,
.legal-body address {
  color: #8b9191;
  font-size: 16px;
  line-height: 1.7;
}

.legal-summary {
  margin: 0 0 42px;
  padding: 24px 28px;
  background: var(--panel);
}

.legal-summary p {
  color: #515656;
  margin: 0;
}

.legal-body address {
  font-style: normal;
}

.guide-index {
  width: min(1248px, calc(100% - 96px));
  margin: 0 auto;
  padding: 72px 0 110px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.guide-index-card {
  min-width: 0;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.guide-index-card img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.guide-index-card div {
  min-height: 260px;
  padding: 30px;
  background: var(--soft);
}

.guide-index-card p {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.guide-index-card h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 400;
  line-height: 1.15;
}

.guide-index-card span {
  color: var(--muted);
  line-height: 1.6;
}

.guide-index-card:hover div,
.guide-index-card:focus-visible div {
  background: var(--panel);
}

@media (max-width: 780px) {
  .article-header {
    min-height: 72px;
  }

  .article-header img {
    width: 154px;
  }

  .article-nav a:not(.nav-cta) {
    display: none;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

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

  .guide-index {
    width: calc(100% - 40px);
    padding: 40px 0 72px;
    grid-template-columns: 1fr;
  }

  .guide-index-card img {
    height: 190px;
  }

  .guide-index-card div {
    min-height: 0;
    padding: 24px 20px 32px;
  }
}
