* { box-sizing: border-box; }
:root {
  color-scheme: dark;
  --page: #0b141d;
  --panel: #111d29;
  --deep: #09111a;
  --border: #314354;
  --ink: #f2f8fc;
  --muted: #b6c7d4;
  --mint: #9cf2d0;
  --mint-ink: #0a251d;
  --ease: cubic-bezier(.22,.82,.32,1);
  font: 1rem/1.6 "Segoe UI", system-ui, sans-serif;
  background: var(--page);
  color: var(--ink);
}
body { margin: 0; }
a { color: var(--mint); text-underline-offset: .23em; }
img { display: block; max-width: 100%; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
:focus-visible { outline: 3px solid #f5ddb3; outline-offset: 4px; }
.skip { position: absolute; top: .45rem; left: .5rem; z-index: 4; padding: .65rem 1rem; background: var(--deep); transform: translateY(-150%); }
.skip:focus { transform: none; }

.site-head { border-bottom: 1px solid #243545; background: #0a141e; }
.head-inner, .brand, .site-nav, .head-auth, .actions, .foot-inner { display: flex; align-items: center; }
.head-inner { gap: clamp(1rem, 3vw, 2.75rem); min-height: 4.7rem; }
.brand { gap: .65rem; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.035em; line-height: 1.12; color: var(--ink); min-height: 44px; }
.brand small { display: block; margin-top: .23rem; font: 650 .58rem/1.35 ui-monospace, monospace; color: var(--muted); letter-spacing: .11em; }
.mark { width: 2.35rem; height: 2.35rem; display: grid; place-items: center; border-radius: .68rem; background: var(--mint); color: var(--mint-ink); transform: rotate(-7deg); font-size: 1.42rem; }
.site-nav { gap: clamp(.75rem, 2.5vw, 2rem); }
.site-nav a, .quiet, .site-foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-weight: 650; }
.site-nav a:hover, .quiet:hover, .site-foot nav a:hover { color: var(--ink); }
.head-auth { gap: .9rem; margin-left: auto; white-space: nowrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .68rem 1.05rem;
  min-height: 47px;
  border: 1px solid #536878;
  border-radius: .75rem;
  background: #172634;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  text-align: center;
}
.button.small { min-height: 44px; }
.button.primary { background: var(--mint); color: var(--mint-ink); border-color: var(--mint); box-shadow: 0 8px 24px #42e6b221; }
.button:hover { border-color: var(--mint); }
.button.primary:hover { background: #c4ffe7; }

.hero {
  overflow: clip;
  background:
    radial-gradient(ellipse at 26% 68%, #12504f48, transparent 51%),
    radial-gradient(ellipse at 96% 27%, #29417670, transparent 62%),
    var(--page);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.35rem, 4vw, 4.7rem);
  align-items: center;
  min-height: clamp(34rem, 53vw, 45rem);
  padding-block: 3.8rem 3.2rem;
}
.hero-copy { position: relative; z-index: 1; }
.kicker { display: flex; align-items: center; gap: .55rem; margin: 0 0 1rem; color: var(--mint); font: 700 .72rem/1.4 ui-monospace, monospace; letter-spacing: .12em; }
.kicker span, .frame-float-title i { width: .48rem; height: .48rem; border-radius: 50%; background: var(--mint); box-shadow: 0 0 .9rem #8ffaaf7e; flex: 0 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1 { line-height: 1.03; letter-spacing: -.067em; font-size: clamp(2.65rem, 4.9vw, 4.8rem); margin: 0 0 1.25rem; text-wrap: balance; }
h1 em { color: var(--mint); font-style: normal; }
.intro { color: var(--muted); max-width: 42ch; font-size: clamp(1.05rem, 1.5vw, 1.21rem); }
.hero-note { color: var(--muted); font-size: .88rem; margin: .85rem 0 0; }
.actions { flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.showcase { position: relative; margin: 0; min-width: 0; isolation: isolate; padding: 1.2rem 1.8rem 3.2rem 0; }
.showcase::before {
  content: ""; position: absolute; z-index: -2; inset: -12% -18% -1% -8%;
  background: linear-gradient(#8dcbd010 1px, transparent 1px), linear-gradient(90deg,#8dcbd010 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse, #000 20%, transparent 67%);
}
.frame { background: #111d28; border: 1px solid #486171; border-radius: 1rem; overflow: hidden; }
.frame-ghost { position: absolute; z-index: -1; inset: .1rem .4rem 4rem 2rem; background: #16303b6b; transform: rotate(5deg); border-color: #8ee8c344; }
.frame-main { box-shadow: 0 2rem 5rem #060c15a8; }
.frame-main img { width: 100%; height: auto; }
.frame-bar { display: flex; align-items: center; gap: .33rem; min-height: 2.1rem; padding: .3rem .7rem; color: #cbdae3; background: #152330; font: 650 .68rem/1.4 ui-monospace, monospace; }
.frame-bar i { width: .37rem; height: .37rem; border-radius: 50%; background: #6f8d9b; }
.frame-bar i:first-child { background: #96ebc9; }
.frame-bar span { margin-left: .45rem; }
.frame-float { width: 43%; position: absolute; bottom: 1.25rem; right: 0; box-shadow: 0 1rem 2.2rem #070e17bf; transform: rotate(3deg); border-color: #6c9d99; }
.frame-float-title { display: flex; align-items: center; gap: .38rem; padding: .45rem .6rem; font-size: clamp(.6rem, 1vw, .78rem); font-weight: 700; }
.frame-float img { width: 100%; height: auto; aspect-ratio: 16/7; object-fit: cover; object-position: 50% 38%; }
.showcase figcaption { position: absolute; bottom: .12rem; left: 0; color: var(--muted); font-size: .75rem; }

.band { background: #101c28; border-block: 1px solid #283d4d; }
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; padding-block: 1.65rem; }
.highlights article { display: flex; gap: .9rem; }
.highlights h2 { font-size: 1rem; margin: 0; }
.highlights p { font-size: .9rem; color: var(--muted); margin: .18rem 0 0; }
.motif { display: grid; position: relative; width: 2.4rem; height: 2.4rem; place-items: center; border: 1px solid #4d736f; border-radius: .68rem; flex: 0 0 auto; color: var(--mint); background: #163037; }
.motif::before, .motif::after { content: ""; display: block; box-sizing: border-box; }
.motif-library::before { width: .85rem; height: .83rem; border: 2px solid; border-radius: 2px; box-shadow: 4px 4px 0 -2px #163037, 4px 4px 0 0 currentColor; transform: translate(-2px, -2px); }
.motif-time::before { width: 1rem; height: 1rem; border: 2px solid; border-radius: 50%; }
.motif-time::after { position: absolute; width: .29rem; height: .38rem; border-bottom: 2px solid; border-left: 2px solid; left: 50%; top: 34%; }
.motif-chart::before { width: 1rem; height: .9rem; background: linear-gradient(to top,currentColor .35rem,transparent 0) 0 bottom/.19rem 100% no-repeat, linear-gradient(to top,currentColor .6rem,transparent 0) center bottom/.19rem 100% no-repeat, currentColor; clip-path: polygon(0 60%,21% 60%,21% 100%,39% 100%,39% 31%,61% 31%,61% 100%,79% 100%,79% 0,100% 0,100% 100%,0 100%); }
.content { padding-block: clamp(3.1rem, 7vw, 6rem); scroll-margin-top: 1rem; }
.section-heading { margin-bottom: 1.7rem; }
.section-heading h2 { font-size: clamp(1.9rem, 3.9vw, 3.2rem); line-height: 1.13; letter-spacing: -.05em; margin-bottom: .55rem; text-wrap: balance; }
.section-heading > p:not(.kicker) { color: var(--muted); margin-bottom: 0; }
.start-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.1rem; }
.start-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(1.2rem, 3.5vw, 2.45rem); border: 1px solid var(--border); border-radius: 1.2rem; background: var(--panel); }
.start-card.browser-card { background: linear-gradient(145deg, #163330, var(--panel) 77%); border-color: #558479; }
.start-card h3 { font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.2; margin: 0 0 .55rem; letter-spacing: -.035em; }
.start-card p:not(.kicker), .start-card li { color: var(--muted); }
.start-card ul { padding-left: 1.2rem; margin: .1rem 0 1.5rem; }
.start-card li + li { margin-top: .42rem; }
.start-card li::marker { color: var(--mint); }
.start-card .button { margin-top: auto; }
.feature-band { background: #0e1a25; border-block: 1px solid #25394b; scroll-margin-top: 1rem; }
.feature-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 1.1rem; align-items: start; }
.feature-options { display: grid; gap: .55rem; }
.feature-options a { display: grid; gap: .27rem; padding: 1rem 1.1rem; color: var(--ink); text-decoration: none; background: var(--page); border: 1px solid var(--border); border-radius: .85rem; }
.feature-options a span { color: var(--muted); font-size: .91rem; }
.feature-options a[aria-current="true"], .feature-options a:hover { background: #162731; border-color: #669c8c; }
.feature-shot { margin: 0; overflow: hidden; border: 1px solid #4b6777; border-radius: .9rem; background: var(--page); }
.feature-shot img { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: top; }
.feature-shot figcaption { padding: .55rem .8rem; font-size: .8rem; color: var(--muted); }
.faq { display: grid; grid-template-columns: .6fr 1fr; gap: 1.5rem; }
.faq-list { display: grid; gap: .65rem; }
.faq-list details { background: var(--panel); border: 1px solid var(--border); border-radius: .7rem; }
.faq-list summary { cursor: pointer; padding: .82rem 1rem; min-height: 47px; font-weight: 700; }
.faq-list summary::marker { color: var(--mint); }
.faq-list p { padding: 0 1rem 1rem; color: var(--muted); margin: 0; }
.site-foot { border-top: 1px solid #243545; }
.foot-inner { min-height: 8rem; padding-block: 1.5rem; justify-content: space-between; gap: 1rem; }
.site-foot p { margin: .5rem 0 0; color: var(--muted); font-size: .85rem; }
.site-foot nav { display: flex; align-items: center; flex-wrap: wrap; column-gap: 1.25rem; font-size: .9rem; }
.site-nav a[aria-current="page"] { color: var(--mint); }
.home-guides { padding-top: 0; }
.guide-index .section-heading h1, .guide-article h1 { font-size: clamp(2.15rem, 5vw, 4.1rem); }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1rem; margin-block: 1.1rem 1.35rem; }
.guide-card { border: 1px solid var(--border); border-radius: .9rem; padding: clamp(1rem, 3vw, 1.65rem); background: var(--panel); }
.guide-card h2, .guide-card h3 { line-height: 1.28; font-size: 1.24rem; margin-bottom: .5rem; }
.guide-card h2 a, .guide-card h3 a { display: inline-flex; align-items: center; min-height: 44px; }
.guide-card p { color: var(--muted); margin: 0; }
.guide-container { width: min(100% - 2rem, 46rem); }
.guide-crumb { display: flex; gap: .55rem; align-items: center; margin-bottom: 1.25rem; }
.guide-crumb a { display: inline-flex; align-items: center; min-height: 44px; }
.guide-byline, .guide-figure figcaption { color: var(--muted); font-size: .9rem; }
.guide-article h2 { font-size: clamp(1.42rem, 3vw, 2.05rem); line-height: 1.2; letter-spacing: -.025em; margin: 2rem 0 .65rem; }
.guide-article .intro { max-width: none; }
.guide-article dd { margin: .1rem 0 .75rem; color: var(--muted); }
.guide-article dt { font-weight: 750; }
.guide-article li + li { margin-top: .5rem; }
.guide-article code { overflow-wrap: anywhere; }
.guide-figure { margin: 1.25rem 0; }
.guide-figure img { width: 100%; height: auto; border: 1px solid var(--border); border-radius: .85rem; }
.guide-figure figcaption { margin-top: .5rem; }
.guide-next { display: grid; justify-items: start; gap: .85rem; padding: 1.25rem; margin-top: 2rem; border-radius: .9rem; border: 1px solid var(--border); background: var(--panel); }
.guide-next > a { display: inline-flex; align-items: center; min-height: 44px; }
.guide-next .hero-note { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  .button, .feature-options a { transition: color .18s, background-color .18s, border-color .18s, transform .22s var(--ease); }
  .button:hover { transform: translateY(-2px); }
  .hero-copy, .frame-main { animation: enter .7s var(--ease) both; }
  .frame-main { animation-delay: .12s; }
  .frame-float { animation: float-in .86s .27s var(--ease) both; }
  [data-reveal].waiting:not(:focus-within) { opacity: .22; transform: translateY(19px); }
  [data-reveal] { transition: opacity .45s var(--ease), transform .45s var(--ease); }
  .feature-shot img.swap { animation: shot-in .27s var(--ease); }
}
@keyframes enter { from { opacity: .24; transform: translateY(18px); } }
@keyframes float-in { from { opacity: 0; transform: translateY(24px) rotate(-3deg); } }
@keyframes shot-in { from { opacity: .5; } }

@media (max-width: 56rem) {
  .hero-grid { min-height: auto; padding-block: 3.2rem 2.2rem; }
  .showcase { padding-right: .9rem; }
  .frame-float { width: 47%; }
}
@media (max-width: 46rem) {
  .wrap { width: min(100% - 2rem, 76rem); }
  .head-inner { flex-wrap: wrap; padding-block: .6rem .18rem; gap: .25rem .55rem; }
  .head-auth .button { padding-inline: .7rem; }
  .site-nav { order: 2; width: 100%; justify-content: space-between; }
  .hero-grid, .feature-layout, .faq { grid-template-columns: 1fr; }
  .hero-grid { gap: 1.3rem; }
  .intro { max-width: 50ch; }
  .showcase { width: min(100%, 35rem); margin-inline: auto; }
  .highlights { gap: .9rem; }
  .highlights article { display: grid; gap: .5rem; }
  .faq { gap: .2rem; }
  .foot-inner { align-items: flex-start; flex-direction: column; gap: .5rem; }
}
@media (max-width: 34rem) {
  .start-grid { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr; gap: 1rem; }
  .highlights article { display: flex; gap: .7rem; }
  .head-auth { gap: .65rem; }
  .showcase { padding-bottom: 2.6rem; }
  .frame-float { bottom: .9rem; }
  .actions .button { width: 100%; }
}
@media (max-width: 22rem) {
  .mark { width: 1.85rem; height: 1.85rem; font-size: 1.15rem; }
  .brand { font-size: 1rem; gap: .43rem; }
  .brand small { font-size: .48rem; }
  .head-auth { gap: .5rem; font-size: .85rem; }
  .button.small { padding-inline: .58rem; }
}
