:root {
  color-scheme: light;
  --paper: #f4f5ed;
  --ink: #172f27;
  --muted: #4d6057;
  --forest: #113a2b;
  --line: #ccd5ca;
  --accent: #c9e9aa;
  font: 100%/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid #12775a; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
.shell { width: min(100% - 56px, 1180px); margin-inline: auto; }

.skip-link {
  position: absolute;
  z-index: 1;
  inset: 10px auto auto 10px;
  transform: translateY(-180%);
  padding: .6rem 1rem;
  background: white;
}
.skip-link:focus { transform: none; }

.site-header, .site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.site-header { min-height: 88px; border-bottom: 1px solid var(--line); }
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: .55rem 1.45rem; }
.site-header a, .site-footer a { text-decoration: none; }
.site-header a:hover, .site-footer a:hover { text-decoration: underline; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 750; letter-spacing: -.035em; }
.brand img { border-radius: 28%; }

.hero {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  align-items: stretch;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  padding-block: clamp(2rem, 6vw, 5rem);
}
.hero-copy { align-self: center; }
.eyebrow { margin-bottom: 1.3rem; color: var(--muted); font-size: .83rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.hero h1 { font-size: clamp(3.65rem, 7.8vw, 7rem); line-height: .91; letter-spacing: -.075em; }
.intro { max-width: 37ch; margin-top: 1.65rem; color: var(--muted); font-size: clamp(1.1rem, 2.3vw, 1.35rem); }
.hero-actions { margin-top: 1.75rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 50px;
  padding: .7rem 1.15rem;
  border-radius: 7px;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: #205641; }
.availability { max-width: 40ch; margin-top: .85rem; color: var(--muted); font-size: .89rem; }

.hero-art {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: .8rem;
  min-height: 420px;
  padding: 1.6rem 1rem;
  overflow: hidden;
  border-radius: 20px;
  background: radial-gradient(ellipse at 50% 37%, #286b50, #102f25 70%);
  color: #f5f8f0;
}
.hero-art::before, .hero-art::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: max(520px, 102%);
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #91c4a240;
  border-radius: 50%;
}
.hero-art::after { width: max(390px, 78%); }
.hero-icon { width: min(76%, 340px); height: auto; border-radius: 24%; box-shadow: 0 25px 55px #041d17a8; }
.art-caption { display: flex; align-items: center; gap: .5rem; margin-top: .7rem; font-size: .83rem; text-align: center; }
.status-dot { width: .53rem; height: .53rem; flex: 0 0 .53rem; border-radius: 50%; background: var(--accent); }

.devices { padding-block: 1rem clamp(2.5rem, 7vw, 5rem); }
h2 { font-size: clamp(2.05rem, 4.1vw, 3.35rem); line-height: 1.04; letter-spacing: -.055em; }
.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 1.65rem; border-block: 1px solid var(--line); }
.device { padding: 1.45rem clamp(1rem, 2.5vw, 2rem); }
.device:first-child { padding-left: 0; }
.device + .device { border-left: 1px solid var(--line); }
.device h3 { margin-bottom: .45rem; font-size: 1.13rem; }
.device p { max-width: 31ch; color: var(--muted); }

.local-review {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: clamp(1.5rem, 4vw, 3.2rem);
  border-radius: 14px;
  background: var(--forest);
  color: #fff;
}
.local-review p { max-width: 55ch; margin-top: .8rem; color: #dce9df; }
.button-light { background: var(--accent); color: var(--ink); }
.button-light:hover { background: #e2f4d0; }
.button-light:focus-visible { outline-color: white; }
.site-footer { padding-block: 1.6rem; margin-top: 2.3rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.site-footer > span { font-weight: 700; }

.article { min-height: 60vh; padding-block: clamp(2.4rem, 7vw, 5rem); }
.article h1 { font-size: clamp(3.4rem, 8vw, 6.3rem); line-height: 1; letter-spacing: -.075em; }
.article .intro { max-width: 50ch; }
.article h2 { margin-top: 2.2rem; font-size: clamp(1.65rem, 4vw, 2.25rem); }
.article p { max-width: 66ch; margin-top: .8rem; color: var(--muted); }
.text-link { color: #155740; font-weight: 700; }

@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; padding-block: 2rem; }
  .hero-icon { width: min(64%, 270px); }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 32px); }
  .site-header { min-height: 0; padding-block: 1rem; gap: .85rem; }
  .site-header nav { gap: .5rem 1rem; font-size: .89rem; }
  .device-grid { grid-template-columns: 1fr; }
  .device { padding: 1.2rem 0; }
  .device + .device { border-left: 0; border-top: 1px solid var(--line); }
  .device p { max-width: 38ch; }
}

.app-directory-nav {
  grid-column: 1 / -1;
  flex: 1 0 100%;
  min-width: 0;
  font-size: .9375rem;
}
.app-directory-nav .app-directory-title { font-weight: 700; }
.app-directory-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.2rem;
  margin: .5rem 0 0;
  padding: 0;
  list-style: none;
}
.app-directory-nav li { margin: 0; padding: 0; }
.app-directory-nav a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.app-directory-nav a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.site-footer .app-directory-nav { display: block; }
