@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/Roboto-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #F5F8FA;
  --surface: #FFFFFF;
  --surface-2: #EAF0F4;
  --text: #0E1B2A;
  --text-2: #546474;
  --line: #D9E2E9;
  --brand: #00B5BB;
  --navy: #004A7E;
  --accent: #00838A;
  --accent-strong: #006A70;
  --accent-soft: #DDF4F5;
  --on-accent: #FFFFFF;
  --ink: #0E2A44;
  --on-ink: #F5F8FA;
  --shadow: 0 1px 2px rgba(10, 30, 50, 0.06), 0 10px 28px rgba(10, 30, 50, 0.07);
  --radius: 18px;
  --max: 1160px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A1017;
    --surface: #111A24;
    --surface-2: #172230;
    --text: #E9EFF5;
    --text-2: #97A6B5;
    --line: #213041;
    --accent: #1CC6CC;
    --accent-strong: #66DEE2;
    --accent-soft: #0E3236;
    --on-accent: #04222A;
    --ink: #E9EFF5;
    --on-ink: #0A1017;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 28px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

body.app-makimedia {
  --accent: #D32F2F;
  --accent-strong: #B71C1C;
  --accent-soft: #FDEAEA;
}

body.app-reroll {
  --accent: #C93D35;
  --accent-strong: #A52E27;
  --accent-soft: #FCE9E7;
}

body.app-md-editor {
  --accent: #3057C8;
  --accent-strong: #2242A3;
  --accent-soft: #E6ECFB;
}

body.app-budget {
  --accent: #534AB7;
  --accent-strong: #3C3489;
  --accent-soft: #EEEDFE;
}

body.app-cpp {
  --accent: #2E64B5;
  --accent-strong: #214C8C;
  --accent-soft: #E4EDFA;
}

body.app-python {
  --accent: #B8860B;
  --accent-strong: #8F6806;
  --accent-soft: #FBF1D9;
}

@media (prefers-color-scheme: dark) {
  body.app-makimedia {
    --accent: #F23636;
    --accent-strong: #FF6B6B;
    --accent-soft: #3A1414;
    --on-accent: #FFFFFF;
  }

  body.app-reroll {
    --accent: #E25149;
    --accent-strong: #F0756E;
    --accent-soft: #3A1715;
    --on-accent: #FFFFFF;
  }

  body.app-md-editor {
    --accent: #7AA2F7;
    --accent-strong: #A8C3FA;
    --accent-soft: #1A2440;
    --on-accent: #0B1220;
  }

  body.app-budget {
    --accent: #8F88E6;
    --accent-strong: #CECBF6;
    --accent-soft: #201B4A;
    --on-accent: #FFFFFF;
  }

  body.app-cpp {
    --accent: #6FA3F0;
    --accent-strong: #A0C2F6;
    --accent-soft: #14233C;
    --on-accent: #0A1424;
  }

  body.app-python {
    --accent: #F2C14E;
    --accent-strong: #F7D684;
    --accent-soft: #33280C;
    --on-accent: #241A02;
  }
}

body {
  --ill-blob: color-mix(in srgb, var(--accent-soft) 80%, var(--accent));
  --ill-blob-hi: color-mix(in srgb, var(--ill-blob) 70%, #FFFFFF);
  --ill-ink: #23272E;
  --ill-ink-hi: #474D57;
  --ill-mid: #D5D9DF;
  --ill-mid-lo: #B9BFC8;
  --ill-paper: #FFFFFF;
  --ill-paper-lo: #E9ECF0;
  --ill-line: #CDD3DA;
  --ill-acc: var(--accent);
  --ill-acc-hi: color-mix(in srgb, var(--accent) 55%, #FFFFFF);
  --ill-shadow: rgba(20, 35, 55, 0.16);
}

@media (prefers-color-scheme: dark) {
  body {
    --ill-blob: color-mix(in srgb, var(--accent-soft) 72%, var(--bg));
    --ill-blob-hi: color-mix(in srgb, var(--ill-blob) 72%, var(--accent));
    --ill-ink: #0A0C10;
    --ill-ink-hi: #262B33;
    --ill-mid: #4F5560;
    --ill-mid-lo: #383D46;
    --ill-paper: #E3E6EA;
    --ill-paper-lo: #B8BEC6;
    --ill-line: #9EA6B1;
    --ill-acc-hi: color-mix(in srgb, var(--accent) 62%, #FFFFFF);
    --ill-shadow: rgba(0, 0, 0, 0.45);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 700;
}

h1 em,
h2 em {
  color: var(--accent);
  font-style: normal;
}

.ico {
  display: inline-block;
  flex: none;
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}

.i-arrow-left { --ico: url("assets/icons/arrow-left.svg"); }
.i-arrow-right { --ico: url("assets/icons/arrow-right.svg"); }
.i-bug { --ico: url("assets/icons/bug.svg"); }
.i-check { --ico: url("assets/icons/check.svg"); }
.i-chevron-down { --ico: url("assets/icons/chevron-down.svg"); }
.i-chevron-right { --ico: url("assets/icons/chevron-right.svg"); }
.i-close { --ico: url("assets/icons/close.svg"); }
.i-code { --ico: url("assets/icons/code.svg"); }
.i-compass { --ico: url("assets/icons/compass.svg"); }
.i-cross { --ico: url("assets/icons/cross.svg"); }
.i-devices { --ico: url("assets/icons/devices.svg"); }
.i-download { --ico: url("assets/icons/download.svg"); }
.i-expand { --ico: url("assets/icons/expand.svg"); }
.i-eye { --ico: url("assets/icons/eye.svg"); }
.i-filter { --ico: url("assets/icons/filter.svg"); }
.i-github { --ico: url("assets/icons/github.svg"); }
.i-google-play { --ico: url("assets/icons/google-play.svg"); }
.i-heart { --ico: url("assets/icons/heart.svg"); }
.i-idea { --ico: url("assets/icons/idea.svg"); }
.i-info { --ico: url("assets/icons/info.svg"); }
.i-mail { --ico: url("assets/icons/mail.svg"); }
.i-menu { --ico: url("assets/icons/menu.svg"); }
.i-microsoft { --ico: url("assets/icons/microsoft.svg"); }
.i-no-account { --ico: url("assets/icons/no-account.svg"); }
.i-no-ads { --ico: url("assets/icons/no-ads.svg"); }
.i-no-tracking { --ico: url("assets/icons/no-tracking.svg"); }
.i-offline { --ico: url("assets/icons/offline.svg"); }
.i-open-source { --ico: url("assets/icons/open-source.svg"); }
.i-play { --ico: url("assets/icons/play.svg"); }
.i-question { --ico: url("assets/icons/question.svg"); }
.i-reroll { --ico: url("assets/icons/reroll.svg"); }
.i-send { --ico: url("assets/icons/send.svg"); }
.i-streaming { --ico: url("assets/icons/streaming.svg"); }
.i-watchlist { --ico: url("assets/icons/watchlist.svg"); }
.i-zoom-in { --ico: url("assets/icons/zoom-in.svg"); }
.i-zoom-out { --ico: url("assets/icons/zoom-out.svg"); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

section {
  padding: 80px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1320px;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.brand .brand-dev {
  color: var(--accent);
}

.app-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.app-crumb img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.app-crumb::before {
  content: "/";
  color: var(--line);
  font-size: 22px;
  font-weight: 400;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 2px;
  left: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  transform: scaleX(0.5);
}

.nav a[aria-current="page"] {
  color: var(--text);
}

.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav a:focus-visible,
.nav-cta:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav .nav-github {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  padding: 8px;
}

.nav .nav-github::after {
  display: none;
}

.nav-github .ico {
  width: 20px;
  height: 20px;
}

.nav-github-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.nav-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.nav-cta .ico {
  width: 16px;
  height: 16px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle .ico {
  width: 20px;
  height: 20px;
}

.menu-toggle .icon-close,
.menu-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--text-2);
  font-size: clamp(17px, 2vw, 20px);
}

.section-head {
  max-width: 660px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.section-head p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--text-2);
}

.section-head.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 22px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.btn .ico {
  width: 26px;
  height: 26px;
}

.btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.btn small {
  color: var(--text-2);
  font-size: 12px;
}

.btn strong {
  font-size: 17px;
  font-weight: 600;
}

.btn.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-ink);
}

.btn.primary small {
  color: inherit;
  opacity: 0.7;
}

.btn.is-soon {
  opacity: 0.55;
  box-shadow: none;
  cursor: default;
}

.btn.is-soon:hover {
  transform: none;
  border-color: var(--ink);
}

.text-link {
  color: var(--text);
  font-weight: 600;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.text-link:hover {
  color: var(--accent-strong);
}

.meta {
  margin: 18px 0 0;
  color: var(--text-2);
  font-size: 14px;
}

.ticks {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 7px 0;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.5;
}

.ticks .ico {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--accent);
}

.studio-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  background:
    radial-gradient(ellipse 45% 60% at 82% 40%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%),
    radial-gradient(ellipse 40% 50% at 8% 0%, color-mix(in srgb, var(--navy) 14%, transparent), transparent 70%);
}

.studio-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.studio-hero .lead {
  max-width: 540px;
}

.icon-cloud {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 460px;
  margin-left: auto;
}

.icon-cloud img {
  position: absolute;
  width: 26%;
  border-radius: 22%;
  box-shadow: 0 18px 40px rgba(10, 30, 50, 0.22);
  transition: transform 0.3s ease;
}

.icon-cloud img:hover {
  transform: translateY(-6px) rotate(-2deg);
}

.icon-cloud .ic-1 { top: 6%; left: 34%; width: 34%; }
.icon-cloud .ic-2 { top: 2%; left: 4%; transform: rotate(-8deg); }
.icon-cloud .ic-3 { top: 18%; right: 0; transform: rotate(7deg); }
.icon-cloud .ic-4 { top: 50%; left: 0; transform: rotate(5deg); }
.icon-cloud .ic-5 { top: 50%; left: 36%; transform: rotate(-4deg); }
.icon-cloud .ic-6 { top: 56%; right: 4%; transform: rotate(-9deg); }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}

.hero-stats span {
  color: var(--text-2);
  font-size: 14px;
}

.featured {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  overflow: hidden;
  padding: 52px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 60% 90% at 100% 50%, rgba(242, 54, 54, 0.18), transparent 70%),
    var(--surface);
}

.featured-app {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.featured-app img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.featured-app span {
  display: flex;
  flex-direction: column;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
}

.featured-app small {
  color: #D32F2F;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.featured h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}

.featured h2 em {
  color: #E23434;
}

.featured p {
  margin: 16px 0 0;
  color: var(--text-2);
}

.featured .btn:hover {
  border-color: #E23434;
}

.featured-shot {
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.featured-shot img {
  width: 100%;
  height: auto;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 34px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.filter {
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.filter:hover {
  color: var(--text);
}

.filter[aria-pressed="true"] {
  background: var(--accent);
  color: var(--on-accent);
}

.filter:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.app-card {
  --card-accent: var(--accent);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, color-mix(in srgb, var(--card-accent) 13%, transparent), transparent 70%),
    var(--surface);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-accent);
  box-shadow: var(--shadow);
}

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

.app-card .card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.app-card .card-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(10, 30, 50, 0.16);
}

.status {
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card-accent) 14%, transparent);
  color: var(--card-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.status.is-soon {
  background: var(--surface-2);
  color: var(--text-2);
}

.app-card h3 {
  margin-top: 20px;
  font-size: 22px;
}

.app-card .tagline {
  margin: 8px 0 0;
  color: var(--text-2);
  font-size: 15.5px;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.platforms li {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 600;
}

.app-card .more {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--card-accent);
  font-size: 15px;
  font-weight: 700;
}

.app-card .more .ico {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}

.app-card:hover .more .ico {
  transform: translateX(4px);
}

.card-makimedia { --card-accent: #E23434; }
.card-reroll { --card-accent: #E25149; }
.card-md-editor { --card-accent: #4F7BE0; }
.card-budget { --card-accent: #6F66D6; }
.card-cpp { --card-accent: #3D74C9; }
.card-python { --card-accent: #D19A12; }

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.value {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg);
}

.value .ico {
  width: 34px;
  height: 34px;
  color: var(--accent);
}

.value h3 {
  margin-top: 16px;
  font-size: 20px;
}

.value p {
  margin: 10px 0 0;
  color: var(--text-2);
  font-size: 15.5px;
}

.about {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.about img {
  width: 220px;
  height: auto;
  border-radius: 28px;
  background: #FFFFFF;
  box-shadow: var(--shadow);
}

.about h2 {
  font-size: clamp(28px, 4vw, 38px);
}

.about p {
  margin: 14px 0 0;
  color: var(--text-2);
}

.cta-band {
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 60% 100% at 0% 0%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%),
    radial-gradient(ellipse 50% 90% at 100% 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
    var(--surface);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(28px, 4vw, 38px);
}

.cta-band p {
  max-width: 560px;
  margin: 14px auto 0;
  color: var(--text-2);
}

.cta-band .buttons {
  justify-content: center;
}

.app-hero {
  padding: 80px 0 48px;
  background: radial-gradient(ellipse 50% 70% at 80% 40%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
}

.app-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 64px;
  align-items: center;
}

.app-hero.wide .wrap {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.app-mark {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}

.app-mark img {
  width: 80px;
  height: 80px;
  border-radius: 19px;
  box-shadow: var(--shadow);
}

.app-mark span {
  display: flex;
  flex-direction: column;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
}

.app-mark small {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
}

.app-hero h1 {
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.04;
}

.app-hero .lead {
  max-width: 560px;
}

.phone-frame {
  justify-self: center;
  width: 300px;
  padding: 10px;
  border-radius: 40px;
  background: linear-gradient(160deg, #2C2C2C, #141414);
  box-shadow: inset 0 0 0 2px #3A3A3A, 0 40px 80px rgba(0, 0, 0, 0.35);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
}

.ill-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.st-acc { stop-color: var(--ill-acc); }
.st-acc-hi { stop-color: var(--ill-acc-hi); }
.st-ink { stop-color: var(--ill-ink); }
.st-ink-hi { stop-color: var(--ill-ink-hi); }
.st-mid { stop-color: var(--ill-mid); }
.st-mid-lo { stop-color: var(--ill-mid-lo); }
.st-paper { stop-color: var(--ill-paper); }
.st-paper-lo { stop-color: var(--ill-paper-lo); }
.st-blob { stop-color: var(--ill-blob); }
.st-blob-hi { stop-color: var(--ill-blob-hi); }

.art .blob { fill: url(#ill-blob); }
.art .ink { fill: url(#ill-ink); }
.art .mid { fill: url(#ill-mid); }
.art .paper { fill: url(#ill-paper); }
.art .acc { fill: url(#ill-acc); }
.art .acc-hi { fill: var(--ill-acc-hi); }
.art .acc-flat { fill: var(--ill-acc); }
.art .line { fill: var(--ill-line); }
.art .floor { fill: var(--ill-shadow); }
.art .spark { fill: var(--ill-acc); }
.art .paper-soft { fill: var(--ill-paper); opacity: 0.55; }
.art .ink-soft { fill: var(--ill-ink); opacity: 0.35; }
.art .shine { fill: #FFFFFF; opacity: 0.25; }
.art .track { fill: var(--ill-paper); opacity: 0.35; }

.art .stroke-acc {
  fill: none;
  stroke: var(--ill-acc);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.art .stroke-paper {
  fill: none;
  stroke: var(--ill-paper);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.art .stroke-ink {
  fill: none;
  stroke: var(--ill-ink);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.art .thin { stroke-width: 2.5; }
.art .w5 { stroke-width: 5; }
.art .w7 { stroke-width: 7; }

.art .knob {
  fill: var(--ill-paper);
  stroke: var(--ill-acc);
  stroke-width: 2.5;
}

.art .label-paper.small,
.art .label-ink.small {
  font-size: 9px;
}

.art .label-paper.med,
.art .label-ink.med {
  font-size: 16px;
}

.art .label-paper.big,
.art .label-ink.big {
  font-size: 30px;
  letter-spacing: -0.02em;
}

.art .ring-track {
  fill: none;
  stroke: var(--ill-paper);
  stroke-width: 12;
  opacity: 0.22;
}

.art .ring-fill {
  fill: none;
  stroke: var(--ill-acc);
  stroke-width: 12;
  stroke-linecap: round;
}

.art .ring-soft {
  fill: none;
  stroke: var(--ill-acc-hi);
  stroke-width: 12;
}

.art .link {
  fill: none;
  stroke: var(--ill-acc);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 0.5 7;
}

.art .flow {
  fill: none;
  stroke: var(--ill-acc);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 0.5 10;
  animation: flow 1.1s linear infinite;
}

.art .spin {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 6s linear infinite;
}

.art .bob {
  animation: bob 3.6s ease-in-out infinite;
}

.art .bob.late {
  animation-delay: -1.8s;
}

.art .label-ink {
  fill: var(--ill-ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
}

.art .label-paper {
  fill: #FFFFFF;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
}

.art .cap {
  fill: var(--text-2);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@keyframes flow {
  to {
    stroke-dashoffset: -10.5;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.hero-art {
  display: block;
  width: 540px;
  max-width: 100%;
  height: auto;
  justify-self: center;
}

.ill-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 40px;
}

.ill-feature {
  text-align: center;
}

.ill-feature .art {
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 0 auto 20px;
}

.ill-feature h3 {
  font-size: 21px;
}

.ill-feature p {
  max-width: 330px;
  margin: 10px auto 0;
  color: var(--text-2);
  font-size: 16px;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps-row li {
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  counter-increment: step;
}

.steps-row li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 17px;
  font-weight: 700;
}

.steps-row h3 {
  font-size: 19px;
}

.steps-row p {
  margin: 8px 0 0;
  color: var(--text-2);
  font-size: 15.5px;
}

.hero-icon {
  justify-self: center;
  width: 260px;
  height: auto;
  border-radius: 58px;
  box-shadow: 0 40px 90px color-mix(in srgb, var(--accent) 30%, rgba(0, 0, 0, 0.35));
}

.window-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.window-frame img {
  width: 100%;
  height: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
}

.feature h3 {
  font-size: 20px;
}

.feature p {
  margin: 10px 0 0;
  color: var(--text-2);
  font-size: 16px;
}

.app-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-facts li {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.app-facts .ico {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.app-facts strong {
  display: block;
  margin-top: 12px;
  font-size: 16px;
}

.app-facts span {
  display: block;
  margin-top: 4px;
  color: var(--text-2);
  font-size: 14px;
}

main p code,
main li code {
  overflow-wrap: anywhere;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  margin-top: 26px;
}

.fine-print {
  max-width: 720px;
  margin: 28px auto 0;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.screenshots {
  max-width: 1440px;
  padding-bottom: 72px;
}

.screenshots.has-tabs {
  padding-top: 72px;
  background: radial-gradient(ellipse 55% 48% at 50% 58%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 72%);
}

.screenshots .section-head {
  margin-bottom: 28px;
}

.gallery {
  --w: 560px;
  --ar: 16 / 10;
  min-width: 0;
  border-radius: var(--radius);
}

.gallery:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 8px;
}

.gallery h3 {
  margin-bottom: 16px;
  font-size: 19px;
  font-weight: 600;
  text-align: center;
}

.has-tabs .gallery h3 {
  display: none;
}

.gallery.desktop {
  --w: 1240px;
  --ar: 1650 / 1050;
}

.gallery.tablet {
  --w: 1240px;
  --ar: 1920 / 1412;
}

.gallery.phone {
  --w: 400px;
  --ar: 1080 / 2193;
}

.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.viewport {
  position: relative;
  flex: 0 1 min(var(--w), calc(max(360px, 100vh - 210px) * (var(--ar))));
  min-width: 0;
  overflow: hidden;
}

.strip {
  display: flex;
  gap: 20px;
  margin: -4px -4px 0;
  padding: 4px 4px 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--line) transparent;
  scrollbar-width: thin;
}

.is-carousel .strip {
  gap: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  scroll-snap-type: none;
  transition: transform 0.35s ease;
}

.shot {
  flex: none;
  margin: 0;
  scroll-snap-align: start;
}

.is-carousel .shot {
  flex: 0 0 100%;
}

.shot .frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(var(--w), 82vw);
  aspect-ratio: var(--ar);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.is-carousel .shot .frame {
  width: 100%;
  border-color: color-mix(in srgb, var(--text) 16%, transparent);
  background: #0A0A0A;
}

.gallery.tablet .frame {
  border: 6px solid var(--surface-2);
}

.shot .frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shot .frame img.zoomable {
  cursor: zoom-in;
}

.shot figcaption {
  margin-top: 14px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.expand {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.66);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.expand .ico {
  width: 15px;
  height: 15px;
}

.expand:hover {
  border-color: var(--accent);
  background: rgba(10, 10, 10, 0.82);
}

.expand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.gallery.tablet .expand {
  top: 20px;
  right: 20px;
}

.arrow {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, opacity 0.15s ease;
}

.arrow .ico {
  width: 20px;
  height: 20px;
}

.arrow:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.gallery.single .arrow,
.gallery.single .counter {
  visibility: hidden;
}

.counter {
  margin: 8px 0 0;
  color: var(--text-2);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.has-thumbs .counter {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.thumbs {
  position: relative;
  display: flex;
  justify-content: safe center;
  gap: 8px;
  max-width: min(100%, 1240px);
  margin: 18px auto 0;
  padding: 4px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-color: var(--line) transparent;
  scrollbar-width: thin;
}

.thumb {
  flex: none;
  width: 68px;
  aspect-ratio: var(--ar);
  padding: 0;
  border: 0;
  outline: 1px solid var(--line);
  background: var(--surface-2);
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.15s ease, outline-color 0.15s ease;
}

.gallery.phone .thumb {
  width: 38px;
}

.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb:hover {
  opacity: 0.85;
}

.thumb[aria-current="true"] {
  opacity: 1;
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.thumb:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.device-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 24px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.device-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.device-tab:hover {
  color: var(--text);
}

.device-tab[aria-selected="true"] {
  background: var(--accent);
  color: var(--on-accent);
}

.device-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.device-tab-count {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 16%, transparent);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

html.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 64px 24px 24px;
  background: #080808;
  color: #ECECEC;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-stage {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 100%;
  margin: 0;
}

.lightbox-canvas {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

.lightbox-canvas img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  cursor: zoom-in;
  touch-action: none;
  transform-origin: center;
  transition: transform 0.25s ease;
  -webkit-user-select: none;
  user-select: none;
}

.lightbox.is-zoomed .lightbox-canvas img {
  cursor: grab;
}

.lightbox.is-dragging .lightbox-canvas img {
  cursor: grabbing;
}

.lightbox.is-instant .lightbox-canvas img {
  transition: none;
}

.lightbox-stage figcaption {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 600;
}

.lightbox-count,
.lightbox-hint {
  color: #A9A6A0;
  font-weight: 400;
}

.lightbox-count {
  font-variant-numeric: tabular-nums;
}

.lightbox .arrow {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.lightbox .arrow:hover:not(:disabled) {
  border-color: var(--brand);
  color: #7FE3E6;
}

.lightbox .arrow:disabled {
  opacity: 0.2;
}

.lightbox.single .arrow {
  visibility: hidden;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  cursor: pointer;
}

.lightbox-close:hover {
  border-color: var(--brand);
  color: #7FE3E6;
}

.lightbox-close .ico {
  width: 20px;
  height: 20px;
}

.lightbox-tools {
  position: absolute;
  top: 14px;
  right: 68px;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 44px;
  padding: 0 3px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-tool,
.lightbox-level {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #FFFFFF;
  font: inherit;
  cursor: pointer;
}

.lightbox-tool {
  width: 36px;
}

.lightbox-tool .ico {
  width: 18px;
  height: 18px;
}

.lightbox-level {
  min-width: 56px;
  padding: 0 6px;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.lightbox-tool:hover:not(:disabled),
.lightbox-level:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #7FE3E6;
}

.lightbox-tool:disabled {
  opacity: 0.35;
  cursor: default;
}

.lightbox.is-zoomed .lightbox-tools {
  border-color: var(--brand);
}

.doc {
  max-width: 780px;
  padding-top: 64px;
  padding-bottom: 88px;
}

.doc .doc-app {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.doc .doc-app img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.doc h1 {
  font-size: clamp(34px, 5vw, 46px);
}

.doc .updated {
  margin: 12px 0 36px;
  color: var(--text-2);
}

.doc h2 {
  margin: 44px 0 12px;
  font-size: 24px;
}

.doc p,
.doc li {
  color: var(--text-2);
}

.doc strong {
  color: var(--text);
}

.doc a {
  color: var(--text);
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.doc ul {
  padding-left: 22px;
}

.doc li {
  margin: 6px 0;
}

.summary {
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
}

.summary p {
  margin: 0;
  color: var(--text);
}

.contact-page {
  padding-top: 64px;
  padding-bottom: 96px;
}

.contact-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.contact-head h1 {
  font-size: clamp(34px, 5vw, 48px);
}

.contact-head p {
  margin: 14px 0 0;
  color: var(--text-2);
  font-size: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.form-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%),
    var(--surface);
}

.contact-form[hidden],
.form-sent[hidden] {
  display: none;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.field label {
  font-size: 14px;
  font-weight: 600;
}

.optional {
  margin-left: 4px;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field select {
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-repeat: no-repeat;
  background-size: 5px 5px;
  appearance: none;
  cursor: pointer;
}

.field textarea {
  min-height: 160px;
  line-height: 1.5;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-2);
  opacity: 0.7;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

.botcheck {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-note {
  margin: 2px 0 22px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.55;
}

.form-note a,
.contact-aside a {
  color: var(--text);
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px 12px 20px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.submit-button:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.submit-button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.submit-button .ico {
  width: 18px;
  height: 18px;
}

.form-status {
  flex: 1 1 220px;
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
}

.form-status.is-error {
  color: #D32F2F;
}

.form-sent {
  padding: 28px 8px;
  text-align: center;
}

.sent-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

.sent-icon .ico {
  width: 30px;
  height: 30px;
}

.form-sent h2 {
  font-size: 26px;
}

.form-sent h2:focus {
  outline: none;
}

.form-sent p {
  max-width: 380px;
  margin: 10px auto 22px;
  color: var(--text-2);
}

.text-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  cursor: pointer;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.aside-item {
  display: flex;
  gap: 16px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}

.aside-item > .ico {
  color: var(--accent);
}

.aside-item h2 {
  font-size: 17px;
  font-weight: 700;
}

.aside-item p {
  margin: 6px 0 0;
  color: var(--text-2);
  font-size: 15px;
}

.not-found {
  max-width: 720px;
  padding-top: 96px;
  padding-bottom: 120px;
  text-align: center;
}

.not-found-code {
  margin: 0;
  color: var(--accent);
  font-size: clamp(72px, 14vw, 120px);
  font-weight: 700;
  line-height: 1;
}

.not-found h1 {
  margin-top: 18px;
  font-size: clamp(30px, 5vw, 42px);
}

.not-found > p:not(.not-found-code) {
  max-width: 480px;
  margin: 14px auto 0;
  color: var(--text-2);
  font-size: 18px;
}

.not-found .buttons {
  justify-content: center;
}

.site-footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-brand img {
  width: 110px;
  height: auto;
  border-radius: 14px;
  background: #FFFFFF;
}

.footer-brand p {
  max-width: 300px;
  margin: 14px 0 0;
}

.footer-col h2 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin: 8px 0;
}

.footer-col a {
  font-weight: 600;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
}

.tmdb-note {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tmdb-note img {
  width: 78px;
  flex: none;
}

@media (max-width: 1000px) {
  .ill-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-grid,
  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .studio-hero .wrap,
  .featured,
  .app-hero .wrap,
  .app-hero.wide .wrap,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .icon-cloud {
    max-width: 380px;
    margin: 0 auto;
  }

  .about {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .about img {
    width: 180px;
  }
}

@media (max-width: 920px) {
  .site-header .wrap {
    gap: 12px;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 10px 24px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 13px 12px;
    font-size: 16px;
  }

  .nav a::after {
    top: 12px;
    right: auto;
    bottom: 12px;
    left: 0;
    width: 3px;
    height: auto;
    transform: scaleY(0);
  }

  .nav a[aria-current="page"] {
    background: var(--surface);
  }

  .nav a[aria-current="page"]::after {
    transform: scaleY(1);
  }

  .nav a:hover::after {
    transform: scaleY(0.5);
  }

  .nav .nav-github {
    margin: 6px 0 0;
    padding: 13px 12px;
    border-top: 1px solid var(--line);
    border-radius: 0;
  }

  .nav-github-label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }

  .app-crumb span {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding-right: 16px;
    padding-left: 16px;
  }

  .nav {
    padding-right: 16px;
    padding-left: 16px;
  }

  .site-header .wrap {
    gap: 10px;
  }

  .brand {
    gap: 8px;
    font-size: 16px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .app-crumb {
    gap: 8px;
  }

  .app-crumb::before {
    font-size: 18px;
  }

  .nav-cta {
    padding: 8px 13px;
    font-size: 13px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  section {
    padding: 56px 0;
  }

  .studio-hero {
    padding: 56px 0;
  }

  .app-hero {
    padding: 48px 0 32px;
  }

  .btn {
    justify-content: center;
    width: 100%;
  }

  .app-grid,
  .values,
  .feature-grid,
  .feature-grid.three,
  .ill-features,
  .steps-row,
  .field-row {
    grid-template-columns: 1fr;
  }

  .field-row {
    gap: 0;
  }

  .app-facts {
    grid-template-columns: 1fr 1fr;
  }

  .featured,
  .cta-band {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .form-card {
    padding: 22px 18px;
  }

  .submit-button {
    justify-content: center;
    width: 100%;
  }

  .filters {
    flex-wrap: nowrap;
    gap: 2px;
  }

  .filter {
    padding: 8px 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  .phone-frame {
    width: 240px;
  }

  .gallery.phone {
    --w: 240px;
  }

  .device-tabs {
    flex-wrap: nowrap;
    gap: 2px;
    margin-bottom: 18px;
  }

  .device-tab {
    padding: 8px 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  .device-tab-count {
    display: none;
  }

  .screenshots.has-tabs {
    padding-top: 48px;
  }

  .thumb {
    width: 56px;
  }

  .carousel {
    position: relative;
  }

  .viewport {
    flex-basis: 100%;
    max-width: var(--w);
  }

  .arrow {
    position: absolute;
    top: calc(50% - 32px);
    z-index: 1;
    width: 36px;
    height: 36px;
    background: color-mix(in srgb, var(--surface) 85%, transparent);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }

  .arrow.prev {
    left: 6px;
  }

  .arrow.next {
    right: 6px;
  }

  .gallery.phone .arrow.prev {
    left: calc(50% - var(--w) / 2 - 18px);
  }

  .gallery.phone .arrow.next {
    right: calc(50% - var(--w) / 2 - 18px);
  }

  .arrow:disabled {
    opacity: 0;
    pointer-events: none;
  }

  .expand {
    top: 8px;
    right: 8px;
    padding: 9px;
  }

  .gallery.tablet .expand {
    top: 12px;
    right: 12px;
  }

  .expand-label {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
