:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #5d6972;
  --paper: #f5f5f7;
  --line: #e3e3e8;
  --green: #1e9d73;
  --coral: #ef6b5a;
  --blue: #2f7dcc;
  --gold: #f4b942;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(23, 32, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--paper);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 16px 18px auto;
  z-index: 10;
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(12, 17, 20, 0.94);
  box-shadow: 0 14px 36px rgba(23, 32, 38, 0.22);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  font-size: clamp(1.75rem, 3.2vw, 3.1rem);
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-title {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.28em;
}

.brand-title span:first-child {
  color: #fff;
  text-shadow: 2px 2px 0 #008cff;
}

.brand-title span:last-child {
  color: #ff4058;
  text-shadow: 2px 2px 0 #7b1020;
}

.brand-logo {
  width: 74px;
  height: 74px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 8px 18px rgba(23, 32, 38, 0.14);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 132px 20px 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(0, 140, 255, 0.18), transparent 30%),
    radial-gradient(circle at 78% 28%, rgba(255, 64, 88, 0.16), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f5f5f7 56%, #fff 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  margin: 0 auto -12px;
  text-align: center;
}

.hero h1 {
  max-width: 920px;
  margin: 0 auto;
  color: #111;
  font-size: clamp(3.25rem, 9vw, 8.6rem);
  font-weight: 1000;
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-media {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 310px));
  justify-content: center;
  align-items: end;
  gap: clamp(16px, 3vw, 42px);
  width: min(1200px, 100%);
  margin: 38px auto -72px;
}

.hero-shot {
  position: relative;
  width: 100%;
}

.hero-shot img {
  width: 100%;
  aspect-ratio: 6 / 13;
  object-fit: cover;
  border-radius: 34px;
  border: 1px solid rgba(23, 32, 38, 0.08);
  box-shadow: 0 34px 90px rgba(23, 32, 38, 0.2);
}

.hero-badge {
  position: absolute;
  top: -28px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 15px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #ff2f55;
  color: #fff;
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  font-weight: 1000;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(23, 32, 38, 0.22);
}

.hero-shot:nth-child(1) {
  transform: translateY(46px) rotate(-6deg);
}

.hero-shot:nth-child(2) {
  transform: translateY(0) rotate(1deg);
}

.hero-shot:nth-child(3) {
  transform: translateY(46px) rotate(6deg);
}

.category {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  background: #0071e3;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 113, 227, 0.22);
}

.download-button-disabled {
  background: #59636d;
  box-shadow: none;
  cursor: default;
}

.app-list {
  display: grid;
  gap: 0;
  width: 100%;
  margin: 0 auto;
  padding: 54px 0 0;
}

.app-card {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  overflow: hidden;
  width: 100%;
  min-height: 620px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 92px) max(20px, calc((100vw - 1280px) / 2));
  border: 0;
  background: #fff;
  box-shadow: none;
}

.app-details {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  align-items: start;
}

.app-icon {
  width: 82px;
  height: 82px;
  border-radius: 20px;
  box-shadow: 0 12px 26px rgba(23, 32, 38, 0.18);
}

.app-card h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5.8vw, 5.9rem);
  font-weight: 1000;
  line-height: 0.92;
  letter-spacing: 0;
}

.app-card p:not(.category) {
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.45;
}

.screenshots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 220px);
  gap: 18px;
  overflow-x: auto;
  padding: 18px 2px 26px;
  overscroll-behavior-x: contain;
  scrollbar-color: #bec9c1 transparent;
}

.screenshots img {
  width: 100%;
  aspect-ratio: 6 / 13;
  object-fit: cover;
  border: 1px solid rgba(23, 32, 38, 0.1);
  border-radius: 28px;
  background: #f1f5f2;
  box-shadow: 0 28px 54px rgba(23, 32, 38, 0.18);
}

.screenshots-landscape {
  grid-auto-columns: minmax(250px, 340px);
}

.screenshots-landscape img {
  aspect-ratio: 1286 / 594;
  border-radius: 16px;
}

.accent-green .category {
  color: var(--green);
}

.accent-coral .category {
  color: var(--coral);
}

.accent-blue .category {
  color: var(--blue);
}

.accent-gold .category {
  color: #b87900;
}

.accent-purple .category {
  color: #7c4ec7;
}

.accent-aac .category {
  color: #9b24d6;
}

.accent-aac {
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 47, 125, 0.16), transparent 30%),
    linear-gradient(135deg, #fff 0%, #f3f2ff 52%, #edfbff 100%);
}

.accent-green {
  background: linear-gradient(135deg, #fff 0%, #effaf5 100%);
}

.accent-coral {
  background: linear-gradient(135deg, #fff 0%, #fff1ee 100%);
}

.accent-blue {
  background: linear-gradient(135deg, #fff 0%, #eef6ff 100%);
}

.accent-gold {
  background: linear-gradient(135deg, #fff 0%, #fff8df 100%);
}

.accent-purple {
  background: linear-gradient(135deg, #fff 0%, #f5efff 100%);
}

.site-footer {
  padding: 30px 20px 44px;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.footer-links a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.page-main {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 148px 0 76px;
}

.content-panel {
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 48px rgba(23, 32, 38, 0.08);
}

.content-panel h1 {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.content-panel h2 {
  margin: 32px 0 10px;
  font-size: 1.35rem;
}

.content-panel p,
.content-panel li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.content-panel p {
  margin: 0 0 14px;
}

.content-panel ul {
  margin: 0;
  padding-left: 20px;
}

.content-panel a {
  color: var(--blue);
  font-weight: 800;
}

.policy-date {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
}

.suggestion-form {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.field-label {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.app-picker {
  position: relative;
}

.app-picker-button,
.app-picker-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.app-picker-button {
  min-height: 58px;
  padding: 10px 14px;
}

.app-picker-button::after {
  content: "v";
  margin-left: auto;
  color: var(--muted);
  font-size: 0.9rem;
}

.app-picker img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(23, 32, 38, 0.14);
}

.app-picker-menu {
  position: static;
  z-index: 20;
  display: grid;
  gap: 4px;
  max-height: none;
  margin: 8px 0 0;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(23, 32, 38, 0.16);
  list-style: none;
}

.app-picker-menu[hidden] {
  display: none;
}

.app-picker-menu button {
  min-height: 48px;
  padding: 5px 10px;
}

.app-picker-menu button:hover {
  background: #f4faf6;
}

.suggestion-form textarea {
  min-height: 180px;
  resize: vertical;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
}

.suggestion-form textarea:focus,
.app-picker-button:focus {
  outline: 3px solid rgba(47, 125, 204, 0.24);
  outline-offset: 2px;
}

.send-button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.form-message {
  margin: 2px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: #eff7f1;
  color: #234138;
  font-weight: 900;
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    inset: 12px 12px auto;
    padding: 12px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
  }

  .hero {
    min-height: 72vh;
    padding-top: 172px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 7.6vw, 5rem);
  }

  .hero-media {
    grid-template-columns: repeat(3, minmax(110px, 165px));
    justify-content: center;
    margin: 26px auto -52px;
  }

  .app-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 40px 22px;
  }

}

@media (max-width: 560px) {
  .brand-logo {
    width: 64px;
    height: 64px;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .hero {
    min-height: 68vh;
    padding: 158px 14px 0;
  }

  .hero-media {
    grid-template-columns: repeat(3, 27vw);
    gap: 10px;
    margin-bottom: -28px;
  }

  .hero-shot img {
    border-radius: 20px;
  }

  .app-list {
    padding-top: 38px;
  }

  .app-details {
    grid-template-columns: 64px 1fr;
    gap: 14px;
  }

  .app-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .screenshots {
    grid-auto-columns: minmax(118px, 42vw);
  }

}
