:root {
  --mynote-ink: #2b211b;
  --mynote-ink-soft: #65574d;
  --mynote-paper: #fbf8f1;
  --mynote-paper-deep: #f4ecdf;
  --mynote-gold: #bd8b31;
  --mynote-gold-light: #d7ae5d;
  --mynote-wood: #1d1714;
  --mynote-line: rgba(72, 53, 40, .13);
  --mynote-shadow: 0 18px 45px rgba(70, 48, 29, .11);
  --mynote-radius: 18px;
}

html { scroll-behavior: smooth; }

body.mynote-homepage {
  margin: 0;
  color: var(--mynote-ink);
  background: var(--mynote-paper);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.mynote-calculator-page {
  margin: 0;
  padding-bottom: 48px;
  color: var(--mynote-ink);
  background: #fffdf9;
  font-family: "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.mynote-homepage *,
.mynote-homepage *::before,
.mynote-homepage *::after { box-sizing: border-box; }

.mynote-homepage img { display: block; max-width: 100%; }
.mynote-homepage a { color: inherit; }
.mynote-homepage h1,
.mynote-homepage h2,
.mynote-homepage h3,
.mynote-homepage p { margin-top: 0; }

.mynote-homepage .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mynote-calculator-page .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mynote-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.mynote-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--mynote-wood);
  transform: translateY(-150%);
}
.mynote-skip-link:focus { transform: translateY(0); }

.mynote-header,
.mynote-footer {
  color: #fffaf0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.025), transparent 30%, rgba(255,255,255,.018) 70%, transparent),
    repeating-linear-gradient(2deg, rgba(255,255,255,.015) 0 1px, transparent 1px 7px),
    var(--mynote-wood);
}

.mynote-header { position: relative; z-index: 20; border-bottom: 1px solid rgba(215,174,93,.28); }
.mynote-header__inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.mynote-brand { display: block; flex: 0 0 auto; }
.mynote-brand img { width: 164px; height: 68px; object-fit: contain; }

.mynote-nav { display: flex; align-items: center; gap: clamp(24px, 4vw, 48px); }
.mynote-nav > a,
.mynote-nav-types > summary { position: relative; color: #fffaf0; font-size: 15px; font-weight: 600; text-decoration: none; }
.mynote-nav > a::after,
.mynote-nav-types > summary::before { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--mynote-gold-light); transition: right .2s ease; }
.mynote-nav > a:hover::after,
.mynote-nav > a:focus-visible::after,
.mynote-nav-types > summary:hover::before,
.mynote-nav-types > summary:focus-visible::before { right: 0; }
.mynote-nav-types { position: relative; }
.mynote-nav-types > summary { display: flex; align-items: center; gap: 7px; list-style: none; cursor: pointer; }
.mynote-nav-types > summary::-webkit-details-marker { display: none; }
.mynote-nav-types > summary::after { content: "▾"; color: var(--mynote-gold-light); font-size: 11px; line-height: 1; }
.mynote-nav-types[open] > summary::after { transform: rotate(180deg); }
.mynote-nav-types__menu { position: absolute; z-index: 30; top: calc(100% + 15px); left: 50%; display: grid; min-width: 220px; padding: 7px; border: 1px solid rgba(215,174,93,.35); border-radius: 9px; background: var(--mynote-wood); box-shadow: 0 15px 28px rgba(0,0,0,.28); transform: translateX(-50%); }
.mynote-nav-types__menu a,
.mynote-nav-types__menu span { display: block; padding: 10px 12px; border-radius: 6px; color: #fffaf0; font-size: 14px; font-weight: 600; line-height: 1.25; text-decoration: none; white-space: nowrap; }
.mynote-nav-types__menu a:hover,
.mynote-nav-types__menu a:focus-visible { background: rgba(215,174,93,.16); outline: 0; }
.mynote-nav-types__menu a[aria-current="page"] { color: var(--mynote-gold-light); background: rgba(215,174,93,.12); }
.mynote-nav-types__menu span[aria-disabled="true"] { color: rgba(255,250,240,.48); cursor: default; }

.mynote-menu-toggle { display: none; width: 42px; height: 38px; padding: 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 7px; background: transparent; }
.mynote-menu-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 4px 0; background: #fff; }

.mynote-calculator-main {
  min-height: calc(100vh - 78px);
  padding: 28px 0 42px;
  background:
    radial-gradient(circle at 50% 0, rgba(193, 145, 54, .12), transparent 42%),
    repeating-linear-gradient(2deg, rgba(255,255,255,.012) 0 1px, transparent 1px 7px),
    #11100f;
}
.mynote-calculator-content { width: min(1600px, calc(100% - 32px)); margin-inline: auto; }
.mynote-calculator-content > h1 { margin: 0 0 22px; color: #e1b64e; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 54px); font-weight: 500; line-height: 1.1; text-align: center; }
.mynote-calculator-content > *:last-child { margin-bottom: 0; }

.mynote-hero {
  overflow: hidden;
  min-height: 410px;
  background:
    radial-gradient(circle at 18% 15%, rgba(215,174,93,.10), transparent 26%),
    linear-gradient(110deg, #fffdf9 0%, #fbf6ed 62%, #f2e9dc 100%);
  border-bottom: 1px solid var(--mynote-line);
}
.mynote-hero__grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; min-height: 410px; gap: 44px; padding-block: 34px; }
.mynote-hero__copy { position: relative; z-index: 4; }
.mynote-epigraph { max-width: 470px; margin-bottom: 24px; color: #80664f; font-family: "Monotype Corsiva", "Segoe Script", "Apple Chancery", cursive; font-size: clamp(18px, 1.8vw, 23px); font-weight: 400; line-height: 1.35; letter-spacing: .01em; }
.mynote-epigraph span { display: block; }
.mynote-epigraph::after { content: ""; display: block; width: 72px; height: 1px; margin-top: 12px; background: linear-gradient(90deg, var(--mynote-gold-light), transparent); }
.mynote-hero h1 { max-width: 560px; margin-bottom: 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px, 4.5vw, 59px); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; }
.mynote-lead { margin-bottom: 22px; color: var(--mynote-ink-soft); font-size: clamp(17px, 1.8vw, 20px); }

.mynote-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border: 1px solid #ae7b24;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, #d0a34d, #ae7720);
  box-shadow: 0 9px 22px rgba(150, 101, 25, .2);
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.mynote-button:hover,
.mynote-button:focus-visible { transform: translateY(-2px); box-shadow: 0 13px 28px rgba(150,101,25,.27); filter: saturate(1.08); }
.mynote-button--small { min-height: 43px; padding: 9px 22px; font-size: 15px; }
.mynote-homepage a.mynote-button { color: #fff; }

.mynote-hero__visual { position: relative; height: 320px; isolation: isolate; }
.mynote-hero__visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -34px -54px;
  background: var(--mynote-hero-photo) center 52% / cover no-repeat;
  filter: blur(25px) sepia(.18) saturate(.78);
  opacity: .25;
  transform: scale(1.04);
}
.mynote-hero__photo {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: min(82%, 520px);
  height: auto;
  max-width: none;
  filter: sepia(.08) saturate(.9) drop-shadow(0 18px 24px rgba(50,35,24,.18));
  -webkit-mask-image: radial-gradient(ellipse 70% 68% at center, #000 48%, rgba(0,0,0,.88) 66%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 68% at center, #000 48%, rgba(0,0,0,.88) 66%, transparent 100%);
  transform: translate(-50%, -50%);
}
.mynote-notebook {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 190px;
  height: 280px;
  border-radius: 7px 13px 13px 7px;
  box-shadow: 4px 24px 30px rgba(50,35,24,.22);
  transform-origin: 50% 95%;
}
.mynote-notebook::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 10px;
  bottom: 10px;
  left: -8px;
  width: 18px;
  background: repeating-linear-gradient(to bottom, transparent 0 10px, #b5842b 11px 15px, transparent 16px 24px);
  border-radius: 50%;
}
.mynote-notebook::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(44,34,27,.17); border-radius: inherit; background: linear-gradient(115deg, rgba(255,255,255,.2), transparent 28%, rgba(0,0,0,.08)); }
.mynote-notebook span { position: absolute; z-index: 2; top: 47%; left: 50%; color: var(--mynote-gold-light); font-family: Georgia, serif; font-size: 18px; letter-spacing: .2em; transform: translate(-50%,-50%); }
.mynote-notebook--cream { margin-left: -165px; background: #efe5cf; transform: rotate(-10deg); }
.mynote-notebook--green { z-index: 2; margin-left: -59px; background: #263a31; transform: rotate(-1deg) translateY(-8px); }
.mynote-notebook--kraft { margin-left: 59px; background: #a97842; transform: rotate(10deg); }
.mynote-photo-note { position: absolute; right: 0; bottom: -2px; margin: 0; color: #897768; font-size: 12px; font-style: italic; }

.mynote-section { padding-block: 58px; }
.mynote-section-heading { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.mynote-section-heading h2,
.mynote-footer h2 { margin-bottom: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 3.7vw, 46px); font-weight: 500; line-height: 1.1; letter-spacing: -.025em; }
.mynote-section-heading h2::after { content: ""; display: block; width: 58px; height: 2px; margin: 14px auto 0; background: var(--mynote-gold); }
.mynote-kicker { margin-bottom: 7px; color: #98763d; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

.mynote-types { padding-top: clamp(28px, 4.2vh, 46px); background: #fffdf9; }
.mynote-types .mynote-section-heading { margin-bottom: clamp(22px, 3vh, 30px); }
.mynote-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.mynote-product-card { position: relative; overflow: hidden; min-width: 0; border: 1px solid var(--mynote-line); border-radius: var(--mynote-radius); background: #faf6ef; box-shadow: 0 12px 34px rgba(70,48,29,.07); transition: transform .22s ease, box-shadow .22s ease; }
.mynote-product-card--active { cursor: pointer; }
.mynote-product-card--active:hover,
.mynote-product-card--active:focus-visible { transform: translateY(-4px); box-shadow: var(--mynote-shadow); outline: 2px solid rgba(166,118,28,.38); outline-offset: 2px; }
.mynote-product-card--future { color: #554b44; background: #f7f3ec; }
.mynote-coming-soon { position: absolute; z-index: 6; top: 14px; right: 14px; padding: 6px 11px; border-radius: 999px; color: #705f51; background: rgba(241,228,205,.94); font-size: 12px; font-weight: 700; }

.mynote-gallery { position: relative; height: 248px; overflow: hidden; background: linear-gradient(145deg,#f5eee4,#eee3d5); }
.mynote-gallery__slide { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .7s ease; }
.mynote-gallery__slide.is-active { opacity: 1; }
.mynote-gallery__slide--photo { width: 100%; height: 100%; isolation: isolate; overflow: hidden; }
.mynote-gallery__slide--photo::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -18px;
  background-image: linear-gradient(rgba(244,237,226,.42),rgba(244,237,226,.42)), var(--mynote-photo);
  background-position: center;
  background-size: cover;
  filter: blur(13px);
  opacity: .72;
  transform: scale(1.08);
}
.mynote-gallery__slide--photo img {
  position: absolute;
  z-index: 1;
  inset: 8px 12px;
  display: block;
  box-sizing: border-box;
  width: calc(100% - 24px);
  height: calc(100% - 16px);
  object-fit: contain;
  filter: drop-shadow(0 9px 15px rgba(46,32,22,.16));
}
.mynote-placeholder-label { position: absolute; z-index: 5; bottom: 10px; left: 12px; padding: 4px 8px; border-radius: 5px; color: #756558; background: rgba(255,255,255,.72); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }

.mynote-card-notebook { position: relative; width: 145px; height: 198px; border-radius: 5px 11px 11px 5px; box-shadow: 10px 18px 25px rgba(48,34,24,.22); transform: rotate(-6deg); }
.mynote-card-notebook::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: -9px; width: 17px; background: repeating-linear-gradient(to bottom,transparent 0 8px,#8e681f 9px 13px,transparent 14px 21px); }
.mynote-card-notebook::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(40,30,22,.16); border-radius: inherit; background: linear-gradient(120deg,rgba(255,255,255,.23),transparent 35%,rgba(0,0,0,.06)); }
.mynote-card-notebook span { position: absolute; z-index: 2; top: 48%; left: 50%; color: #ba8b35; font-family: Georgia, serif; font-size: 13px; letter-spacing: .2em; transform: translate(-50%,-50%); }
.mynote-card-notebook--botanical { background: #eee8d7; }
.mynote-card-notebook--botanical span { color: #546850; }
.mynote-card-notebook--sand { background: #b4a58f; transform: rotate(4deg); }
.mynote-card-notebook--ink { background: #273b33; transform: rotate(-2deg); }
.mynote-card-notebook--hard { width: 154px; background: #887a68; box-shadow: 5px 20px 27px rgba(48,34,24,.25), inset 4px 0 rgba(255,255,255,.18); transform: rotate(-5deg); }
.mynote-card-notebook--bound { width: 144px; background: #263a31; box-shadow: 12px 18px 27px rgba(48,34,24,.25), inset 8px 0 rgba(0,0,0,.18); transform: rotate(4deg); }
.mynote-card-notebook--bound::before { display: none; }

.mynote-product-card__body { min-height: 176px; padding: 14px 20px 13px; text-align: center; }
.mynote-product-card__body h3 { margin-bottom: 8px; font-family: Georgia, serif; font-size: 23px; font-weight: 500; }
.mynote-product-card__body h3 a { color: inherit; text-decoration: none; }
.mynote-product-card__body h3 a:hover,
.mynote-product-card__body h3 a:focus-visible { color: var(--mynote-gold); }
.mynote-product-card__body p { min-height: 40px; margin-bottom: 10px; color: var(--mynote-ink-soft); font-size: 12px; line-height: 1.4; }
.mynote-gallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 7px; }

.mynote-process { padding-block: 38px; }
.mynote-process .mynote-section-heading { margin-bottom: 20px; }
.mynote-process .mynote-section-heading h2::after { margin-top: 10px; }
.mynote-gallery-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #d9d3ca; cursor: pointer; }
.mynote-gallery-dots button.is-active { background: var(--mynote-gold); }

.mynote-process { background: var(--mynote-paper); border-block: 1px solid var(--mynote-line); }
.mynote-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.mynote-steps li { position: relative; display: flex; min-width: 0; flex-direction: column; align-items: center; padding: 0 16px; text-align: center; }
.mynote-steps li:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: calc(50% + 30px); width: calc(100% - 60px); border-top: 1px dashed rgba(104,81,61,.22); }
.mynote-step-number { position: relative; z-index: 2; display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg,var(--mynote-gold-light),#a87320); font-family: Georgia,serif; font-size: 20px; font-weight: 700; }
.mynote-step-icon { display: grid; width: 50px; height: 50px; place-items: center; margin: 10px 0 7px; border: 1px solid rgba(72,53,40,.2); border-radius: 12px; color: #725b49; font-size: 23px; }
.mynote-steps strong { max-width: 190px; font-size: 15px; font-weight: 600; }

.mynote-preview { overflow: hidden; background: #fffdf9; }
.mynote-preview__grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 34px; }
.mynote-calculator-mockup { display: grid; grid-template-columns: 145px 1fr; min-height: 300px; padding: 22px; border: 1px solid var(--mynote-line); border-radius: var(--mynote-radius); background: #faf7f0; box-shadow: var(--mynote-shadow); }
.mynote-mock-controls { align-self: center; padding-right: 14px; }
.mynote-mock-controls small { display: block; margin: 10px 0 5px; color: #5b4c41; font-size: 9px; font-weight: 700; line-height: 1.2; }
.mynote-mock-controls small:first-child { margin-top: 0; }
.mynote-mock-options,
.mynote-mock-pages,
.mynote-mock-colors { display: flex; gap: 6px; }
.mynote-mock-options span { display: grid; width: 28px; height: 24px; place-items: center; border: 1px solid #b8aa9d; border-radius: 3px; color: #6e6055; background: #fff; font-size: 8px; }
.mynote-mock-pages i { width: 28px; height: 28px; border: 1px solid #b8aa9d; border-radius: 3px; background: repeating-linear-gradient(#fff 0 5px,#d8d1c8 6px); }
.mynote-mock-pages i:nth-child(2) { background: repeating-linear-gradient(90deg,#fff 0 5px,#d8d1c8 6px); }
.mynote-mock-pages i:nth-child(3) { background: radial-gradient(#c1b6aa 1px,transparent 1.5px) 0 0/6px 6px,#fff; }
.mynote-mock-colors b { width: 22px; height: 22px; border-radius: 50%; background: #365344; }
.mynote-mock-colors b:nth-child(2) { background: #ad986f; }
.mynote-mock-colors b:nth-child(3) { background: #aaa49b; }
.mynote-mock-colors b:nth-child(4) { background: #333; }
.mynote-mock-upload { display: grid; width: 88px; height: 37px; place-items: center; border: 1px dashed #ab9c8f; border-radius: 5px; color: #75665a; background: rgba(255,255,255,.55); font-size: 20px; }
.mynote-mock-notebook { position: relative; align-self: center; justify-self: center; width: 175px; height: 238px; border: 1px solid #9c8d80; border-radius: 4px 10px 10px 4px; background: #fff; box-shadow: 7px 13px 22px rgba(54,39,29,.18); overflow: hidden; }
.mynote-mock-notebook::before { content: ""; position: absolute; z-index: 3; top: 7px; bottom: 7px; left: -8px; width: 15px; background: repeating-linear-gradient(to bottom,transparent 0 8px,#7b6f64 9px 12px,transparent 13px 19px); }
.mynote-mock-grid { position: absolute; inset: 0; background: linear-gradient(#dfe4df 1px,transparent 1px),linear-gradient(90deg,#dfe4df 1px,transparent 1px); background-size: 16px 16px; opacity: .74; }
.mynote-mock-corner { position: absolute; right: 0; bottom: 0; width: 58px; height: 58px; background: linear-gradient(135deg,transparent 49%,#eee9e0 50%); filter: drop-shadow(-3px -3px 3px rgba(65,50,39,.08)); }
.mynote-benefits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.mynote-benefits article { display: flex; gap: 13px; min-height: 126px; padding: 18px; border: 1px solid var(--mynote-line); border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(70,48,29,.06); }
.mynote-benefits article > span { display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg,var(--mynote-gold-light),#ac761f); font-size: 22px; }
.mynote-benefits h3 { margin-bottom: 6px; font-size: 16px; line-height: 1.3; }
.mynote-benefits p { margin-bottom: 0; color: #4b4038; font-size: 13px; font-weight: 400; line-height: 1.45; }
.mynote-final-cta { margin-top: 28px; text-align: center; }

.mynote-footer { padding-block: 40px; border-top: 1px solid rgba(215,174,93,.28); }
.mynote-footer__grid { display: grid; grid-template-columns: 240px 1fr; align-items: center; gap: 68px; }
.mynote-footer__brand img { width: 210px; max-height: 124px; object-fit: contain; }
.mynote-footer .mynote-kicker { color: var(--mynote-gold-light); }
.mynote-footer h2 { margin-bottom: 12px; font-size: 34px; }
.mynote-footer__contact p:last-child { max-width: 560px; margin-bottom: 0; color: #d6cbc2; font-size: 15px; }
.mynote-contact-list { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; color: #e0d5cc; font-size: 15px; font-style: normal; }
.mynote-contact-list a { color: #fffaf0; text-decoration-color: rgba(215,174,93,.65); text-underline-offset: 4px; }
.mynote-contact-list a:hover,
.mynote-contact-list a:focus-visible { color: var(--mynote-gold-light); }

.mynote-messengers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mynote-messengers a {
  display: inline-grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(215,174,93,.42);
  border-radius: 50%;
  color: #fffaf0;
  background: rgba(255,255,255,.05);
  text-decoration: none;
}
.mynote-messengers a:hover,
.mynote-messengers a:focus-visible { color: var(--mynote-gold-light); border-color: currentColor; }
.mynote-messenger-icon { width: 18px; height: 18px; fill: currentColor; }
.mynote-messenger-icon__detail { fill: var(--mynote-wood); }
.mynote-messengers--footer { margin-top: 6px; }

.mynote-calculator-contact-bar,
.mynote-calculator-contact-bar * { box-sizing: border-box; }
.mynote-calculator-contact-bar {
  position: fixed;
  z-index: 999990;
  right: 0;
  bottom: 0;
  left: 0;
  height: 48px;
  border-top: 1px solid rgba(215,174,93,.42);
  color: #fffaf0;
  background:
    repeating-linear-gradient(2deg, rgba(255,255,255,.015) 0 1px, transparent 1px 7px),
    var(--mynote-wood);
  box-shadow: 0 -5px 18px rgba(0,0,0,.2);
}
.mynote-calculator-contact-bar__inner {
  display: flex;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-inline: auto;
  overflow-x: auto;
  font-size: 14px;
  white-space: nowrap;
  scrollbar-width: none;
}
.mynote-calculator-contact-bar__inner::-webkit-scrollbar { display: none; }
.mynote-calculator-contact-bar__phone { color: #fffaf0; font-weight: 700; }
.mynote-calculator-contact-bar__phone--mobile { display: none; text-decoration: none; }
.mynote-messengers--contact-bar { margin-left: 3px; }
.mynote-messengers--contact-bar a { width: 27px; height: 27px; }
body.mynote-calculator-page .mynote-calculator-horizontal-pan { bottom: 48px; }
body.mynote-calculator-page .mynote-calculator-shell.is-order-modal-open .mynote-calculator-frame {
  inset: 0 0 48px !important;
  height: calc(100vh - 48px) !important;
  min-height: calc(100vh - 48px) !important;
}

@media (hover: none) and (pointer: coarse) {
  body.mynote-calculator-page { padding-bottom: 0; }
  body.mynote-calculator-page .mynote-calculator-contact-bar { display: none; }
  body.mynote-calculator-page .mynote-calculator-horizontal-pan { bottom: 0; }
  body.mynote-calculator-page .mynote-calculator-shell.is-order-modal-open .mynote-calculator-frame {
    inset: 0 !important;
    height: 100vh !important;
    min-height: 100vh !important;
  }
}

@media (max-width: 900px) {
  .mynote-shell { width: min(100% - 36px, 720px); }
  .mynote-hero__grid { grid-template-columns: 1fr; gap: 18px; padding-top: 30px; }
  .mynote-hero__copy { text-align: center; }
  .mynote-epigraph { margin-inline: auto; }
  .mynote-epigraph::after { margin-inline: auto; }
  .mynote-hero h1 { margin-inline: auto; }
  .mynote-hero__visual { height: 285px; }
  .mynote-product-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .mynote-gallery { height: 292px; }
  .mynote-product-card__body { min-height: 0; }
  .mynote-steps { grid-template-columns: repeat(2,1fr); gap: 32px 20px; }
  .mynote-steps li:nth-child(2)::after { display: none; }
  .mynote-preview__grid { grid-template-columns: 1fr; }
}

@media (max-width: 660px) {
  body.mynote-homepage { font-size: 16px; }
  .mynote-shell { width: min(100% - 28px, 540px); }
  .mynote-header__inner { min-height: 68px; }
  .mynote-brand img { width: 132px; height: 58px; }
  .mynote-menu-toggle { display: block; }
  .mynote-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; border-top: 1px solid rgba(255,255,255,.1); background: var(--mynote-wood); box-shadow: 0 15px 22px rgba(0,0,0,.16); }
  .mynote-nav.is-open { display: flex; }
  .mynote-nav > a,
  .mynote-nav-types > summary { padding: 12px 2px; }
  .mynote-nav > a::after,
  .mynote-nav-types > summary::before { display: none; }
  .mynote-nav-types__menu { position: static; min-width: 0; padding: 0 0 5px 12px; border: 0; border-radius: 0; background: transparent; box-shadow: none; transform: none; }
  .mynote-nav-types__menu a,
  .mynote-nav-types__menu span { padding: 9px 8px; white-space: normal; }
  .mynote-hero__grid { min-height: 0; padding-block: 24px 20px; }
  .mynote-hero h1 { font-size: 38px; }
  .mynote-epigraph { margin-bottom: 18px; font-size: 14px; line-height: 1.6; }
  .mynote-epigraph::after { margin-top: 9px; }
  .mynote-lead { margin-bottom: 18px; font-size: 17px; }
  .mynote-hero__visual { height: 228px; margin-inline: -8px; }
  .mynote-section { padding-block: 44px; }
  .mynote-types { padding-top: 34px; }
  .mynote-section-heading { margin-bottom: 24px; }
  .mynote-section-heading h2 { font-size: 32px; }
  .mynote-gallery { height: 238px; }
  .mynote-card-notebook { transform: rotate(-4deg) scale(.86); }
  .mynote-process { padding-block: 34px; }
  .mynote-steps { grid-template-columns: 1fr; gap: 19px; }
  .mynote-steps li::after { display: none; }
  .mynote-calculator-mockup { grid-template-columns: 112px 1fr; min-height: 255px; padding: 14px; }
  .mynote-mock-controls { padding-right: 8px; }
  .mynote-mock-controls small { margin-top: 7px; font-size: 8px; }
  .mynote-mock-options span { width: 24px; height: 21px; }
  .mynote-mock-pages i { width: 24px; height: 24px; }
  .mynote-mock-colors b { width: 19px; height: 19px; }
  .mynote-mock-upload { width: 78px; height: 30px; }
  .mynote-mock-notebook { width: 138px; height: 198px; }
  .mynote-benefits { grid-template-columns: 1fr; }
  .mynote-benefits article { min-height: 0; padding: 16px; }
  .mynote-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .mynote-footer__brand img { width: 165px; }
  .mynote-calculator-main { padding-top: 20px; }
  .mynote-calculator-content { width: min(100% - 18px, 540px); }
  .mynote-calculator-content > h1 { margin-bottom: 16px; font-size: 34px; }
  .mynote-calculator-contact-bar__phone--desktop { display: none; }
  .mynote-calculator-contact-bar__phone--mobile { display: inline; }
  .mynote-calculator-contact-bar__inner { justify-content: flex-start; padding-inline: 10px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mynote-button,
  .mynote-product-card,
  .mynote-gallery__slide,
  .mynote-nav > a::after,
  .mynote-nav-types > summary::before { transition: none; }
}

@media (hover: none) and (pointer: coarse) {
  .mynote-product-card--active .mynote-gallery::after {
    content: "";
    position: absolute;
    z-index: 5;
    inset: -35% auto -35% -45%;
    width: 38%;
    pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.34), transparent);
    transform: skewX(-18deg);
    animation: mynote-mobile-shine 4.8s ease-in-out infinite;
  }
}

@keyframes mynote-mobile-shine {
  0%, 42% { left: -45%; opacity: 0; }
  48% { opacity: .72; }
  68% { left: 112%; opacity: 0; }
  100% { left: 112%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mynote-product-card--active .mynote-gallery::after { animation: none; }
}
