@import url("./company-icons.css");
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/be-vietnam-pro/400.woff2") format("woff2");
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/be-vietnam-pro/600.woff2") format("woff2");
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/be-vietnam-pro/700.woff2") format("woff2");
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/be-vietnam-pro/800.woff2") format("woff2");
}
/* Native CSS brand design: DESIGN_VARIANCE 7 / MOTION_INTENSITY 4 / VISUAL_DENSITY 4.
   Shape scale: surfaces 16px, inputs 12px, interactive buttons pill.
   Layer scale: default 0, sticky navigation 10, skip link 20. */
:root {
  color-scheme: light;
  --bg: #fafbf8;
  --surface: #f0f3ed;
  --surface-raised: #fdfefb;
  --text: #17291f;
  --muted: #58655b;
  --accent: #28744c;
  --accent-hover: #1d5c3b;
  --accent-text: #f6fbf6;
  --tint: #e5eee1;
  --border: #dce3d8;
  --focus: #28744c;
  --shadow: rgba(35, 67, 45, 0.08);
  --radius: 16px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141e18;
  --surface: #1c2920;
  --surface-raised: #223027;
  --text: #eef4ec;
  --muted: #b2c0b3;
  --accent: #a6d9b2;
  --accent-hover: #bce7c5;
  --accent-text: #152a1d;
  --tint: #22362a;
  --border: #35453a;
  --focus: #a6d9b2;
  --shadow: rgba(4, 15, 8, 0.2);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #141e18;
    --surface: #1c2920;
    --surface-raised: #223027;
    --text: #eef4ec;
    --muted: #b2c0b3;
    --accent: #a6d9b2;
    --accent-hover: #bce7c5;
    --accent-text: #152a1d;
    --tint: #22362a;
    --border: #35453a;
    --focus: #a6d9b2;
    --shadow: rgba(4, 15, 8, 0.2);
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.25;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
a:hover {
  color: var(--accent);
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--tint);
  color: var(--text);
}
.container {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.section {
  padding-block: 88px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  background: var(--accent);
  color: var(--accent-text);
  padding: 12px 24px;
  border-radius: 12px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background: currentColor;
  mask: var(--icon) center/contain no-repeat;
  -webkit-mask: var(--icon) center/contain no-repeat;
  vertical-align: middle;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 80px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1px;
  white-space: nowrap;
}
.brand img {
  border-radius: 50%;
}
.site-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.site-nav > a {
  padding: 12px 0;
  position: relative;
  color: var(--muted);
}
.site-nav > a:hover,
.site-nav > a.active {
  color: var(--text);
}
.site-nav > a.active:after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.icon-button {
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.icon-button:hover {
  background: var(--tint);
}
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  border-left: 1px solid var(--border);
  padding-left: 22px;
  white-space: nowrap;
}
.phone-link .icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.menu-toggle {
  display: none;
}
.hero {
  padding-block: 58px 66px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 66px;
}
.eyebrow {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(42px, 4.6vw, 66px);
  font-weight: 800;
  letter-spacing: -2.6px;
  line-height: 1.2;
}
.hero h1 span {
  color: var(--accent);
}
.hero-description {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  max-width: 400px;
  margin-top: 26px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 29px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
  line-height: 1.5;
}
.button-primary {
  background: var(--accent);
  color: var(--accent-text);
}
.button-primary:hover {
  background: var(--accent-hover);
  color: var(--accent-text);
}
.button-secondary {
  background: var(--surface-raised);
  border-color: var(--border);
}
.button-secondary:hover {
  background: var(--tint);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.text-link .icon {
  width: 19px;
  height: 19px;
}
.hero-visual {
  height: 430px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--tint);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
}
.category-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 28px;
  gap: 28px;
}
.category-strip > a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.category-strip > a > .icon:first-child {
  width: 30px;
  height: 30px;
  color: var(--accent);
}
.category-strip > a > .icon:last-child {
  width: 17px;
  height: 17px;
  margin-left: auto;
  color: var(--muted);
}
.category-strip h2 {
  font-size: 14px;
  font-weight: 700;
}
.category-strip p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
}
.section-heading {
  margin-bottom: 32px;
}
.section-heading h2,
.featured-heading h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -1.25px;
}
.section-heading p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}
.catalog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.filters {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
}
.filter-button {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 44px;
  padding: 8px 15px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--muted);
}
.filter-button:hover {
  background: var(--surface);
}
.filter-button.selected {
  background: var(--tint);
  color: var(--accent);
  border-color: var(--tint);
}
.filter-button span {
  margin-left: 5px;
  font-size: 10px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  background: var(--surface-raised);
  border-radius: 12px;
  padding: 0 13px;
  min-width: 210px;
  max-width: 235px;
  height: 44px;
}
.search-field > .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.search-field input {
  width: 100%;
  border: 0;
  background: transparent;
  min-width: 0;
  color: var(--text);
  font-size: 12px;
  outline-offset: 7px;
}
.search-field input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.result-count {
  font-size: 11px;
  color: var(--muted);
  margin-top: 22px;
  margin-bottom: 8px;
}
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
}
.app-item {
  display: flex;
  gap: 21px;
  align-items: flex-start;
  padding-block: 27px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 110px;
}
.app-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 16px;
  object-fit: cover;
}
.app-content {
  min-width: 0;
}
.app-category {
  font-size: 10px;
  color: var(--muted);
}
.app-item h3 {
  font-size: 16px;
  letter-spacing: -0.35px;
  font-weight: 700;
  margin-top: 5px;
}
.app-item p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 9px;
  max-width: 360px;
}
.app-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  margin-top: 13px;
}
.store-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  min-height: 28px;
  color: var(--accent);
}
.store-link > .icon {
  width: 16px;
  height: 16px;
}
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--surface);
  border-radius: 16px;
  margin-top: 22px;
}
.empty-state > .icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin-bottom: 18px;
}
.empty-state p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}
.empty-state .button {
  margin-top: 24px;
}
.featured-section {
  padding-top: 0;
}
.featured-panel {
  background: var(--tint);
  border-radius: 16px;
  padding: 48px 58px 32px;
}
.featured-heading {
  display: flex;
  align-items: center;
  gap: 25px;
}
.featured-heading > img {
  border-radius: 16px;
  flex-shrink: 0;
}
.featured-heading .eyebrow {
  margin-bottom: 12px;
  font-size: 10px;
}
.featured-heading p:last-child {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
  max-width: 650px;
}

.featured-bottom {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.featured-bottom p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  flex-wrap: wrap;
}
.featured-bottom p .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
  margin-left: 14px;
}
.featured-bottom p .icon:first-child {
  margin-left: 0;
}
.about-section {
  padding-top: 0;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.about-statement h2 {
  font-size: 38px;
  line-height: 1.35;
  letter-spacing: -1.7px;
  font-weight: 700;
  max-width: 500px;
}
.about-statement h2 span {
  color: var(--accent);
}
.about-statement p {
  color: var(--muted);
  font-size: 14px;
  max-width: 410px;
  margin-top: 24px;
  line-height: 1.9;
}
.principles {
  display: grid;
  gap: 30px;
}
.principles article {
  position: relative;
  padding-left: 44px;
}
.principles .icon {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent);
  width: 25px;
  height: 25px;
}
.principles h3 {
  font-size: 15px;
}
.principles p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  margin-top: 10px;
  max-width: 380px;
}
.download-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 60px;
}
.download-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.download-inner h2 {
  font-size: 36px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -1.5px;
}
.download-inner p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 18px;
}
.download-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 310px;
  margin-left: auto;
}
.store-button {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 74px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-raised);
  padding: 13px 22px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.store-button > .icon:first-child {
  width: 28px;
  height: 28px;
}
.store-button > .icon:last-child {
  width: 20px;
  height: 20px;
  margin-left: auto;
}
.store-button small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 3px;
}
.store-button:hover {
  border-color: var(--accent);
  background: var(--tint);
}
.site-footer {
  padding-block: 42px 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
}
.footer-top > div > p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.footer-contact {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.footer-contact .icon {
  width: 18px;
  height: 18px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  margin-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 10px;
  color: var(--muted);
}
.footer-bottom > div {
  display: flex;
  gap: 24px;
}
.footer-bottom .icon {
  width: 13px;
  height: 13px;
}
@media (min-width: 1536px) {
  .hero {
    padding-block: 72px;
  }
  .hero-visual {
    height: 470px;
  }
}
@media (max-width: 1279px) {
  .container {
    width: calc(100% - 72px);
  }
  .nav-inner {
    gap: 18px;
  }
  .site-nav {
    gap: 23px;
  }
  .nav-actions {
    gap: 10px;
  }
  .phone-link {
    padding-left: 16px;
  }
  .hero-grid {
    gap: 36px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-visual {
    height: 400px;
  }
  .category-strip {
    gap: 22px;
  }
  .category-strip > a {
    gap: 12px;
  }
  .category-strip > a > .icon:last-child {
    display: none;
  }
  .category-strip h2 {
    font-size: 12px;
  }
  .catalog-controls {
    align-items: flex-start;
  }
  .filters {
    gap: 3px;
  }
  .filter-button {
    padding-inline: 12px;
  }
  .app-grid {
    column-gap: 38px;
  }
  .about-layout {
    gap: 65px;
  }
}
@media (max-width: 1023px) {
  .container {
    width: calc(100% - 64px);
  }
  .phone-link span {
    display: none;
  }
  .phone-link {
    border: 0;
    padding: 0;
  }
  .phone-link > .icon {
    width: 23px;
    height: 23px;
  }
  .brand {
    font-size: 21px;
  }
  .site-nav {
    gap: 20px;
    font-size: 12px;
  }
  .hero {
    padding-block: 48px;
  }
  .hero h1 {
    font-size: 43px;
    letter-spacing: -1.8px;
  }
  .hero-grid {
    gap: 30px;
  }
  .hero-visual {
    height: 350px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-actions {
    gap: 20px;
  }
  .button {
    padding-inline: 20px;
  }
  .text-link {
    font-size: 12px;
  }
  .category-strip h2 {
    font-size: 11px;
  }
  .category-strip p {
    font-size: 10px;
  }
  .catalog-controls {
    display: block;
  }
  .search-field {
    margin-top: 20px;
    max-width: none;
    width: 100%;
  }
  .app-grid {
    column-gap: 30px;
  }
  .app-item {
    gap: 15px;
  }
  .app-icon {
    width: 60px;
    height: 60px;
  }
  .app-item h3 {
    font-size: 14px;
  }
  .featured-panel {
    padding: 40px 38px 28px;
  }

  .about-statement h2 {
    font-size: 30px;
  }
  .about-layout {
    gap: 45px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 9px;
  }
  .download-actions {
    width: 280px;
  }
}
/* Explicit single-column fallbacks for every multi-column section. */
@media (max-width: 767px) {
  html {
    scroll-padding-top: 88px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .section {
    padding-block: 54px;
  }
  .nav-inner {
    height: 68px;
    gap: 10px;
    justify-content: space-between;
  }
  .brand {
    font-size: 20px;
    gap: 8px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .nav-actions {
    gap: 4px;
    margin-left: auto;
  }
  .phone-link {
    display: none;
  }
  .menu-toggle:not([hidden]) {
    display: inline-flex;
  }
  .site-nav {
    display: flex;
    gap: 14px;
    font-size: 11px;
    margin: 0;
  }
  .js .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 18px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 15px 25px var(--shadow);
  }
  .js .site-nav.open {
    display: flex;
  }
  .site-nav > a {
    padding: 12px;
  }
  .site-nav > a.active:after {
    left: 12px;
    right: auto;
    width: 24px;
    bottom: 7px;
  }
  .hero {
    padding-block: 38px 32px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero h1 {
    font-size: 46px;
    letter-spacing: -2px;
    line-height: 1.2;
  }
  .hero .eyebrow {
    font-size: 10px;
    margin-bottom: 18px;
  }
  .hero-description {
    margin-top: 18px;
    font-size: 14px;
    max-width: 440px;
    line-height: 1.85;
  }
  .hero-actions {
    margin-top: 24px;
    gap: 24px;
  }
  .button {
    min-height: 48px;
    padding: 13px 21px;
    font-size: 12px;
  }
  .hero-visual {
    height: 245px;
  }
  .category-strip {
    grid-template-columns: 1fr;
    padding-block: 0;
    gap: 0;
  }
  .category-strip > a {
    padding-block: 20px;
    gap: 16px;
  }
  .category-strip > a + a {
    border-top: 1px solid var(--border);
  }
  .category-strip h2 {
    font-size: 13px;
  }
  .category-strip p {
    font-size: 11px;
    margin-top: 5px;
  }
  .category-strip > a > .icon:last-child {
    display: inline-block;
  }
  .section-heading {
    margin-bottom: 24px;
  }
  .section-heading h2,
  .featured-heading h2 {
    font-size: 27px;
    letter-spacing: -1px;
  }
  .section-heading p {
    font-size: 13px;
    max-width: 330px;
  }
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 5px;
    padding-block: 5px;
    scrollbar-width: thin;
  }
  .filter-button {
    padding-inline: 14px;
    flex-shrink: 0;
  }
  .catalog-controls {
    display: block;
  }
  .search-field {
    margin-top: 14px;
  }
  .app-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .app-item {
    gap: 18px;
    padding-block: 24px;
  }
  .app-icon {
    width: 64px;
    height: 64px;
  }
  .app-item h3 {
    font-size: 15px;
  }
  .app-item p {
    font-size: 12px;
  }
  .store-link {
    min-height: 36px;
  }
  .featured-section {
    padding-top: 0;
  }
  .featured-panel {
    padding: 28px 20px;
  }
  .featured-heading {
    align-items: flex-start;
    gap: 15px;
  }
  .featured-heading > img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }
  .featured-heading h2 {
    font-size: 23px;
    line-height: 1.4;
  }
  .featured-heading .eyebrow {
    font-size: 9px;
    margin-bottom: 8px;
    letter-spacing: 1px;
  }
  .featured-heading p:last-child {
    font-size: 12px;
    margin-top: 12px;
  }

  .featured-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 22px;
    gap: 22px;
  }
  .featured-bottom p {
    font-size: 10px;
    gap: 6px;
  }
  .featured-bottom p .icon {
    margin-left: 5px;
  }
  .about-section {
    padding-top: 0;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-statement h2 {
    font-size: 32px;
    max-width: 360px;
  }
  .about-statement p {
    font-size: 13px;
    margin-top: 18px;
  }
  .principles {
    gap: 27px;
  }
  .download-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .download-inner h2 {
    font-size: 31px;
  }
  .download-actions {
    width: 100%;
    margin: 0;
  }
  .download-inner p {
    font-size: 12px;
  }
  .store-button {
    min-height: 70px;
    font-size: 16px;
  }
  .site-footer {
    padding-block: 32px 24px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-contact {
    gap: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    font-size: 10px;
  }
  .footer-bottom > div {
    gap: 24px;
  }
}
@media (max-width: 767px) {
  html:not(.js) .nav-inner {
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
    padding-block: 12px;
  }
  html:not(.js) .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }
  html:not(.js) .nav-actions {
    display: none;
  }
}
@media (max-width: 374px) {
  .hero h1 {
    font-size: 39px;
  }
  .hero-actions {
    gap: 17px;
  }
  .hero-visual {
    height: 210px;
  }
  .hero-grid {
    gap: 24px;
  }
  .brand {
    font-size: 18px;
  }
  .container {
    width: calc(100% - 32px);
  }
  .js .nav-actions {
    gap: 0;
  }
  .featured-heading h2 {
    font-size: 21px;
  }
  .featured-bottom p {
    gap: 4px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  a,
  button {
    transition:
      background-color 0.2s,
      color 0.2s,
      border-color 0.2s,
      transform 0.25s;
  }
  .button:active,
  .store-button:active,
  .icon-button:active {
    transform: scale(0.97);
  }
  .hero-copy {
    animation: enter 0.65s both;
  }
  .hero-visual {
    animation: enter 0.8s 0.12s both;
  }
  .reveal-pending {
    opacity: 0;
    transform: translateY(18px);
  }
  .reveal {
    transition:
      opacity 0.6s,
      transform 0.6s;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  @keyframes enter {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal-pending {
    opacity: 1;
    transform: none;
  }
}
/* Native scroll-snap carousel. All screenshots remain browsable without JS. */
.screenshot-carousel {
  margin-block: 34px 28px;
  min-width: 0;
}
.screenshot-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 230px;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  scrollbar-width: thin;
  padding: 8px 3px 18px;
  border-radius: 16px;
}
.screenshot-gallery.carousel-enhanced {
  scrollbar-width: none;
}
.screenshot-gallery.carousel-enhanced::-webkit-scrollbar {
  display: none;
}
.screenshot-slide {
  margin: 0;
  min-width: 0;
  scroll-snap-align: start;
}
.screenshot-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 598 / 1300;
  object-fit: contain;
  border-radius: 16px;
  background: #fdfefb;
  box-shadow: 0 5px 16px var(--shadow);
}
.screenshot-slide figcaption {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 16px;
  text-align: center;
}
.carousel-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 10px;
}
.carousel-source {
  color: var(--muted);
  font-size: 10px;
}
.carousel-pagination {
  display: flex;
  gap: 2px;
  align-items: center;
}
.carousel-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  padding: 0;
}
.carousel-dot::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--muted);
  opacity: 0.6;
}
.carousel-dot[aria-pressed="true"]::after {
  width: 20px;
  background: var(--accent);
  opacity: 1;
}
.carousel-arrows {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-raised);
  color: var(--text);
}
.carousel-arrow:hover:not(:disabled) {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}
.carousel-arrow:disabled {
  opacity: 0.4;
  cursor: default;
}
.carousel-previous .icon {
  transform: rotate(180deg);
}
.featured-store-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.featured-store-actions .button {
  gap: 10px;
}
@media (max-width: 1023px) {
  .screenshot-gallery {
    grid-auto-columns: 210px;
    gap: 20px;
  }
  .featured-bottom {
    flex-wrap: wrap;
  }
}
@media (max-width: 767px) {
  .screenshot-carousel {
    margin-block: 24px;
  }
  .screenshot-gallery {
    grid-auto-columns: 85%;
    gap: 18px;
  }
  .screenshot-slide img {
    border-radius: 16px;
  }
  .carousel-controls {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .carousel-source {
    grid-column: 1;
    grid-row: 1;
  }
  .carousel-arrows {
    grid-column: 2;
    grid-row: 1;
  }
  .carousel-pagination {
    grid-column: 1 / -1;
    justify-content: center;
  }
  .featured-store-actions {
    width: 100%;
  }
  .featured-store-actions .button {
    flex: 1;
    padding-inline: 14px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .carousel-arrow:active:not(:disabled) {
    transform: scale(0.95);
  }
}
