/* Skrill UK Guide - Site index 3 editorial magazine design */
:root {
  --ink: #182235;
  --muted: #5e6a7c;
  --paper: #f7f3ec;
  --panel: #ffffff;
  --panel-alt: #eef2f6;
  --line: #d7dce3;
  --accent: #315c72;
  --accent-deep: #234354;
  --warning: #8b5f20;
  --shadow: 0 18px 48px rgba(24, 34, 53, 0.12);
  --radius: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--paper) 0%, #ffffff 46%, #f3f6f8 100%);
  line-height: 1.65;
}

a {
  color: var(--accent-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  color: #111827;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.site-header,
main,
.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  padding: 28px 0 18px;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 24px;
}

.top-nav a,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 26px;
  align-items: stretch;
}

.hero-copy,
.section-card,
.site-footer {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(28px, 5vw, 54px);
}

.hero-figure {
  margin: 0;
  background: #dae5ea;
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}

.hero-figure figcaption,
figure figcaption {
  color: var(--muted);
  font-size: 0.94rem;
  margin-top: 12px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.16;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.45rem, 7vw, 5rem);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.65rem, 3.3vw, 2.65rem);
}

h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.lead {
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  color: #273247;
}

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

.button-link {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #ffffff;
}

.button-link.secondary {
  background: transparent;
  color: var(--accent-deep);
}

main {
  display: grid;
  gap: 22px;
  padding: 18px 0 30px;
}

article {
  display: grid;
  gap: 22px;
}

.section-card {
  padding: clamp(24px, 4vw, 42px);
}

.notice-card {
  border-left: 8px solid var(--warning);
}

.check-list {
  padding-left: 1.25rem;
}

.check-list li + li {
  margin-top: 14px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 22px;
  align-items: stretch;
}

.split-section.reverse {
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
}

.split-section figure {
  margin: 0;
  padding: 14px;
  background: var(--panel-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.route-grid article {
  display: block;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

caption {
  text-align: left;
  color: var(--muted);
  padding: 16px 18px 4px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

th {
  background: #edf3f5;
  font-size: 0.92rem;
}

.faq-section details {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  background: #fbfcfd;
}

.faq-section details + details {
  margin-top: 12px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

.site-footer {
  margin-bottom: 26px;
  padding: 26px;
}

.site-footer h2 {
  font-size: 1.45rem;
}

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

@media (max-width: 900px) {
  .hero-grid,
  .split-section,
  .split-section.reverse {
    grid-template-columns: 1fr;
  }

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

  .top-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 20px, var(--max));
  }

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

  .top-nav a,
  .button-link {
    width: 100%;
  }

  th,
  td {
    padding: 12px;
  }
}
