:root {
  color-scheme: light;
  --ink: #16181b;
  --fog: #ecedea;
  --oxide: #a73324;
  --white: #fff;
  --ember: #ff583d;
  --rule: #bbc0c0;
  --muted: #4c5153;
  --night: #101214;
  --mist: #c6cbcc;
  --dark-edge: #dce4e74d;
  --dark-line: #dce4e733;
  --display: "Barlow Condensed", Inter, system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
  --gutter: clamp(1rem, 4.5vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--night); font: 500 1rem/1.55 var(--body); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure, fieldset, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .18em; }
button, input { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .7; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
section[id], #consegna, #mezzo, #phrase { scroll-margin-top: 1rem; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.shell { width: min(100% - 2 * var(--gutter), 76rem); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: .5rem; left: .5rem; padding: .65rem; color: var(--white); background: var(--ink); transform: translateY(-180%); }
.skip:focus { transform: none; }
h2 { font: italic 900 clamp(2.35rem, 5.2vw, 5.15rem)/.87 var(--display); letter-spacing: -.012em; text-transform: uppercase; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;
  padding: .6rem 1.15rem;
  border: 1px solid var(--oxide);
  border-radius: .06rem;
  background: var(--oxide);
  color: var(--white);
  font-weight: 730;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s, border-color .18s;
}
.button:hover { background: #88271a; border-color: #88271a; }
.button:active { background: #6f2010; }
.button:focus-visible { outline-color: currentColor; }

.site-header { position: relative; z-index: 2; color: var(--fog); background: var(--night); border-bottom: 1px solid #dce4e738; }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 4.85rem;
}
.logo { display: inline-block; justify-self: start; width: clamp(9.4rem, 17vw, 14rem); line-height: 1; }
.site-header nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.site-header nav a {
  display: grid;
  place-items: center;
  min-height: 44px;
  color: var(--mist);
  font-size: .92rem;
  font-weight: 670;
  text-decoration: none;
}
.site-header nav a:hover { color: var(--white); text-decoration: underline; }
.header-action { justify-self: end; min-height: 2.75rem; font-size: .92rem; background: var(--ember); border-color: var(--ember); color: var(--night); }
.header-action:hover { color: var(--white); }

.campaign { padding: clamp(.85rem, 2.4vw, 2.2rem) 0 0; background: var(--night); color: var(--fog); }
.campaign-inner { position: relative; }
.campaign-slides { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--dark-edge); border-bottom: 3px solid var(--ember); }
.campaign-slides[data-ready] { display: grid; touch-action: pan-y pinch-zoom; }
.campaign-slide { position: relative; display: grid; align-items: end; isolation: isolate; min-height: clamp(22rem, 39vw, 36rem); padding: clamp(1.25rem, 5.2vw, 4.65rem); }
.campaign-slides[data-ready] .campaign-slide { grid-area: 1 / 1; }
.campaign-slide[data-state=inactive] { visibility: hidden; }
.campaign-slide[data-state=outgoing] { z-index: 1; pointer-events: none; }
.campaign-slide[data-state=active] { z-index: 2; transform: translateX(var(--campaign-offset, 0)); transition: transform .22s ease-out; }
.campaign-slides[data-dragging] .campaign-slide { cursor: grabbing; user-select: none; transition: none; }
.campaign-slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #101214 0%, #101214ed 22%, #101214b5 42%, #10121410 84%), linear-gradient(0deg,#10121485,transparent 58%); }
.campaign-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 63% center; }
.campaign-copy { position: relative; max-width: 46rem; }
.campaign-copy h1, .campaign-copy h2 { font: italic 900 clamp(4.05rem, 8.1vw, 8rem)/.84 var(--display); letter-spacing: -.018em; text-transform: uppercase; }
.campaign-copy h1 span { display: block; color: var(--ember); }
.campaign-copy p { margin: .9rem 0 1.18rem; max-width: 36ch; font-size: clamp(.96rem, 1.55vw, 1.25rem); color: var(--fog); }
.campaign-sweep { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; background: linear-gradient(108deg, transparent 37%, #ff583d42 48%, #ffe0d3a6 52%, transparent 58%); }
.campaign-controls { display: flex; position: absolute; right: .6rem; bottom: .55rem; z-index: 4; background: #101214bf; border: 1px solid var(--dark-edge); border-radius: .42rem; }
.campaign-controls button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: .33rem; color: var(--fog); background: transparent; }
.campaign-controls button:hover { background: #ecedea1b; }
.campaign-controls button:focus-visible { outline-offset: -3px; }
.campaign-controls svg { width: 1.06rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.campaign-rotation { margin-right: .18rem; box-shadow: .2rem 0 0 -0.12rem #ecedea33; }
.campaign-rotation[data-playing=true] .campaign-play, .campaign-rotation[data-playing=false] .campaign-pause { display: none; }
.campaign-dot::before { content: ""; display: block; width: .9rem; height: 3px; transform: skewX(-17deg); background: var(--mist); transition: width .22s ease, background-color .22s ease; }
.campaign-dot[aria-pressed=true]::before { width: 1.3rem; height: 5px; background: var(--ember); }
.hero { position: relative; isolation: isolate; overflow: clip; padding: clamp(1.45rem, 3.8vw, 3.5rem) var(--gutter) clamp(3.2rem, 6vw, 6.5rem); background: var(--fog); }
.hero-inner { max-width: 76rem; margin-inline: auto; }
.config-title { font-size: clamp(2.1rem, 5vw, 4.5rem); }
.delivery-countdown { margin-top: .8rem; color: var(--fog); font-size: .82rem; padding: .6rem .7rem; border-inline-start: 2px solid var(--ember); }
.hero-body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr);
  isolation: isolate;
  margin-top: clamp(.8rem, 1.85vw, 1.45rem);
  border: 1px solid #4e5357;
  border-radius: .85rem;
  background: #191c1f;
  color: var(--fog);
  box-shadow: 0 24px 60px #10121444, 0 3px 8px #1012143d;
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  min-height: 22.25rem;
  overflow: hidden;
  border-radius: .8rem 0 0 .8rem;
  border-right: 1px solid #777f854f;
  background: #252a2e;
}
.stage-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .62rem;
  border-bottom: 1px solid #c5cace23;
  background: linear-gradient(175deg, #30363a, #252a2e 75%);
}
.stage-display {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 1.4rem .1rem 1.7rem;
}
.stage-display::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("assets/box/lamiera.svg") repeat;
  opacity: .43;
  mask-image: radial-gradient(ellipse at center, transparent 26%, #000 92%);
}
.stage-light {
  position: absolute;
  z-index: -2;
  pointer-events: none;
  inset: -10% -14%;
  background: radial-gradient(ellipse at 48% 40%, #858b90 0%, #555b60 35%, #262b2f 80%);
}
.stage-datum {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(112deg, var(--ember) 0 26%, #54595d 26.4% 91%, var(--ember) 91.4%);
  transform-origin: left center;
}
.stage-zoom {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid #b7c1c25b;
  border-radius: .42rem;
  color: var(--fog);
  background: #15181b;
}
.stage-zoom:hover { background: #434a50; }
.stage-zoom svg { width: 1.16rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.preview {
  --angle: 0deg;
  position: relative;
  z-index: 1;
  width: 94%;
  perspective: 1100px;
}
.preview[data-vehicle=moto] { --angle: 0deg; width: min(62%, 23.5rem); }
.plate-motion { transform-origin: center; }
.product-scene {
  position: relative;
  container-type: inline-size;
  isolation: isolate;
  transform: rotate(var(--angle));
}
.product-scene::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 1%;
  right: 0;
  bottom: -12%;
  height: 27%;
  border-radius: 50%;
  background: #0b0d0b;
  filter: blur(clamp(10px, 2.4vw, 35px));
  opacity: .78;
}
.product-scene img {
  width: 100%;
  filter: drop-shadow(0 1px 0 #f4efdc44) drop-shadow(0 5px 3px #0b0c0b99) drop-shadow(0 17px 15px #0b0c0ba3);
}
.plate-reflection {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask: url("assets/piega/portatarga-ritaglio.webp") center / 100% 100% no-repeat;
  mask: url("assets/piega/portatarga-ritaglio.webp") center / 100% 100% no-repeat;
  mix-blend-mode: screen;
}
.reflection-sweep {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(118deg, transparent 22%, #f8efe008 34%, #e9e5dba0 49%, #efeee044 56%, transparent 74%);
}
.preview[data-vehicle=moto] .plate-reflection {
  -webkit-mask-image: url("assets/piega/portatarga-moto.webp");
  mask-image: url("assets/piega/portatarga-moto.webp");
}
.print-window {
  position: absolute;
  inset: 83.7% 9.5% 3% 9.5%;
  overflow: hidden;
  pointer-events: none;
}
.preview[data-vehicle=moto] .print-window { inset: 79.3% 8% 4.4% 8%; }
.print {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .37em;
  width: 100%;
  height: 100%;
  color: var(--white);
  font-size: min(3.8cqw, 36px);
  line-height: 1;
  white-space: pre;
}
.preview[data-vehicle=moto] .print { font-size: min(7.2cqw, 33px); }
.print-text {
  position: relative;
  display: block;
  flex: none;
  transform: translateY(var(--ink-offset, 0));
}
.print-text i { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
.print[data-example] { opacity: .95; }
.print svg, .summary-print svg { width: .69em; height: .69em; fill: currentColor; flex: none; }
[data-type="source-serif"] { font-family: "Source Serif 4", Georgia, serif; font-weight: 700; font-style: normal; font-optical-sizing: none; }
[data-type="lora"] { font-family: "Lora", Georgia, serif; font-weight: 700; font-style: italic; font-optical-sizing: none; }
[data-type="young-serif"] { font-family: "Young Serif", Georgia, serif; font-weight: 400; font-style: normal; font-optical-sizing: none; }
[data-type="averia"] { font-family: "Averia Serif Libre", Georgia, serif; font-weight: 700; font-style: normal; font-optical-sizing: none; }
[data-type="fraunces"] { font-family: "Fraunces", Georgia, serif; font-weight: 900; font-style: normal; font-optical-sizing: none; }
[data-type="gorditas"] { font-family: "Gorditas", Georgia, serif; font-weight: 700; font-style: normal; font-optical-sizing: none; }
[data-type="berkshire"] { font-family: "Berkshire Swash", Georgia, serif; font-weight: 400; font-style: normal; font-optical-sizing: none; }
[data-type="almendra"] { font-family: "Almendra", Georgia, serif; font-weight: 700; font-style: italic; font-optical-sizing: none; }
[data-type="kavoon"] { font-family: "Kavoon", Georgia, serif; font-weight: 400; font-style: normal; font-optical-sizing: none; }
[data-type="rye"] { font-family: "Rye", Georgia, serif; font-weight: 400; font-style: normal; font-optical-sizing: none; }

.controls {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1rem, 2.45vw, 1.9rem);
  border-radius: 0 .8rem .8rem 0;
  background: linear-gradient(155deg, #262a2e 0%, #1b1e21 55%);
}
.vehicle-field { width: min(72%, 15.5rem); }
.vehicle-options, .config-tabs { display: grid; gap: .25rem; padding: .22rem; border: 1px solid #c5cace2b; border-radius: .55rem; background: #111416; }
.vehicle-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vehicle-options label, .choices label { position: relative; cursor: pointer; }
.vehicle-options input, .choices input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.vehicle-options label > span, .config-tabs button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 2.75rem;
  padding: .37rem .3rem;
  border: 1px solid transparent;
  border-radius: .33rem;
  color: var(--mist);
  font-weight: 720;
  line-height: 1.2;
}
.vehicle-options input:checked + span {
  border-color: #b7c1c246;
  color: var(--fog);
  background: linear-gradient(#484e54, #2c3034);
  box-shadow: inset 0 -2px var(--ember), 0 2px 6px #0005;
}
.vehicle-options label:hover > span, .config-tabs button:hover { color: var(--white); }
.vehicle-options input:focus-visible + span, .choices input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 2px; }
.config-tabs { grid-template-columns: .95fr 1.12fr 1fr; }
.config-tabs button { font-size: .88rem; background: transparent; }
.config-tabs [aria-selected=true] { border-color: #a7b3b836; color: var(--fog); background: #34393d; box-shadow: inset 0 -2px var(--ember); }
.editor { min-width: 0; flex: 1; padding-block: 1.12rem 1rem; }
.phrase-head { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; margin-bottom: .42rem; font-weight: 720; }
#phrase-count { color: var(--mist); font: 600 .78rem var(--mono); white-space: nowrap; }
.phrase-entry { position: relative; }
#phrase {
  width: 100%;
  min-height: 3.5rem;
  padding: .64rem 2.85rem .64rem .83rem;
  border: 1px solid #aeb8bf61;
  border-radius: .45rem;
  background: #0e1114;
  color: var(--fog);
  box-shadow: inset 0 2px 5px #0008;
  font-size: 1.06rem;
  font-weight: 690;
}
#phrase::placeholder { color: #aeb6bc; }
.clear-phrase {
  position: absolute;
  inset: 50% .23rem auto auto;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: .25rem;
  background: transparent;
  font-size: 1.35rem;
  font-weight: 650;
  line-height: 1;
}
.clear-phrase:hover { background: #fff1; }
.clear-phrase:focus-visible { outline-offset: -3px; }
#phrase[aria-invalid=true] { border-color: var(--ember); }
#phrase:focus-visible { outline-color: var(--ember); outline-offset: 2px; }
.field-help { margin-top: .35rem; color: #ff9a89; font-size: .91rem; font-weight: 610; }
.phrase-ideas { margin-top: .25rem; }
.phrase-ideas summary { display: inline-flex; gap: .6rem; align-items: center; min-height: 2.75rem; cursor: pointer; color: var(--mist); font-size: .86rem; font-weight: 650; list-style: none; }
.phrase-ideas summary::before { content: "+"; color: var(--ember); font-size: 1.25rem; line-height: 1; }
.phrase-ideas[open] summary::before { content: "−"; }
.idea-controls, .idea-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .42rem; }
.idea-controls { margin-bottom: .45rem; }
.idea-controls label { font-size: .84rem; }
.idea-controls select, .idea-controls button, .idea-chips button {
  min-height: 2.75rem;
  padding: .38rem .62rem;
  border: 1px solid var(--dark-edge);
  border-radius: .31rem;
  background: #282d31;
  color: var(--fog);
  font: 620 .84rem/1.26 var(--body);
}
.idea-controls select { color-scheme: dark; }
.idea-controls button:hover, .idea-chips button:hover { border-color: var(--ember); }
.config-actions { display: flex; justify-content: space-between; align-items: center; gap: .65rem; padding-top: .92rem; border-top: 1px solid var(--dark-line); }
.price { display: flex; flex-direction: column; min-width: 0; }
.price strong { white-space: nowrap; font: italic 900 clamp(2.05rem, 3.8vw, 3.4rem)/1 var(--display); letter-spacing: -.025em; }
.price span, .price a { color: var(--mist); font-size: .79rem; }
.order-action { gap: .55rem; padding-inline: .87rem; border-color: var(--ember); border-radius: .35rem; background: var(--ember); color: var(--night); box-shadow: 0 3px 0 #8e2d20; font-size: .92rem; }
.order-action:hover { background: #ff765f; border-color: #ff765f; }
.order-action:active { background: #e84a31; box-shadow: none; transform: translateY(2px); }
.order-action:focus-visible { outline-color: var(--fog); }
.share-actions { display: flex; flex-wrap: wrap; gap: 0 1.2rem; margin-top: .35rem; }
.share-actions button { min-height: 2.75rem; padding: .22rem 0; border: 0; background: transparent; color: var(--mist); font-size: .79rem; font-weight: 630; text-decoration: underline; text-underline-offset: .24em; }
.share-actions button:hover { color: var(--white); }
.share-feedback { color: var(--mist); font-size: .85rem; }
.share-feedback:empty { display: none; }
fieldset { min-width: 0; padding: 0; border: 0; }
legend { padding: 0 0 .42rem; font-size: .93rem; font-weight: 720; }
.choices { display: flex; flex-wrap: wrap; gap: .4rem; }
.choices label > span {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .35rem;
  min-height: 2.75rem;
  padding: .4rem .61rem;
  border: 1px solid #aeb8bf52;
  border-radius: .37rem;
  color: var(--fog);
  background: #2c3135;
  font-size: .84rem;
  font-weight: 660;
}
.choices input:checked + span { color: var(--fog); border-color: var(--ember); background: #452b27; box-shadow: inset 0 -2px var(--ember); }
.choices label:hover > span { border-color: var(--ember); }
.font-choices { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .42rem; }
.font-choices label > span { flex-direction: column; gap: .4rem; min-height: 4.65rem; padding-inline: .18rem; font-size: .72rem; text-align: center; line-height: 1.17; }
.font-choices b { font-size: clamp(1.25rem, 2.45vw, 1.92rem); line-height: 1; }
.style-row { display: grid; gap: 1.08rem; }
.symbol-choices { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); max-width: 26rem; }
.position-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 26rem; }
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  height: .52rem;
  width: .52rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) translateY(-3px);
}
details[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
summary::-webkit-details-marker { display: none; }
.choices svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.position-choices i { display: block; width: .94rem; height: .085rem; border-radius: 20%; background: currentColor; position: relative; }
.position-choices i::before, .position-choices i::after { position: absolute; top: 50%; width: .22rem; height: .22rem; background: currentColor; transform: translateY(-50%) rotate(45deg); }
.position-choices i[data-layout=left], .position-choices i[data-layout=both], .position-choices i[data-layout=right] { margin-inline: .24rem; }
.position-choices i[data-layout=left]::before, .position-choices i[data-layout=both]::before { content: ""; left: -.29rem; }
.position-choices i[data-layout=right]::after, .position-choices i[data-layout=both]::after { content: ""; right: -.29rem; }

.mounted, .details-section, .fit, .faq { padding-block: clamp(4rem, 8.8vw, 8rem); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: end; gap: 1.3rem 3rem; margin-bottom: clamp(1.8rem, 4.6vw, 3.7rem); }
.section-head p, .fit p, .faq details p { max-width: 42ch; }
.mounted {
  color: var(--fog);
  background: var(--night);
  border-top: 1px solid var(--dark-line);
}
.mounted .photo-frame { overflow: hidden; border-bottom: .24rem solid var(--ember); }
.mounted img { width: 100%; min-height: clamp(0rem, 21vw, 15rem); object-fit: cover; }
.mounted figcaption { margin-top: .54rem; font-size: .88rem; }
.mounted .section-head p { color: var(--mist); }
.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.65rem, 2.4vw, 2rem);
  margin-bottom: clamp(1.25rem, 4vw, 3.3rem);
}
.comparison figure {
  padding: clamp(.7rem, 2vw, 1.8rem);
  border: 1px solid var(--dark-edge);
  background: #262a2e;
}
.comparison-holder { position: relative; container-type: inline-size; }
.comparison-holder img { width: 100%; min-height: 0; }
.comparison-print {
  position: absolute;
  inset: 83.7% 7% 3% 7%;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  font-size: min(3.3cqw, 1.25rem);
  line-height: 1;
  white-space: nowrap;
}
.comparison-before { color: var(--mist); font-family: var(--body); font-weight: 750; letter-spacing: .045em; }
.comparison figcaption { font-weight: 720; }
.phrase-stories, .how-it-works {
  padding-block: clamp(3.7rem, 7.4vw, 7rem);
  color: var(--fog);
  background: var(--ink);
}
.story-choices, .steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.6rem);
}
.story-choices button {
  display: grid;
  align-content: space-between;
  justify-items: start;
  gap: .85rem;
  min-height: 10rem;
  padding: 1.2rem;
  text-align: left;
  color: inherit;
  background: #262a2e;
  border: 1px solid var(--dark-edge);
  border-top: .16rem solid var(--oxide);
  border-radius: 0;
}
.story-choices button:hover { border-color: var(--ember); }
.story-choices span { font-size: clamp(1.35rem, 3vw, 2.3rem); line-height: 1.04; }
.how-it-works { background: var(--fog); color: var(--ink); }
.how-it-works .section-head { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding-bottom: .9rem; border-bottom: .24rem solid var(--oxide); }
.how-mascot { width: clamp(6.7rem, 19vw, 15.5rem); }
.steps { padding-left: 1.2rem; }
.steps li { padding: .8rem .65rem 0 0; border-top: 1px solid var(--rule); }
.steps li::marker { color: var(--oxide); font-weight: 780; }
.steps h3 { margin-bottom: .45rem; font-size: 1.14rem; }
.steps p { max-width: 35ch; color: var(--muted); }
.gift { padding-block: clamp(3.7rem, 7.1vw, 6.2rem); color: var(--fog); background: linear-gradient(115deg,#16181bf5,#16181bba), url("assets/box/lamiera.svg") repeat, var(--ink); border-top: 1px solid var(--dark-line); }
.gift h2 { margin-bottom: .85rem; }
.gift p { margin-bottom: 1.25rem; max-width: 43ch; }
.gift img { width: 100%; }
.fit-checklist { padding-left: 1.25rem; margin: .65rem 0 1rem; }
.fit-checklist li + li { margin-top: .35rem; }
.details-section { background: linear-gradient(125deg,#dcdfe0,var(--fog)); }
.details-section h2 { margin-bottom: clamp(1.8rem, 4.6vw, 3.7rem); }
.detail-grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: repeat(2, auto); gap: clamp(1.1rem, 2.25vw, 1.8rem); }
.detail-grid .detail-main { grid-row: span 2; }
.detail-grid img { width: 100%; height: 100%; object-fit: cover; }
.detail-grid .detail-main img { min-height: 100%; }
.detail-band img { aspect-ratio: 2 / 1; object-position: 50% 62%; }
.detail-edge img { aspect-ratio: 2 / 1; }

.fit { color: var(--ink); background: #dce1e1; }
.fit h2 { color: var(--ink); }
.fit-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(1.2rem, 5vw, 4.5rem); }
.fit-copy { grid-area: 1 / 1; }
.fit h2 { margin-bottom: .8rem; }
.fit p + p { margin-top: .75rem; }
.fit figure img { width: 100%; min-height: 10rem; object-fit: cover; }
.faq { color: var(--fog); display: grid; grid-template-columns: .85fr 1.15fr; gap: 1.1rem 2rem; }
.faq details { border-top: 1px solid var(--dark-line); }
.faq .delivery details:last-child { border-bottom: 1px solid var(--dark-line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: .6rem; list-style: none; min-height: 3rem; padding: .5rem .35rem .5rem 0; font-weight: 750; cursor: pointer; }
.faq details p { max-width: 59ch; padding: 0 .5rem 1rem 0; }
.closing { background: linear-gradient(108deg, var(--ink) 0 70%, #323538 70% 86%, var(--ink) 86%); border-block: 1px solid var(--dark-line); padding: clamp(2.5rem, 6vw, 5rem) 0; text-align: center; }
footer { background: var(--night); color: var(--fog); }
.footer-inner { min-height: 5.3rem; display: flex; justify-content: space-between; align-items: center; gap: 1.1rem; }
.footer-inner p { font-size: .83rem; }
.mobile-configure { display: none; }

dialog { width: min(100% - 2rem, 32rem); max-height: 92dvh; padding: clamp(1rem, 4vw, 1.7rem); border: 1px solid var(--dark-edge); border-radius: .18rem; color: var(--fog); background: #262a2e; box-shadow: 0 28px 80px #0b0c0b99; }
dialog::backdrop { background: #111310ae; }
.dialog-x { position: absolute; right: .5rem; top: .5rem; width: 2.75rem; height: 2.75rem; border: 0; border-radius: .3rem; background: transparent; font-size: 1.55rem; }
.dialog-x:hover { background: #eeece61a; }
dialog h2 { padding-inline-end: 2rem; font-size: clamp(1.7rem, 6vw, 2.2rem); }
.summary-print { display: flex; justify-content: center; align-items: center; gap: .5em; margin-block: 1rem; padding: .7rem; color: var(--white); background: var(--ink); overflow-wrap: anywhere; }
.summary-print span { min-width: 0; }
.summary-list { margin-top: .3rem; }
.summary-list > div { display: flex; justify-content: space-between; gap: .5rem; padding: .36rem 0; border-bottom: 1px solid var(--dark-line); }
.summary-list dd { text-align: right; font-weight: 720; }
.summary-prices { margin-top: 1rem; }
.summary-prices .summary-total { font-weight: 750; font-size: 1.1rem; }
.summary-note { margin-block: .9rem; color: var(--mist); font-size: .9rem; }
#checkout > .button { width: 100%; margin-top: .4rem; }
#checkout > .button:disabled { opacity: .55; cursor: not-allowed; }
.summary-edit { display: block; margin: .45rem auto 0; min-height: 2.75rem; background: none; border: 0; text-decoration: underline; text-underline-offset: .2em; }
dialog .field-help { color: var(--ember); }
.store-policies { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .45rem; }
.store-policies a { text-decoration: underline; text-underline-offset: .2em; }
.order-page { max-width: 46rem; margin-block: clamp(4rem, 12vh, 10rem); }
.order-page h1 { font-size: clamp(2.4rem, 8vw, 5rem); }
.order-page p { margin-block: .8rem 1.5rem; }

#detail-preview { width: min(100% - 1.7rem, 42rem); }
#detail-preview-image { margin-block: 1rem .7rem; }
#detail-preview-image canvas { display: block; width: 100%; border: 1px solid #b7c1c25b; border-radius: .36rem; }
#detail-preview-text { overflow-wrap: anywhere; color: var(--fog); }

@media (max-width: 849px) {
  .header-inner { min-height: 4.1rem; }
  .logo { width: 10.75rem; }
  .hero-body { grid-template-columns: minmax(0, 1fr); }
  .hero-stage {
    position: sticky;
    z-index: 4;
    align-self: start;
    top: env(safe-area-inset-top, 0px);
    min-height: 0;
    border: 0;
    border-radius: .8rem .8rem 0 0;
    box-shadow: 0 6px 21px #10121466;
  }
  .stage-display { min-height: clamp(9rem, 30vw, 14rem); padding-block: .9rem 1.2rem; }
  .preview { width: min(96%, 38rem); }
  .preview[data-vehicle=moto] { width: min(65%, 17.4rem, calc((clamp(9rem, 30vw, 14rem) - 2.1rem) * 1.59)); }
  .controls { border-radius: 0 0 .8rem .8rem; }
  #phrase, #editor :focus-visible { scroll-margin-top: calc(var(--preview-height, 12rem) + 1.45rem); }
  .section-head, .fit-inner, .faq { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .header-inner { grid-template-columns: 1fr auto; min-height: 3.55rem; }
  .site-header nav { display: none; }
  .header-action { padding-inline: .8rem; }
  .logo { width: 9.7rem; }
  .campaign { padding-top: .68rem; }
  .campaign-inner { width: calc(100% - 1.45rem); }
  .campaign-slide { min-height: 17.1rem; padding: 1.1rem .85rem 3.25rem; }
  .campaign-slide::after { background: linear-gradient(90deg, #101214f7 0%, #101214aa 51%, #10121430), linear-gradient(0deg, #101214df, transparent 80%); }
  .campaign-copy h1, .campaign-copy h2 { font-size: clamp(2.15rem, 9.65vw, 3.8rem); }
  .campaign-copy p { margin-block: .62rem .8rem; font-size: .91rem; line-height: 1.36; }
  .campaign-controls { bottom: .23rem; right: .42rem; }
  .hero { padding: 1.2rem .72rem 3.05rem; }
  .hero-body { margin-top: .82rem; }
  .stage-toolbar { padding: .36rem .46rem; }
  .stage-display { min-height: clamp(8.15rem, 32vw, 10.4rem); padding: .65rem 0 .95rem; }
  .preview[data-vehicle=moto] { width: min(66%, calc((clamp(8.15rem, 32vw, 10.4rem) - 1.6rem) * 1.59)); }
  .controls { padding: .75rem; }
  .font-choices { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: clamp(5.35rem, 26%, 6.4rem); overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-color: #777e81 transparent; padding: .2rem .2rem .6rem; }
  .font-choices label { scroll-snap-align: start; }
  .font-choices b { font-size: 1.67rem; }
  .choices label > span { padding-inline: .28rem; }
  .position-choices label > span { gap: .28rem; }
  .comparison, .story-choices, .steps { grid-template-columns: 1fr; }
  .story-choices button { min-height: 5rem; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid .detail-main { grid-row: auto; }
  .footer-inner { padding-block: 1rem; flex-wrap: wrap; }
  .mobile-configure {
    display: flex;
    position: fixed;
    z-index: 5;
    bottom: max(.75rem, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    box-shadow: 0 4px 16px #0b0c0b63;
  }
}

@media (max-width: 365px) {
  .controls { padding-inline: .62rem; }
  .position-choices i { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .button, .campaign-slide[data-state=active], .campaign-dot::before { transition: none; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.guide-main { color: var(--ink); background: var(--fog); padding-block: clamp(2.6rem, 6vw, 5.5rem); }
.guide-main h1 { max-width: 18ch; margin-bottom: 1.1rem; font: italic 900 clamp(2.9rem, 8vw, 6.3rem)/.88 var(--display); text-transform: uppercase; }
.guide-main .guide-lead { max-width: 62ch; font-size: 1.1rem; }
.guide-main .guide-contents { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin: 1.5rem 0 2.2rem; padding-block: 1rem; border-block: 1px solid var(--rule); }
.guide-body { max-width: 70ch; }
.guide-body section + section { margin-top: 2.6rem; }
.guide-body h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: .65rem; }
.guide-body h3 { margin-top: .9rem; }
.guide-body ul, .guide-body ol { padding-left: 1.35rem; }
.guide-body li + li { margin-top: .32rem; }
.guide-body .button { margin-top: .9rem; }
.guide-figure { margin: 1.5rem 0 2rem; }
.guide-figure img { border-radius: .45rem; }
.faq-intro p { margin-top: .8rem; }

.store-policies button, .cookie-link {
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.cookie-banner-visible .mobile-configure { visibility: hidden; }
.cookie-banner {
  position: fixed;
  z-index: 20;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: max(1rem, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(58rem, calc(100% - 2rem));
  max-height: 65dvh;
  overflow: auto;
  margin-inline: auto;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #52575a;
  border-top: 3px solid var(--ember);
  background: var(--night);
  color: var(--fog);
  box-shadow: 0 16px 54px #0006;
}
.cookie-content h2 { margin-bottom: .35rem; font-size: 1.25rem; line-height: 1.15; }
.cookie-content p { font-size: .9rem; color: var(--mist); }
.cookie-content a { color: var(--white); }
.cookie-actions { display: flex; flex: none; flex-wrap: wrap; gap: .5rem; }
.cookie-choice {
  min-height: 44px;
  padding: .55rem .85rem;
  border: 1px solid var(--mist);
  border-radius: .2rem;
  background: #222629;
  color: var(--white);
  font: 700 .9rem/1.2 var(--body);
  cursor: pointer;
}
.cookie-choice:hover { background: #383d40; }
.checkout-trust {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .8rem;
  border: 1px solid var(--dark-line);
  color: var(--fog);
  font-size: .9rem;
}
.checkout-trust svg { flex: 0 0 19px; margin-top: .13rem; }
.checkout-trust strong { display: block; }
.checkout-reassurance { margin-block: .8rem; color: var(--mist); font-size: .9rem; }
.checkout-reassurance a { color: var(--white); }
.legal-page section { scroll-margin-block: 1.25rem; }
.legal-page p + p { margin-top: .65rem; }
.legal-page .legal-status { padding: .8rem 1rem; border-left: 3px solid var(--oxide); background: #e0e3e1; }
.legal-page .guide-body { overflow-wrap: anywhere; }
.product-specs dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: .35rem .7rem; margin-block: .7rem; }
.product-specs dt { font-weight: 700; }
.product-specs img { width: min(100%, 22rem); margin-block: .75rem; }
@media (max-width: 720px) {
  .cookie-banner { display: block; }
  .cookie-actions { margin-top: .75rem; }
  .cookie-actions button { flex: 1; }
}
