:root {
  color-scheme: dark;
  --background: #141417;
  --panel: #1e1e25;
  --line: #3a3a44;
  --text: #f6f5fa;
  --muted: #c4c2d0;
  --lime: #d4fb72;
  --lavender: #baadfa;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); font: 1rem/1.6 system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
p { margin: 0 0 1rem; }
.wrap { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.top, .footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.2rem; }
.top { border-bottom: 1px solid var(--line); }
.brand { font-weight: 850; letter-spacing: .1em; text-decoration: none; }
.brand span { color: var(--lime); }
nav { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, .footer a:hover { color: var(--lime); }
.hero, .contact { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.hero { padding-block: clamp(3rem, 8vw, 7rem); }
.eyebrow { color: var(--lavender); }
h1, h2 { margin: 0 0 1.1rem; line-height: 1.04; letter-spacing: -.055em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
h1 em { color: var(--lime); font-style: normal; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
.intro { font-size: 1.125rem; max-width: 37ch; }
.intro, .steps p, details p, .contact p, address span { color: var(--muted); }
.button { display: inline-block; margin-top: .6rem; padding: .7rem 1.15rem; border-radius: .45rem; background: var(--lime); color: #172007; font-weight: 750; text-decoration: none; }
.button:hover { background: #e6ffa9; }
.editor { position: relative; padding: clamp(.8rem, 2vw, 1.4rem); border: 1px solid var(--line); border-radius: 1.2rem; background: var(--panel); overflow: hidden; }
.monitor { display: grid; place-items: center; padding: .9rem; background: #101015; border-radius: .55rem; }
.frame { display: grid; place-items: center; width: min(42%, 136px); aspect-ratio: 9 / 15; border-radius: .4rem; color: white; background: radial-gradient(ellipse at 18% 10%, #e7d8ff, transparent 49%), repeating-linear-gradient(144deg, transparent 0 18px, #17153c30 20px 28px), linear-gradient(150deg, #8865ec, #392b78 55%, #181632); }
.frame span { display: grid; place-items: center; width: 2.45rem; aspect-ratio: 1; border: 1px solid #fff9; border-radius: 50%; font-size: .9rem; }
.ruler { display: flex; justify-content: space-between; margin-block: .7rem .3rem; color: var(--muted); font: .8rem ui-monospace, monospace; }
.track { display: flex; gap: .22rem; margin-top: .32rem; }
.track i { flex: 1; border-radius: .2rem; }
.video i { height: 1.1rem; background: repeating-linear-gradient(90deg, #a187ef 0 16px, #816acc 17px 23px); }
.video i:nth-child(2) { flex: 1.5; }
.captions i { height: .65rem; background: var(--lime); }
.sound i { height: .75rem; background: repeating-linear-gradient(90deg, #61886e 0 2px, #283d31 2px 5px); }
.playhead { position: absolute; bottom: .5rem; left: 43%; height: 6.1rem; border-left: 2px solid #fff; }
.section { border-top: 1px solid var(--line); padding-block: clamp(2.3rem, 5vw, 4rem); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; padding: 0; margin: 1.7rem 0 0; }
.steps li { padding: 1rem; background: var(--panel); border-radius: .7rem; }
.steps p { margin: .45rem 0 0; }
.policies { max-width: 76ch; }
details { border-bottom: 1px solid var(--line); padding: .8rem 0; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: .6rem 0 .3rem; }
address { display: grid; gap: .35rem; font-style: normal; overflow-wrap: anywhere; }
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
@media (max-width: 700px) {
  .wrap { width: calc(100% - 2rem); }
  .hero, .contact, .steps { grid-template-columns: 1fr; }
  .top { align-items: flex-start; flex-direction: column; }
  .contact { gap: .8rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.catalog-intro { max-width: 65ch; }
.catalog { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.service-card { display: flex; flex-direction: column; gap: .6rem; min-width: 0; padding: 1.2rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--panel); }
.service-card h3 { margin: 0; line-height: 1.2; }
.service-card p { color: var(--muted); }
.service-card .service-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .3rem .8rem; margin: auto 0 0; }
.service-meta strong { color: var(--lime); }

.email-panel { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: .8rem; background: var(--panel); }
.email-panel h2 { margin-bottom: .7rem; }
.email-panel p { max-width: 55ch; margin: 0; color: var(--muted); }
.email-panel .button { margin-top: 0; }
address a { color: var(--lime); }

.language-switch { display: flex; gap: .25rem; padding: .22rem; border: 1px solid var(--line); border-radius: .55rem; }
.language-switch a { padding: .25rem .5rem; border-radius: .35rem; color: var(--muted); font-size: .875rem; text-decoration: none; }
.language-switch a:hover { color: var(--lime); }
.language-switch a[aria-current="page"] { background: var(--lime); color: #172007; font-weight: 750; }
.top { flex-wrap: wrap; }
