:root {
  color-scheme: light;
  --ink: #15181c;
  --muted: #69727d;
  --paper: #ffffff;
  --soft: #f4f5f6;
  --line: #d9dde2;
  --red: #d71920;
  --gold: #c8922d;
  --green: #0c6b5d;
  --blue: #12385f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--red);
}

button,
input,
textarea {
  font: inherit;
}

.topbar {
  background: #10151c;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

.topbar-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 34px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 210px;
  align-items: center;
  gap: 22px;
  padding: 16px max(16px, calc((100vw - 1180px) / 2));
}

.brand {
  color: var(--ink);
  font-size: 31px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.brand span {
  color: var(--red);
}

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

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  color: #303842;
  font-size: 14px;
  font-weight: 750;
}

.search {
  display: grid;
  gap: 6px;
}

.search label,
.newsletter-box label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fafafa;
  color: var(--ink);
}

.ticker {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  background: #18202a;
  color: white;
  border-left: 5px solid var(--red);
  font-size: 14px;
  font-weight: 700;
}

.ticker strong {
  color: #ffd46a;
  text-transform: uppercase;
}

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 22px auto 48px;
}

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

.lead-story {
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(280px, 52%) minmax(0, 1fr);
  min-height: 430px;
}

.lead-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-story > div {
  padding: clamp(24px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
}

.lead-story h1 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.35vw, 48px);
  line-height: 1.04;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.section-label {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.55;
}

.lead-story p:last-child {
  margin-bottom: 0;
  font-size: 17px;
}

.newsletter-box,
.side-block {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px;
}

.newsletter-box {
  border-top: 5px solid var(--gold);
}

.newsletter-box form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

button,
.button-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 0;
  border-radius: 6px;
  background: var(--red);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.button-link:hover,
button:hover {
  background: #ab1117;
  color: white;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
  margin-top: 28px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 3px solid #17202a;
}

.section-title h2 {
  margin-bottom: 0;
}

.section-title a {
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.article-list {
  display: grid;
  gap: 14px;
}

.article-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 14px;
}

.article-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.article-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.article-card p {
  margin-bottom: 0;
}

.sidebar {
  display: grid;
  gap: 18px;
}

.side-block h2 {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}

ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rank;
}

ol li {
  counter-increment: rank;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 750;
  line-height: 1.28;
}

ol li::before {
  content: counter(rank);
  color: var(--red);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

ol li:last-child {
  border-bottom: 0;
}

.magazine {
  background: #16202b;
  color: white;
  border-color: #16202b;
}

.magazine p {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 34px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px 220px;
  gap: 28px;
  color: #2d3540;
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: 10px;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .lead-story {
    grid-template-columns: 1fr;
  }

  .lead-story img {
    height: 300px;
  }

  .search {
    max-width: 360px;
  }
}

@media (max-width: 620px) {
  .topbar-inner {
    justify-content: flex-start;
  }

  .site-header nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

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

  .lead-story {
    min-height: 0;
  }

  .lead-story img {
    height: 220px;
  }

  h1 {
    font-size: 36px;
  }

  .lead-story h1 {
    font-size: 32px;
    line-height: 1.08;
  }

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

  .article-card img {
    height: 190px;
  }
}

.simple-header {
  position: relative;
}

.inner-page,
.form-page,
.legal-page,
.article-page {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 46px);
}

.intro {
  max-width: 760px;
  color: #3c4652;
  font-size: 18px;
}

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

.feature-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card strong {
  font-size: 18px;
}

.feature-card span {
  color: var(--muted);
  line-height: 1.45;
}

.panel-form {
  display: grid;
  gap: 14px;
  max-width: 620px;
  margin-top: 24px;
}

.panel-form label {
  display: grid;
  gap: 7px;
  color: #313944;
  font-weight: 750;
}

textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fafafa;
  color: var(--ink);
  resize: vertical;
}

.small-note {
  margin-top: 18px;
  font-size: 14px;
}

.legal-page {
  max-width: 880px;
}

.legal-page h2 {
  margin-top: 26px;
}

.article-page {
  max-width: 920px;
}

.article-page img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  margin: 24px 0;
  border-radius: 8px;
}

.article-page p {
  font-size: 17px;
}

@media (max-width: 820px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
