@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: #F4F2EE;
  --surface: #FFFFFF;
  --surface-2: #ECE9E3;
  --text: #1B1B1B;
  --text-2: #5A5752;
  --line: #DDD9D1;
  --gold: #D32F2F;
  --gold-strong: #B71C1C;
  --gold-soft: #FDEAEA;
  --on-gold: #FFFFFF;
  --charcoal: #1F1F1F;
  --on-charcoal: #F4F2EE;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.06);
  --radius: 16px;
  --max: 1120px;
  --ill-blob: color-mix(in srgb, var(--gold-soft) 82%, var(--gold));
  --ill-blob-hi: color-mix(in srgb, var(--ill-blob) 70%, #FFFFFF);
  --ill-ink: #242321;
  --ill-ink-hi: #4A4844;
  --ill-mid: #D6CFC2;
  --ill-mid-lo: #BDB4A4;
  --ill-paper: #FFFFFF;
  --ill-paper-lo: #EEE9E0;
  --ill-line: #D8D1C4;
  --ill-gold: var(--gold);
  --ill-gold-hi: color-mix(in srgb, var(--ill-gold) 58%, #FFFFFF);
  --ill-shadow: rgba(70, 55, 30, 0.16);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --surface: #1C1C1C;
    --surface-2: #242424;
    --text: #ECECEC;
    --text-2: #A9A6A0;
    --line: #2E2E2E;
    --gold: #F23636;
    --gold-strong: #FF6B6B;
    --gold-soft: #3A1414;
    --on-gold: #FFFFFF;
    --charcoal: #ECECEC;
    --on-charcoal: #151515;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3);
    --ill-blob: color-mix(in srgb, var(--gold-soft) 70%, var(--bg));
    --ill-blob-hi: color-mix(in srgb, var(--ill-blob) 72%, var(--gold));
    --ill-ink: #0B0B0B;
    --ill-ink-hi: #2A2A2A;
    --ill-mid: #57524A;
    --ill-mid-lo: #3C3833;
    --ill-paper: #E4DFD5;
    --ill-paper-lo: #BDB7AC;
    --ill-line: #A8A296;
    --ill-gold: var(--gold);
    --ill-gold-hi: color-mix(in srgb, var(--ill-gold) 62%, #FFFFFF);
    --ill-shadow: rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

*,
*::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%;
}

.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-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-getting-started { --ico: url("assets/icons/getting-started.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-subscription { --ico: url("assets/icons/no-subscription.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-question { --ico: url("assets/icons/question.svg"); }
.i-rss { --ico: url("assets/icons/rss.svg"); }
.i-send { --ico: url("assets/icons/send.svg"); }
.i-series { --ico: url("assets/icons/series.svg"); }
.i-streaming { --ico: url("assets/icons/streaming.svg"); }
.i-translate { --ico: url("assets/icons/translate.svg"); }
.i-troubleshooting { --ico: url("assets/icons/troubleshooting.svg"); }
.i-zoom-in { --ico: url("assets/icons/zoom-in.svg"); }
.i-zoom-out { --ico: url("assets/icons/zoom-out.svg"); }

a {
  color: inherit;
}

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

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

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

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

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.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(--gold);
  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(--gold);
  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(--gold);
  color: var(--on-gold);
  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;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
  background:
    radial-gradient(ellipse 50% 60% at 78% 45%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 10%, color-mix(in srgb, var(--gold) 7%, transparent), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.2fr;
  gap: 48px;
  align-items: center;
  max-width: 1320px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 5px 12px 5px 5px;
  border: 1px solid color-mix(in srgb, var(--gold) 38%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--gold) 9%, var(--surface));
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 0 24px color-mix(in srgb, var(--gold) 14%, transparent);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.hero-badge:hover {
  border-color: var(--gold);
  background: color-mix(in srgb, var(--gold) 15%, var(--surface));
}

.hero-badge.is-static {
  margin-top: 0;
  padding-right: 14px;
}

.hero-badge.is-static:hover {
  border-color: color-mix(in srgb, var(--gold) 38%, transparent);
  background: color-mix(in srgb, var(--gold) 9%, var(--surface));
}

.hero-badge-tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-badge .ico {
  width: 16px;
  height: 16px;
  color: var(--text-2);
  transition: transform 0.15s ease, color 0.15s ease;
}

.hero-badge:hover .ico {
  transform: translateX(3px);
  color: var(--gold);
}

.hero-copy h1 {
  font-size: clamp(36px, 4.4vw, 58px);
}

.hero .lead {
  max-width: 560px;
  margin: 20px 0 0;
}

.hero .buttons {
  justify-content: flex-start;
  margin-top: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points .ico {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.hero-visual {
  position: relative;
}

.hero-art {
  display: block;
  width: 100%;
  height: auto;
}

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

.art .pulse-ring {
  fill: var(--ill-gold);
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 2.4s ease-out infinite;
}

.art .chip-text {
  fill: #FFFFFF;
  font-family: inherit;
  font-size: 13px;
  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 pulse {
  from {
    transform: scale(1);
    opacity: 0.6;
  }
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .art .flow,
  .art .pulse-ring {
    animation: none;
  }
}

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

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

h1 .accent {
  color: var(--gold);
}

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

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

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

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

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

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

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

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

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

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

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

.screenshots {
  max-width: 1440px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 72px;
}

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

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

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

.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;
}

.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: #F23636;
  background: rgba(10, 10, 10, 0.82);
}

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

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

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

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

.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-width: thin;
  scrollbar-color: var(--line) transparent;
}

.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(--gold);
  outline-offset: 1px;
}

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

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

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

.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(--gold);
  color: var(--on-gold);
}

.device-tab:focus-visible {
  outline: 2px solid var(--gold);
  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;
}

.device-tab-count.is-soon {
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

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

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

.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  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(--gold);
  color: var(--gold-strong);
}

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

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

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

.gallery.desktop {
  --w: 1240px;
  --ar: 1800 / 1156;
}

.gallery.tv {
  --w: 1240px;
  --ar: 16 / 9;
}

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

.gallery.phone {
  --w: 300px;
  --ar: 9 / 19.5;
}

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

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

.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: linear-gradient(135deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow);
  color: var(--text-2);
  font-size: 14px;
}

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

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

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;
  transform-origin: center;
  transition: transform 0.25s ease;
  -webkit-user-select: none;
  user-select: none;
}

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

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

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

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

.lightbox-count {
  color: #A9A6A0;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

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

.lightbox .arrow:hover:not(:disabled) {
  border-color: #F23636;
  color: #FF6B6B;
}

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

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

.lightbox-close,
.lightbox-zoom {
  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-zoom {
  right: 68px;
}

.lightbox-close:hover,
.lightbox-zoom:hover {
  border-color: #F23636;
  color: #FF6B6B;
}

.lightbox-zoom[aria-pressed="true"] {
  border-color: #F23636;
  background: rgba(242, 54, 54, 0.18);
}

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

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

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

section {
  padding: 72px 0;
}

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

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

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

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold-strong);
}

.card .icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 19px;
  font-weight: 600;
}

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

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

.alt .card {
  background: var(--bg);
}

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

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

.feature {
  text-align: center;
}

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

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

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

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

.st-accent {
  stop-color: var(--ill-gold);
}

.st-accent-hi {
  stop-color: var(--ill-gold-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 .line {
  fill: var(--ill-line);
}

.art .gold {
  fill: url(#ill-accent);
}

.art .gold-hi {
  fill: var(--ill-gold-hi);
}

.art .floor {
  fill: var(--ill-shadow);
}

.art .spark {
  fill: var(--ill-gold);
}

.art .paper-soft {
  fill: var(--ill-paper);
  opacity: 0.55;
}

.art .ink-soft {
  fill: var(--ill-ink);
  opacity: 0.35;
}

.art .hole {
  fill: var(--ill-paper);
  opacity: 0.45;
}

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

.art .ring {
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 2.5;
  opacity: 0.35;
}

.art .avatar {
  fill: var(--ill-mid-lo);
  stroke: var(--ill-blob);
  stroke-width: 3;
}

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

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

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

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

.art .shine {
  fill: #FFFFFF;
  opacity: 0.25;
}

.art .track {
  fill: var(--ill-paper);
  opacity: 0.35;
}

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

.art .wave {
  fill: none;
  stroke: var(--ill-gold);
  stroke-width: 5;
  stroke-linecap: round;
}

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

.device-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.device {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.device:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--gold) 55%, var(--line));
  box-shadow: var(--shadow);
}

.device-art {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px 20px;
  background:
    radial-gradient(ellipse 70% 80% at 50% 30%, color-mix(in srgb, var(--gold) 20%, transparent), transparent 70%),
    var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.device-art .art {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.device-body {
  padding: 24px 28px 30px;
}

.input-tag {
  display: block;
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.device h3 {
  font-size: 22px;
  font-weight: 700;
}

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

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

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

.crosses .ico {
  color: var(--text-2);
}

.is-isnt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 920px;
  margin: 0 auto;
}

.is-isnt h3 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 700;
}

.is-isnt .ticks li {
  font-size: 16px;
}

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

.art .key {
  fill: var(--ill-paper);
  opacity: 0.55;
}

.art .ripple {
  fill: none;
  stroke: var(--ill-gold);
  stroke-width: 3;
}

.art .ripple.faint {
  opacity: 0.45;
}

.art .focus {
  fill: none;
  stroke: var(--ill-paper);
  stroke-width: 3;
}

.promise {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
  padding: 56px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 90% at 0% 0%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 70%),
    var(--bg);
}

.promise-text h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.promise-text > p:not(.hero-badge) {
  margin: 16px 0 0;
  color: var(--text-2);
}

.promise-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

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

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

.promises {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.promises li {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
}

.promises li > span:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 14px;
  line-height: 1.4;
}

.promises strong {
  min-width: 150px;
  font-size: 17px;
  font-weight: 700;
}

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

.promise-icon {
  display: flex;
  flex: none;
  color: var(--gold);
}

.cta {
  text-align: center;
}

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

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

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

.cta-note {
  max-width: 520px;
  margin: 22px auto 0;
  color: var(--text-2);
  font-size: 15px;
}

.cta-note a {
  color: var(--text);
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.gallery-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 320px;
  padding: 40px 24px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: var(--surface);
  text-align: center;
}

.gallery-soon .ico {
  width: 40px;
  height: 40px;
  color: var(--gold);
}

.gallery-soon p {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 380px;
  margin: 0;
  color: var(--text-2);
}

.gallery-soon strong {
  color: var(--text);
  font-size: 20px;
}

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

.site-footer .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.tmdb {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 520px;
}

.tmdb img {
  width: 96px;
  flex: none;
}

.tmdb p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

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

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

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

.copyright {
  grid-column: 1 / -1;
  margin: 0;
}

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

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

.doc .updated {
  margin: 12px 0 40px;
  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 ul {
  padding-left: 22px;
}

.doc li {
  margin: 6px 0;
}

.summary {
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  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(--gold) 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 {
  appearance: none;
  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-size: 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

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

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 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(--gold);
  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(--gold);
  color: var(--on-gold);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

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

.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: var(--gold-strong);
}

.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(--gold-soft);
  color: var(--gold);
}

.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(--gold);
  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-icon {
  display: flex;
  flex: none;
  color: var(--gold);
}

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

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

.contrib-page {
  max-width: 920px;
  padding-top: 64px;
  padding-bottom: 96px;
}

.contrib-head {
  margin-bottom: 24px;
}

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

.contrib-head > p {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--text-2);
  font-size: 18px;
}

.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.jump-links a {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.jump-links a:hover {
  border-color: var(--gold);
  color: var(--text);
}

.way {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 22px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 80px;
}

.way-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 48px;
  padding-top: 1px;
  color: var(--gold);
}

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

.way-body h2 {
  font-size: 24px;
}

.way-body > p {
  margin: 12px 0 0;
  color: var(--text-2);
}

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

.way-body a:not(.btn) {
  color: var(--text);
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.way-body .ticks {
  margin-top: 14px;
}

.steps {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 0 0 14px 44px;
  color: var(--text-2);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

code {
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

.info-box {
  margin-top: 10px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  background: var(--surface);
}

.info-box h3 {
  font-size: 17px;
}

.info-box dl {
  margin: 14px 0 0;
}

.info-box dt {
  margin-top: 12px;
  font-weight: 700;
}

.info-box dd {
  margin: 4px 0 0;
  color: var(--text-2);
}

.info-note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 15px;
}

.way-body .fine {
  font-size: 14px;
}

.contrib-cta {
  margin-top: 16px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 90% at 0% 0%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 70%),
    var(--surface);
  text-align: center;
}

.contrib-cta h2 {
  font-size: clamp(26px, 4vw, 34px);
}

.contrib-cta > p {
  margin: 10px 0 0;
  color: var(--text-2);
}

.contrib-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 24px;
}

.way-body .info-box {
  margin-top: 30px;
}

.tree {
  margin: 14px 0 0;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  overflow-x: auto;
}

.tree code {
  padding: 0;
  background: none;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.7;
  white-space: pre;
  overflow-wrap: normal;
}

.faq {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--gold);
}

.faq summary .ico {
  width: 20px;
  height: 20px;
  color: var(--text-2);
  transition: transform 0.2s ease;
}

.faq details[open] summary .ico {
  transform: rotate(180deg);
}

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

.faq details > :last-child {
  margin-bottom: 20px;
}

.faq details > .tree {
  margin-bottom: 14px;
}

.faq details > .ticks,
.faq details > .steps {
  margin-top: 0;
}

.faq details > .steps li:last-child {
  padding-bottom: 0;
}

.faq details .ticks li:last-child {
  margin-bottom: 0;
}

.faq code {
  display: inline-block;
  margin: 2px 0;
}

.info-lead {
  margin: 10px 0 0;
  color: var(--text-2);
}

.help-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 20px;
}

.help-actions .btn strong {
  color: inherit;
}

.help-actions .btn .ico {
  width: 22px;
  height: 22px;
}

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

.not-found-code {
  margin: 0;
  color: var(--gold);
  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) {
  margin: 14px auto 0;
  max-width: 480px;
  color: var(--text-2);
  font-size: 18px;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 26px;
  margin-top: 34px;
}

.blog-page {
  max-width: 860px;
  padding-top: 64px;
  padding-bottom: 96px;
}

.blog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 32px;
  margin-bottom: 20px;
}

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

.blog-head p {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--text-2);
  font-size: 18px;
}

.feed-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.feed-link:hover {
  border-color: var(--gold);
  color: var(--text);
}

.feed-link .ico {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.post-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-item {
  border-top: 1px solid var(--line);
}

.post-item:last-child {
  border-bottom: 1px solid var(--line);
}

.post-item a {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 8px 28px;
  padding: 30px 4px;
  color: inherit;
  text-decoration: none;
}

.post-item a:hover h2 {
  color: var(--gold-strong);
}

.post-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-2);
  font-size: 14px;
}

.post-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.post-tag.news {
  background: var(--surface-2);
  color: var(--text);
}

.post-item h2 {
  font-size: 24px;
  transition: color 0.15s ease;
}

.post-item p {
  margin: 10px 0 0;
  color: var(--text-2);
}

.read-more {
  display: inline-block;
  margin-top: 14px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.post {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 56px;
  padding-bottom: 96px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

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

.back-link .ico {
  width: 16px;
  height: 16px;
}

.post-header {
  margin: 28px 0 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.post-header .post-meta {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.post-header h1 {
  margin-top: 16px;
  font-size: clamp(32px, 5vw, 46px);
}

.post-lead {
  margin: 16px 0 0;
  color: var(--text-2);
  font-size: 19px;
}

.post-body h2 {
  margin: 40px 0 12px;
  font-size: 24px;
}

.post-body p,
.post-body li {
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.7;
}

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

.post-body ul {
  padding-left: 22px;
}

.post-body li {
  margin: 6px 0;
}

.post-body a {
  color: var(--text);
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.post-sign {
  margin-top: 40px;
  color: var(--text);
  font-weight: 600;
}

.post-footer {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .grid,
  .features {
    grid-template-columns: 1fr 1fr;
  }

  .device-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
  }

  .promise {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px;
  }

  .is-isnt {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

  .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;
  }

}

@media (max-width: 1080px) {
  .site-footer .wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

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

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

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

  .hero {
    padding: 48px 0 56px;
  }

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

  .promises li > span:last-child {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid,
  .features {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

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

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

  .contrib-page {
    padding-top: 44px;
    padding-bottom: 64px;
  }

  .way {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 0;
  }

  .way-icon {
    justify-content: flex-start;
    width: auto;
  }

  .info-box {
    padding: 18px;
  }

  .contrib-cta {
    padding: 28px 18px;
  }

  .blog-page,
  .post {
    padding-top: 44px;
    padding-bottom: 64px;
  }

  .post-item a {
    grid-template-columns: 1fr;
    padding: 24px 0;
  }

  .post-item .post-meta {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .promise {
    padding: 28px 20px;
    border-radius: 22px;
  }

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

  .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);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .arrow.prev {
    left: 6px;
  }

  .arrow.next {
    right: 6px;
  }

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

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

  .expand-label {
    display: none;
  }

  .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;
  }

  section {
    padding: 56px 0;
  }

  .card {
    padding: 22px;
  }

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

  .tmdb {
    flex-direction: column;
    align-items: flex-start;
  }
}
