@font-face {
  font-family: "Nunito";
  src: url("fonts/nunito-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

/* Paper, ink and cornflower tones are shared by the storefront and its controls. */
:root {
  --paper: #fcfaf5;
  --ink: #202e48;
  --subtle: #505f72;
  --blue: #3556ac;
  --deep-blue: #27458f;
  --border: #d5dae0;
  --mist: #eaf0fa;
  --ease: cubic-bezier(.2,.75,.25,1);
  --typeface: "Nunito", "Segoe UI", sans-serif;
  font: 100%/1.55 var(--typeface);
  background: var(--paper);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a, label, summary { -webkit-tap-highlight-color: transparent; }
button, a, summary { touch-action: manipulation; }
:focus-visible, .choices input:focus-visible + span {
  outline: 3px solid #8d5714;
  outline-offset: 4px;
}
.page { width: min(1280px, 91%); margin-inline: auto; }
.header, footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header { min-height: 84px; }
.logo { display: inline-flex; align-items: center; font: 800 1.9rem/1 var(--typeface); letter-spacing: -.05em; }
.logo span, em { color: var(--blue); }
.logo img { width: 32px; margin-right: 9px; }
.header nav { display: flex; gap: 2rem; color: var(--subtle); font-weight: 500; }
.header nav a { text-decoration: underline transparent; text-underline-offset: 5px; }
.small-btn, .button, .channel, .text-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 44px;
  padding: .65rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}
.small-btn { border-color: #aab8d2; color: var(--deep-blue); }
.button, .channel.primary { background: var(--blue); color: white; }
.button { padding: .87rem 1.5rem; box-shadow: 0 5px 14px #263f8424; }
h1, h2, .summary h3 {
  margin: 0;
  font-family: var(--typeface);
  font-weight: 750;
  line-height: 1.03;
  letter-spacing: -.045em;
}
h1 { font-size: clamp(3.1rem, 5.2vw, 5.3rem); }
h2 { font-size: clamp(2.45rem, 3.8vw, 3.8rem); }
em { font-weight: inherit; font-style: normal; }
h3 { margin: 0; font-size: 1.24rem; letter-spacing: -.025em; }
.hero {
  isolation: isolate;
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 4%;
  padding: clamp(2.5rem, 4.8vw, 5rem);
  overflow: hidden;
  border-radius: 32px;
  background: radial-gradient(ellipse at 5% 0, #f1f4fb, transparent 56%), #e3ecf7;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid #a5b8d94f;
  border-radius: 50%;
}
.hero::before { right: -13%; top: -40%; box-shadow: 0 0 0 15px #e3ecf7, 0 0 0 16px #a5b8d93b; }
.hero::after { left: 28%; bottom: -86%; width: 50%; aspect-ratio: .86; }
.hero-text { position: relative; z-index: 1; }
.hero-text p { max-width: 36ch; margin: 1.4rem 0 1.8rem; color: #43536b; font-size: clamp(1rem, 1.25vw, 1.16rem); line-height: 1.65; }
.hero-art { position: relative; width: min(100%, 510px); justify-self: end; padding: .6rem; }
.print { padding: 9px 9px 16px; transform: rotate(2deg); background: #fffdf7; box-shadow: 0 14px 24px -12px #33446368, 0 3px 6px #33446318; border-radius: 5px; }
.print img { width: 100%; aspect-ratio: 1.24; object-fit: cover; display: block; }
.hero-art::after {
  content: ""; position: absolute; width: 25%; height: 25px; top: 0; left: 39%;
  transform: rotate(-6deg); background: repeating-linear-gradient(97deg,#f6e5bbba 0 2px,#e9d4a6c4 3px 4px);
  clip-path: polygon(2% 0,100% 0,98% 25%,100% 45%,98% 70%,100% 100%,0 100%,2% 74%,0 52%,2% 31%,0 12%);
}
.how, .faq, .builder { padding-block: clamp(3rem, 5.8vw, 5.8rem); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.steps article { padding: clamp(1.35rem, 2.25vw, 2.3rem); border: 1px solid #e4dfd5; border-radius: 20px; background: #f5f1e8; }
.steps article:nth-child(2) { background: #edf2ea; border-color: #dce3d8; }
.steps article:nth-child(3) { background: #f2eef7; border-color: #e3ddec; }
.steps i { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem; border-radius: 50%; color: #725a34; background: #fffaf1; }
.steps article:nth-child(2) i { background: #f9fff6; color: #536e4a; }
.steps article:nth-child(3) i { background: #fdf8ff; color: #735d87; }
.steps svg { width: 26px; height: 26px; }
.steps p, .fields p, .summary p, .faq p { margin: .45rem 0 0; color: var(--subtle); }
.builder { background: #edf2f8; }
.builder h2 { margin-bottom: 2rem; }
.builder-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); align-items: start; gap: clamp(1rem, 3.5vw, 3rem); }
#builder { scroll-margin-top: 1rem; row-gap: 1.25rem; }
.order-progress {
  grid-column: 1 / -1; display: flex; align-items: center; gap: .6rem;
  list-style: none; padding: 0; margin: 0; color: var(--subtle);
}
.order-progress li { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; }
.order-progress li + li::before { content: ""; width: clamp(.4rem, 3vw, 2.6rem); height: 1px; background: #bfcadd; }
.order-progress b {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 1px solid #bbc8d8; font-size: .85rem;
}
.order-progress [aria-current] { color: var(--deep-blue); font-weight: 700; }
.order-progress [aria-current] b { color: white; border-color: var(--blue); background: var(--blue); }
.order-progress .complete b { background: #e0e8f7; color: var(--deep-blue); }
.step-heading { margin: 0 0 1rem; font: 750 clamp(1.7rem, 3vw, 2.2rem)/1.12 var(--typeface); }
.step-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 23rem;
  gap: .65rem;
  margin-top: 1.5rem;
}
.step-actions button {
  display: grid;
  place-items: center;
  min-height: 3rem;
  padding: .55rem .65rem;
  border: 1px solid transparent;
  border-radius: 999px;
  line-height: 1.2;
  font-weight: 700;
  cursor: pointer;
}
.step-actions .back { background: #edf1f7; color: var(--deep-blue); }
.contact-fields { margin-top: 1.3rem; display: grid; gap: .75rem; }
.contact-fields label { font-weight: 600; }
.contact-fields input, #manual {
  display: block; width: 100%; border: 1px solid #bdc8d7; border-radius: 11px;
  background: #fff; color: var(--ink); padding: .7rem .85rem; margin-top: .3rem;
}
.fields .field-error { margin: 0; color: #973d47; }
#shipping-phone[aria-invalid="true"] { border-color: #973d47; }
#manual { min-height: 12rem; }
.contact-fields input:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
#builder [hidden] { display: none; }
@media (max-width: 420px) {
  .order-progress { gap: .3rem; }
  .order-progress li { gap: .25rem; font-size: .83rem; }
}
.fields, .summary { padding: clamp(1.25rem, 3vw, 2.75rem); background: #fffefa; border: 1px solid #dbe1e8; border-radius: 24px; }
fieldset { min-width: 0; padding: 0 0 1.45rem; border: 0; border-bottom: 1px solid #e6e8e8; margin: 0 0 1.45rem; }
legend, h4 { font-weight: 600; }
legend { padding: 0; margin-bottom: .7rem; font-size: 1.14rem; }
.choices { display: flex; flex-wrap: wrap; gap: .55rem; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choices span { border: 1px solid #bac4d2; background-color: #fff; }
.choices span { display: flex; align-items: center; gap: .45rem; min-height: 44px; border-radius: 12px; padding: .55rem 1rem; }
.choices input:checked + span { color: var(--deep-blue); border-color: #718ac4; background: #eaf0ff; box-shadow: inset 0 0 0 1px #718ac4; }
.illustrated {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.illustrated label { min-width: 0; }
.illustrated .option-card {
  height: 100%; display: flex; flex-direction: column; align-items: flex-start;
  gap: .15rem; padding: .55rem .75rem .7rem; border-color: #d5d8df;
  background: var(--card-tint, #f7f6f1); line-height: 1.25;
}
.kinds label:nth-child(1) { --card-tint: #fbf3e6; }
.kinds label:nth-child(2) { --card-tint: #edf5ef; }
.kinds label:nth-child(3) { --card-tint: #f7eef4; }
.option-card svg { width: 68px; height: 48px; display: block; }
.option-card small { font-size: .85rem; color: var(--subtle); line-height: 1.3; }
.illustrated .option-card::after {
  content: ""; position: absolute; top: 9px; right: 9px;
  width: 13px; height: 13px; border: 1px solid #a2aebd; border-radius: 50%;
  background: #fff9;
}
.illustrated input:checked + .option-card::after {
  border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 3px white;
}
.portions .option-card { align-items: center; background: #f7f8fc; }
.portions .option-card svg { height: 40px; }
.fields { container-type: inline-size; }
@container (max-width: 350px) {
  .kinds { grid-template-columns: 1fr; gap: .35rem; }
  .kinds .option-card {
    display: grid; grid-template-columns: 56px 1fr; column-gap: .55rem;
    align-content: center; padding: .35rem 1.75rem .35rem .5rem;
  }
  .kinds .option-card svg { width: 54px; height: 42px; grid-row: span 2; }
  .portions .option-card { padding-inline: .25rem; }
  .portions .option-card svg { width: min(100%, 60px); }
}
.colors span { border-radius: 999px; padding-inline: .8rem; }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid #0002; }
.fields p, .summary p { font-size: .94rem; }
.shipping { padding: 0; margin: 1.25rem 0 0; border: 0; }
.shipping-options { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,13rem),1fr)); }
.shipping-options span { height: 100%; gap: .6rem; padding: .6rem .7rem; overflow-wrap: anywhere; }
.shipping-options svg { flex: 0 0 19px; width: 19px; height: 19px; color: var(--blue); }
.carrier-icon {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 10px; background: #f1e9dc;
}
.carrier-logo { width: 36px; height: 36px; flex: none; object-fit: contain; }
.shipping-card b { font-size: .96rem; }
.shipping-card small { display: block; font-size: .85rem; color: var(--subtle); font-weight: 400; }
.video { margin-top: 1.25rem; }
.video { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; border-radius: 12px; background: #f4f5f9; cursor: pointer; }
.video b { margin-left: auto; font-size: .94rem; }
.video input { appearance: none; position: relative; flex: 0 0 36px; height: 22px; margin: 0; border-radius: 20px; background: #778394; cursor: pointer; }
.video input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.video input:checked { background: var(--blue); }
.video input:checked::after { transform: translateX(14px); }
.summary { position: sticky; top: 1rem; background: #fcfaf3; box-shadow: 0 10px 30px -20px #293d6659; }
.summary > img { float: right; width: 40px; height: 40px; }
.summary h3 { font-size: 2.4rem; }
.price { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .4rem; padding-top: 1.1rem; margin: 1.3rem 0 .5rem; border-top: 1px dashed #b8bdc6; }
.price strong { color: var(--blue); font-size: 1.65rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
h4 { margin: 1.5rem 0 .5rem; }
.channels { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.channels .primary { flex-basis: 100%; min-height: 3rem; font-weight: 750; }
.channel { padding: .48rem 1rem; }
.channel.primary::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: none;
  background-color: currentColor;
  mask: url("telegram-plane.svg") center / contain no-repeat;
}
.channel.primary:disabled { cursor: not-allowed; background: #556887; color: white; opacity: 1; }
.text-btn { margin-top: 1rem; background: #eef1f8; color: var(--deep-blue); }

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-toggle {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--deep-blue);
  background: var(--mist);
}
.faq-toggle::before, .faq-toggle::after {
  content: "";
  grid-area: 1 / 1;
  width: 16px;
  height: 0;
  border-top: 2px solid currentColor;
  border-radius: 2px;
}
.faq-toggle::after { transform: rotate(90deg); }
.faq details[open] .faq-toggle { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 2.2rem 1rem 0; }
footer { padding-block: 1.6rem; border-top: 1px solid var(--border); }
footer > span { font-size: .94rem; color: var(--subtle); }

@media (hover: hover) {
  .header nav a:hover { color: var(--blue); text-decoration-color: currentColor; }
  .button:hover, .channel.primary[href]:hover { background: var(--deep-blue); box-shadow: 0 7px 18px #263f8430; }
  .small-btn:hover, .text-btn:hover { background: #e6ecf9; }
  .choices label:hover span { border-color: #728bbc; }
  .faq summary:hover { color: var(--blue); }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button, .small-btn, .channel, .text-btn, .choices span, .video input, nav a, .faq summary {
    transition: background-color 180ms, border-color 180ms, color 180ms, text-decoration-color 180ms, box-shadow 200ms, transform 180ms var(--ease);
  }
  .video input::after, .faq-toggle { transition: transform 200ms var(--ease); }
  .button:active, .small-btn:active, .text-btn:active { transform: scale(.975); }
  .faq details[open] p, #status:not(:empty) { animation: unfold 220ms var(--ease); }
  @keyframes unfold { from { opacity: 0; transform: translateY(-4px); } }
}
@media (max-width: 850px) {
  .builder-grid { grid-template-columns: minmax(0,1.2fr) minmax(260px,1fr); gap: 1rem; }
  .hero { gap: 1rem; padding: 2rem; }
}
@media (max-width: 700px) {
  .header { min-height: 70px; }
  .header nav { display: none; }
  .logo { font-size: 1.7rem; }
  .logo img { width: 28px; }
  .small-btn { padding: .5rem 1rem; }
  .hero { grid-template-columns: 1fr; padding: clamp(1.35rem, 6vw, 2.5rem); border-radius: 23px; }
  h1 { font-size: clamp(2.1rem, 9.3vw, 4rem); }
  .hero-text p { margin: .9rem 0 1.15rem; }
  .hero-art { width: min(96%, 450px); justify-self: center; }
  .print img { aspect-ratio: 1.5; }
  .steps, .builder-grid, .faq { grid-template-columns: 1fr; }
  .steps { gap: .7rem; margin-top: 1.35rem; }
  .steps article { display: grid; grid-template-columns: 40px 1fr; column-gap: .85rem; padding: 1.1rem; }
  .steps i { width: 38px; height: 38px; margin: 0; grid-row: span 2; }
  .steps p { margin-top: .25rem; }
  .summary { position: static; }
  .fields, .summary { border-radius: 18px; }
  footer { flex-wrap: wrap; }
}
@media (max-width: 380px) {
  .portions { gap: .35rem; }
  .hero { padding-inline: 1.15rem; }
}
@media (forced-colors: active) {
  .video input { appearance: auto; }
  .video input::after { display: none; }
  .choices input:checked + span { outline: 2px solid Highlight; outline-offset: -3px; }
}
