:root {
  --navy: #071f68;
  --navy-deep: #041648;
  --blue: #0969ff;
  --purple: #5d45d6;
  --ink: #0d204d;
  --text: #43506f;
  --muted: #6f7a98;
  --line: #d8e0f1;
  --surface: #f5f7fd;
  --white: #ffffff;
  --shadow: 0 28px 70px rgba(7, 31, 104, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(93, 69, 214, 0.18), transparent 34%),
    radial-gradient(circle at 12% 34%, rgba(9, 105, 255, 0.11), transparent 32%),
    #f4f6fc;
  color: var(--ink);
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
}

.skip-link:focus {
  transform: translateY(0);
}

.contact-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto;
}

.brand img {
  display: block;
  width: 235px;
  height: auto;
}

.website-link {
  padding: 11px 16px;
  border: 1px solid rgba(7, 31, 104, 0.22);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  overflow: hidden;
  border: 1px solid rgba(136, 151, 193, 0.3);
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.identity-card {
  padding: clamp(34px, 5vw, 68px);
}

.identity-heading {
  display: flex;
  align-items: center;
  gap: 24px;
}

.monogram {
  width: 94px;
  height: 94px;
  flex: 0 0 94px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue), var(--purple));
  box-shadow: 0 16px 35px rgba(55, 63, 188, 0.28);
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--purple);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.role {
  margin: 0;
  color: var(--text);
  font-weight: 650;
}

.promise {
  max-width: 670px;
  margin: 42px 0 30px;
  color: var(--navy);
  font-size: clamp(1.25rem, 2.3vw, 1.85rem);
  font-weight: 720;
  line-height: 1.3;
}

.save-button {
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 25px;
  border-radius: 14px;
  background: linear-gradient(105deg, var(--navy), #153f9c);
  box-shadow: 0 13px 26px rgba(7, 31, 104, 0.22);
  color: var(--white);
  font-weight: 820;
  text-decoration: none;
}

.save-button span {
  font-size: 1.45rem;
  line-height: 1;
}

.contact-actions {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.contact-actions a {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.contact-actions small {
  color: var(--muted);
}

.contact-actions strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--navy);
}

.privacy-note {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(34px, 5vw, 60px);
  background: linear-gradient(155deg, var(--navy-deep), #183c99 56%, #4b3db8);
  color: var(--white);
  text-align: center;
}

.qr-card .eyebrow {
  color: #bfcfff;
}

.qr-card h2 {
  max-width: 420px;
  margin-bottom: 25px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.qr-link {
  width: min(100%, 390px);
  display: block;
  padding: 17px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.27);
}

.qr-link img {
  width: 100%;
  display: block;
}

.scan-note {
  margin: 22px 0 15px;
  color: #d8e2ff;
  font-size: 0.88rem;
}

.qr-downloads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px 20px;
}

.qr-downloads a {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

.save-steps {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 50px;
  padding: 74px 15px 80px;
}

.save-steps h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.save-steps ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.save-steps li {
  min-height: 145px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.save-steps li span {
  margin-bottom: auto;
  color: var(--blue);
  font-weight: 850;
}

.save-steps li strong {
  color: var(--navy);
  font-size: 1.12rem;
}

.save-steps li small {
  margin-top: 3px;
  color: var(--muted);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 34px max(20px, calc((100% - 1180px) / 2));
  background: var(--navy-deep);
  color: #c8d3f4;
  font-size: 0.86rem;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 850px) {
  .contact-header {
    min-height: 96px;
  }

  .brand img {
    width: 205px;
  }

  .contact-layout,
  .save-steps {
    grid-template-columns: 1fr;
  }

  .qr-card {
    min-height: 700px;
  }

  .save-steps {
    gap: 30px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .contact-header,
  main {
    width: min(100% - 24px, 1180px);
  }

  .website-link {
    display: none;
  }

  .contact-layout {
    border-radius: 24px;
  }

  .identity-card {
    padding: 34px 23px 38px;
  }

  .identity-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .monogram {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
    font-size: 1.35rem;
  }

  h1 {
    font-size: 3.05rem;
  }

  .promise {
    margin-top: 32px;
  }

  .save-button {
    width: 100%;
  }

  .contact-actions a {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .qr-card {
    min-height: auto;
    padding: 48px 24px;
  }

  .save-steps {
    padding: 60px 0;
  }

  .save-steps ol {
    grid-template-columns: 1fr;
  }

  .save-steps li {
    min-height: 118px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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