/* RUTENZA public site: no script, no web font, no tracker, so no cookie banner. */
:root {
  --ink: #17242c;
  --ink-soft: #52616a;
  --muted: #73818a;
  --paper: #ffffff;
  --page: #f4f6f7;
  --line: #dde3e6;
  --accent: #ff7a00;
  --accent-ink: #a83f00;
  --night: #17242c;
  --night-soft: #b7c3c9;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: var(--accent-ink);
}

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

.wrap {
  width: min(1100px, 100% - 32px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--paper);
  padding: 8px 12px;
  z-index: 10;
}

/* Header and hero share the dark band of the application's sign-in screen. */
.top {
  background: var(--night);
  color: var(--paper);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-decoration: none;
  min-height: 44px;
}

/* The final A of the name is the brand's accent, as in the application. */
.brand b {
  color: var(--accent);
  font-weight: inherit;
}

.brand img {
  width: 34px;
  height: 34px;
}

.hero {
  padding-block: 56px 72px;
}

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

h1 {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 58ch;
  margin: 20px 0 32px;
  color: var(--night-soft);
  font-size: clamp(17px, 2.2vw, 20px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: var(--ink);
}

.button.primary:hover {
  background: #ff8c24;
}

.button.ghost {
  border: 1px solid #45555e;
  color: var(--paper);
}

.button.ghost:hover {
  background: #24343d;
}

.bar .button {
  min-height: 44px;
  padding: 10px 16px;
}

main section {
  padding-block: 64px;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.intro {
  max-width: 62ch;
  margin: 0 0 32px;
  color: var(--ink-soft);
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
}

.trust {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.facts {
  display: grid;
  gap: 12px 32px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}

.facts li {
  padding-left: 28px;
  position: relative;
}

.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.contact {
  text-align: center;
}

.contact .intro {
  margin-inline: auto;
}

.contact .actions {
  justify-content: center;
}

.contact .button.ghost {
  border-color: var(--line);
  color: var(--ink);
}

.contact .button.ghost:hover {
  background: var(--page);
}

footer {
  background: var(--night);
  color: var(--night-soft);
  font-size: 15px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 28px;
}

footer a {
  color: var(--paper);
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Legal pages: one readable column. */
.legal {
  padding-block: 48px 72px;
}

.legal article {
  max-width: 72ch;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(20px, 4vw, 40px);
}

.legal h1 {
  max-width: none;
  font-size: clamp(30px, 5vw, 42px);
  margin-bottom: 24px;
}

.legal h2 {
  font-size: 22px;
  margin-top: 32px;
}

.legal dl {
  display: grid;
  grid-template-columns: minmax(0, 12em) minmax(0, 1fr);
  gap: 6px 16px;
  margin: 0;
}

.legal dt {
  color: var(--muted);
}

.legal dd {
  margin: 0;
}

@media (max-width: 560px) {
  .legal dl {
    grid-template-columns: 1fr;
  }

  .legal dd {
    margin-bottom: 8px;
  }

  .bar .button.ghost {
    display: none;
  }
}
