@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 200 1000;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fonts/nunito-sans-latin-ext-variable.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 200 1000;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fonts/nunito-sans-latin-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #182223;
  --muted: #536365;
  --turquoise: #22b8ae;
  --turquoise-dark: #128d88;
  --turquoise-soft: #dff7f4;
  --line: #dfe9e8;
  --white: #ffffff;
  --shadow: 0 28px 70px rgb(23 87 84 / 14%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--white);
  font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 83% 24%, rgb(34 184 174 / 7%), transparent 28rem),
    var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.5rem;
  color: var(--white);
  background: var(--ink);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 140ms ease-out;
}

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

.page-shell {
  width: min(100% - 3rem, 76rem);
  min-height: 100vh;
  margin-inline: auto;
  padding-block: 2.25rem 3rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  width: min(17rem, 56vw);
  border-radius: 0.35rem;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 650;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--turquoise);
  box-shadow: 0 0 0 0.3rem var(--turquoise-soft);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(22rem, 0.96fr);
  grid-template-areas:
    "copy visual"
    "cta visual";
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: clamp(3rem, 7vw, 7rem);
  row-gap: 0;
  min-height: calc(100vh - 8.5rem);
  padding-block: clamp(4rem, 9vh, 7rem);
}

.hero-copy {
  grid-area: copy;
  align-self: end;
  max-width: 39rem;
}

.kicker {
  margin: 0 0 1.2rem;
  color: var(--turquoise-dark);
  font-size: clamp(0.82rem, 1.3vw, 0.94rem);
  font-weight: 760;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 6.7vw, 5.65rem);
  font-weight: 610;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.lead {
  max-width: 37rem;
  margin: 1.8rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.27rem);
  font-weight: 440;
  line-height: 1.65;
  text-wrap: pretty;
}

.cta {
  grid-area: cta;
  align-self: start;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 3.35rem;
  margin-top: 2.15rem;
  padding: 0.85rem 1.3rem 0.85rem 1.45rem;
  border: 1px solid var(--turquoise);
  border-radius: 999px;
  color: var(--white);
  background: var(--turquoise-dark);
  box-shadow: 0 0.7rem 1.8rem rgb(18 141 136 / 18%);
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 150ms ease, box-shadow 150ms ease,
    transform 150ms ease;
}

.cta span {
  font-size: 1.2em;
  line-height: 1;
  transition: transform 150ms ease;
}

.cta:hover {
  background: #0f7773;
  box-shadow: 0 0.9rem 2rem rgb(18 141 136 / 24%);
  transform: translateY(-1px);
}

.cta:hover span {
  transform: translateX(0.18rem);
}

.cta:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 5px;
}

.visual {
  grid-area: visual;
  align-self: center;
  position: relative;
  min-height: 30rem;
  isolation: isolate;
}

.halo {
  position: absolute;
  inset: 7% 3% 4% 4%;
  z-index: -2;
  border-radius: 48% 52% 56% 44% / 44% 40% 60% 56%;
  background: linear-gradient(145deg, #effcfb 4%, #d7f4f1 100%);
  transform: rotate(-6deg);
}

.tablet,
.phone {
  position: absolute;
  border: 1px solid rgb(18 141 136 / 24%);
  background: rgb(255 255 255 / 90%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(0.45rem);
}

.tablet {
  top: 15%;
  left: 3%;
  width: 68%;
  aspect-ratio: 1.23;
  padding: 12% 10%;
  border: 0.7rem solid #1f2a2b;
  border-radius: 2rem;
  transform: rotate(-7deg);
}

.tablet::before {
  position: absolute;
  top: 50%;
  right: -0.47rem;
  width: 0.22rem;
  height: 2.7rem;
  border-radius: 999px;
  background: #5b6667;
  content: "";
  transform: translateY(-50%);
}

.screen-line,
.phone-line {
  display: block;
  width: 58%;
  height: 0.55rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: #c7e8e5;
}

.screen-line-long {
  width: 82%;
  height: 0.9rem;
  background: var(--turquoise);
}

.screen-button {
  display: block;
  width: 37%;
  height: 2.25rem;
  margin-top: 2.2rem;
  border-radius: 999px;
  background: var(--ink);
}

.phone {
  right: 5%;
  bottom: 5%;
  width: 35%;
  aspect-ratio: 0.56;
  padding: 27% 14% 16%;
  border: 0.55rem solid #1f2a2b;
  border-radius: 2.25rem;
  transform: rotate(8deg);
}

.phone-speaker {
  position: absolute;
  top: 0.65rem;
  left: 50%;
  width: 35%;
  height: 0.32rem;
  border-radius: 999px;
  background: #4a5556;
  transform: translateX(-50%);
}

.phone-badge {
  display: block;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1.6rem;
  border-radius: 50%;
  background: var(--turquoise);
  box-shadow: 0 0 0 0.65rem var(--turquoise-soft);
}

.phone-line {
  width: 92%;
  height: 0.48rem;
}

.phone-line-short {
  width: 62%;
}

.orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgb(34 184 174 / 40%);
  border-radius: 50%;
}

.orbit-one {
  top: 6%;
  left: 9%;
  width: 1rem;
  height: 1rem;
  background: var(--turquoise);
}

.orbit-two {
  right: 0;
  top: 43%;
  width: 2.1rem;
  height: 2.1rem;
  background: var(--white);
}

.orbit-three {
  bottom: 8%;
  left: 14%;
  width: 1.5rem;
  height: 1.5rem;
  background: #ffc857;
  border-color: #ffc857;
}

@media (max-width: 850px) {
  .page-shell {
    width: min(100% - 2.25rem, 44rem);
    padding-block: 1.5rem 2.5rem;
  }

  .brand {
    width: min(14rem, 53vw);
  }

  .status {
    font-size: 0.7rem;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "cta";
    grid-template-rows: auto auto auto;
    gap: 0;
    min-height: auto;
    padding-block: 5rem 1rem;
  }

  .hero-copy {
    max-width: 39rem;
  }

  h1 {
    max-width: 13ch;
  }

  .visual {
    width: min(100%, 31rem);
    min-height: 25rem;
    margin-top: 2.6rem;
    margin-inline: auto;
  }

  .cta {
    margin-top: 2.25rem;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: min(100% - 1.5rem, 32rem);
  }

  .site-header {
    align-items: center;
    gap: 1rem;
  }

  .brand {
    width: min(13.25rem, 54vw);
  }

  .status {
    align-items: center;
    max-width: 7.5rem;
    font-size: 0.67rem;
    line-height: 1.3;
    white-space: normal;
  }

  .status span {
    flex: 0 0 auto;
  }

  .hero {
    padding-top: 3.4rem;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .lead {
    font-size: 1.04rem;
  }

  .cta {
    width: 100%;
    margin-top: 1.65rem;
  }

  .visual {
    min-height: clamp(17rem, 74vw, 19rem);
    margin-top: 2.25rem;
  }

  .tablet {
    left: 1%;
    width: 72%;
    border-width: 0.55rem;
    border-radius: 1.55rem;
  }

  .phone {
    right: 2%;
    width: 37%;
    border-width: 0.45rem;
    border-radius: 1.8rem;
  }
}

@media (max-width: 360px) {
  .site-header {
    gap: 0.75rem;
  }

  .brand {
    width: 53vw;
  }

  .status {
    max-width: 6.5rem;
    font-size: 0.62rem;
  }
}

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