/* v23 «Твій сайт за 60 секунд»: общие токены, макет телефона, секции; ниже — две раскладки
   (телефон data-layout="m", компьютер data-layout="d"). Один файл — меньше запросов при загрузке. */

@property --brand { syntax: '<color>'; inherits: true; initial-value: #b9502f; }

:root {
  --bg: #f5efe6;
  --bg2: #ebe2d4;
  --card: #fffaf3;
  --ink: #1d1813;
  --muted: #645a4e;
  --line: #d9cdbb;
  --ok: #2f7a45;
  --bad: #b3261e;
  --brand: #b9502f;
  --on-brand: #fff;
  --screen: #fffdf9;
  --bezel: #1b1714;
  --stage-mid: #efe7db;
  --stage-dark: #2a2420;
  --stage-light: #f4eee6;
  --r: 18px;
  --font: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light dark;
  transition: --brand .6s ease;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14110e;
    --bg2: #1d1915;
    --card: #221d18;
    --ink: #f3ece2;
    --muted: #b4a898;
    --line: #3a322a;
    --ok: #6fca8a;
    --bad: #ff8a80;
    --screen: #191512;
    --bezel: #050404;
    --stage-mid: #2b251f;
    --stage-dark: #0f0d0b;
    --stage-light: #ece4d8;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--font); }
img { max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.fatal { padding: 24px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; }
.skip:focus { top: 8px; }

/* ---------- шапка */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; }
.brand b { font-size: 18px; letter-spacing: -.01em; }
.brand span { color: var(--muted); font-size: 13px; }
.lang { font-size: 14px; color: var(--muted); padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }

/* ---------- герой: слова выезжают из масок (запас под выносы глифов) */
.eyebrow { margin: 0 0 8px; color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
h1 { margin: 0; font-weight: 850; letter-spacing: -.035em; line-height: 1.02; }
h1 .w { display: inline-block; white-space: nowrap; clip-path: inset(-0.12em -0.2em -0.2em -0.1em); margin-right: .22em; }
h1 .w > span { display: inline-block; animation: rise .8s cubic-bezier(.2,.75,.2,1) both; animation-delay: calc(var(--i) * 110ms + 80ms); }
h1 .accent > span { color: var(--brand); position: relative; }
h1 .accent > span::after { content: ''; position: absolute; left: 0; right: 0; bottom: .02em; height: .09em; background: currentColor; transform-origin: left; animation: draw .6s .7s cubic-bezier(.2,.75,.2,1) both; border-radius: 9px; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: none; } }
.lead { color: var(--muted); margin: 14px 0 0; max-width: 34em; }

.clock { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; }
.clock-i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--muted); position: relative; flex: none; }
.clock-i::after { content: ''; position: absolute; left: 50%; top: 2px; width: 2px; height: 6px; margin-left: -1px; background: var(--muted); transform-origin: 50% 5px; }
.clock[data-state="run"] .clock-i { border-color: var(--brand); }
.clock[data-state="run"] .clock-i::after { background: var(--brand); animation: tick 1s steps(12) infinite; }
.clock[data-state="done"] { border-color: var(--ok); }
.clock[data-state="done"] .clock-i { border-color: var(--ok); background: var(--ok); }
.clock[data-state="done"] .clock-i::after { display: none; }
@keyframes tick { to { transform: rotate(360deg); } }

/* ---------- шаги */
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.step-h { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-weight: 700; }
.step-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font-size: 14px; flex: none; }
.step input[type="text"] { width: 100%; padding: 11px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); font-size: 17px; }
.step input[type="text"]:focus { border-color: var(--brand); outline: none; }
.step-hint { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kind { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); font-size: 13px; line-height: 1.2; text-align: center; min-height: 44px; }
.kind img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: var(--stage-dark); }
.kind[aria-checked="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); font-weight: 700; }
.swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sw { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); font-size: 13px; text-align: left; min-height: 44px; }
.sw-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--c); flex: none; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.sw[aria-checked="true"] { border-color: var(--c); box-shadow: inset 0 0 0 1.5px var(--c); font-weight: 700; }

/* ---------- переключатель ролей */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); }
.roles button { border: 0; background: transparent; padding: 9px 8px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); position: relative; line-height: 1.2; }
.roles button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.roles .has-new::after { content: ''; position: absolute; top: 6px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

/* ---------- телефон */
.phone { position: relative; border-radius: 40px; background: var(--bezel); padding: 10px; box-shadow: 0 30px 60px -30px rgba(30,20,10,.55); }
.notch { position: absolute; z-index: 3; top: 16px; left: 50%; width: 84px; height: 20px; margin-left: -42px; border-radius: 12px; background: var(--bezel); }
.screen { position: relative; border-radius: 31px; background: var(--screen); overflow: hidden; perspective: 1400px; }
.flip { display: grid; transition: transform .7s cubic-bezier(.3,.7,.2,1); transform-style: preserve-3d; }
.face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: 38px 14px 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.face-maker { transform: rotateY(180deg); background: var(--bg2); }
.phone[data-role="maker"] .flip { transform: rotateY(180deg); }
.wave { position: absolute; inset: 0; background: var(--brand); opacity: 0; pointer-events: none; mix-blend-mode: multiply; z-index: 2; }

.shop, .mhead { display: flex; align-items: center; gap: 10px; }
.logo { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font-weight: 800; font-size: 19px; flex: none; }
.shop-t { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.2; }
.shop-name { font-size: 17px; overflow-wrap: anywhere; }
.shop-t small { color: var(--muted); font-size: 12px; }
.tag-demo { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; border: 1px dashed var(--muted); color: var(--muted); flex: none; }

.stage { position: relative; aspect-ratio: 1 / 0.92; border-radius: 16px; overflow: hidden; background: var(--stage-mid); transition: background .4s; }
.stage[data-tone="dark"] { background: radial-gradient(120% 90% at 50% 20%, #3b322b, var(--stage-dark)); }
.stage[data-tone="light"] { background: radial-gradient(120% 90% at 50% 20%, #fffaf2, var(--stage-light)); }
.stage .v3d { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; cursor: grab; }
.stage.no3d .v3d { visibility: hidden; }
.stage-photo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: contain; }
.stage[data-state="load"]::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%); background-size: 250% 100%; animation: shimmer 1.3s linear infinite; z-index: 1; pointer-events: none; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.pill { position: absolute; z-index: 2; left: 8px; bottom: 8px; max-width: calc(100% - 16px); font-size: 12px; font-weight: 600; line-height: 1.25; padding: 5px 10px; border-radius: 999px; background: rgba(20,16,12,.72); color: #fff; }
.stage[data-state="ok"] .pill { background: rgba(31,98,55,.9); }
.stage[data-state="bad"] .pill { background: rgba(160,30,24,.92); }
.attr { margin: -4px 0 0; font-size: 10px; line-height: 1.3; color: var(--muted); overflow-wrap: anywhere; }
.attr:empty, .slow:empty { display: none; }
.slow { margin: 0; font-size: 12px; color: var(--muted); }

.presets { display: flex; flex-wrap: wrap; gap: 6px; }
.pchip { border: 1.5px solid var(--line); background: transparent; border-radius: 999px; padding: 6px 11px; font-size: 13px; line-height: 1.2; min-height: 34px; }
.pchip[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: var(--on-brand); }

.knob-l { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.knob-v { font-variant-numeric: tabular-nums; }
.knob { width: 100%; margin: 6px 0 2px; -webkit-appearance: none; appearance: none; height: 28px; background: transparent; touch-action: pan-y; }
.knob::-webkit-slider-runnable-track { height: 8px; border-radius: 9px; background:
  linear-gradient(90deg, transparent var(--a), var(--brand) var(--a), var(--brand) var(--b), transparent var(--b)),
  repeating-linear-gradient(135deg, var(--line) 0 4px, transparent 4px 8px); }
.knob::-moz-range-track { height: 8px; border-radius: 9px; background:
  linear-gradient(90deg, transparent var(--a), var(--brand) var(--a), var(--brand) var(--b), transparent var(--b)),
  repeating-linear-gradient(135deg, var(--line) 0 4px, transparent 4px 8px); }
.knob::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 50%; background: var(--screen); border: 3px solid var(--brand); }
.knob::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--screen); border: 3px solid var(--brand); }
.knob-row.out .knob::-webkit-slider-thumb { border-color: var(--bad); }
.knob-row.out .knob-v { color: var(--bad); }
.knob-range { margin: 0; font-size: 12px; color: var(--muted); }
.knob-rule { margin: 4px 0 0; font-size: 13px; color: var(--bad); font-weight: 600; }
.knob-rule:empty { display: none; }

.order { border: 0; border-radius: 14px; padding: 13px; background: var(--brand); color: var(--on-brand); font-weight: 800; font-size: 16px; }
.order:disabled { opacity: .45; cursor: not-allowed; }

.chat { border-radius: 14px; background: var(--bg2); padding: 10px; }
.chat-h { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 13px; flex-wrap: wrap; }
.bot-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.msgs { display: flex; flex-direction: column; gap: 6px; min-height: 40px; }
.msg { margin: 0; max-width: 88%; padding: 7px 10px; border-radius: 14px; font-size: 13px; line-height: 1.35; animation: pop .35s cubic-bezier(.2,.8,.2,1.2) both; overflow-wrap: anywhere; }
.msg.bot { background: var(--card); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--brand); color: var(--on-brand); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg.typing { display: inline-flex; gap: 4px; padding: 10px 12px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes pop { from { transform: translateY(8px) scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes blink { 50% { opacity: .25; } }

/* карточка заявки (вид мастера) */
.mcard { background: var(--card); border-radius: 16px; padding: 12px; border: 1px solid var(--line); }
.mtitle { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 8px; flex-wrap: wrap; }
.mstate { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--bg2); }
.mstate.ok { color: var(--ok); }
.mstate.bad { color: var(--bad); }
.mcard dl { margin: 0; display: grid; gap: 6px; }
.mrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 8px; font-size: 13px; border-bottom: 1px dashed var(--line); padding-bottom: 5px; }
.mrow dt { color: var(--muted); }
.mrow dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.madv { margin-top: 8px; }
.mlab { margin: 0 0 4px; font-size: 12px; color: var(--muted); font-weight: 700; }
.madv ul { margin: 0; padding-left: 18px; font-size: 12px; line-height: 1.35; }
.macts { display: flex; gap: 8px; margin-top: 10px; }
.mbtn { flex: 1; text-align: center; padding: 9px; border-radius: 12px; background: var(--brand); color: var(--on-brand); font-weight: 700; font-size: 14px; }
.mbtn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.mhint { font-size: 13px; color: var(--muted); }

/* кинетическая сборка витрины: блоки влетают по очереди */
.phone.assemble .blk { animation: fly .62s cubic-bezier(.2,.8,.2,1.15) backwards; animation-delay: calc(var(--i) * 95ms); }
@keyframes fly { from { transform: translateY(26px) scale(.94); opacity: 0; } }

/* ---------- секции */
.sec { padding: 40px 16px; }
.sec h2 { margin: 0 0 8px; font-size: clamp(26px, 6vw, 40px); letter-spacing: -.025em; line-height: 1.08; }
.sec-lead { margin: 0 0 18px; color: var(--muted); max-width: 40em; }

.join { position: relative; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 4px;
  transition: transform .8s cubic-bezier(.2,.75,.2,1), border-radius .8s, box-shadow .8s; transition-delay: calc(var(--i) * 80ms); }
.tile b { font-size: 16px; }
.tile span { font-size: 14px; color: var(--muted); }
.one:not(.joined) .tile:nth-child(1) { transform: translate(-6px, -10px) rotate(-4deg); }
.one:not(.joined) .tile:nth-child(2) { transform: translate(8px, 6px) rotate(3deg); }
.one:not(.joined) .tile:nth-child(3) { transform: translate(-4px, 12px) rotate(2.5deg); }
.one:not(.joined) .tile:nth-child(4) { transform: translate(6px, -4px) rotate(-3deg); }
.one .tiles { transition: gap .8s cubic-bezier(.2,.75,.2,1), padding .8s, background .8s; border-radius: 22px; }
.one.joined .tiles { gap: 3px; padding: 3px; background: var(--brand); }
.one.joined .tile { border-radius: 6px; border-color: transparent; }
.one.joined .tile:nth-child(1) { border-top-left-radius: 19px; }
.one.joined .tile:nth-child(2) { border-top-right-radius: 19px; }
.one.joined .tile:nth-child(3) { border-bottom-left-radius: 19px; }
.one.joined .tile:nth-child(4) { border-bottom-right-radius: 19px; }
.join-name { margin: 12px 0 0; text-align: center; font-weight: 850; font-size: 22px; letter-spacing: -.02em; color: var(--brand); opacity: 0; transform: translateY(8px); transition: opacity .6s .6s, transform .6s .6s; }
.one.joined .join-name { opacity: 1; transform: none; }

.tcols { display: grid; gap: 14px; }
.tcol { border-radius: 16px; padding: 14px 16px; border: 1px solid var(--line); background: var(--card); }
.tcol h3 { margin: 0 0 6px; font-size: 16px; }
.tcol.real h3 { color: var(--ok); }
.tcol.demo { border-style: dashed; }
.tcol ul { margin: 0; padding-left: 18px; font-size: 14px; }

.pilot { background: var(--bg2); border-radius: 28px 28px 0 0; }
.points { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; }
.points li { padding-left: 28px; position: relative; }
.points li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--brand); color: var(--on-brand); }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 12px 22px; border-radius: 16px; font-weight: 800; font-size: 17px; text-decoration: none; }
.cta { background: var(--brand); color: var(--on-brand); box-shadow: 0 10px 24px -12px var(--brand); }
.note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.foot { padding: 20px 16px 40px; background: var(--bg2); font-size: 13px; color: var(--muted); }
.foot p { margin: 0 0 6px; }


/* ================= телефон */
/* v23 — телефонная вёрстка (data-layout="m"): макет телефона во всю ширину без рамки-бортика,
   шаги — карусель со scroll-snap, прилипшая к низу экрана, пока виден макет. */
[data-layout="m"] .hero { padding: 6px 16px 18px; }
[data-layout="m"] h1 { font-size: clamp(32px, 10vw, 52px); }
[data-layout="m"] .studio { padding: 0 10px; }
[data-layout="m"] .roles { margin: 0 6px 10px; }
[data-layout="m"] .phone { border-radius: 30px; padding: 6px; }
[data-layout="m"] .notch { top: 10px; width: 64px; height: 16px; margin-left: -32px; }
[data-layout="m"] .screen { border-radius: 25px; }
[data-layout="m"] .face { padding: 30px 12px 12px; }

[data-layout="m"] .msteps { position: sticky; bottom: 0; z-index: 10; margin: 12px -10px 0; padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; align-items: center; }
[data-layout="m"] .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
[data-layout="m"] .track::-webkit-scrollbar { display: none; }
[data-layout="m"] .track > .step { flex: 0 0 100%; scroll-snap-align: center; padding: 10px 12px; border-radius: 16px; }
[data-layout="m"] .step-h { margin-bottom: 8px; font-size: 15px; }
[data-layout="m"] .step input[type="text"] { padding: 9px 11px; }
[data-layout="m"] .kinds, [data-layout="m"] .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
[data-layout="m"] .kind { padding: 5px 3px; font-size: 12px; gap: 3px; }
[data-layout="m"] .kind img { width: 30px; height: 30px; }
[data-layout="m"] .sw { padding: 6px; font-size: 12px; gap: 6px; }
[data-layout="m"] .sw-dot { width: 18px; height: 18px; }
[data-layout="m"] .edge { height: 100%; border: 0; background: transparent; font-size: 26px; color: var(--muted); padding: 0; }
[data-layout="m"] .dots { grid-column: 1 / -1; display: flex; justify-content: center; gap: 6px; padding-top: 6px; }
[data-layout="m"] .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: width .3s; }
[data-layout="m"] .dots i.on { width: 18px; border-radius: 4px; background: var(--brand); }

[data-layout="m"] .sticky { position: fixed; z-index: 20; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; justify-content: center; align-items: center; min-height: 50px; border-radius: 16px; background: var(--brand); color: var(--on-brand);
  font-weight: 800; text-decoration: none; box-shadow: 0 12px 28px -12px rgba(0,0,0,.5);
  transform: translateY(160%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
[data-layout="m"] .sticky.show { transform: none; }
[data-layout="m"] .cta { width: 100%; }
[data-layout="m"] .foot { padding-bottom: 90px; }
[data-layout="d"] .sticky, [data-layout="d"] .msteps { display: none; }

/* ================= компьютер */
/* v23 — компьютерная вёрстка (data-layout="d"): слева герой и три шага, справа макет
   телефона (sticky) с переключателем ролей; ниже — секции в ширину. */
[data-layout="d"] .top { max-width: 1180px; margin: 0 auto; padding: 18px 32px; }
[data-layout="d"] main { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
[data-layout="d"] .studio { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; padding: 12px 0 40px; }
[data-layout="d"] h1 { font-size: clamp(52px, 5.6vw, 76px); }
[data-layout="d"] .dsteps { display: grid; gap: 12px; margin-top: 26px; }
[data-layout="d"] .dsteps .kinds { grid-template-columns: repeat(6, minmax(0, 1fr)); }
[data-layout="d"] .dright { position: sticky; top: 14px; display: grid; gap: 12px; }
[data-layout="d"] .face { padding-top: 34px; gap: 8px; }
[data-layout="d"] .stage { aspect-ratio: auto; height: clamp(150px, calc(100vh - 650px), 300px); }
[data-layout="d"] .order { padding: 11px; }
[data-layout="d"] .sec { padding: 64px 0; }
[data-layout="d"] .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
[data-layout="d"] .one.joined .tile:nth-child(1) { border-radius: 19px 6px 6px 19px; }
[data-layout="d"] .one.joined .tile:nth-child(2), [data-layout="d"] .one.joined .tile:nth-child(3) { border-radius: 6px; }
[data-layout="d"] .one.joined .tile:nth-child(4) { border-radius: 6px 19px 19px 6px; }
[data-layout="d"] .tcols { grid-template-columns: 1fr 1fr; }
[data-layout="d"] .pilot { border-radius: 28px; padding: 48px; margin-bottom: 40px; }
[data-layout="d"] .points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
[data-layout="d"] .foot { border-radius: 20px; margin-bottom: 30px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
