:root {
  --bg: #f5f5f2;
  --surface: #ffffff;
  --surface-2: #eae9e4;
  --ink: #11131c;
  --text: #40444f;
  --muted: #646875;
  --line: rgb(17 19 28 / 12%);
  --line-strong: rgb(17 19 28 / 26%);
  --accent: #5c5bf9;
  --accent-text: #4645fa;
  --solid-bg: #11131c;
  --solid-fg: #f5f5f2;
  --shot-shadow: 0 30px 70px -36px rgb(17 19 28 / 45%);
  --header-bg: rgb(245 245 242 / 86%);
  --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 44px);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0b0c10;
  --surface: #14161d;
  --surface-2: #1c1f29;
  --ink: #f4f4f1;
  --text: #b6b9c3;
  --muted: #8a8e9b;
  --line: rgb(255 255 255 / 11%);
  --line-strong: rgb(255 255 255 / 24%);
  --accent: #7170fa;
  --accent-text: #a3a2fc;
  --solid-bg: #f4f4f1;
  --solid-fg: #0b0c10;
  --shot-shadow: 0 30px 80px -36px rgb(0 0 0 / 90%);
  --header-bg: rgb(11 12 16 / 84%);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
pre {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  text-wrap: balance;
}

p,
dd,
li {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

code,
pre {
  font-family: var(--mono);
}

[hidden] {
  display: none !important;
}

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--solid-bg);
  color: var(--solid-fg);
  transition: top 0.15s;
}

.skip-link:focus {
  top: 12px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background-color 0.16s, border-color 0.16s, color 0.16s;
}

.btn .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.16s;
}

.btn:hover .icon {
  transform: translate(2px, -2px);
}

.btn-sm {
  height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14px;
}

.btn-solid {
  background: var(--solid-bg);
  color: var(--solid-fg);
}

.btn-solid:hover {
  background: var(--accent);
  color: #ffffff;
}

.btn-line {
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-line:hover {
  border-color: var(--ink);
}

.btn-quiet {
  padding-inline: 10px;
  background: transparent;
  color: var(--ink);
}

.btn-quiet:hover {
  color: var(--accent-text);
}

.btn-lg {
  height: 56px;
  padding: 0 26px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
}

.btn:hover .icon-arrow {
  transform: translateX(3px);
}

.tour-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
  box-shadow: var(--shot-shadow);
}

.tour-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.tour-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(11 12 16 / 10%);
  transition: background-color 0.2s;
}

.tour-card:hover video {
  transform: scale(1.04);
}

.tour-card:hover::after {
  background: rgb(11 12 16 / 0%);
}

.tour-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgb(255 255 255 / 45%), 0 12px 30px rgb(11 12 16 / 30%);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.tour-card:hover .tour-play {
  transform: scale(1.08);
}

.tour-play .icon {
  width: 24px;
  height: 24px;
  margin-left: 3px;
  fill: #ffffff;
  stroke: none;
}

.btn-invert {
  background: var(--accent);
  color: #ffffff;
}

.btn-invert:hover {
  background: var(--solid-fg);
  color: var(--solid-bg);
}

.btn-invert-line {
  border-color: color-mix(in srgb, var(--solid-fg) 34%, transparent);
  color: var(--solid-fg);
}

.btn-invert-line:hover {
  border-color: var(--solid-fg);
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  transition: border-color 0.16s, background-color 0.16s;
}

.icon-btn:hover {
  border-color: var(--ink);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: border-color 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.brand img {
  display: block;
}

.site-nav {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  margin-right: auto;
}

.site-nav a {
  color: var(--muted);
  font-size: 14.5px;
  transition: color 0.16s;
}

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

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

[data-theme="light"] .icon-sun,
[data-theme="dark"] .icon-moon,
.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

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

.nav-toggle {
  display: none;
}

/* Hero */

.hero {
  padding: clamp(28px, 4.2vw, 56px) 0 clamp(8px, 2vw, 24px);
}

.hero-kind {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

.hero-kind::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.hero h1 {
  text-wrap: wrap;
  margin-top: clamp(14px, 1.8vw, 22px);
  font-size: clamp(2.375rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.tight {
  margin-left: -0.07em;
}

.hero h1 em {
  display: block;
  color: var(--accent);
  font-style: normal;
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  margin-top: clamp(24px, 3vw, 36px);
}

.lead {
  max-width: 46ch;
  color: var(--text);
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  line-height: 1.55;
}

.builtwith {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: clamp(28px, 3vw, 40px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.builtwith ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-weight: 500;
}

.builtwith li {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.builtwith .logo {
  width: 16px;
  height: 16px;
  color: var(--ink);
  opacity: 0.75;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: clamp(26px, 3vw, 36px);
}

.hero-cta .btn-lg {
  min-width: 180px;
}

.hero-cta .btn-line {
  background: var(--surface);
}

.logo {
  width: 18px;
  height: 18px;
  flex: none;
  fill: currentColor;
}

.hero-stage {
  position: relative;
  margin-top: clamp(48px, 6vw, 80px);
  padding-bottom: 12%;
}

.hero-main {
  width: 84%;
}

.hero-side {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
}

.hero-phone {
  position: absolute;
  right: 1.25%;
  top: 0;
  width: 12.5%;
}

/* Screenshots */

.shot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  box-shadow: var(--shot-shadow);
}

.zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: none;
  cursor: zoom-in;
}

.phone {
  padding: 5px;
  border-radius: 13% / 6.1%;
  background: #11131c;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 14%), var(--shot-shadow);
}

.phone img {
  display: block;
  width: 100%;
  aspect-ratio: 390 / 844;
  border-radius: 11.5% / 5.3%;
  object-fit: cover;
  object-position: top;
  background: var(--surface-2);
}

/* Sections */

.section {
  padding: clamp(72px, 10vw, 140px) 0 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(20px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.section-head h2 {
  font-size: clamp(1.875rem, 4.2vw, 3.375rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-head p {
  max-width: 42ch;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.6;
}

/* At a glance */

.glance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}

.glance h3 {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.glance .facts {
  margin-top: 0;
  gap: 14px;
}

/* Screens */

.tabs {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar,
.screen-list::-webkit-scrollbar,
.phones::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: none;
  margin-bottom: -1px;
  padding: 0 0 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.16s, border-color 0.16s;
}

.tab span {
  margin-left: 3px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  vertical-align: 5px;
}

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

.tab[aria-selected="true"] {
  border-bottom-color: var(--ink);
  color: var(--ink);
}

.showcase-body {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  margin-top: 36px;
}

.showcase-panel > p {
  font-size: 16px;
  line-height: 1.6;
}

.screen-list {
  margin-top: 24px;
  border-bottom: 1px solid var(--line);
  counter-reset: screen;
}

.screen-list li {
  border-top: 1px solid var(--line);
  counter-increment: screen;
}

.screen-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 15px;
  text-align: left;
  transition: color 0.15s;
}

.screen-btn::before {
  content: counter(screen, decimal-leading-zero);
  width: 38px;
  flex: none;
  font-family: var(--mono);
  font-size: 12px;
}

.screen-btn::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: auto;
  background: var(--accent);
  opacity: 0;
}

.screen-btn:hover {
  color: var(--ink);
}

.screen-btn[aria-current="true"] {
  color: var(--ink);
  font-weight: 500;
}

.screen-btn[aria-current="true"]::after {
  opacity: 1;
}

.showcase-stage img {
  transition: opacity 0.2s;
}

.showcase-stage.is-loading img {
  opacity: 0.4;
}

.showcase-stage figcaption {
  margin-top: 14px;
}

.stage-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.stage-meta code {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.stage-count {
  margin-right: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  white-space: nowrap;
}

.showcase-stage figcaption p {
  max-width: 62ch;
  margin-top: 6px;
  color: var(--ink);
  font-size: 15px;
}

/* Features */

.features {
  counter-reset: feature;
}

.feature {
  display: grid;
  grid-template-columns: 56px minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(20px, 3.4vw, 48px);
  align-items: start;
  padding: clamp(32px, 4.4vw, 56px) 0;
  border-top: 1px solid var(--line);
  counter-increment: feature;
}

.feature:first-child {
  padding-top: 0;
  border-top: 0;
}

.feature::before {
  content: counter(feature, decimal-leading-zero);
  padding-top: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

.feature-copy h3 {
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  line-height: 1.14;
  letter-spacing: -0.032em;
}

.feature-copy > p {
  max-width: 48ch;
  margin-top: 16px;
}

.facts {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

.facts li {
  position: relative;
  padding-left: 22px;
}

.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.also {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px) clamp(24px, 3vw, 40px);
  margin-top: clamp(48px, 6vw, 80px);
}

.also div {
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
}

.also dt {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.also-block {
  margin-top: clamp(48px, 6vw, 80px);
}

.also-block h3 {
  margin-bottom: 20px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.also-block .also {
  margin-top: 0;
}

.also dd {
  margin-top: 6px;
  font-size: 15.5px;
  line-height: 1.55;
}

/* Phones */

.phones {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 44px);
  padding-bottom: 44px;
}

.phones li:nth-child(even) {
  transform: translateY(44px);
}

.phones code {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Stack */

.tech {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
  overflow: hidden;
}

.tech li {
  padding: 24px 22px 26px;
  background: var(--bg);
  transition: background-color 0.16s;
}

.tech li:hover {
  background: var(--surface);
}

.tech-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
}

.tech-top .logo {
  width: 28px;
  height: 28px;
}

.tech-top span {
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.tech h3 {
  margin-top: 22px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tech p {
  margin-top: 4px;
  font-size: 14.5px;
  line-height: 1.5;
}

/* Tech stack */

.stack-cols {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
}

.stack-title {
  margin-bottom: 18px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}

.stack-back {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.stack-back .also {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.backend-lead {
  padding: 24px 22px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.backend-lead h3 {
  margin-top: 22px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.backend-lead p {
  margin-top: 4px;
  font-size: 14.5px;
  line-height: 1.5;
}

/* Pricing */

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

.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.6vw, 36px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.plan-featured {
  border-color: var(--ink);
  box-shadow: 0 28px 60px -42px rgb(17 19 28 / 55%);
}

.plan-custom {
  border-color: transparent;
  background: var(--solid-bg);
  color: color-mix(in srgb, var(--solid-fg) 72%, transparent);
}

.plan-head h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.plan-custom h3,
.plan-custom .plan-price {
  color: var(--solid-fg);
}

.plan-head p {
  margin-top: 6px;
  font-size: 15.5px;
  line-height: 1.5;
}

.plan-tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-text);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.plan-price {
  display: flex;
  align-items: flex-end;
  min-height: 4.25rem;
  margin-top: 32px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}

.plan-cur {
  align-self: flex-start;
  margin: 0.3em 2px 0 0;
  font-size: 1.625rem;
  letter-spacing: 0;
}

.plan-amount {
  font-size: 4.25rem;
}

.plan-price-text {
  flex-wrap: wrap;
  column-gap: 12px;
  font-size: 2.875rem;
  letter-spacing: -0.04em;
}

.plan-price-text .plan-term {
  margin-left: 0;
}

.plan-term {
  margin: 0 0 0.6em 12px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.plan-custom .plan-term {
  color: color-mix(in srgb, var(--solid-fg) 58%, transparent);
}

.plan-cta {
  width: 100%;
  margin-top: 28px;
}

.plan-list {
  display: grid;
  gap: 13px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.45;
}

.plan-custom .plan-list {
  border-top-color: color-mix(in srgb, var(--solid-fg) 16%, transparent);
  color: var(--solid-fg);
}

.plan-list li {
  position: relative;
  padding-left: 28px;
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.4em;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.plans-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 14.5px;
  text-align: center;
}

/* FAQ */

.faq-list {
  max-width: 860px;
  border-bottom: 1px solid var(--line);
}

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

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary .icon {
  color: var(--muted);
  transition: transform 0.2s;
}

.faq-list summary:hover .icon {
  color: var(--accent);
}

.faq-list details[open] summary .icon {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 62ch;
  padding-bottom: 24px;
  line-height: 1.7;
}

/* Closing */

.closing {
  margin-top: clamp(72px, 10vw, 140px);
  padding: clamp(56px, 8vw, 112px) 0;
  background: var(--solid-bg);
  color: color-mix(in srgb, var(--solid-fg) 74%, transparent);
}

.closing-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: end;
}

.closing h2 {
  color: var(--solid-fg);
  font-size: clamp(2.25rem, 5.6vw, 4.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.closing-side p {
  max-width: 40ch;
  font-size: 1.0625rem;
}

.closing-side .actions {
  margin-top: 26px;
}

/* Footer */

.site-footer {
  padding: 28px 0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  color: var(--muted);
}

.site-footer nav a:hover {
  color: var(--ink);
}

.site-footer .brand {
  font-size: 16px;
}

.site-footer p {
  color: var(--muted);
}

/* Mobile purchase bar */

.buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg);
  transform: translateY(105%);
  transition: transform 0.25s ease;
}

.buybar.is-visible {
  transform: none;
}

.buybar .btn {
  height: 46px;
  padding-inline: 12px;
}

/* Screenshot viewer */

.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(8 9 12 / 96%);
  color: #f4f4f1;
}

.lightbox[open] {
  display: flex;
  flex-direction: column;
}

.lightbox::backdrop {
  background: rgb(8 9 12 / 96%);
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  font-family: var(--mono);
  font-size: 13px;
}

.lightbox .icon-btn {
  border-color: rgb(255 255 255 / 22%);
  color: #f4f4f1;
}

.lightbox .icon-btn:hover {
  border-color: #f4f4f1;
}

.lightbox-stage {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 0 var(--gutter) 24px;
}

.lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  margin: auto;
  border-radius: 10px;
  object-fit: contain;
}

.lightbox.is-single .lightbox-nav {
  visibility: hidden;
}

.tour-stage {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 0 var(--gutter) 24px;
}

.tour-stage video {
  display: block;
  max-width: min(100%, 1280px);
  max-height: 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #0b0c10;
}

/* Scroll reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .buybar {
    transition: none;
  }
}

/* Tablet */

@media (max-width: 999px) {
  .hero-body,
  .section-head,
  .showcase-body,
  .closing-inner,
  .glance {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head {
    align-items: start;
  }

  .feature {
    grid-template-columns: 40px minmax(0, 1fr);
    row-gap: 24px;
  }

  .feature-media {
    grid-column: 2;
  }

  .screen-list {
    display: flex;
    gap: 22px;
    margin: 20px calc(var(--gutter) * -1) 0;
    padding: 0 var(--gutter);
    border-top: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .screen-list li {
    flex: none;
    border-top: 0;
  }

  .screen-btn {
    padding: 12px 0;
    white-space: nowrap;
  }

  .screen-btn::before {
    width: 26px;
  }

  .screen-btn::after {
    margin-left: 8px;
  }

  .phones {
    display: flex;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .phones li {
    flex: none;
    width: 190px;
    scroll-snap-align: center;
  }

  .phones li:nth-child(even) {
    transform: none;
  }

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

  .plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-inline: auto;
  }

  .stack-back {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 899px) {
  .nav-toggle {
    display: inline-grid;
  }

  .header-inner {
    gap: 16px;
  }

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

  .header-demo {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 4px var(--gutter) 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a {
    padding: 14px 0;
    color: var(--ink);
    font-size: 17px;
  }

  .site-nav a + a {
    border-top: 1px solid var(--line);
  }

  .buybar {
    display: grid;
  }

  .site-footer {
    padding-bottom: 96px;
  }
}

/* Phone */

@media (max-width: 639px) {
  .closing-side .actions .btn {
    width: 100%;
  }

  .btn-lg {
    padding-inline: 16px;
  }

  .hero-kind-stack {
    display: none;
  }

  .builtwith {
    display: none;
  }

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

  .hero-cta .btn-lg {
    min-width: 0;
  }

  .tour-card {
    border-radius: 12px;
  }

  .tour-play {
    width: 54px;
    height: 54px;
    margin: -27px 0 0 -27px;
  }

  .hero-stage {
    margin-top: 28px;
    padding-bottom: 16%;
  }

  .hero-side {
    width: 58%;
  }

  .hero-main {
    width: 100%;
  }

  .hero-phone {
    display: none;
  }

  .shot,
  .zoom {
    border-radius: 8px;
  }

  .also,
  .stack-back .also {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .tech li {
    padding: 18px 16px 20px;
  }

  .feature {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 18px;
  }

  .feature::before {
    padding-top: 0;
  }

  .feature-media {
    grid-column: 1;
  }

  .stage-count {
    display: none;
  }

  .faq-list summary {
    font-size: 1rem;
  }

  .lightbox-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    padding-bottom: 16px;
  }

  .lightbox-stage img {
    grid-column: 1;
    grid-row: 1;
  }

  .lightbox-nav {
    grid-row: 2;
    grid-column: 1;
    justify-self: center;
  }

  #lightbox-prev {
    transform: translateX(-26px);
  }

  #lightbox-next {
    transform: translateX(26px);
  }
}
