:root {
  color-scheme: light;
  --bg: #4c6a71;
  --bg-dark: #3f5b62;
  --surface: #f8f7f3;
  --surface-warm: #eeece6;
  --ink: #25292c;
  --muted: #6f7072;
  --logo-gray: #898888;
  --line: rgba(137, 136, 136, 0.32);
  --accent: #ff4038;
  --accent-dark: #d92f28;
  --accent-soft: #ffe6e2;
  --focus: #ffffff;
  --shadow: 0 28px 70px rgba(23, 35, 39, 0.24);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(255, 64, 56, 0.12) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 38rem),
    var(--bg);
  background-size: 84px 100%, auto, auto;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 92px auto auto -118px;
  z-index: 0;
  width: min(46vw, 560px);
  aspect-ratio: 1;
  border: clamp(20px, 4vw, 46px) solid rgba(255, 64, 56, 0.68);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.site-header,
main,
.site-footer,
.privacy-notice {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
}

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

.site-header,
.site-footer,
.business-card,
.legal-page {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
  color: #ffffff;
}

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

.brand-mark,
.card-mark {
  position: relative;
  display: block;
  flex: 0 0 auto;
  border: solid var(--accent);
  border-radius: 50%;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-width: 6px;
}

.brand-mark::before,
.brand-mark::after,
.card-mark::before,
.card-mark::after {
  position: absolute;
  border: solid var(--accent);
  border-radius: 50%;
  content: "";
}

.brand-mark::before {
  inset: 11px;
  border-width: 3px;
}

.brand-mark::after {
  inset: 15px;
  border-width: 1px;
}

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

.brand strong {
  color: #ffffff;
  line-height: 1.15;
}

.brand span span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  color: var(--logo-gray);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  line-height: 0.98;
  letter-spacing: 0;
  white-space: nowrap;
}

h2 {
  margin-bottom: 16px;
  color: var(--logo-gray);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.3;
}

.business-card p,
.legal-content p {
  max-width: 680px;
  color: var(--muted);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(255, 64, 56, 0.24);
}

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

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.business-card {
  position: relative;
  display: grid;
  max-width: 860px;
  min-height: 470px;
  align-content: space-between;
  gap: 38px;
  margin-top: 62px;
  margin-bottom: 82px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 8px;
  padding: clamp(30px, 6vw, 62px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.business-card::before {
  position: absolute;
  top: -154px;
  right: -106px;
  width: clamp(240px, 38vw, 420px);
  aspect-ratio: 1;
  border: clamp(18px, 4vw, 42px) solid rgba(255, 64, 56, 0.12);
  border-radius: 50%;
  content: "";
}

.business-card::after {
  position: absolute;
  right: 34px;
  bottom: 28px;
  width: 26%;
  min-width: 150px;
  height: 28px;
  border-radius: 999px 999px 0 0;
  border: solid rgba(137, 136, 136, 0.14);
  border-width: 16px 16px 0;
  content: "";
}

.card-header,
.card-body,
.card-actions {
  position: relative;
  z-index: 1;
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.card-mark {
  width: clamp(72px, 11vw, 116px);
  height: clamp(72px, 11vw, 116px);
  border-width: clamp(9px, 1.8vw, 16px);
}

.card-mark::before {
  inset: 25%;
  border-width: clamp(5px, 1vw, 9px);
}

.card-mark::after {
  inset: 31%;
  border-width: 2px;
}

.card-body p {
  margin-bottom: 30px;
  font-size: 1.06rem;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.contact-list dt {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.contact-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.contact-list a {
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
}

.email-image {
  display: inline-flex;
  max-width: 100%;
  vertical-align: -0.25em;
}

.email-image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 1.15em;
}

.email-image.inline {
  margin-left: 0.2em;
}

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 40px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

.legal-page {
  margin-top: 34px;
  margin-bottom: 76px;
  border-radius: 8px;
  padding: clamp(30px, 6vw, 62px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-content {
  max-width: 820px;
}

.legal-content h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  white-space: normal;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.25rem;
}

.legal-content a {
  color: var(--accent-dark);
  font-weight: 700;
}

.notice {
  border-left: 4px solid var(--accent);
  padding: 14px 16px;
  background: var(--accent-soft);
  color: #7a1d18;
}

.privacy-notice {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10;
  display: flex;
  width: min(520px, calc(100% - 40px));
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.privacy-notice[hidden] {
  display: none;
}

.privacy-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.privacy-notice button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--accent);
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 820px) {
  body::before {
    inset: 116px auto auto -150px;
    width: 360px;
  }

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

  .site-nav {
    flex-wrap: wrap;
  }

  .business-card {
    margin-top: 36px;
    margin-bottom: 56px;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  .business-card,
  .legal-page {
    width: min(100% - 28px, 1120px);
  }

  .card-header,
  .contact-list div {
    grid-template-columns: 1fr;
  }

  .card-header {
    flex-direction: column;
  }

  .business-card::after {
    display: none;
  }

  .contact-list div {
    gap: 4px;
  }

  .button {
    width: 100%;
  }

  .privacy-notice {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    align-items: stretch;
    flex-direction: column;
  }
}
