@font-face {
    font-family: Russo One;
    src: url(/opt/assets/russo-one.woff2) format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: Golos Text;
    src: url(/opt/assets/golos-text.woff2) format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: Golos Text;
    src: url(/opt/assets/golos-bold.woff2) format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}
:root {
    color-scheme: light;
    --ink: #101e49;
    --night: #071b4e;
    --blue: #084bbf;
    --yellow: #ffe226;
    --cyan: #75e2ff;
    --muted: #46577a;
    --rule: #d7dfed;
    --heading: "Russo One", "Golos Text", Arial, sans-serif;
    --gutter: clamp(24px, 5vw, 88px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 12px; }
body { margin: 0; color: var(--ink); background: #fff; font: 400 16px/1.5 "Golos Text", Arial, sans-serif; }
h1, h2, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, a, input, textarea { touch-action: manipulation; }
[hidden] { display: none !important; }
::selection { color: var(--ink); background: var(--yellow); }
:focus-visible { outline: 3px solid #0064e6; outline-offset: 4px; }
.mast :focus-visible, .hero :focus-visible, .request-copy :focus-visible, .mast-foot :focus-visible { outline-color: var(--yellow); }
.wrap { width: min(1320px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip { position: fixed; top: -90px; left: 12px; z-index: 4; background: white; color: var(--ink); padding: 10px 15px; }
.skip:focus { top: 10px; }
.mast { position: relative; z-index: 1; background: #091c4b; color: #fff; border-bottom: 1px solid #3b5182; }
.bar, .foot { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.bar { min-height: 78px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { display: block; width: 130px; height: auto; }
.bar nav { display: flex; align-items: center; gap: 37px; margin-left: auto; }
.bar nav a, .bar-order, .foot > a:last-child { font-size: 15px; font-weight: 700; }
.bar nav a:hover, .foot > a:last-child:hover { text-decoration: underline; text-underline-offset: 5px; }
.bar-order { white-space: nowrap; display: inline-flex; gap: 16px; align-items: center; border: 1px solid #8698b8; border-radius: 6px; padding: 9px 16px; }
.bar-order:hover { border-color: #fff; background: #ffffff10; }
.bar-order span { color: var(--yellow); }
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    color: #fff; background: linear-gradient(110deg, #05163f, #072465 50%, #124bbb 88%, #153e9c);
}
.hero-art {
    position: absolute; z-index: -1; inset: 0 0 0 27%;
    background: url(/opt/assets/workshop-cobalt.webp) 63% 55% / cover no-repeat;
    mask-image: linear-gradient(90deg, transparent, #000 25%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1fr); align-items: stretch; position: relative; }
.hero-copy { position: relative; align-self: center; z-index: 1; padding-block: clamp(58px, 5.4vw, 85px); }
.model { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; letter-spacing: .12em; line-height: 1.25; text-transform: uppercase; }
.model::before { content: ""; flex: 0 0 30px; height: 4px; background: var(--yellow); transform: skewX(-20deg); }
.hero .model { color: #e0efff; }
h1, h2, .offer strong, .meter strong, .total output { font-family: var(--heading); font-weight: 400; }
h1 {
    margin-top: 19px; font-size: clamp(72px, 7.5vw, 117px);
    line-height: .96; letter-spacing: -.042em; text-transform: uppercase;
}
h1 em { display: block; color: var(--yellow); font-style: normal; }
.intro { max-width: 39ch; margin-top: 22px; color: #dee9ff; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.45; }
.hero-buy, .filament-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 29px; }
.hero-buy { margin-top: 33px; }
.offer { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.offer strong { font-size: clamp(36px, 3.2vw, 49px); line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.offer span { font-size: 14px; }
.currency { font: 700 .88em/1 "Golos Text", Arial, sans-serif; }
.hero .offer span { color: #c4d6fa; }
.action, .secondary-action {
    display: inline-flex; align-items: center; justify-content: center; gap: 20px;
    min-height: 51px; padding: 13px 22px; border: 1px solid transparent; border-radius: 7px;
    font-size: 16px; font-weight: 700; line-height: 1.2; cursor: pointer;
}
.action { color: #102045; background: var(--yellow); }
.action:hover { background: #ffeb62; }
.action span, .secondary-action span { font-size: 21px; line-height: 1; }
.action:disabled { opacity: .7; cursor: wait; }
.showcase { min-height: clamp(462px, 39.5vw, 600px); position: relative; }
.pen-stage { position: absolute; inset: 2% -2% 13% -6%; display: grid; place-items: center; }
.pen-stage img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; filter: drop-shadow(4px 16px 13px #00103d66); }
.swatch-bar {
    position: absolute; left: 16%; bottom: 24px; display: flex; align-items: center; gap: 14px;
    padding: 6px 12px 6px 15px; border: 1px solid #8298ce; border-radius: 9px;
    color: white; background: #081e52ed;
}
.color-caption { font-size: 11px; line-height: 1.25; color: #cbdaff; }
#selected-color { display: block; color: white; font-size: 13px; font-weight: 700; }
.swatches { display: flex; }
.swatch { display: grid; place-items: center; width: 36px; height: 39px; border: none; border-radius: 4px; padding: 0; background: transparent; cursor: pointer; }
.swatch::after { content: ""; width: 21px; height: 21px; border-radius: 50%; background: var(--swatch); }
.swatch[aria-pressed=true]::after { outline: 2px solid #fff; outline-offset: 3px; }
.swatch-blue { --swatch: #38d8de; }
.swatch-pink { --swatch: #ff96bf; }
.swatch-yellow { --swatch: #ffdc39; }
.swatch-purple { --swatch: #c39af7; }
.filament { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .91fr); gap: clamp(40px, 6vw, 100px); align-items: center; padding-block: clamp(45px, 5.5vw, 85px); }
.filament-shot {
    position: relative; display: grid; width: 100%; min-width: 0; min-height: 282px; aspect-ratio: 1.85; isolation: isolate; overflow: hidden;
    border-radius: 14px;
    background: radial-gradient(ellipse at 86% 96%, #5698ff, transparent 56%), linear-gradient(125deg, #082780, #0754db 64%, #1563df);
}
.meter { display: flex; align-items: center; gap: 10px; position: absolute; top: 25px; left: 26px; z-index: 1; color: white; }
.meter strong { color: var(--yellow); font-size: clamp(45px, 4.2vw, 68px); letter-spacing: -.07em; line-height: 1; }
.meter span { font-size: 13px; font-weight: 700; line-height: 1.15; }
.filament-shot img { position: absolute; left: 5%; bottom: 10%; width: 90%; height: 64%; object-fit: contain; transform: rotate(-7deg); filter: drop-shadow(2px 17px 11px #05236f70); }
.filament-copy .model { color: var(--blue); }
.filament-copy .model::before { background: currentColor; }
h2 { font-size: clamp(42px, 4.3vw, 68px); line-height: 1.02; letter-spacing: -.042em; }
.filament-copy h2 { margin-top: 14px; }
.filament-desc, .request-copy > p { margin-top: 17px; font-size: 18px; line-height: 1.5; max-width: 36ch; }
.filament-desc, .filament .offer span { color: var(--muted); }
.filament-buy { margin-top: 28px; }
.filament .offer strong { font-size: 38px; }
.secondary-action { color: var(--blue); border-color: #acc4ef; background: #fff; }
.secondary-action:hover { background: #eff5ff; border-color: var(--blue); }
.kits { background: #edf4ff; }
.kit-inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 5vw, 75px); padding-block: clamp(36px, 4vw, 64px); }
.kit-copy h2 span { color: var(--blue); }
.kit-copy .filament-desc { max-width: 42ch; }
.kit-copy .offer strong { font-size: clamp(30px, 2.9vw, 43px); }
.kit-shot { min-width: 0; display: grid; place-items: center; }
.kit-shot img { display: block; width: min(100%, 440px); height: auto; mix-blend-mode: multiply; }
.request { color: white; background: #09256b; border-top: 5px solid var(--yellow); }
.request-inner { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(45px, 7vw, 116px); align-items: start; padding-block: clamp(48px, 5.5vw, 82px); }
.request-copy { padding-top: 8px; }
.request-copy h2 span { display: block; color: var(--yellow); }
.request-copy > p { max-width: 32ch; color: #dfebff; }
.contact { margin-top: 37px; }
.contact > span { display: block; color: #c8dbff; font-size: 14px; }
.contact a, .success a { display: inline-block; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.contact a { margin-top: 3px; font-size: clamp(19px, 1.8vw, 25px); }
.contact a:hover { color: var(--yellow); }
#order-form, .success { min-width: 0; padding: clamp(21px, 2.8vw, 41px); border-radius: 16px; color: var(--ink); background: white; }
.items { min-width: 0; padding: 0; margin: 0; border: 0; }
.items legend { padding: 0; margin-bottom: 8px; font: 400 25px/1.18 var(--heading); letter-spacing: -.03em; }
.order-line, .total { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--rule); }
.order-line label, .total, .field { font-weight: 700; }
.order-line label { display: flex; align-items: center; gap: 12px; }
.line-photo { display: grid; flex: 0 0 49px; place-items: center; height: 44px; padding: 3px; border-radius: 5px; background: #eaf1ff; }
.line-photo img { width: 100%; height: 100%; object-fit: contain; }
.order-line small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; font-weight: 400; }
input, textarea { min-width: 0; padding: 11px 12px; color: var(--ink); background: white; border: 1px solid #aebbd3; border-radius: 6px; }
input::placeholder, textarea::placeholder { color: #596782; }
.order-line input { width: 85px; text-align: center; line-height: 1.3; font-variant-numeric: tabular-nums; background: #f7f9ff; }
.total { flex-wrap: wrap; border-bottom: none; }
.total output { color: #1248a8; font-size: 25px; letter-spacing: -.035em; }
.field { display: block; margin-top: 17px; font-size: 14px; }
.field input, .field textarea { display: block; width: 100%; margin-top: 6px; font-weight: 400; font-size: 16px; }
.field textarea { resize: vertical; min-height: 75px; }
.submit { width: 100%; margin: 18px 0 9px; }
.privacy { color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.error { margin-bottom: 17px; padding: 12px; border-radius: 5px; color: #841f17; background: #fff0ec; }
.success p { margin-bottom: 12px; }
.success strong { display: block; margin-top: 6px; color: var(--ink); font-size: 21px; }
.success a { margin-top: 6px; color: var(--blue); }
.mast-foot { color: #e0eaff; background: #081b49; }
.foot { padding-block: 21px; }
.foot .brand img { width: 105px; }
@media (max-width: 900px) {
    :root { --gutter: clamp(22px, 4.2vw, 40px); }
    .bar { min-height: 65px; }
    .bar nav { gap: 18px; }
    .hero-inner { grid-template-columns: minmax(0, .96fr) minmax(0, 1fr); }
    h1 { font-size: clamp(64px, 8.6vw, 80px); }
    .hero-copy { padding-block: 47px; }
    .showcase { min-height: 434px; }
    .swatch-bar { left: 1%; }
    .hero-buy, .filament-buy { gap: 12px 18px; }
    .action, .secondary-action { padding-inline: 16px; gap: 12px; }
    .filament { gap: 36px; }
    .filament-shot { min-height: 240px; }
    .request-inner { gap: 34px; }
}
@media (max-width: 680px) {
    :root { --gutter: 19px; }
    .bar { min-height: 60px; gap: 12px; }
    .bar nav { display: none; }
    .brand img { width: 104px; }
    .bar-order { font-size: 13px; padding: 8px 11px; gap: 8px; }
    .hero-inner { display: flex; flex-direction: column; }
    .hero-copy { width: 100%; padding: 28px 0 0; }
    .hero-art {
        inset: auto 0 0; width: 100%; height: 58%;
        background-position: 64% 57%;
        mask-image: linear-gradient(to bottom, transparent, #000 21%);
    }
    .hero { background: linear-gradient(135deg, #05163f, #092b75 76%, #123e9e); }
    .model { font-size: 12px; gap: 9px; }
    .model::before { flex-basis: 21px; height: 3px; }
    h1 { font-size: clamp(53px, 12.25vw, 80px); line-height: .99; margin-top: 13px; }
    .intro { max-width: 36ch; margin-top: 14px; font-size: 16px; }
    .hero-buy { margin-top: 18px; gap: 23px; }
    .offer strong { font-size: 36px; }
    .offer span { font-size: 12px; }
    .action, .secondary-action { min-height: 47px; font-size: 15px; }
    .showcase { min-height: 0; height: clamp(264px, 72vw, 370px); }
    .pen-stage { inset: 2% 0 21%; }
    .swatch-bar { bottom: 10px; left: 0; gap: 10px; padding: 2px 6px 2px 11px; }
    .color-caption { font-size: 10px; }
    #selected-color { font-size: 12px; }
    .swatch { width: 33px; height: 39px; }
    .swatch::after { width: 18px; height: 18px; }
    .filament { grid-template-columns: minmax(0,1fr); gap: 22px; padding-block: 32px 38px; }
    .filament-shot { min-height: 0; width: 100%; aspect-ratio: 1.97; border-radius: 11px; }
    .meter { left: 17px; top: 16px; gap: 8px; }
    .meter strong { font-size: 44px; }
    .meter span { font-size: 11px; }
    h2 { font-size: clamp(38px, 8vw, 48px); }
    .filament-copy h2 { margin-top: 9px; }
    .filament-desc, .request-copy > p { font-size: 16px; margin-top: 10px; }
    .filament-buy { margin-top: 18px; gap: 21px; }
    .filament .offer strong { font-size: 33px; }
    .kit-inner { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 20px 34px; }
    .kit-shot { grid-row: 1; }
    .kit-shot img { width: min(83%, 340px); }
    .kit-copy .filament-buy { gap: 15px 20px; }
    .request-inner { grid-template-columns: minmax(0,1fr); gap: 22px; padding-block: 33px; }
    .request-copy { padding-top: 0; }
    .request-copy h2 span { display: inline; }
    .contact { margin-top: 16px; }
    .contact > span { font-size: 12px; }
    #order-form, .success { border-radius: 11px; padding: 19px; }
    .items legend { font-size: 22px; }
    .foot { gap: 12px; }
    .foot .brand img { width: 107px; }
    .foot > a:last-child { font-size: 12px; }
}
@media (max-width: 360px) {
    .hero-buy { gap: 11px; }
    .hero-buy .action { padding-inline: 12px; gap: 8px; }
    .line-photo { flex-basis: 34px; height: 35px; }
    .order-line label { gap: 7px; }
    .order-line input { width: 63px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
