:root {
  --orange: #FF7001;
  --blue: #005EE4;
  --ink: #111318;
  --muted: #4B5160;
  --line: #E3E6EC;
  --bg-soft: #F5F6F8;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PT Sans", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

h1, h2, h3 {
  font-family: "Rubik", Arial, sans-serif;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; margin-top: 2em; }
h3 { font-size: 1.15rem; font-weight: 600; margin-top: 1.5em; }

p { margin: 0 0 1em; }

a { color: var(--blue); }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
}
.brand {
  font-family: "Rubik", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
}
.brand span { color: var(--orange); }
.nav { display: flex; gap: 20px; flex-wrap: wrap; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }

/* Hero */
.hero {
  background: var(--orange);
  color: #000;
  padding: 72px 0 80px;
}
.hero p { font-size: 1.2rem; max-width: 640px; }
.button {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-family: "Rubik", Arial, sans-serif;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 6px;
  margin-top: 8px;
}
.button:hover { background: #0049B3; }
.button:focus-visible, a:focus-visible { outline: 3px solid #000; outline-offset: 3px; }

/* Sections */
section { padding: 56px 0; }
section.soft { background: var(--bg-soft); }
section h2:first-child { margin-top: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
}
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }

ul.plain, ol.plain { padding-left: 1.2em; }
ul.plain li, ol.plain li { margin-bottom: 0.4em; }

.contact dl { margin: 0; }
.contact dt { font-weight: 700; margin-top: 12px; }
.contact dd { margin: 0; }

/* Legal pages */
.legal { padding: 48px 0 72px; }
.legal .meta { color: var(--muted); font-size: 0.95rem; }
.legal h2 { border-top: 1px solid var(--line); padding-top: 1.2em; }
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
  margin: 12px 0 24px;
}
.legal th, .legal td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.legal th { background: var(--bg-soft); font-family: "Rubik", Arial, sans-serif; font-weight: 600; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #D5D8E0;
  padding: 36px 0;
  font-size: 0.95rem;
}
.site-footer a { color: #fff; }
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer p { margin: 0 0 6px; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .hero { padding: 48px 0 56px; }
}
