:root {
  color-scheme: light;
  --ink: #152621;
  --muted: #52625b;
  --paper: #f6f7f2;
  --white: #fff;
  --forest: #102a23;
  --lime: #dbf78c;
  --line: #dce3d9;
  --radius: 1.25rem;
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #52865d; outline-offset: 4px; }
.wrap { width: min(74rem, calc(100% - 5rem)); margin-inline: auto; }
.skip { position: fixed; z-index: 3; top: .75rem; left: .75rem; translate: 0 -180%; }
.skip:focus { translate: 0; }
.site-header { background: var(--forest); color: #f6f8ec; border-bottom: 1px solid #ffffff22; }
.header-inner, .footer-inner, .nav, .brand, .actions { display: flex; align-items: center; }
.header-inner { justify-content: space-between; min-height: 5rem; gap: 1.5rem; }
.brand { gap: .7rem; text-decoration: none; font-weight: 750; white-space: nowrap; letter-spacing: -.035em; font-size: 1.2rem; line-height: 1.15; }
.brand img { width: 2.45rem; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 2px solid #d9f78e; }
.nav { gap: clamp(.95rem, 3vw, 2.4rem); }
.nav a { text-decoration: none; color: #e3ece3; font-weight: 650; font-size: .94rem; padding-block: .55rem; }
.nav a:is(:hover, [aria-current]) { color: var(--lime); }
.hero { --hero-column-gap: 2.5rem; color: #f8faef; background: radial-gradient(ellipse at 81% 70%, #284c34, transparent 55%), var(--forest); overflow: hidden; }
.hero-inner { min-height: 34rem; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--hero-column-gap); padding-block: 4rem; }
.eyebrow { display: flex; align-items: center; gap: .55rem; color: #416044; font-size: .79rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow, .support-band .eyebrow { color: var(--lime); }
h1, h2, h3 { font-weight: 750; line-height: 1.04; letter-spacing: -.045em; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.55rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.3rem; }
.hero h1 { margin-block: 1rem 1.35rem; }
.hero h1 span { color: var(--lime); display: block; }
.lede { font-size: clamp(1.05rem, 1.55vw, 1.24rem); max-width: 37rem; color: var(--muted); }
.hero .lede, .support-band .lede { color: #c9d9cb; }
.actions { flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; border: 1px solid transparent; border-radius: .65rem; padding: .58rem 1.1rem; text-decoration: none; font-weight: 750; color: var(--white); background: var(--forest); text-align: center; }
.button:hover { background: #274a37; }
.button.light { color: #18291b; background: var(--lime); }
.button.light:hover { background: #e8ffa9; }
.button.outline { background: transparent; border-color: #c8d5c8; color: inherit; }
.button.outline:hover { border-color: currentColor; }
.hero-art { min-width: 0; min-height: 24rem; align-self: stretch; display: grid; place-items: center; isolation: isolate; position: relative; }
.hero-art::before, .hero-art::after { content: ""; position: absolute; z-index: -1; inline-size: 91%; aspect-ratio: 1; border: 1px solid #d8f88b35; border-radius: 50%; }
.hero-art::after { inline-size: 72%; }
.hero-tablet { width: 89%; margin-inline-end: 10%; transform: rotate(-8deg) translateY(-3%); }
.hero-phone { position: absolute; width: 28%; max-width: 10rem; right: 2%; bottom: 3%; transform: rotate(10deg); }
.hero-tablet, .hero-phone { background: #17221f; padding: .48rem; border: 1px solid #789082; border-radius: 1.2rem; box-shadow: 0 1.4rem 2.7rem #091c14a0; }
.hero-art img { border-radius: .77rem; width: 100%; }
.hero-suit { position: absolute; color: var(--lime); font-size: 2.2rem; line-height: 1; }
.hero-suit.top { top: 4%; right: 8%; transform: rotate(12deg); }
.hero-suit.bottom { bottom: 1%; left: 14%; font-size: 1.75rem; transform: rotate(-15deg); }
.catalog { padding-block: 4rem 5rem; scroll-margin-top: 1rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.65rem; flex-wrap: wrap; }
.section-head h2 { margin-top: .4rem; }
.filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter { border: 1px solid var(--line); border-radius: 2rem; background: var(--white); color: #3e5146; font-weight: 700; padding: .42rem .9rem; min-height: 2.75rem; font-size: .9rem; }
.filter:hover { border-color: #5d8061; }
.filter[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: white; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.app-grid.archive-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  max-width: 49rem;
  margin-top: 1.65rem;
}
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card-art { display: grid; place-items: center; position: relative; padding: 1.15rem; aspect-ratio: 1.95; background: var(--tint, #dce9db); }
.card-art img { position: absolute; height: 79%; width: auto; max-width: 88%; object-fit: contain; border-radius: .45rem; box-shadow: 0 .4rem .9rem #142b263e; }
.card-body { padding: 1.15rem 1.2rem 1.25rem; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.card-type { color: #416044; font-weight: 750; font-size: .8rem; }
.card :is(h2, h3) { font-size: 1.3rem; margin-block: .25rem .55rem; }
.card p { color: var(--muted); margin-bottom: .95rem; }
.card-link { margin-top: auto; padding-block: .35rem; font-weight: 750; text-underline-offset: .2em; }
.card-link:hover, .text-link:hover { color: #386e41; }
.support-band { background: var(--forest); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3.25rem); color: #f8faef; margin-bottom: 4rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.support-band h2 { margin-block: .35rem .65rem; }
.support-band .actions { margin-top: 0; }
.site-footer { border-top: 1px solid var(--line); padding-block: 1.6rem; }
.footer-inner { flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.footer-links a { text-underline-offset: .2em; }
.page { padding-block: clamp(2.4rem, 6vw, 5rem); }
.page h1 { font-size: clamp(2.55rem, 5vw, 4.5rem); margin-block: .55rem 1rem; overflow-wrap: anywhere; }
.text-link { font-weight: 700; text-underline-offset: .18em; }
.detail-top { display: grid; align-items: center; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); margin-top: 1.8rem; }
.detail-art { min-height: 18rem; display: grid; place-items: center; background: var(--tint, #dce9db); padding: 1.6rem; border-radius: var(--radius); }
.detail-art img { max-height: 23rem; width: auto; border-radius: .55rem; box-shadow: 0 .6rem 1.6rem #142b2635; }
.availability { margin-top: 1rem; color: var(--muted); }
.detail-section { margin-top: 3rem; }
.detail-section h2 { margin-bottom: 1.15rem; font-size: clamp(1.75rem, 3vw, 2.55rem); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.feature-group { padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.feature-group ul { padding-inline-start: 1.2rem; margin-bottom: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gallery a { display: grid; place-items: center; background: #e8ede5; border-radius: .8rem; padding: .85rem; }
.gallery img { max-height: 20rem; width: auto; border-radius: .3rem; }
.gallery figcaption { color: var(--muted); margin-top: .45rem; font-size: .92rem; }
.device-tabs { margin-bottom: 1.15rem; }
.device-tabs [aria-selected="true"] { background: var(--forest); border-color: var(--forest); color: white; }
.device-panel + .device-panel { margin-top: 1rem; }
.device-panel[role="tabpanel"] { margin-top: 0; }
.device-panel h3 { margin-bottom: .7rem; }
.device-panel[role="tabpanel"] h3 { display: none; }
.device-panel .gallery a { height: 100%; }
.device-panel .gallery figure { display: grid; grid-template-rows: 1fr auto; }
.device-panel .gallery img { object-fit: contain; }
.device-panel .gallery-single { grid-template-columns: minmax(0, 36rem); }
.device-coming-soon { color: var(--muted); margin-bottom: 1rem; }
.original-screenshots { margin-top: 1.5rem; }
.original-screenshots summary { cursor: pointer; padding-block: .5rem; }
.original-screenshots .gallery { margin-top: .6rem; }
.screenshot-link[aria-haspopup="dialog"] { cursor: zoom-in; }
body:has(.screenshot-viewer[open]) { overflow: hidden; }
.screenshot-viewer {
  width: max-content;
  max-width: calc(100% - 2rem);
  max-height: calc(100% - 2rem);
  padding: .75rem;
  border: 1px solid #789082;
  border-radius: var(--radius);
  color: white;
  background: var(--forest);
}
.screenshot-viewer::backdrop { background: #071410d9; }
.screenshot-toolbar, .screenshot-navigation {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.screenshot-toolbar { margin-bottom: .5rem; }
.screenshot-counter {
  min-width: 3.5rem;
  text-align: center;
  white-space: nowrap;
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
}
.screenshot-control {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: .55rem;
  color: var(--ink);
  background: var(--white);
  font-size: 1.8rem;
  line-height: 1;
}
.screenshot-close { margin-inline-start: auto; }
.screenshot-control:hover { background: var(--lime); }
.screenshot-viewer img {
  width: auto;
  height: auto;
  max-height: calc(100vh - 7.5rem);
  max-height: calc(100dvh - 7.5rem);
  margin-inline: auto;
  border-radius: .45rem;
}
.detail-section video { display: block; max-width: 100%; max-height: 32rem; background: var(--forest); border-radius: .8rem; }
.portrait-video { width: min(100%, 14.75rem); height: auto; }
.prose { max-width: 48rem; }
.prose :is(p, ul, ol) { margin-block: .75rem; }
.prose li + li { margin-top: .4rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.65rem; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(1.5rem, 6vw, 5rem); margin-top: 2rem; }
.contact-stack { display: grid; gap: 1rem; }
.contact-note { background: #e7eddf; border-radius: var(--radius); padding: 1.4rem; overflow-wrap: anywhere; }
.contact-note h2 { font-size: 1.6rem; margin: 0 0 .7rem; }
.contact-fields { min-width: 0; padding: 0; margin: 0; border: 0; }
.contact-fields + .contact-fields { margin-top: 1.5rem; }
.contact-fields legend { padding: 0; color: var(--ink); font-size: 1.3rem; font-weight: 750; }
.contact-note p + p { margin-top: .8rem; }
.contact-form { border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: clamp(1.2rem, 3vw, 2rem); }
.contact-form p { color: var(--muted); }
.field { display: grid; gap: .3rem; margin-top: 1rem; font-weight: 700; }
.field :is(input, textarea, select) { background: #fff; color: var(--ink); border: 1px solid #a1ada4; border-radius: .55rem; width: 100%; min-width: 0; padding: .58rem .7rem; font-weight: 500; }
.field textarea { resize: vertical; }
.field-help { margin-top: .4rem; font-size: .9rem; }
.contact-status { margin-top: .75rem; }
.contact-status.is-error { color: #a12a1f; font-weight: 700; }
.contact-status.is-success { color: #2f6b34; font-weight: 700; }
.contact-captcha { margin-top: 1.25rem; min-height: 78px; }
.field-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 58rem) {
  .wrap { width: calc(100% - 3rem); }
  .hero { --hero-column-gap: 1.1rem; }
  .hero-inner { min-height: 27rem; }
  .hero-art { min-height: 18rem; }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 41rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 4.4rem; gap: .65rem; }
  .brand { font-size: 1.04rem; gap: .45rem; }
  .brand img { width: 2rem; }
  .nav { gap: .75rem; }
  .nav a { font-size: .86rem; }
  .hero-inner, .detail-top, .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { padding-block: 2.75rem 1.7rem; gap: .8rem; }
  .hero-art { width: min(100%, 27rem); margin-inline: auto; min-height: 0; aspect-ratio: 1.26; }
  .hero h1 { font-size: clamp(2.75rem, 11vw, 4.6rem); }
  .catalog { padding-block: 2.6rem 3rem; }
  .section-head { gap: .95rem; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 32rem) {
  .app-grid { grid-template-columns: 1fr; }
}
.art-glyph { font-size: 5rem; color: #473c6c; }

.hero[data-ready] { display: grid; }
.hero-stage { display: grid; grid-row: 1; }
.hero-slide { grid-area: 1 / 1; min-width: 0; }
.hero[data-ready] .hero-slide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .65s ease, visibility 0s linear .65s;
}
.hero[data-ready] .hero-slide[data-active] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.hero-product-title {
  margin-block: 1rem 1.15rem;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  overflow-wrap: anywhere;
}
.hero-product-art { min-height: 0; height: 24rem; align-self: center; }
.hero-product-screen {
  position: absolute;
  display: grid;
  place-items: center;
  width: 90%;
  height: 93%;
  transform: rotate(-4deg);
}
.hero-art .hero-product-screen img {
  width: auto;
  max-height: 100%;
  padding: .38rem;
  border: 1px solid #789082;
  border-radius: .9rem;
  background: #17221f;
  box-shadow: 0 1rem 2.3rem #091c147d;
  object-fit: contain;
}
.hero-product-art.has-inset .hero-product-screen:first-child { left: 2%; width: 75%; }
.hero-product-art .hero-product-screen.inset {
  right: 2%;
  bottom: 0;
  width: 41%;
  height: 60%;
  transform: rotate(8deg);
}
.hero-controls {
  grid-row: 2;
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  padding-inline-end: calc((min(74rem, 100% - 5rem) + var(--hero-column-gap)) / 2);
  padding-bottom: 1.25rem;
}
.hero-progress {
  flex-basis: 100%;
  grid-column: 1 / -1;
  height: .2rem;
  overflow: hidden;
  border-radius: 1rem;
  background: rgb(255 255 255 / 22%);
}
.hero-progress div {
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
}
.hero-control, .hero-picker select {
  min-height: 2.75rem;
  border: 1px solid #b8d0bd63;
  border-radius: .55rem;
  background: var(--forest);
  color: inherit;
  font-size: .88rem;
  font-weight: 700;
}
.hero-control { display: grid; place-items: center; min-width: 4.65rem; padding-inline: .72rem; }
.hero-control svg { width: 1.25rem; height: 1.25rem; }
.hero-icon-play, [data-paused] .hero-icon-pause { display: none; }
[data-paused] .hero-icon-play { display: block; }
.hero-control:hover, .hero-picker select:hover { border-color: var(--lime); }
.hero-controls :focus-visible { outline-color: var(--lime); }
.hero-picker { position: relative; width: 15rem; max-width: 100%; min-width: 0; }
.hero-picker select { appearance: none; width: 100%; padding: .35rem 2rem .35rem .8rem; }
.hero-picker::after {
  content: '';
  position: absolute;
  right: .9rem;
  top: calc(50% - .3rem);
  width: .5rem;
  height: .5rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  pointer-events: none;
}
@media (max-width: 58rem) {
  .hero-product-art { height: 18rem; }
  .hero-controls { padding-inline-end: calc((100% - 3rem + var(--hero-column-gap)) / 2); }
}
@media (max-width: 41rem) {
  .hero-product-art { height: auto; }
  .hero-product-title { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .hero-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-inline-end: 0; }
  .hero-control { min-width: 0; padding-inline: .4rem; }
  .hero-picker { grid-column: 1 / -1; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero[data-ready] .hero-slide { transition: none; }
}
