@font-face {
  font-family: Space Grotesk;
  src: url("assets/space-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: Space Mono;
  src: url("assets/space-mono.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #0b0b0c;
  --ink: #f4f3f0;
  --muted: #a7a6aa;
  --line: #2a2a2e;
  --mono: "Space Mono", monospace;
  --gutter: clamp(1.25rem, 6vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 400 1rem/1.5 "Space Grotesk", sans-serif;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #eee; outline-offset: 5px; }
::selection { background: var(--ink); color: var(--background); }
.shell { width: min(100% - 2 * var(--gutter), 84rem); margin-inline: auto; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 5; clip-path: inset(50%); padding: .7rem 1rem; background: white; color: black; }
.skip-link:focus { clip-path: none; }

.site-header { position: relative; z-index: 2; background: var(--background); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 4.7rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; justify-self: start; }
.brand-icon {
  display: block;
  width: 2rem;
  aspect-ratio: 1.56;
  flex: none;
  background: url("assets/kodekto-mark.png") 50% 41.2% / 253% auto no-repeat;
}
.brand-name { font-size: 1.02rem; font-weight: 700; letter-spacing: .12em; }
#site-nav { display: flex; align-items: center; gap: clamp(1.5rem, 3.4vw, 3.5rem); }
#site-nav a { color: #c2c1c5; font-size: .95rem; transition: color .2s; }
#site-nav a:hover, #site-nav a:focus-visible { color: white; }
.header-cta { justify-self: end; display: inline-flex; align-items: center; gap: .62rem; min-height: 2.5rem; border: 1px solid #444448; border-radius: .25rem; padding: 0 .85rem; font-size: .89rem; transition: border-color .2s, background .2s; }
.header-cta:hover { background: #242426; border-color: #777; }
.play-icon { display: inline-block; flex: none; width: .7em; height: .82em; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.menu-toggle { display: none; }

.hero { overflow: hidden; isolation: isolate; }
.hero-inner { min-height: clamp(37rem, 49vw, 49rem); position: relative; display: flex; align-items: center; }
.hero-copy { z-index: 1; position: relative; padding: 3rem 0 4.5rem; pointer-events: none; }
.hero-copy a { pointer-events: auto; }
.eyebrow { color: #c7c6ca; display: flex; align-items: center; gap: .72rem; font: 400 .78rem/1.35 var(--mono); letter-spacing: .105em; }
.eyebrow-line { display: inline-block; width: 1.62rem; height: 1px; background: #a09fa5; flex: none; }
.hero h1 {
  font-size: clamp(6rem, 11.05vw, 12rem);
  font-weight: 700;
  line-height: .94;
  letter-spacing: -.088em;
  margin: 1.15rem 0 .85rem -.055em;
}
.hero h1 span { display: block; width: fit-content; padding-block-end: .14em; padding-inline-end: .12em; color: #b6b5bd; background: linear-gradient(171deg, #dbdae0 16%, #b4b3bb 51%, #82818a 92%); background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { max-width: 23rem; color: #bcbcc0; font-size: clamp(1.02rem, 1.45vw, 1.25rem); line-height: 1.45; }
.hero-actions { display: flex; align-items: center; gap: clamp(1.1rem, 2.35vw, 2.35rem); margin-top: 1.75rem; }
.button { display: inline-flex; width: fit-content; align-items: center; justify-content: center; gap: .62rem; min-height: 3.2rem; padding: .7rem 1.06rem; border: 1px solid transparent; border-radius: .25rem; font-size: .96rem; font-weight: 700; transition: background .2s, border-color .2s, color .2s; }
.button-light { color: #101012; background: #efeeec; }
.button-light:hover { background: #c9c8cc; }
.button-outline { border-color: #57575e; }
.button-outline:hover { background: #f1f0ed; color: #121214; }
.text-link { border-bottom: 1px solid #64646b; color: #e1e0e4; padding-bottom: .18em; width: fit-content; font-weight: 600; transition: color .2s, border-color .2s; }
.text-link:hover { color: #fff; border-color: #fff; }

.hero-art {
  position: absolute;
  inset: 3% -5.3% 1% 33%;
  isolation: isolate;
  background: radial-gradient(ellipse at 59% 49%, #242428 0, #161618 35%, transparent 67%);
}
.hero-grid {
  position: absolute;
  inset: 2% 3%;
  background-image: linear-gradient(#adadbc18 1px, transparent 1px), linear-gradient(90deg, #adadbc18 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: radial-gradient(ellipse at 57% 49%, black 9%, transparent 72%);
}
#orbit { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit-fallback {
  position: absolute;
  left: 27%;
  top: 20%;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 110deg, #c8c8cc, #3a3a3d, #c8c8ce, #75757d, #151517, #efeff0, #737378, #c8c8cc);
  mask-image: radial-gradient(transparent 43%, #000 44%, #000 70%, transparent 71%);
  transform: perspective(600px) rotateX(calc(39deg + var(--fallback-x, 0deg))) rotateY(calc(-36deg + var(--fallback-y, 0deg))) rotateZ(calc(-24deg + var(--fallback-roll, 0deg)));
}
.has-orbit .orbit-fallback { display: none; }
.hero-art.is-interactive { cursor: grab; touch-action: pan-y; }
.hero-art.is-dragging { cursor: grabbing; }
.hero-art:focus-visible { outline-offset: -5px; }
.orbit-track {
  position: absolute;
  left: 12%;
  top: 19%;
  width: 81%;
  height: 62%;
  border: 1px solid #ceced066;
  border-radius: 50%;
  transform: perspective(850px) rotateX(var(--ring-tilt, 0deg)) rotateY(var(--ring-pitch, 0deg)) rotateZ(var(--ring-angle, var(--rest-angle)));
}
.track-one { --rest-angle: -36deg; }
.track-two { --rest-angle: 31deg; left: 14%; top: 17%; width: 77%; height: 66%; border-color: #b9b9c54a; }
.track-three { --rest-angle: 91deg; left: 17%; top: 28%; width: 71%; height: 45%; border-color: #b9b9c533; }
.orbit-track::before, .inner-orbit i::before {
  content: "";
  position: absolute;
  top: 49%;
  left: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e4e4e7;
  box-shadow: 0 0 10px #e4e4e7ad;
}
.track-two::before, .inner-orbit i:nth-child(2)::before { left: auto; right: -3px; }
.track-three::before, .inner-orbit i:nth-child(3)::before { width: 4px; height: 4px; left: -2px; opacity: .58; }
.art-cross, .art-caption { position: absolute; color: #a9a9b4; font: .74rem/1 var(--mono); letter-spacing: .12em; }
.cross-top { top: 17%; right: 14%; }
.cross-bottom { bottom: 22%; left: 19%; }
.art-caption { display: flex; align-items: center; gap: .65rem; bottom: 8%; right: 10%; user-select: none; }
.art-caption > span[aria-hidden="true"] { width: .55rem; height: .55rem; border: 1px solid currentColor; transform: rotate(45deg); }
.motion-button { position: absolute; bottom: .95rem; right: 0; display: flex; align-items: center; gap: .55rem; padding: .45rem .55rem; border: 1px solid #38383d; border-radius: .2rem; background: var(--background); color: #c5c4c9; cursor: pointer; font: .74rem var(--mono); }
.motion-button:hover { border-color: #909097; }
.pause-icon { width: .6rem; height: .7rem; border-inline: 2px solid currentColor; }
.motion-button[aria-pressed="true"] .pause-icon { width: .62rem; border: 0; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }

.studio-strip { overflow: clip; border-block: 1px solid var(--line); background: #101012; }
.strip-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 3.5rem; }
.strip-inner span { display: flex; align-items: center; justify-content: center; gap: .85rem; color: #c4c3ca; font: .77rem/1.3 var(--mono); letter-spacing: .09em; text-align: center; padding: .65rem .45rem; }
.strip-inner span + span { border-left: 1px solid var(--line); }
.spark { color: #eeedf2; font: normal 1rem/1 sans-serif; }

.section { padding-block: clamp(4.25rem, 7vw, 7rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.6rem; margin-bottom: 2rem; }
.section-heading > p { max-width: 20rem; color: var(--muted); padding-bottom: .25rem; font-size: 1.06rem; }
.section h2 { font-size: clamp(3.5rem, 7.15vw, 7.25rem); line-height: .91; font-weight: 700; letter-spacing: -.075em; margin: .65rem 0 0 -.035em; }
.section h2 span { color: #85848d; }
.product-card {
  position: relative;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  min-height: 26rem;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: .48rem;
  background: #121214;
}
.product-copy { z-index: 1; align-self: center; padding: clamp(1.5rem, 4.3vw, 4.5rem); }
.product-copy h3 { font-size: clamp(2.35rem, 4.5vw, 5.1rem); line-height: .96; letter-spacing: -.065em; margin: .8rem 0 1rem; }
.product-copy > p:not(.eyebrow) { max-width: 19rem; color: #b3b2b8; }
.product-copy .button { margin-top: 1.35rem; }
.product-art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  perspective: 900px;
  background: repeating-radial-gradient(ellipse at 59% 58%, #adaeba1b 0 1px, transparent 2px 26px), radial-gradient(ellipse at 60% 65%, #44444a, #171719 55%, #121214 76%);
}
.phone { position: absolute; width: clamp(8rem, 17vw, 15.5rem); aspect-ratio: .52; padding: .36rem; border-radius: 1.65rem; background: linear-gradient(115deg, #ddd 0, #333 17%, #151517 54%, #9e9ea5 78%, #2a2a30); box-shadow: .65rem .9rem 2.1rem #000a, inset 0 0 0 1px #929299; transition: transform .55s cubic-bezier(.2,.75,.2,1); }
.phone-back { left: 48%; top: 13%; transform: rotateZ(23deg) rotateY(-22deg) rotateX(18deg); }
.phone-front { left: 24%; top: 23%; transform: rotateZ(-19deg) rotateY(22deg) rotateX(15deg); }
.product-card:hover .phone-back { transform: translate(5%, -3%) rotateZ(27deg) rotateY(-22deg) rotateX(18deg); }
.product-card:hover .phone-front { transform: translate(-5%, -4%) rotateZ(-22deg) rotateY(22deg) rotateX(15deg); }
.phone-screen { position: relative; width: 100%; height: 100%; background: linear-gradient(155deg, #2f2f35, #111113 52%); border: 1px solid #0a0a0b; border-radius: 1.42rem; overflow: hidden; }
.phone-back .phone-screen { background: repeating-radial-gradient(ellipse at 10% 88%, #888892 0 1px, transparent 3px 14px), linear-gradient(145deg, #19191d 10%, #4f4f57, #0a0a0a); }
.phone-lens { position: absolute; top: 4%; left: 43%; width: 14%; height: 2.5%; background: #080809; border-radius: 1rem; }
.phone-mark { margin: 33% 12% 10%; aspect-ratio: 1.5; display: grid; place-items: center; border: 1px solid #63636a; border-radius: .62rem; background: linear-gradient(148deg, #505056, #222225 47%, #090909); }
.phone-mark .brand-icon { width: 62%; }
.phone-tiles { display: grid; gap: .48rem; margin-inline: 12%; }
.phone-tiles i { height: .9rem; background: linear-gradient(95deg, #5e5e65, #222225 70%); border-radius: .2rem; }
.phone-bar { position: absolute; bottom: 3%; left: 33%; width: 34%; height: 2px; border-radius: 10px; background: #88888e; }

.catalog { border: 1px solid #36363b; border-radius: .48rem; overflow: hidden; }
.catalog-header { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1.35rem; border-bottom: 1px solid #36363b; background: #1a1a1d; color: #c5c4cb; font: .78rem var(--mono); letter-spacing: .09em; }
.catalog-empty { display: flex; align-items: center; gap: 1.3rem; padding: clamp(1.35rem, 4vw, 3.2rem); }
.catalog-icon { flex: none; width: 3.65rem; aspect-ratio: 1; border: 1px solid #49494f; border-radius: .6rem; display: grid; place-items: center; font-size: 1.25rem; background: linear-gradient(145deg, #303035, #19191b); }
.catalog-empty h3 { font-size: clamp(1.12rem, 2vw, 1.6rem); line-height: 1.1; }
.catalog-empty p { margin-top: .35rem; color: var(--muted); }

.about-section { display: grid; grid-template-columns: 1fr 1.07fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.about-copy > p:not(.eyebrow) { max-width: 26rem; margin-block: 1.5rem 1.25rem; color: var(--muted); font-size: 1.12rem; }
.about-art {
  display: grid;
  justify-items: center;
  padding: clamp(1rem, 3.5vw, 3rem);
  border: 1px solid var(--line);
  border-radius: .48rem;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 35%, #26262a, #121214 66%);
}
.about-art .inner-orbit { width: min(80%, 19rem); margin-top: 0; justify-self: center; }
.about-art > p { font-size: clamp(1.1rem, 4vw, 2.4rem); font-weight: 700; line-height: 1.1; letter-spacing: .22em; }
.about-tagline { margin-top: .65rem; color: var(--muted); font: .72rem var(--mono); letter-spacing: .2em; }
.site-footer { border-top: 1px solid var(--line); }

@media (max-width: 820px) {
  .hero-inner { min-height: 35rem; }
  .hero-art { left: 30%; right: -7%; }
  .hero-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--background), #0b0b0cb3 16%, transparent 38%); }
  .hero h1 { font-size: clamp(5.3rem, 12.3vw, 7rem); }
  .hero-description { max-width: 16.75rem; }
  .art-caption { bottom: 11%; right: 14%; }
  .product-card { min-height: 22rem; }
}

@media (max-width: 620px) {
  .hero-inner { min-height: auto; display: grid; }
  .hero-copy { padding: 3.1rem 0 0; grid-row: 1; grid-column: 1; align-self: start; }
  .hero h1 { font-size: clamp(3.1rem, 16.2vw, 6.5rem); margin: 1rem 0 .55rem -.045em; }
  .hero-description { max-width: 18rem; }
  .hero-actions { gap: 1rem; margin-top: 1.2rem; flex-wrap: wrap; }
  .hero-art { position: relative; grid-row: 2; grid-column: 1; width: calc(100% + 2 * var(--gutter)); margin: -.6rem calc(-1 * var(--gutter)) 1.45rem; inset: auto; min-height: 16rem; aspect-ratio: 1.36; }
  .hero-art::after { display: none; }
  .art-caption { bottom: 4%; right: 8%; }
  .motion-button { bottom: .6rem; right: auto; left: 0; z-index: 1; font-size: .68rem; }
  .strip-inner { width: 100%; }
  .strip-inner span { font-size: .64rem; gap: .22rem; flex-direction: column; }
  .section-heading { align-items: start; flex-direction: column; gap: 1.05rem; margin-bottom: 1.4rem; }
  .product-card { grid-template-columns: 1fr; min-height: auto; }
  .product-art { min-height: 15rem; }
  .phone { width: clamp(7.2rem, 32vw, 11.5rem); }
  .phone-front { top: 18%; }
  .phone-back { top: 12%; }
  .about-section { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .product-card:hover .phone-back { transform: rotateZ(23deg) rotateY(-22deg) rotateX(18deg); }
  .product-card:hover .phone-front { transform: rotateZ(-19deg) rotateY(22deg) rotateX(15deg); }
}

/* Shared layouts for the studio site. */
:root { --paper: #ededea; --paper-ink: #151517; }
#site-nav { gap: clamp(.8rem, 2.6vw, 2.65rem); }
#site-nav a[aria-current="page"] { color: white; text-decoration: underline; text-underline-offset: .48em; text-decoration-color: #9b9ba1; }
[id] { scroll-margin-top: 1.25rem; }

.inner-hero { overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 80% 45%, #252529, transparent 57%); }
.inner-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; gap: clamp(1rem, 4vw, 4rem); position: relative; padding-block: clamp(4rem, 8vw, 8rem); }
.inner-hero h1 { font-size: clamp(3.7rem, 8.3vw, 9rem); line-height: .87; letter-spacing: -.08em; margin: 1.2rem 0 1.2rem -.04em; }
.inner-hero h1 span { color: #94949d; }
.inner-intro { max-width: 31rem; color: #bcbcc0; font-size: clamp(1.04rem, 2vw, 1.35rem); }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.3rem; margin-top: 1.4rem; }
.inner-orbit { display: grid; place-items: center; position: relative; isolation: isolate; width: min(100%, 25rem); aspect-ratio: 1.12; justify-self: center; }
.inner-orbit::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, #c3c3cf1b 0 1px, transparent 1px 28px), repeating-linear-gradient(90deg, #c3c3cf1b 0 1px, transparent 1px 28px); mask-image: radial-gradient(black, transparent 70%); }
.inner-orbit i { position: absolute; width: 90%; height: 54%; border: 1px solid #cccad074; border-radius: 50%; transform: rotate(-38deg); box-shadow: 0 0 17px #ffffff12; }
.inner-orbit i:nth-child(2) { transform: rotate(34deg); border-color: #d7d7df43; }
.inner-orbit i:nth-child(3) { transform: rotate(92deg); border-color: #d7d7df28; }
.inner-orbit .brand-icon { width: 44%; position: relative; }

.band { background: #121214; border-block: 1px solid var(--line); }
.light-band { background: var(--paper); color: var(--paper-ink); }
.light-band .eyebrow, .light-band h2 span { color: #56565d; }
.light-band .text-link { color: var(--paper-ink); border-color: #55555d; }
.editorial { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(2rem, 7vw, 7rem); align-items: end; }
.editorial-copy > p { max-width: 34rem; font-size: clamp(1.35rem, 2.5vw, 2.1rem); line-height: 1.2; letter-spacing: -.035em; }
.editorial-copy .text-link { display: inline-block; margin-top: 1.7rem; }
.tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tile-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-tile { border: 1px solid var(--line); background: linear-gradient(155deg, #1e1e21, #111113 80%); border-radius: .48rem; min-height: 13rem; padding: clamp(1.25rem, 3.2vw, 2.7rem); }
.tile-symbol { display: block; color: #dfdfe5; font: 400 2rem/1 var(--mono); margin-bottom: 1.6rem; }
.info-tile h3 { font-size: clamp(1.4rem, 2.7vw, 2.15rem); letter-spacing: -.045em; line-height: 1.04; }
.info-tile p:not(.eyebrow) { margin-top: .8rem; color: var(--muted); }
.info-tile .eyebrow { margin-bottom: .75rem; }
.info-tile :is(.button, .text-link) { display: inline-flex; margin-top: 1.1rem; }
.device-art .phone { width: clamp(8rem, 13.7vw, 13rem); }
.phone-screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.review-panel { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #36363b; border-radius: .48rem; overflow: hidden; }
.review-intro, .review-list { padding: clamp(1.4rem, 4.3vw, 4rem); }
.review-intro { background: linear-gradient(150deg, #29292f, #171719); }
.review-intro h3 { font-size: clamp(1.6rem, 3.2vw, 2.65rem); letter-spacing: -.055em; }
.review-intro p, .review-list > p + p { color: var(--muted); }
.review-list { border-left: 1px solid #36363b; }
.review-list > p + p { margin-top: 1rem; }
.star-motif { display: block; font-size: 1.35rem; letter-spacing: .15em; color: #ceced4; margin-bottom: .8rem; }
.testimonial { margin: 1.15rem 0 0; }
.testimonial + .testimonial { border-top: 1px solid #3c3c40; padding-top: 1.15rem; }
.testimonial blockquote { margin: 0; font-size: 1.15rem; }
.testimonial figcaption { margin-top: .55rem; color: var(--muted); }

.faq-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(1.75rem, 6vw, 6rem); }
.faq-list { border-top: 1px solid #3d3d41; }
.faq-list details { border-bottom: 1px solid #3d3d41; }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.1rem .15rem; font-weight: 600; font-size: 1.08rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--mono); color: #aaaab0; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 .15rem 1.2rem; color: var(--muted); }
.faq-list p a { color: var(--ink); text-decoration: underline; text-underline-offset: .23em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-block: 1.15rem; font: .77rem var(--mono); color: var(--muted); }

.catalog-controls { display: grid; grid-template-columns: minmax(0, 2fr) minmax(10rem, 1fr); gap: 1rem; margin-bottom: 1rem; }
input:not([type="radio"]), select, textarea { width: 100%; border: 1px solid #55555c; border-radius: .3rem; background: #18181b; color: var(--ink); padding: .7rem .85rem; font: inherit; }
.catalog-controls :is(input, select) { margin-top: .35rem; }
.empty-results { padding: 1.5rem; color: var(--muted); }
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.app-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; padding: clamp(1.25rem, 4vw, 3rem); background: #111113; }
.app-card-heading { display: flex; align-items: center; gap: 1rem; }
.app-card-heading .eyebrow { margin-bottom: .25rem; }
.app-card-heading h3 { font-size: clamp(1.6rem, 3vw, 2.8rem); letter-spacing: -.045em; line-height: 1.05; }
.app-icon { width: 3.5rem; aspect-ratio: 1; border-radius: .75rem; object-fit: cover; }
.app-description { color: var(--muted); }
.app-rating { font: .83rem var(--mono); }
.app-card .page-actions { margin-top: auto; padding-top: .55rem; }
.app-screenshots { display: flex; width: 100%; gap: .6rem; overflow-x: auto; padding: .35rem; }
.screenshot-thumb, .preview-photo { appearance: none; cursor: zoom-in; background: #1a1a1d; padding: 0; border: 1px solid #55555a; }
.screenshot-thumb { flex: 0 0 clamp(4rem, 30%, 8rem); border-radius: .4rem; overflow: hidden; }
.screenshot-thumb img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.preview-slot { margin: 0; min-width: 0; display: grid; justify-items: center; gap: .9rem; padding: clamp(.85rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: .48rem; background: repeating-radial-gradient(ellipse at 50% 68%, #acacb216 0 1px, transparent 2px 23px), radial-gradient(ellipse, #36363c, #141416 71%); }
.preview-device { display: grid; place-items: center; position: relative; width: min(100%, 11.5rem); aspect-ratio: .53; border: 1px solid #727279; border-radius: 1.35rem; background: linear-gradient(145deg, #3f3f46, #101012 80%); box-shadow: .65rem .8rem 1.4rem #0008; }
.preview-device .brand-icon { width: 46%; }
.preview-photo { position: absolute; inset: .22rem; border-radius: 1.08rem; overflow: hidden; }
.preview-photo img { width: 100%; height: 100%; object-fit: contain; }
.preview-slot figcaption { text-align: center; color: #cccbd1; font-size: .93rem; }
#screenshot-dialog { width: min(92vw, 34rem); max-height: 92vh; padding: 0; border: 1px solid #75757a; border-radius: .6rem; background: #121214; color: var(--ink); }
#screenshot-dialog::backdrop { background: #000c; }
.dialog-inner { padding: .85rem; display: grid; justify-items: center; gap: .65rem; }
.dialog-inner button { justify-self: end; }
.dialog-inner img { max-height: 68vh; object-fit: contain; }

.feedback-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); }
.form-intro { color: var(--muted); margin-top: 1rem; max-width: 20rem; }
#feedback-form { display: grid; gap: .65rem; padding: clamp(1.2rem, 3.5vw, 2.5rem); background: #111113; border: 1px solid #3b3b40; border-radius: .48rem; min-width: 0; }
#feedback-form > label, #feedback-form legend { font-weight: 600; }
#feedback-form :is(label, legend) > span { font-weight: 400; color: var(--muted); }
#feedback-form :is(select, input, textarea, fieldset) { margin-bottom: .4rem; }
#feedback-form textarea { resize: vertical; min-height: 7rem; }
#feedback-form fieldset { padding: 0; border: 0; min-width: 0; margin-inline: 0; }
.rating-options { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .6rem; }
.rating-options label { position: relative; cursor: pointer; }
.rating-options input, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rating-options label > span { display: block; min-width: 2.8rem; padding: .35rem .5rem; text-align: center; border-radius: .3rem; border: 1px solid #616169; color: var(--ink) !important; }
.rating-options input:checked + span { background: var(--paper); color: var(--paper-ink) !important; border-color: var(--paper); }
.rating-options input:focus-visible + span { outline: 2px solid white; outline-offset: 3px; }

@media (max-width: 720px) {
  .header-inner { grid-template-columns: 1fr auto; min-height: 4rem; }
  .header-cta { display: none; }
  .has-menu .menu-toggle { display: block; padding: .35rem .65rem; border: 1px solid #48484e; border-radius: .25rem; background: transparent; cursor: pointer; font-size: .92rem; }
  #site-nav { gap: 1rem; grid-column: 1 / -1; flex-wrap: wrap; }
  .has-menu #site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: .8rem var(--gutter); gap: .15rem; background: #121214; border-bottom: 1px solid var(--line); }
  .has-menu #site-nav.is-open { display: grid; }
  #site-nav a { padding: .55rem .1rem; }
  .inner-hero-grid { grid-template-columns: 1fr; }
  .inner-orbit { width: min(62%, 13rem); justify-self: end; margin-top: -1.2rem; }
  .editorial, .faq-layout, .feedback-layout { grid-template-columns: 1fr; }
  .tile-grid, .tile-grid.two { grid-template-columns: 1fr; }
  .info-tile { min-height: auto; }
}

@media (max-width: 620px) {
  .device-art .phone { width: clamp(7rem, 28vw, 10rem); }
  .review-panel, .app-grid, .catalog-controls { grid-template-columns: 1fr; }
  .review-list { border-left: 0; border-top: 1px solid #36363b; }
  .inner-hero-grid { padding-bottom: 2.2rem; }
  .inner-orbit { margin-top: -.15rem; }
  .preview-device { border-radius: .9rem; }
  .preview-photo { border-radius: .72rem; }
}


.app-card-symbol { display: grid; place-items: center; flex: none; width: 3.5rem; aspect-ratio: 1; border: 1px solid #4b4b52; border-radius: .75rem; background: linear-gradient(145deg, #35353a, #18181a); font: 1.45rem var(--mono); }
.app-card { min-height: 12.5rem; }
.app-card:target { box-shadow: inset 0 0 0 1px #88888f; }
.listing-status { color: var(--muted); font-size: .88rem; }
.social-section { padding-top: 0; }
.social-tile button:disabled { opacity: .55; cursor: default; }
.social-tile button:disabled:hover { background: transparent; color: inherit; }

/* Visibility-driven motion for the branded banners and phone showcase. */
.inner-orbit i {
  --orbit-angle: -38deg;
  --orbit-travel: 15deg;
  --orbit-tempo: 8s;
}
.inner-orbit i:nth-child(2) { --orbit-angle: 34deg; --orbit-travel: -19deg; --orbit-tempo: 10s; }
.inner-orbit i:nth-child(3) { --orbit-angle: 92deg; --orbit-travel: 12deg; --orbit-tempo: 12s; }
.inner-orbit > .brand-icon { z-index: 1; }

@keyframes brand-orbit {
  from { transform: perspective(600px) rotateX(0deg) rotateZ(var(--orbit-angle)); }
  to { transform: perspective(600px) rotateX(26deg) rotateZ(calc(var(--orbit-angle) + var(--orbit-travel))); }
}

@keyframes brand-float {
  from { transform: perspective(500px) translateY(2%) rotateY(-8deg); }
  to { transform: perspective(500px) translateY(-5%) rotateY(9deg); }
}

.device-art {
  --stage-entry: 0;
  --stage-distance: clamp(2.7rem, 10vw, 9rem);
}
.device-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 58% 56%, #d1d1de35, transparent 63%);
  transform: translateX(calc(var(--stage-entry) * 23%));
  opacity: calc(1 - var(--stage-entry) * .75);
  pointer-events: none;
}
.device-art.stage-active .phone {
  opacity: calc(1 - var(--stage-entry) * .45);
}
.device-art.stage-in-view .phone { will-change: translate, rotate, scale; }
.device-art.stage-active .phone-front {
  translate: calc(-1 * var(--stage-distance) * var(--stage-entry)) calc(52px * var(--stage-entry));
  rotate: calc(-18deg * var(--stage-entry));
  scale: calc(1 - var(--stage-entry) * .16);
}
.device-art.stage-active .phone-back {
  translate: calc(var(--stage-distance) * var(--stage-entry)) calc(-40px * var(--stage-entry));
  rotate: calc(18deg * var(--stage-entry));
  scale: calc(1 - var(--stage-entry) * .12);
}

@media (prefers-reduced-motion: no-preference) {
  .inner-orbit i { animation: brand-orbit var(--orbit-tempo) ease-in-out infinite alternate paused; }
  .inner-orbit > .brand-icon { animation: brand-float 4.6s ease-in-out infinite alternate paused; }
  .inner-orbit.orbit-in-view :is(i, .brand-icon) { animation-play-state: running; }
}

.inner-motion-button { right: 0; bottom: 1.05rem; }
@media (max-width: 720px) {
  .inner-motion-button { left: 0; right: auto; font-size: .72rem; }
}

/* The dot follows the mouse while the native pointer remains available. */

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
}
.cursor-dot::before {
  position: absolute;
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px #0b0b0c;
  transform: translate(-50%, -50%);
  transition: transform 180ms cubic-bezier(.22, .74, .25, 1), background-color 160ms ease;
}
.cursor-dot.cursor-visible { opacity: .92; will-change: transform; }
.cursor-dot.cursor-interactive::before { transform: translate(-50%, -50%) scale(2.7); background: transparent; }

@media (prefers-reduced-motion: reduce) {
  .cursor-dot { display: none; }
}

/* Footer navigation and lightweight scroll feedback. */
.site-footer {
  overflow: clip;
  background: #101012;
}
.footer-lead {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(1.5rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.8rem, 7vw, 6rem);
}
.footer-lead::before {
  content: "";
  position: absolute;
  inset: 0 calc(-1 * var(--gutter));
  z-index: -1;
  background: radial-gradient(ellipse at 74% 40%, #26262d 0, transparent 55%);
  pointer-events: none;
}
.footer-message h2 {
  margin: .65rem 0 .9rem -.04em;
  font-size: clamp(2.5rem, 6.5vw, 6.4rem);
  line-height: .92;
  letter-spacing: -.07em;
}
.footer-message h2 span { color: #9797a3; }
.footer-message > p:not(.eyebrow) { max-width: 30rem; color: var(--muted); }
.footer-lead .footer-orbit { width: min(100%, 19rem); margin: 0; justify-self: center; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr 1.2fr 1fr;
  align-items: start;
  gap: clamp(1rem, 3vw, 3rem);
  padding-block: clamp(2rem, 5vw, 3.75rem);
}
.footer-grid p { margin-top: .7rem; color: var(--muted); max-width: 15rem; }
.footer-phone { display: inline-block; margin-top: .85rem; font: .83rem var(--mono); color: #e4e4eb; }
.footer-links { display: grid; justify-items: start; gap: .5rem; }
.footer-links h3 { margin-bottom: .28rem; font-size: .97rem; }
.footer-links a { color: var(--muted); font-size: .92rem; line-height: 1.35; }
.footer-links a:is(:hover,:focus-visible), .footer-phone:is(:hover,:focus-visible) {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .24em;
}
.footer-top { display: inline-flex; gap: .55rem; align-items: center; color: var(--ink); }
.footer-top span { transition: transform .22s ease; }
.footer-top:is(:hover,:focus-visible) span { transform: translateY(-.22rem); }

.scroll-progress { display: none; }
@supports (animation-timeline: scroll()) {
  .motion-enabled .scroll-progress {
    display: block;
    position: fixed;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, #9b9ba9, #f2f2f4);
    transform: scaleX(0);
    transform-origin: left;
    z-index: 8;
    pointer-events: none;
    animation: reading-progress linear both;
    animation-timeline: scroll(root block);
  }

  @keyframes reading-progress { to { transform: scaleX(1); } }
}

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-lead { grid-template-columns: 1fr; }
  .footer-lead .footer-orbit { width: min(62%, 11rem); justify-self: end; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-links { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-enabled .scroll-progress { display: none; }
  .footer-top:is(:hover,:focus-visible) span { transform: none; }
}
