@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Sans:wght@500;600;700&display=swap');

:root {
  color-scheme: dark;
  --canvas: #111321;
  --panel: #1b1d30;
  --line: #393b54;
  --muted: #bec0d1;
  --accent: #d6d9fe;
  --purple: #b7adff;
  --mint: #a5f4d2;
  --heading: "Instrument Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: #f3f3fb; font-family: var(--body); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--mint); outline-offset: 5px; }
.skip { position: absolute; z-index: 9; top: 8px; left: 16px; padding: 10px 16px; background: var(--mint); color: #181b22; transform: translateY(-140%); }
.skip:focus { transform: translateY(0); }
.wrap { width: min(1136px, calc(100% - 64px)); margin-inline: auto; }
.masthead, .footer { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.masthead { border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; font: 700 25px/1 var(--heading); letter-spacing: -.045em; }
.mark { display: flex; gap: 3px; height: 20px; align-items: center; transform: skew(-16deg); }
.mark span { display: block; width: 5px; border-radius: 8px; background: var(--purple); height: 70%; }
.mark span:nth-child(2) { height: 100%; background: #cdc6ff; }
.mark span:nth-child(3) { height: 58%; background: var(--mint); }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: .9rem; font-weight: 600; }
nav a, .back, .footer > span { color: var(--muted); }
nav a:hover, nav a[aria-current], .back:hover { color: var(--mint); }
.hero { display: grid; grid-template-columns: .98fr 1.02fr; min-height: 512px; align-items: center; gap: 32px; padding: 52px 0; }
h1, h2, h3 { margin: 0; font-family: var(--heading); font-weight: 700; letter-spacing: -.047em; }
.hero h1 { font-size: clamp(4rem, 9vw, 7.55rem); line-height: .90; }
h1 em { color: var(--purple); font-style: normal; }
.hero p, .detail-copy > p:last-child { color: var(--muted); max-width: 37ch; font-size: clamp(1rem, 1.18vw, 1.22rem); line-height: 1.5; }
.hero p { margin: 28px 0 27px; }
.button { display: inline-flex; align-items: center; gap: 22px; border-radius: 7px; padding: 13px 16px; background: var(--mint); color: #162220; font-weight: 700; font-size: .94rem; }
.button:hover { background: #c8ffe7; }
.button span, .text-link span { font-size: 1.1em; }
.hero-visual { position: relative; isolation: isolate; min-height: 385px; height: 100%; max-height: 450px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: radial-gradient(ellipse at 48% 54%, #383064, #1c1c34 63%, #171a29); }
.hero-display, .hero-audio, .orbit { position: absolute; }
.orbit { z-index: -1; width: 90%; height: 75%; inset: 12% 5%; border: 1px solid #9285d33c; border-radius: 50%; transform: rotate(-24deg); }
.orbit-two { transform: rotate(23deg); }
.orbit-three { transform: rotate(57deg); }
.hero-display { left: 10%; top: 15%; width: 70%; height: 56%; border: 5px solid #22253b; border-radius: 11px; box-shadow: 0 16px 24px #0d101b80; background: center/cover url("cast-landscape.svg"); transform: rotate(-9deg); }
.hero-audio { right: 6%; bottom: 12%; width: 61%; min-height: 33%; padding: 11px; border: 1px solid #51516f; background: #20253b; border-radius: 11px; box-shadow: 0 15px 20px #0d101b88; transform: rotate(8deg); }
.hero-label { display: flex; align-items: center; gap: 6px; width: max-content; color: #f3f3fb; padding: 5px 9px; font-size: .69rem; font-weight: 700; border-radius: 8px; background: #171a29e8; }
.hero-display .hero-label { position: absolute; bottom: 9px; left: 9px; }
.hero-label i { border-radius: 50%; width: 6px; height: 6px; background: var(--mint); }
.hero-audio .waveform { height: 70px; margin: 8px 0 0; }
.hero-screenshots .hero-display, .hero-screenshots .hero-audio { height: auto; min-height: 0; overflow: hidden; }
.hero-screenshots .hero-display { background: #22253b; }
.hero-screenshots .hero-audio { padding: 0; }
.hero-screenshots img { display: block; width: 100%; height: auto; }
.catalog { scroll-margin-top: 24px; }
.section-title { padding: 19px 0 23px; border-top: 1px solid var(--line); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.55rem); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.product-card { display: flex; flex-direction: column; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 13px; }
.product-art { display: grid; place-items: center; min-height: 250px; padding: 22px; }
.screenshot-art img { display: block; width: 100%; height: auto; border-radius: 7px; box-shadow: 0 12px 24px #10122188; }
.cast-art { background: radial-gradient(ellipse at 59% 5%, #4d4676, #252438 72%); }
.ring-art { background: radial-gradient(ellipse at 43% 3%, #325950, #1d3439 68%, #22313b); }
.art-window { width: min(100%, 384px); padding: 10px; border: 1px solid #515672; border-radius: 9px; background: #1b2132; box-shadow: 0 16px 24px #12162069; }
.window-head { display: flex; align-items: center; gap: 14px; color: #e6e9f6; font-size: .72rem; padding: 1px 1px 9px; }
.window-dots { display: flex; gap: 3px; }
.window-dots i { width: 5px; height: 5px; border-radius: 50%; background: #8587a5; }
.monitor { aspect-ratio: 2.35; border-radius: 5px; position: relative; background: center 45%/cover url("cast-landscape.svg"); }
.monitor-tag { background: #1b2132ed; color: #e9edff; font-size: .62rem; padding: 4px 7px; border-radius: 4px; position: absolute; left: 7px; bottom: 7px; }
.filmstrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding-top: 6px; }
.thumb { min-height: 36px; border-radius: 4px; overflow: hidden; }
.landscape { background: center/cover url("cast-landscape.svg"); }
.notice { display: flex; align-items: center; padding: 3px 6px; color: #273049; background: #afa9e3; font-size: .62rem; font-weight: 700; line-height: 1.06; }
.schedule { padding: 7px 8px; background: #496470; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.schedule i { display: block; width: 75%; height: 2px; background: #a5babb; border-radius: 2px; }
.schedule i:nth-child(2) { width: 54%; }
.waveform { position: relative; isolation: isolate; display: flex; align-items: center; gap: 2px; height: 131px; background: repeating-linear-gradient(90deg, transparent 0 11%, #72788b33 11% 11.3%), #171e2c; border-radius: 6px; overflow: hidden; padding: 6px 5px; }
.waveform span { flex: 1; height: var(--h); border-radius: 4px; background: #8f9fae; min-width: 0; }
.waveform span.selected { background: var(--mint); }
.selection { position: absolute; z-index: -1; left: 23%; width: 51%; top: 0; bottom: 0; border-inline: 1.5px solid var(--mint); background: #3276656b; }
.ruler { display: flex; justify-content: space-between; padding: 7px 1px 1px; color: #bec0d0; font-variant-numeric: tabular-nums; font-size: .65rem; }
.card-copy { padding: 24px; display: flex; flex: 1; flex-direction: column; }
.category { color: var(--purple); margin: 0 0 8px; font-size: .79rem; font-weight: 700; letter-spacing: .015em; }
.ring .category, .ring h1 em { color: var(--mint); }
h3 { font-size: 1.53rem; }
.card-copy h3 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
.card-copy h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.card-copy > p:not(.category), .workflow li p { color: var(--muted); line-height: 1.55; }
.card-copy > p:not(.category) { margin: 11px 0 18px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-weight: 700; color: var(--accent); }
.card-copy .text-link { margin-top: auto; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer { min-height: 96px; margin-top: 64px; border-top: 1px solid var(--line); font-size: .9rem; }
.footer .logo { font-size: 20px; }
.back { display: inline-flex; gap: 9px; margin-top: 27px; font-size: .9rem; font-weight: 650; }
.detail-hero { display: grid; grid-template-columns: 1fr .9fr; gap: 36px; align-items: center; min-height: 436px; padding: 38px 0 50px; }
.detail-copy h1 { font-size: clamp(2.9rem,6.3vw,5.4rem); line-height: 1.01; }
.detail-copy h1 em { display: block; }
.detail-copy > p:last-child { margin: 23px 0 0; }
.detail-hero .product-art { min-height: 320px; border: 1px solid var(--line); border-radius: 14px; }
.workflow ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.workflow li { padding: 23px; background: var(--panel); }
.workflow li + li { border-left: 1px solid var(--line); }
.workflow li p { margin: 8px 0 0; }
.project-workflow { margin-top: 36px; }
.project-workflow ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
.next-app { margin-top: 25px; text-align: right; }
@media (max-width: 900px) {
 .hero { min-height: 470px; gap: 24px; }
 .hero-visual { min-height: 350px; }
 .detail-hero { gap: 22px; }
}
@media (max-width: 720px) {
 .wrap { width: calc(100% - 36px); }
 .masthead { min-height: 74px; gap: 14px; }
 nav { gap: 12px; font-size: .76rem; }
 .logo { font-size: 21px; gap: 7px; }
 .hero, .detail-hero, .product-grid { grid-template-columns: 1fr; }
 .hero { padding: 40px 0 30px; gap: 27px; }
 .hero h1 { font-size: clamp(3.68rem, 13vw, 6.1rem); }
 .hero p { margin: 18px 0 22px; }
 .hero-visual { min-height: 290px; }
 .detail-hero { padding-top: 24px; min-height: auto; gap: 27px; }
 .detail-hero .product-art { min-height: 245px; }
 .workflow ol, .project-workflow ol { grid-template-columns: 1fr; }
 .workflow li + li { border-left: 0; border-top: 1px solid var(--line); }
 .footer { margin-top: 39px; }
}
@media (max-width: 360px) {
 .masthead, .footer { align-items: flex-start; justify-content: center; flex-direction: column; gap: 9px; }
}
