@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --canvas: #17141f;
  --surface: #221e2c;
  --border: #393241;
  --ink: #f4f1fa;
  --secondary: #bdb5cc;
  --accent: #ab86ff;
  --accent-hover: #bda0ff;
  --available: #72d9a0;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; }
a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
::selection { color: var(--canvas); background: var(--accent); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 800; }
.shell { width: min(1248px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 10px 20px; background: var(--accent); color: var(--canvas); z-index: 10; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

.site-header { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; width: 212px; flex-shrink: 0; }
.brand img { width: 100%; height: auto; }
.desktop-nav { display: flex; gap: 34px; }
.desktop-nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: 16px; font-weight: 500; transition: color 160ms; }
.desktop-nav a:hover { color: var(--accent); }
.nav-label { position: relative; }
.nav-label::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 160ms ease-out; pointer-events: none; }
.site-header nav a:focus-visible .nav-label::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .site-header nav a:hover .nav-label::after { transform: scaleX(1); }
}
.mobile-menu { display: none; }

.hero { min-height: 342px; display: grid; grid-template-columns: 1fr 230px; align-items: center; gap: 48px; padding: 24px 0 48px; }
.hero h1 { font-size: clamp(48px, 5.3vw, 72px); line-height: 1.08; letter-spacing: -2.8px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 20px; line-height: 1.55; color: var(--secondary); margin: 19px 0 24px; }
.hero-symbol { width: 220px; height: 220px; opacity: .12; justify-self: end; }
.button { min-height: 48px; padding: 12px 23px; display: inline-flex; justify-content: center; align-items: center; gap: 14px; border-radius: 11px; background: var(--accent); color: var(--canvas); font-weight: 800; line-height: 1.5; transition: background 160ms, transform 160ms; }
.button span { font-size: 22px; line-height: 1; }
.button:hover { background: var(--accent-hover); transform: translateY(-1px); }
.button:active { transform: translateY(0); }

.collection { border-top: 1px solid var(--border); padding: 26px 0 36px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.section-heading h2 { font-size: 28px; letter-spacing: -.9px; line-height: 1.3; }
.section-heading p { color: var(--secondary); font-size: 14px; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.app-card { min-width: 0; padding: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; display: flex; flex-direction: column; transition: border-color 180ms ease-out; }
.app-preview { position: relative; aspect-ratio: 16 / 10; border-radius: 9px; overflow: hidden; background: #111316; }
.app-preview img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 180ms ease-out; }
.hopdrop .app-preview { background: #f6f5f0; }
.hopdrop .app-preview img { object-position: top; }
/* Each overlay matches its screenshot's cover crop and shares its hover zoom. */
.preview-motion { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transition: transform 180ms ease-out; }
.hopdrop-traveller { stroke-dasharray: 4 100; stroke-dashoffset: 4; }
.app-card-content { display: flex; flex-direction: column; flex-grow: 1; padding: 10px 3px 0; }
.app-card h3 { font-size: 25px; line-height: 1.35; letter-spacing: -.8px; }
.app-card p { font-size: 15px; color: var(--secondary); line-height: 1.6; margin-top: 3px; }
.app-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; margin-top: auto; min-height: 58px; }
.status { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--secondary); }
.status > span { width: 9px; height: 9px; border-radius: 50%; background: var(--available); flex-shrink: 0; }
.status-soon > span { background: #b5a7ca; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--accent); font-size: 15px; font-weight: 750; }
.text-link:hover { color: #c9afff; text-decoration: underline; text-underline-offset: 5px; }
.text-link span { font-size: 20px; line-height: 1; transition: transform 160ms ease-out; }

/* Quiet feedback: previews stay clipped inside their existing frames. */
.app-card:focus-within { border-color: #665775; }
@media (hover: hover) and (pointer: fine) {
  .app-card:hover { border-color: #665775; }
}
@media (prefers-reduced-motion: no-preference) {
  .app-card.is-entering { animation: card-enter 320ms ease-out backwards; }
  .app-card:focus-within .app-preview img, .app-card:focus-within .preview-motion { transform: scale(1.01); }
  .hopdrop:focus-within .hopdrop-traveller { animation: hopdrop-hop 900ms ease-in-out; }
  .framecut:focus-within .framecut-playhead { animation: framecut-sweep 1100ms linear; }
  .text-link:focus-visible span { transform: translate(2px, -2px); }
  .hero .button:focus-visible span { animation: arrow-dip 280ms ease-out; }
}
@media (min-width: 801px) and (prefers-reduced-motion: no-preference) {
  .app-card.is-entering:nth-child(2) { animation-delay: 40ms; }
  .app-card.is-entering:nth-child(3) { animation-delay: 80ms; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .app-card:hover .app-preview img, .app-card:hover .preview-motion { transform: scale(1.01); }
  .hopdrop:hover .hopdrop-traveller { animation: hopdrop-hop 900ms ease-in-out; }
  .framecut:hover .framecut-playhead { animation: framecut-sweep 1100ms linear; }
  .text-link:hover span { transform: translate(2px, -2px); }
  .hero .button:hover span { animation: arrow-dip 280ms ease-out; }
}
@keyframes arrow-dip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
@keyframes card-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes menu-enter {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hopdrop-hop {
  0% { stroke-dashoffset: 4; opacity: 0; }
  12%, 82% { opacity: .9; }
  100% { stroke-dashoffset: -100; opacity: 0; }
}
@keyframes framecut-sweep {
  0% { transform: translateX(0); opacity: 0; }
  12%, 82% { opacity: .9; }
  100% { transform: translateX(124px); opacity: 0; }
}

.maker { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; border-top: 1px solid var(--border); padding: 36px 0 40px; }
.eyebrow { text-transform: uppercase; color: var(--accent); font-size: 12px; line-height: 1.5; font-weight: 800; letter-spacing: .6px; margin-bottom: 12px; }
.maker h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.15; letter-spacing: -1.4px; }
.maker-copy { color: var(--secondary); font-size: 16px; }
.maker-copy p + p { margin-top: 12px; }
.maker-copy .maker-name { color: var(--ink); font-size: 15px; font-weight: 700; }
.contact { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 8px; scroll-margin-top: 24px; }
.contact-detail { color: var(--secondary); font-size: 13px; overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid var(--border); min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 16px 0; }
.footer-brand { width: 150px; }
.site-footer p { font-size: 13px; color: var(--secondary); }
.not-found { min-height: 65vh; padding: 80px 0; }
.not-found h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.15; letter-spacing: -2px; }
.not-found > p:not(.eyebrow) { color: var(--secondary); margin: 24px 0; }

@media (min-width: 1600px) {
  .hero { padding-top: 42px; padding-bottom: 60px; }
  .collection { padding-bottom: 48px; }
  .maker { padding-block: 46px; }
}
@media (max-width: 1050px) {
  .shell { width: calc(100% - 64px); }
  .hero { grid-template-columns: 1fr 150px; gap: 24px; }
  .hero-symbol { width: 150px; height: 150px; }
  .hero h1 { font-size: 56px; }
  .hero p { font-size: 18px; }
  .app-grid { gap: 14px; }
  .app-card { padding: 9px; }
  .app-card h3 { font-size: 23px; }
  .app-card p { font-size: 14px; }
  .maker { gap: 32px; }
}
@media (max-width: 800px) {
  .shell { width: calc(100% - 44px); }
  .site-header { min-height: 88px; }
  .brand { width: 172px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; position: relative; z-index: 2; }
  .mobile-menu summary { cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; list-style: none; border: 1px solid var(--border); border-radius: 10px; min-height: 44px; padding: 8px 14px; background: var(--surface); }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-icon { width: 15px; display: grid; gap: 4px; }
  .menu-icon span { height: 1.5px; background: var(--ink); border-radius: 1px; transition: transform 160ms ease-out; }
  .mobile-menu[open] .menu-icon span:first-child { transform: translateY(2.75px) rotate(45deg); }
  .mobile-menu[open] .menu-icon span:last-child { transform: translateY(-2.75px) rotate(-45deg); }
  .mobile-menu nav { position: absolute; top: calc(100% + 10px); right: 0; width: 180px; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 30px #0003; }
  .mobile-menu[open] nav { animation: menu-enter 160ms ease-out; }
  .mobile-menu nav a { display: flex; align-items: center; padding: 10px 12px; min-height: 46px; border-radius: 6px; }
  .mobile-menu nav a:hover { color: var(--accent); background: var(--canvas); }
  .hero { display: block; min-height: auto; padding: 24px 0 36px; }
  .hero-symbol { display: none; }
  .hero h1 { font-size: clamp(38px, 7vw, 56px); letter-spacing: -1.7px; }
  .hero p { font-size: 17px; margin: 18px 0 24px; }
  .app-grid { grid-template-columns: 1fr; gap: 18px; }
  .app-card { padding: 12px; }
  .app-preview { aspect-ratio: 16 / 9; }
  .app-card h3 { font-size: 26px; }
  .app-card p { font-size: 16px; }
  .app-card-content { padding: 12px 4px 0; }
  .app-card-footer { padding-top: 10px; }
  .status { font-size: 14px; }
  .text-link { font-size: 16px; }
  .maker { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .maker h2 { font-size: 34px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .section-heading p { font-size: 15px; }
  .site-footer p { max-width: 195px; text-align: right; }
  .footer-brand { width: 138px; }
}
@media (max-width: 480px) {
  .hero .button { width: 100%; }
  .desktop-break { display: none; }
  .hero h1 { font-size: clamp(34px, 9.6vw, 44px); line-height: 1.1; letter-spacing: -1.6px; }
  .hero p { font-size: 16px; }
  .section-heading h2 { font-size: 27px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 12px; padding-block: 20px; }
  .site-footer p { max-width: none; text-align: left; font-size: 12px; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 36px); }
  .brand { width: 150px; }
  .mobile-menu summary { padding-inline: 10px; }
  .maker h2 { font-size: 29px; }
  .app-card-footer { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .button:hover { transform: none; }
}
