:root {
  color-scheme: light;
  --background: #f7faff;
  --surface: #ffffff;
  --ink: #13233a;
  --muted: #66758a;
  --line: #dbe6f3;
  --blue: #1769e0;
  --blue-dark: #0d4fad;
  --blue-soft: #e9f2ff;
  --green: #1b9b69;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--background);
  background-size: 72px 72px;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(247, 250, 255, 0.84);
  content: "";
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header,
.hero,
.site-footer {
  width: min(1180px, calc(100% - 96px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
}

.availability {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(27, 155, 105, 0.1);
}

.hero {
  display: grid;
  min-height: calc(100vh - 178px);
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(370px, 0.95fr);
  gap: clamp(56px, 8vw, 128px);
  padding-block: 64px;
}

.hero-copy {
  max-width: 670px;
  animation: reveal 700ms ease-out both;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(52px, 6.2vw, 88px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 span {
  display: block;
  color: var(--blue);
}

.intro {
  max-width: 560px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 40px;
}

.primary-action {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 22px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.primary-action span {
  font-size: 17px;
}

.primary-action:hover {
  background: var(--blue-dark);
  box-shadow: 0 10px 24px rgba(23, 105, 224, 0.2);
  transform: translateY(-2px);
}

.text-action {
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: 500 14px "DM Sans", sans-serif;
}

.text-action:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.primary-action:focus-visible,
.text-action:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(23, 105, 224, 0.24);
  outline-offset: 4px;
}

.signature-visual {
  position: relative;
  display: grid;
  width: min(100%, 470px);
  aspect-ratio: 1;
  place-items: center;
  justify-self: end;
  border: 1px solid #bfd3eb;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  animation: reveal 700ms 120ms ease-out both;
}

.signature-visual::before,
.signature-visual::after {
  position: absolute;
  background: #bfd3eb;
  content: "";
}

.signature-visual::before {
  top: 50%;
  right: -32px;
  left: -32px;
  height: 1px;
}

.signature-visual::after {
  top: -32px;
  bottom: -32px;
  left: 50%;
  width: 1px;
}

.orbit {
  position: absolute;
  border: 1px solid #d2e1f2;
  border-radius: 50%;
}

.orbit-one {
  inset: 10%;
}

.orbit-two {
  inset: 25%;
}

.portrait-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: 50%;
}

.portrait {
  position: absolute;
  bottom: -45%;
  left: 50%;
  display: block;
  width: auto;
  height: 145%;
  filter: drop-shadow(0 18px 22px rgba(19, 35, 58, 0.16));
  transform: translateX(-50%);
}

.signature-visual p {
  position: absolute;
  right: 8%;
  bottom: 11%;
  z-index: 2;
  margin: 0;
  padding: 7px 10px;
  background: var(--background);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.site-footer {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(19, 35, 58, 0.12);
  color: var(--ink);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .site-header,
  .hero,
  .site-footer {
    width: min(100% - 40px, 680px);
  }

  .site-header {
    min-height: 86px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 76px;
    padding-block: 72px 96px;
  }

  .signature-visual {
    width: min(84vw, 440px);
    justify-self: center;
  }

  .site-footer {
    min-height: 72px;
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero,
  .site-footer {
    width: calc(100% - 32px);
  }

  .brand > span:last-child {
    display: none;
  }

  .availability {
    font-size: 12px;
  }

  .hero {
    gap: 64px;
    padding-block: 58px 78px;
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  h1 {
    font-size: 46px;
  }

  .intro {
    margin-top: 24px;
    font-size: 17px;
  }

  .actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
  }

  .primary-action {
    width: 100%;
  }

  .signature-visual {
    width: min(86vw, 360px);
  }

  .signature-visual::before {
    right: -16px;
    left: -16px;
  }

  .signature-visual::after {
    top: -16px;
    bottom: -16px;
  }

  .portrait {
    bottom: -45%;
    height: 145%;
  }

  .site-footer {
    min-height: 82px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
