:root {
  --ink: #16364d;
  --blue: #0f6fa8;
  --blue-dark: #0b527e;
  --orange: #ef744d;
  --cream: #fff8e9;
  --paper: #fffdf7;
  --line: rgba(22, 54, 77, 0.14);
  --muted: #5e7180;
  --green: #5d8e69;
  --shadow: 0 18px 55px rgba(34, 66, 82, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 4%, rgba(239, 116, 77, 0.13), transparent 24rem),
    radial-gradient(circle at 96% 8%, rgba(15, 111, 168, 0.12), transparent 27rem),
    var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-balloon {
  display: grid;
  width: 46px;
  height: 50px;
  place-items: center;
  border-radius: 52% 48% 54% 46%;
  color: white;
  background: var(--orange);
  box-shadow: inset -5px -5px 0 rgba(139, 54, 33, 0.12);
  font-size: 23px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--blue-dark);
  font-size: 24px;
  letter-spacing: -0.04em;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-header nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-header nav a,
.footer-links a {
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-header nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--orange);
}

main {
  min-height: 65vh;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 70px;
  padding: 72px 0 92px;
}

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

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

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(25px, 4vw, 37px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.hero-copy > p:not(.eyebrow),
.document-intro {
  max-width: 700px;
  color: var(--muted);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 8px 0 rgba(11, 82, 126, 0.16);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.65);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 750;
}

.hero-art {
  position: relative;
}

.hero-art::before {
  position: absolute;
  inset: -18px;
  border: 2px dashed rgba(239, 116, 77, 0.34);
  border-radius: 44% 56% 52% 48%;
  content: "";
  transform: rotate(-4deg);
}

.hero-art img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28%;
  box-shadow: var(--shadow);
}

.promise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  margin-bottom: 34px;
  padding: 40px;
  border-radius: 30px;
  color: white;
  background: var(--blue-dark);
}

.promise .eyebrow {
  color: #ffd9cb;
}

.promise p:last-child {
  color: rgba(255, 255, 255, 0.8);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 22px 0 90px;
}

.info-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 253, 247, 0.86);
  box-shadow: 0 10px 35px rgba(34, 66, 82, 0.07);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.info-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-number,
.card-link {
  color: var(--orange);
  font-size: 13px;
  font-weight: 850;
}

.info-card h2 {
  margin: 38px 0 12px;
  font-size: 28px;
}

.info-card p {
  color: var(--muted);
}

.document {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 70px 0 95px;
}

.document-header {
  margin-bottom: 60px;
}

.document-header h1 {
  font-size: clamp(46px, 8vw, 76px);
}

.updated {
  margin-top: 20px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.document section {
  margin: 0 0 18px;
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 247, 0.82);
}

.document section h2 {
  font-size: 25px;
}

.document section p:last-child,
.document section ul:last-child {
  margin-bottom: 0;
}

.document li + li {
  margin-top: 8px;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
}

.legal-note {
  margin: 28px 0;
  padding: 22px 25px;
  border-left: 5px solid var(--orange);
  border-radius: 0 18px 18px 0;
  background: rgba(239, 116, 77, 0.1);
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 34px;
  padding: 30px;
  border-radius: 26px;
  background: white;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin-bottom: 8px;
}

.contact-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 247, 0.86);
}

summary {
  cursor: pointer;
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 800;
}

details p {
  margin: 14px 0 0;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 38px 0 45px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer strong {
  color: var(--blue-dark);
  font-size: 18px;
}

.copyright {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

@media (max-width: 780px) {
  .shell {
    width: min(100% - 26px, 1120px);
  }

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

  .hero,
  .promise,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 48px;
    padding-top: 45px;
  }

  .hero-art {
    width: min(78vw, 390px);
    margin: 0 auto;
  }

  .promise {
    gap: 12px;
    padding: 28px;
  }

  .link-grid {
    padding-bottom: 65px;
  }

  .document {
    padding-top: 45px;
  }

  .document section {
    padding: 24px 22px;
  }

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

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

  .copyright {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .info-card {
    transition: none;
  }
}
