:root {
  color-scheme: light;
  --ink: #452352;
  --purple: #804497;
  --amber: #f5b03f;
  --pink: #a94a89;
  --muted: #695c70;
  --border: #e7dcea;
  --gradient: linear-gradient(160deg, #f5b03f 0%, #df7c6f 35%, #a94a89 71%, #804497 100%);
  font-family: "Open Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fbf8fc;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
button, input { font: inherit; }
button, .choice, .upload label { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
.shell { width: min(1120px, calc(100% - 72px)); margin-inline: auto; }
.masthead { height: 80px; display: flex; justify-content: space-between; align-items: center; }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; font: 800 15px/1.15 Montserrat, sans-serif; }
.brand img { object-fit: contain; border-radius: 4px; }
.brand small { display: block; font: 600 11px/1.5 "Open Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.header-link { text-decoration: none; font-weight: 700; font-size: 13px; }
.header-link span { margin-left: 7px; color: var(--purple); }
.hero { border-radius: 32px; min-height: 344px; background: #f4e8f5; display: grid; grid-template-columns: 1.15fr 1fr; position: relative; overflow: hidden; isolation: isolate; }
.hero-text { padding: 43px 0 42px 54px; z-index: 1; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-transform: uppercase; font-size: 11px; letter-spacing: .18em; }
.kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
h1, h2 { font-family: Montserrat, "Segoe UI", sans-serif; margin: 0; }
h1 { margin-block: 14px; font-size: clamp(45px, 6vw, 77px); font-weight: 800; letter-spacing: -.072em; line-height: .99; }
h1 em { font-style: normal; color: var(--purple); }
.hero p { margin: 20px 0 0; max-width: 410px; line-height: 1.6; color: #5d4866; font-size: 15px; }
.art { position: relative; min-height: 100%; }
.art::before { content: ""; position: absolute; width: 112%; height: 114%; right: -24%; top: -15%; border-radius: 54% 0 0 62%; transform: rotate(-17deg); background: var(--gradient); }
.art::after { content: ""; position: absolute; inset: 14% -12% 7% 16%; border: 2px solid #fff8; border-radius: 51% 34% 46% 50%; transform: rotate(-17deg); }
.book, .book-shadow { position: absolute; width: 160px; height: 198px; top: 20%; left: 41%; border-radius: 13px; transform: rotate(14deg); z-index: 2; }
.book-shadow { background: #ffdaa1; border: 2px solid #452352; transform: translate(-35px, 16px) rotate(-15deg); }
.book { background: #fff9f2; border: 2px solid #452352; box-shadow: 7px 8px 0 #452352; }
.rings { position: absolute; top: 19px; left: -13px; display: grid; gap: 16px; }
.rings i { width: 25px; height: 9px; border-radius: 10px; background: #eee0f1; border: 2px solid #452352; }
.paper-content { display: grid; gap: 12px; margin: 27px 21px 0 29px; }
.paper-top { height: 52px; border-radius: 7px; background: var(--gradient); }
.paper-line { height: 5px; border-radius: 4px; background: #d7bedf; }
.paper-line.short { width: 72%; }
.pdf-sticker { position: absolute; z-index: 3; top: 62%; left: 30%; background: #fff; border: 2px solid var(--ink); border-radius: 11px; padding: 8px 14px; transform: rotate(-12deg); box-shadow: 3px 3px var(--ink); font: 800 16px Montserrat, sans-serif; }
.spark, .art-dots { position: absolute; z-index: 3; }
.spark-one { top: 12%; left: 22%; color: var(--purple); font-size: 46px; }
.spark-two { top: 19%; right: 13%; color: #fff5d7; font-size: 49px; }
.spark-three { bottom: 12%; right: 13%; color: #ffe1a5; font-size: 32px; }
.art-dots { bottom: 16%; left: 13%; color: var(--pink); font-size: 27px; letter-spacing: 6px; transform: rotate(-22deg); }
.calculator { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 24px; scroll-margin-top: 20px; }
.quote-column { display: grid; gap: 16px; min-width: 0; }
.options, .estimate { border-radius: 24px; padding: 29px 31px; }
.options { background: white; border: 1px solid var(--border); box-shadow: 0 6px 24px #45235208; }
h2 { font-size: 23px; font-weight: 800; letter-spacing: -.04em; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: #f5edf7; border-radius: 12px; margin-block: 20px 17px; gap: 4px; }
.segmented button { padding: 10px 6px; border: 0; background: transparent; color: var(--ink); border-radius: 9px; font-size: 13px; font-weight: 700; }
.segmented button[aria-pressed=true] { background: white; box-shadow: 0 1px 5px #45235220; }
.field-label, legend { display: block; font-weight: 700; font-size: 13px; margin-bottom: 8px; padding: 0; }
.stepper { display: grid; grid-template-columns: 42px 1fr 42px; border: 1px solid var(--border); border-radius: 10px; padding: 4px; }
.stepper button { border: 0; border-radius: 6px; background: #f5edf7; color: var(--ink); font-size: 20px; }
.stepper button:disabled { opacity: .45; cursor: default; }
.stepper input { appearance: textfield; border: 0; text-align: center; color: var(--ink); width: 100%; background: transparent; min-height: 35px; font-weight: 700; }
.stepper input::-webkit-inner-spin-button { appearance: none; }
fieldset { padding: 0; border: 0; margin: 18px 0 0; min-width: 0; }
.paper-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { min-height: 47px; display: flex; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 10px; font-weight: 700; font-size: 13px; }
.choice:has(input:checked) { border-color: var(--purple); background: #faf2fc; }
.choice input { flex: none; margin: 0; accent-color: var(--purple); }
.choice small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 500; }
.size-options .choice { align-items: flex-start; }
.size-options input { margin-top: 4px; }
.size-detail { display: block; min-width: 0; }
.sheet-preview { display: flex; height: 65px; align-items: flex-end; margin-bottom: 6px; }
.sheet-preview i { display: block; border: 1px solid var(--purple); border-radius: 3px; background: linear-gradient(145deg, #fff, #ecd8f0); box-shadow: 2px 2px #80449725; }
.sheet-a4 { width: 42px; height: 59.4px; }
.sheet-a5 { width: 29.6px; height: 42px; }
.size-note { font-size: 11px; color: var(--muted); margin: 8px 0 0; }
.estimate { color: #fff; background: radial-gradient(ellipse at top right, #704180 0%, #452352 64%); border-top: 4px solid transparent; background-image: radial-gradient(ellipse at top right, #704180, #452352 65%), var(--gradient); background-origin: padding-box, border-box; background-clip: padding-box, border-box; }
.total-line { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 9px; padding: 9px 0 17px; border-bottom: 1px solid #ffffff37; }
.total-line output { font: 800 clamp(27px,4vw,50px)/1.2 Montserrat,sans-serif; letter-spacing: -.07em; overflow-wrap: anywhere; }
.total-line span { color: #ead6ee; font-size: 12px; font-weight: 700; }
dl { margin: 16px 0 20px; font-size: 13px; }
dl div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; }
dt { color: #f2e4f4; }
dd { margin: 0; font-weight: 700; text-align: right; }
.estimate-note { display: flex; gap: 9px; margin: 0; color: #f8eaf8; background: #ffffff13; padding: 10px 11px; border-radius: 9px; font-size: 12px; line-height: 1.5; }
.whatsapp { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; margin-top: 12px; padding: 10px 14px; border-radius: 10px; color: var(--ink); background: var(--amber); font-size: 14px; font-weight: 700; text-decoration: none; }
.whatsapp:hover { background: #ffca72; }
.whatsapp:focus-visible { outline-color: #fff; }
.book-inquiry {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(86px, 10vw, 126px);
  gap: 8px;
  align-items: center;
  padding: 21px 16px 21px 23px;
  border: 1px solid #ebcbd8;
  border-radius: 24px;
  background: linear-gradient(120deg, #fff1d5, #f8e6f4);
}
.book-inquiry h2 { font-size: clamp(20px, 2.5vw, 26px); }
.book-inquiry p { margin: 7px 0 13px; font-size: 13px; line-height: 1.5; color: #5d4866; }
.book-inquiry a { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.book-inquiry a:hover { background: var(--purple); }
.book-inquiry-art { position: relative; }
.book-inquiry-art::before { content: ""; position: absolute; z-index: -1; inset: 13% -6% 5%; border-radius: 50%; background: #f1d5eb; }
.book-inquiry-art img { display: block; width: 100%; height: auto; }
.book-inquiry-art span { position: absolute; top: 1%; right: -3%; color: var(--purple); font-size: 20px; }
.upload { background: #faf3fb; border: 1px dashed var(--purple); border-radius: 11px; padding: 13px; position: relative; text-align: center; font-size: 13px; }
.upload.dragging, .upload:focus-within { outline: 2px solid var(--purple); }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload label { display: block; padding: 5px; }
.upload strong { text-decoration: underline; }
.upload small { color: var(--muted); }
.pdf-status, .error { font-size: 12px; margin: 7px 0 0; overflow-wrap: anywhere; }
.error { color: #9c1a52; }
.footer { margin-top: 30px; border-top: 1px solid var(--border); padding: 19px 0 23px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 14px; font-size: 12px; color: var(--muted); }
.footer-shop { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.footer-shop a { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 5px 10px; border: 1px solid var(--border); border-radius: 9px; color: var(--purple); font-weight: 700; text-decoration: none; }
.footer-shop a:hover { background: #faf2fc; text-decoration: underline; }
@media (max-width: 780px) {
  .shell { width: calc(100% - 36px); }
  .hero-text { padding-left: 30px; }
  .art { transform: translateX(-10px); }
  .book, .book-shadow { left: 30%; }
  .calculator { gap: 14px; }
  .options, .estimate { padding: 22px; }
}
@media (max-width: 600px) {
  .masthead { height: 66px; }
  .header-link { font-size: 11px; }
  .brand { gap: 5px; font-size: 12px; }
  .brand img { width: 46px; }
  .hero { grid-template-columns: 1fr; min-height: 0; border-radius: 24px; }
  .hero-text { padding: 26px 24px 0; }
  .hero h1 { font-size: clamp(36px, 10vw, 54px); }
  .hero p { font-size: 14px; margin-top: 14px; }
  .art { min-height: 188px; transform: none; }
  .art::before { width: 86%; top: 7%; }
  .book, .book-shadow { width: 105px; height: 127px; left: 52%; top: 13%; }
  .paper-content { margin: 15px 13px 0 20px; gap: 7px; }
  .paper-top { height: 32px; }
  .paper-line { height: 3px; }
  .rings { top: 12px; gap: 9px; }
  .rings i { width: 20px; height: 7px; }
  .pdf-sticker { left: 39%; top: 61%; padding: 6px 10px; font-size: 12px; }
  .spark-one { left: 30%; }
  .spark-two { right: 8%; }
  .spark-three { right: 6%; }
  .calculator { grid-template-columns: 1fr; margin-top: 15px; }
  .book-inquiry { grid-template-columns: minmax(0, 1fr) clamp(86px, 24vw, 120px); }
  .footer { margin-top: 20px; }
}
@media (max-width: 360px) {
  .options, .estimate { padding: 18px; }
  .book-inquiry { padding: 16px 12px 16px 16px; }
  .choice { padding-inline: 8px; }
}
