@font-face {
  font-family: Atkinson Hyperlegible;
  src: url("assets/atkinson-hyperlegible-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Atkinson Hyperlegible;
  src: url("assets/atkinson-hyperlegible-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url("assets/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f9f7ef;
  --navy: #151738;
  --navy-deep: #101329;
  --mint: #56f6ae;
  --mint-light: #d8fbea;
  --ink: #20223d;
  --muted: #4b4f65;
  --rule: #bcc0bb;
  --white: #fffdf5;
  --heading: Fraunces, Georgia, serif;
  --body: Atkinson Hyperlegible, "Trebuchet MS", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.125rem/1.55 var(--body);
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2 {
  color: var(--navy);
  font-family: var(--heading);
  font-weight: 600;
  line-height: 1.05;
}
h1, h2, h3, p, a { overflow-wrap: anywhere; }
h1 { font-size: clamp(3rem, 5.7vw, 6.35rem); letter-spacing: -0.065em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.65rem); letter-spacing: -0.045em; }
h3 { font-size: 1.35rem; line-height: 1.2; }
p, li { max-width: 67ch; }
a { color: #1e523c; text-underline-offset: 0.22em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-thickness: 0.16em; }
img { display: block; max-width: 100%; height: auto; }

:focus-visible {
  outline: 3px solid #245440;
  outline-offset: 4px;
  box-shadow: 0 0 0 3px var(--white);
}
.skip {
  position: absolute;
  z-index: 3;
  top: .7rem;
  left: .7rem;
  max-width: calc(100% - 1.4rem);
  padding: .65rem 1rem;
  color: var(--navy);
  background: var(--mint);
  transform: translateY(calc(-100% - 2rem));
}
.skip:focus { transform: none; }
#main:focus { outline-offset: -5px; }
[id] { scroll-margin-block-start: 1rem; }

.frame {
  width: min(100% - 2 * clamp(1rem, 5vw, 5rem), 76rem);
  margin-inline: auto;
}
.site-header { border-block-end: 1px solid var(--rule); }
.header-row, .footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 1.5rem;
  padding-block: .85rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: .7rem;
  color: var(--navy);
  font: 600 1.7rem/1.1 var(--heading);
  letter-spacing: -.045em;
  text-decoration: none;
}
.brand img { flex: 0 0 42px; border-radius: .72rem; }
nav ul { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.header-row nav ul { gap: 0 .4rem; }
nav li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem .65rem;
  color: var(--navy);
  font-weight: 700;
}
.site-header nav a:not([aria-current]) { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
nav [aria-current="page"] { text-decoration-thickness: .15em; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.6rem, 4.2vw, 4.5rem);
  padding-block: clamp(2.4rem, 5vw, 4.8rem);
}
.hero-copy { padding-block-end: 1.2rem; }
.kicker {
  color: #23543d;
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.hero h1 { margin-block: .8rem 1.4rem; }
.hero-intro {
  max-width: 30ch;
  color: var(--muted);
  font-size: clamp(1.125rem, 1.7vw, 1.55rem);
  line-height: 1.45;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  min-height: 50px;
  max-width: 100%;
  padding: .7rem 1.15rem;
  border: 2px solid var(--navy);
  border-radius: .8rem;
  margin-top: 1.7rem;
  color: var(--white);
  background: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.cta::after {
  content: "";
  flex: 0 0 .55em;
  height: .55em;
  border-inline-end: .12em solid currentColor;
  border-block-end: .12em solid currentColor;
  transform: translateY(-.1em) rotate(45deg);
}
.cta:hover { color: var(--navy); background: var(--mint); text-decoration: underline; }

.demo-art {
  overflow-wrap: anywhere;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(1.3rem, 3.2vw, 3rem) .8rem;
  min-height: 32rem;
  border: 1px solid #2c824e;
  border-radius: clamp(1.35rem, 3vw, 2.25rem);
  background: var(--mint);
}
.horizon {
  z-index: -1;
  position: absolute;
  width: 103%;
  aspect-ratio: 1;
  left: 12%;
  bottom: -52%;
  border: 1px solid #28794a;
  border-radius: 50%;
  box-shadow: 0 0 0 1.3rem var(--mint), 0 0 0 calc(1.3rem + 1px) #28794a,
              0 0 0 2.7rem var(--mint), 0 0 0 calc(2.7rem + 1px) #28794a,
              0 0 0 4.1rem var(--mint), 0 0 0 calc(4.1rem + 1px) #28794a;
}
.phone {
  position: relative;
  margin-inline-start: clamp(0rem, 2.4vw, 2.5rem);
  width: min(100%, 17.7rem);
  min-height: 25rem;
  border: 5px solid #303455;
  border-radius: 2.3rem;
  padding: 2.05rem .9rem .95rem;
  color: var(--white);
  background: var(--navy-deep);
  box-shadow: 0 1rem 1.35rem #11352653, 0 .13rem 0 .15rem #101329;
}
.phone::before {
  content: "";
  position: absolute;
  left: 30%;
  right: 30%;
  top: .7rem;
  height: .55rem;
  border-radius: 1rem;
  background: #424762;
}
.phone-top { text-align: center; font-size: 1.125rem; font-weight: 700; }
.phone-content {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: 1rem;
  margin-block-start: .65rem;
  border-radius: 1.15rem;
  background: #1c2242;
}
.phone-mic {
  position: relative;
  display: block;
  width: .62rem;
  height: 1.01rem;
  margin: .24rem 0 .45rem .3rem;
  border-radius: .5rem;
  background: var(--mint);
}
.phone-mic::before {
  content: "";
  position: absolute;
  inset: .34rem -.25rem -.27rem;
  border: 2px solid var(--mint);
  border-top: 0;
  border-radius: 0 0 .7rem .7rem;
}
.phone-mic::after {
  content: "";
  position: absolute;
  width: .66rem;
  height: .13rem;
  left: -.02rem;
  bottom: -.5rem;
  background: var(--mint);
}
.phone-quote { color: #d0d8e9; font-size: 1.05rem; }
.phone-answer { font-size: 1.7rem; font-weight: 700; line-height: 1.15; }
.phone-listening { color: var(--mint); font-size: .9rem; font-weight: 700; }
.phone-listening span {
  display: inline-block;
  width: .47rem;
  height: .47rem;
  margin-inline-end: .23rem;
  border-radius: 50%;
  background: var(--mint);
}
.demo-icon {
  position: absolute;
  width: clamp(3.8rem, 7.5vw, 6.3rem);
  left: 9%;
  bottom: 12%;
  border: 2px solid var(--navy);
  border-radius: 24%;
  box-shadow: 0 .4rem .8rem #0c303a3a;
}
figcaption { margin-block-start: .65rem; color: var(--muted); font-size: .95rem; }

.feature-band, .sub-hero {
  background: var(--navy);
  color: var(--white);
}
.feature-band:focus-visible { outline: 3px solid var(--mint); outline-offset: -5px; box-shadow: none; }
.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(2.7rem, 6vw, 5.6rem);
}
.feature-layout h2, .sub-hero h1 { color: var(--mint); }
.feature-layout h2 + p { margin-top: .85rem; max-width: 25ch; }
.feature-list section { border-block-start: 1px solid #73778e; padding-block: 1.15rem; }
.feature-list section:last-child { padding-block-end: 0; }
.feature-list h3 + p { margin-top: .3rem; }
.connections { padding-block: clamp(2.5rem, 6vw, 5rem); }
.connections + .connections { border-block-start: 1px solid var(--rule); }
.connections p { margin-block: .85rem .6rem; max-width: 48ch; }
.connections a, .policy a, .contact-panel > a { display: inline-block; padding-block: .45rem; font-weight: 700; }

.sub-hero { padding-block: clamp(2.35rem, 5vw, 4rem); }
.sub-hero h1 { font-size: clamp(3rem, 6.3vw, 5.5rem); }
.sub-hero p:not(.kicker) { margin-block-start: .75rem; max-width: 40ch; font-size: clamp(1.125rem, 1.8vw, 1.35rem); }
.sub-hero .kicker { color: #cff4e4; margin-block-end: .6rem; }
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, .39fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(2rem, 5vw, 4rem);
}
.flow { min-width: 0; }
.flow section + section { margin-block-start: 2.15rem; }
.flow h2, .contact-panel h2 { font-size: clamp(1.55rem, 2.85vw, 2.75rem); }
.flow h2 + p, .contact-panel h2 + p { margin-top: .7rem; }
.flow p + p, .contact-panel p + p { margin-top: .65rem; }
.guide-list { list-style: none; padding: 0; margin-block: .8rem 0; }
.guide-list li { border-block-start: 1px solid var(--rule); padding-block: .65rem .85rem; }
.guide-list a { display: inline-block; padding-block: .25rem; font-size: 1.25rem; font-weight: 700; }
details { border-block-end: 1px solid var(--rule); }
details:first-of-type { margin-block-start: .65rem; border-block-start: 1px solid var(--rule); }
summary {
  min-height: 44px;
  padding: .65rem .2rem;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}
summary::marker { color: #23543d; }
summary:hover { text-decoration: underline; text-underline-offset: .2em; }
details p { padding: .1rem .4rem 1rem 1.2rem; }
.contact-panel {
  padding: clamp(1rem, 2.5vw, 1.6rem);
  border: 1px solid #497865;
  border-radius: 1.1rem;
  background: var(--mint-light);
}
.contact-panel h2 { margin-block-end: .65rem; }
.contact-panel .contents { display: block; }
.contents a { color: #1e523c; padding-inline: 0; }
.site-footer { border-block-start: 1px solid var(--rule); }
.footer-row p { font-weight: 700; }
.footer-row nav a { color: #1e523c; }

@media (max-width: 55rem) {
  .hero, .feature-layout, .content-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-block-end: 0; }
  .hero h1 { font-size: clamp(3rem, 9.7vw, 5.3rem); }
  .hero-intro { max-width: 42ch; }
  .demo-art { min-height: 26rem; }
  .demo-icon { left: 11%; bottom: 10%; }
  .contact-panel { max-width: 31rem; }
}
@media (max-width: 33rem) {
  .header-row, .footer-row { align-items: flex-start; flex-direction: column; }
  .header-row { row-gap: .45rem; }
  .header-row nav ul { gap: 0 .35rem; }
  .header-row nav a, .footer-row nav a { padding-inline: .32rem; }
  .demo-art { min-height: 23.5rem; }
  .phone { margin-inline-start: 0; }
  .demo-icon { display: none; }
  figcaption { font-size: 1rem; }
}

@media (forced-colors: active) {
  :focus-visible { outline-color: Highlight; }
  .cta { border-color: ButtonText; }
  summary::marker { color: ButtonText; }
}
