:root {
  color-scheme: light;
  --paper: #fbf7ef;
  --ink: #251e26;
  --wine: #41232e;
  --accent: #ae392b;
  --gold: #ffce83;
  --muted: #615750;
  --line: #d8ccc0;
  font: 100%/1.55 system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box }
body { margin: 0; color: var(--ink); background: var(--paper) }
a, button { color: inherit; touch-action: manipulation }
button, .button { font: inherit; font-weight: 700; cursor: pointer }
button { min-height: 44px; padding: .55rem .95rem; border: 1px solid var(--line); border-radius: 9px; background: transparent }
button:disabled { cursor: wait; opacity: .7 }
.button {
  display: flex; width: 100%; align-items: center; justify-content: center; gap: .72rem; text-align: center;
  min-height: 52px; padding: .78rem 1.3rem; border: 1px solid transparent; border-radius: 9px;
  background: var(--ink); color: white; line-height: 1.3; text-decoration: none;
  transition: transform .18s, background-color .18s, box-shadow .18s;
}
.button:hover { transform: translateY(-1px) }
.button:active { transform: translateY(1px) }
.primary { background: var(--accent); color: white; box-shadow: 0 3px 0 #7c281f }
.primary:hover { background: #962e23 }
.buy { background: var(--gold); color: #321c22; box-shadow: 0 3px 0 #af764b }
.buy:hover { background: #ffdb9f }
[hidden] { display: none !important }
:focus-visible { outline: 3px solid #b36122; outline-offset: 4px }
section:focus { outline: 0 }
main, .mast-inner, footer { width: min(1180px, 100%); margin-inline: auto; padding-inline: clamp(18px, 4.6vw, 64px) }
.mast { color: #fff7ea; background: #251e26 }
.mast-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px }
.brand img { width: clamp(92px, 13vw, 146px); display: block }
.journey { display: flex; align-items: center; gap: clamp(8px, 2.5vw, 28px) }
.journey a { display: inline-flex; align-items: center; min-height: 44px; font-size: .93rem; text-decoration: none; color: #f6eadd }
.journey a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--gold) }
.journey a:last-child { color: var(--gold); font-weight: 700 }
section { scroll-margin-top: 8px }
body:has(#offer-clock:not([hidden])) section { scroll-margin-top: 62px }
h1, h2, h3, p { margin: 0 }
h1, h2, h3, .price { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; letter-spacing: -.048em; line-height: 1.03 }
h1 { font-size: clamp(2.95rem, 5.8vw, 5.65rem); max-width: 100%; text-wrap: balance }
h2 { font-size: clamp(2.25rem, 4.6vw, 4.1rem); text-wrap: balance }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.05rem) }
em { color: var(--accent) }
.eyebrow { font-size: .76rem; font-weight: 760; text-transform: uppercase; letter-spacing: .13em; color: #8b402e }
.eyebrow span, .sleeve-title i { padding-inline: .2em }
.lead { max-width: 40ch; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.5 }
#inicio { padding-block: clamp(28px,4vw,56px); display: grid; align-items: center; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-areas: "copy record" "practice record"; gap: 18px clamp(28px,5vw,78px) }
.hero-copy { grid-area: copy; text-align: center }
.hero-copy .lead, .offer-intro .lead, #opciones .lead { margin-inline: auto; text-wrap: pretty }
.hero-copy h1 { margin: 16px 0 20px }
.play-mark { font-size: .8em }
.sample-note { color: var(--muted); margin-top: 11px; font-size: .9rem }
.record {
  grid-area: record; display: block; position: relative; isolation: isolate; width: 100%; padding: 0 11% 0 0; border: 0; text-align: left;
  text-decoration: none; color: white;
}
.sleeve { display: block; position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 5px; box-shadow: 0 18px 26px -17px #271620a6 }
.sleeve img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; display: block; transition: transform .35s }
.sleeve::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,#150d19e8,transparent 56%); pointer-events: none }
.sleeve-title { position: absolute; z-index: 1; left: 7%; bottom: 8%; line-height: 1.1 }
.sleeve-title b { display: block; width: max-content; margin-bottom: .25rem; font: normal clamp(3rem, 5.5vw, 5.2rem)/1.06 Georgia, serif; color: #ffe4ae }
.sleeve-title span { font-size: 1.04rem; font-weight: 650 }
.sleeve-title i { font-style: normal; color: var(--gold) }
.sleeve-play { position: absolute; right: 7%; bottom: 8%; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding-left: 2px; border: 1px solid #fce9c9a6; border-radius: 50%; background: #241d23ad }
.vinyl {
  position: absolute; z-index: -1; right: 0; top: 5%; height: 90%; aspect-ratio: 1; border-radius: 50%;
  background: repeating-radial-gradient(circle,#ffffff0b 0 1px,transparent 1px 4px),conic-gradient(from 110deg,#241d23,#51444c 12%,#1d191d 35%,#54434a 67%,#241d23 90%);
  box-shadow: 0 8px 14px #301f231c;
}
.record:hover .sleeve img { transform: scale(1.025) }
footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-block: 22px; color: var(--muted); font-size: .84rem }

#oferta { padding-block: clamp(25px, 4.5vw, 58px) }
.studio { grid-area: practice; padding: clamp(16px,2.1vw,26px); border-radius: 16px; color: #fff7ea; background: linear-gradient(130deg,#33242d,#211e26); text-align: center }
.clip-label { margin-bottom: 7px; font-size: .83rem; color: #f1dcbd }
.lyric { padding-bottom: 12px }
#he, #roman { display: flex; justify-content: center; flex-wrap: wrap; gap: .05em .22em }
#he { font: clamp(1.75rem, 3vw, 2.4rem)/1.45 Georgia,serif; color: #f0d49e }
#roman { margin: 14px 0 10px; font-size: 1.05rem }
.lyric span { border-radius: 4px; transition: background-color .15s, color .15s }
.lyric span.lit { color: #2a2125; background: #ffd48b }
.lyric p { color: #e5d6cb; font: italic 1.12rem/1.35 Georgia,serif }
#clip-progress { display: block; width: 100%; height: 4px; border: 0; border-radius: 3px; overflow: hidden; background: #675963; accent-color: #ffcf85 }
#clip-progress::-webkit-progress-bar { background: #675963 }
#clip-progress::-webkit-progress-value { background: #ffcf85 }
#clip-progress::-moz-progress-bar { background: #ffcf85 }
.actions { display: grid; gap: 8px; margin-top: 14px }
.actions .button { background: #ffe7c4; color: var(--ink) }
#slow { color: #fbf4e9; border-color: #a79398 }
#slow[aria-pressed=true] { background: #fff2da; color: var(--ink) }
#feedback { color: #e8d9ce; font-size: .9rem }
#feedback:not(:empty) { margin-top: 8px }
#takeaway { margin-top: 12px; padding-top: 12px; border-top: 1px solid #66535a }
#practice-offer { margin-top: 12px; min-height: 54px }
#practice-offer.completed { animation: invite .75s ease-out }
@keyframes invite { 35% { box-shadow: 0 3px 0 #7c281f, 0 0 0 6px #c54a343d } }

.offer-spread {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px clamp(36px,6vw,80px);
  grid-template-areas: "intro card" "benefits card"; align-items: start;
}
.offer-intro { grid-area: intro; text-align: center }
.offer-intro h2 { margin: 14px 0 }
.offer-intro .lead { max-width: 36ch }
.offer-card {
  grid-area: card; padding: clamp(21px,3vw,38px); border-radius: 16px; position: relative; overflow: hidden; text-align: center;
  color: #fff8eb; background: radial-gradient(ellipse at 100% 0,#693544,transparent 68%),#35212d;
  box-shadow: 0 15px 36px -24px #281523;
}
.offer-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; margin-bottom: 16px }
.offer-head .eyebrow { color: var(--gold) }
.discount {
  --tag-cut: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
  position: relative; isolation: isolate; display: inline-block; padding: .34em .74em .36em 1.45em;
  color: #412507; font: 800 1.14rem/1.16 system-ui, sans-serif; font-variant-numeric: tabular-nums;
  white-space: nowrap; transform: rotate(-4deg); transform-origin: 10px 50%; filter: drop-shadow(0 2px 2px #180c10a6);
  animation: discount-swing .8s ease-out both;
}
.discount::before, .discount::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: 0 6px 6px 0; clip-path: var(--tag-cut);
}
.discount::before {
  background: radial-gradient(circle at 10px 50%, #38212a 2px, #a86d31 2.5px, #fff1c2 3.3px, transparent 3.8px),
    linear-gradient(155deg,#fff3c7 0%,#eec47c 38%,#ffdf99 70%,#dda454);
  box-shadow: inset 0 1px 0 #fff7da, inset 0 -2px 0 #b77a37;
}
.discount::after {
  background: linear-gradient(110deg,transparent 43%,#fff8dd99 50%,transparent 57%) 110% 50% / 300% 100% no-repeat;
  animation: discount-glint 2.1s ease-in-out .35s 2 both;
}
@keyframes discount-swing {
  0% { transform: translateY(-2px) rotate(-12deg) }
  45% { transform: rotate(3deg) }
  74% { transform: rotate(-6deg) }
  100% { transform: rotate(-4deg) }
}
@keyframes discount-glint {
  0%, 16% { background-position: 110% 50% }
  68%, 100% { background-position: -10% 50% }
}
.offer-card h3 { font: 650 1.05rem/1.4 system-ui,sans-serif; letter-spacing: normal }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 12px; margin-block: 8px }
#period, #monthly-period { flex-basis: 100%; font-weight: 650 }
.price { font-size: clamp(2.6rem,4.6vw,4.5rem); white-space: nowrap; color: #fff6e0 }
.price-line s { color: #ddc7c5; white-space: nowrap }
#savings { color: var(--gold); margin-top: 8px; font-weight: 740 }
#equivalent { margin-top: 6px; color: #f6e7dd }
#premium { width: 100%; min-height: 54px; margin: 18px 0 14px }
#terms, #deadline { color: #e7d6ce; font-size: .88rem }
#deadline { margin-top: 8px }
#unavailable:not(:empty) { margin-top: 10px }
.benefits { grid-area: benefits; border-top: 1px solid var(--line); padding-top: 20px }
.benefits ul { list-style: none; padding: 0; margin: 12px 0 }
.benefits li { position: relative; padding: 5px 0 5px 24px; color: var(--muted) }
.benefits li::before { position: absolute; left: 0; content: '✓'; font-weight: 750; color: var(--accent) }
.benefits strong { color: var(--ink) }
.guide { width: 100%; border: 0; color: #813729; text-decoration: underline; text-underline-offset: 3px }
.faq { margin: clamp(26px,5vw,64px) 0 0; border-top: 1px solid var(--line); padding-top: 22px }
.faq h3 { margin-bottom: 12px; text-align: center }
.faq details { border-bottom: 1px solid var(--line); padding: 9px 0 }
summary { cursor: pointer; font-weight: 670; padding: 6px 0 }
.faq details p { max-width: 70ch; margin: 6px 0 }
.faq a { display: inline-block; color: #813729; padding: 6px 0 }
#buy-dock { display: none }
#offer-clock { position: sticky; top: 0; z-index: 8; color: #fff7e1; background: #772f29; border-bottom: 2px solid #e9b46d; padding: 7px 12px }
.clock-inner, .clock-label, .clock-digits { display: flex; align-items: center; justify-content: center }
.clock-inner { flex-wrap: wrap; gap: 3px 16px }
.clock-label { gap: 7px; font-weight: 720 }
.clock-digits { gap: 4px; font-variant-numeric: tabular-nums }
.clock-digits > span { padding: 1px 7px; border-radius: 4px; background: #4d211f; font-size: .72rem }
.clock-digits b { color: white; font-size: 1.13rem }
.clock-digits i { font-style: normal }
dialog {
  width: min(92vw,520px); max-height: 88vh; max-height: 88dvh; overflow: auto; color: var(--ink); background: var(--paper);
  padding: clamp(18px,4vw,34px); border: 0; border-radius: 16px; box-shadow: 0 20px 60px #2013204d;
}
dialog::backdrop { background: #211721bd }
dialog form { float: right }
dialog .close { padding: 1px 10px; font-size: 1.5rem }
dialog h2 { clear: both; font-size: 2.2rem; margin: 15px 0 }
dialog .button { width: 100%; margin-top: 14px; background: var(--accent) }
dialog dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line) }
dialog dd { margin: 0; font-weight: 750; text-align: right }
#guide-dialog ol { list-style: none; padding: 0 }
#guide-dialog li { margin: 10px 0 }
#print { width: 100% }

@media(max-width:740px) {
  .mast-inner { min-height: 58px }
  #inicio { grid-template-columns: minmax(0,1fr); grid-template-areas: "copy" "record" "practice"; gap: 14px; padding-block: 22px 28px }
  .hero-copy h1 { max-width: 13ch; margin: 12px auto 14px }
  .record { width: min(100%,480px); justify-self: center }
  .sleeve { aspect-ratio: 2.9 }
  .sleeve-title b { font-size: 2.25rem }
  .sleeve img { object-position: 78% top }
  .vinyl { right: 4% }
  .offer-spread { grid-template-columns: 1fr; grid-template-areas: "intro" "card" "benefits"; gap: 20px }
  .offer-intro h2 { font-size: clamp(2.2rem,8vw,3.2rem); margin-block: 8px }
  .offer-intro .lead { font-size: 1rem }
  #buy-dock { position: fixed; z-index: 6; bottom: 0; inset-inline: 0; padding: 7px max(16px,4vw) calc(5px + env(safe-area-inset-bottom,0px)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -4px 18px #261c231a; display: grid; gap: 4px; text-align: center }
  #buy-dock small, #buy-dock strong { line-height: 1.3 }
  #dock-price { margin-left: 6px }
  #dock-terms { display: block }
  #buy-dock .button { min-height: 46px; padding: 9px 14px }
  body:has(#buy-dock:not([hidden])) footer { padding-bottom: calc(85px + env(safe-area-inset-bottom,0px)) }
}
@media(max-width:450px) {
  .journey a { font-size: .81rem }
  .journey { gap: 12px }
  .clock-label { font-size: .86rem }
  .clock-label svg { width: 18px; height: 18px }
  .clock-inner { column-gap: 8px }
  .clock-digits > span { padding: 2px 4px }
  .clock-digits b { font-size: 1rem }
  .actions { gap: 6px }
  .actions button { font-size: .92rem; padding-inline: 10px }
}
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { animation: none !important; transition: none !important } }
@media print {
  body:has(#guide-dialog[open]) > *:not(#guide-dialog) { display:none !important }
  #guide-dialog[open] { position: static; width: 100%; max-height: none; padding: 0; border: 0; box-shadow: none }
  #guide-dialog form, #guide-dialog button { display: none }
}

/* The purchase paths share one high-contrast, touch-sized control. */
.button.buy, #dock-buy, #practice-offer {
  color: #171408; background: #ffd633; border: 1px solid #dbad16; border-radius: 999px;
  box-shadow: 0 2px 0 #9c730d; font-weight: 750;
}
.button.buy:hover, #dock-buy:hover, #practice-offer:hover { background: #ffdf52 }
.button.buy:focus-visible, #dock-buy:focus-visible { outline: 3px solid #408ac0 }
#premium { margin-bottom: 6px }
.decline { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: center; text-align: center; color: inherit; text-underline-offset: 4px; font-size: .94rem }
.offer-card .decline { color: #fff3dc }
.offer-exit { display: flex; width: fit-content; max-width: 100%; margin: 20px auto 0; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 14px; min-height: 44px; color: var(--muted); text-align: center; text-decoration: none }
.offer-exit strong { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border: 1px solid currentColor; border-radius: 999px; color: var(--ink) }
.offer-exit:hover strong, .offer-exit:focus-visible strong { background: #f1eadf }
.offer-card .guide { color: var(--gold) }
.offer-spread { grid-template-areas: "intro card"; align-items: center }
#features { border-block: 1px solid var(--line); padding-block: clamp(22px,3.2vw,38px); margin-bottom: 25px; text-align: center }
#offer-features #features { margin-top: 28px }
#features h2 { font-size: clamp(1.85rem,3.3vw,2.8rem) }
.feature-list { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 20px 0 14px }
.feature-list li {
  display: grid; align-content: start; justify-items: center; gap: 8px; padding: clamp(15px,2vw,22px);
  color: #302730; border-radius: 12px; border: 1px solid #decec1; background: #f6ede0;
}
.feature-list li:nth-child(3n+2) { background: #eeeee4; border-color: #d3d6c5 }
.feature-list li:nth-child(3n) { background: #f3e6e0 }
.feature-list h3 { font-size: clamp(1.25rem,2vw,1.65rem); margin-bottom: 6px; line-height: 1.1 }
.feature-list p, .personal-note { color: #554a46; font-size: 1rem; line-height: 1.48 }
.feature-list li.shirzion-feature { grid-column: 1 / -1; grid-template-columns: auto minmax(0,70ch); justify-content: center; align-items: center; gap: 14px; background: #e8efeb; border-color: #c4d7cd }
.shirzion-feature h3 { color: #173f39 }
.shirzion-feature p { max-width: 76ch }
.shirzion-art img { display: block; width: clamp(40px,6vw,64px); height: auto }
.feature-list [data-art], .game-art { display: inline-block; width: 48px; height: 48px; --section-enamel-light:#7c6b50; --section-enamel:#493b36; --section-enamel-dark:#2d232b }
.feature-list svg { display:block; width:100%; height:100%; fill:none; filter:drop-shadow(1px 2px 2px #48332025) }
.game-art { background: url('./pasatiempos-insignias.webp') 100% 100% / 300% 200% no-repeat }
.game-art.word-search-art { background-position: 50% 0 }
.feature-list li.revealed { animation: feature-in .48s cubic-bezier(.2,.74,.28,1) both }
.feature-list li.revealed > span { animation: art-in .72s cubic-bezier(.2,.74,.28,1) both }
@keyframes feature-in { from { opacity: .45; transform: translateY(18px) } to { opacity: 1; transform: none } }
@keyframes art-in { from { transform: translateY(8px) rotate(-9deg) scale(.87) } 70% { transform: rotate(3deg) } to { transform: none } }
#home-features .feature-action { z-index: 3; padding: 12px 0 max(12px,env(safe-area-inset-bottom)); background: linear-gradient(transparent,var(--paper) 18%,var(--paper)) }
#home-features .reading-benefits .feature-action { position: sticky; bottom: 0 }
#home-features #features { padding-bottom: 0 }
#channel-label { margin-top: 12px; color: #ffe3ae; font-weight: 650 }
#month-regular { font-size: 1.13rem }
#opciones, .free-card { padding-block: clamp(24px,5vw,64px); text-align: center }
#opciones h2,.free-card h2 { margin: 12px 0 }
#opciones .lead { max-width: 66ch }
.choice-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: stretch; margin: 20px 0 4px }
.choice-grid article { padding: clamp(20px,3vw,32px); border-radius: 14px }
.choice-grid .offer-card { grid-area: auto }
.choice-grid .offer-head { margin-bottom: 8px }
.choice-grid h3 { font: 720 1.13rem/1.3 system-ui,sans-serif; letter-spacing: normal }
.monthly-choice { border: 1px solid var(--line); background: #f1eadf }
.monthly-choice .price { color: var(--ink); font-size: clamp(1.85rem,3.4vw,3.15rem); margin-top: 4px }
.choice-grid button { width: 100%; margin-top: 16px }
#annual-terms { margin-top: 12px; font-size: .88rem; color: #efdedb }
.free-card { max-width: 590px; margin-inline: auto }
.free-mark { display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: 14px }
.free-mark::before, .free-mark::after { content: ''; width: 38px; height: 1px; background: #c3a679 }
.free-mark img { display: block; border-radius: 13px; box-shadow: 0 3px 9px #42232b24 }
.free-wait {
  position:relative; width:fit-content; margin:9px auto 0; color:#802d24; transform-origin:50% 88%;
  font:italic 700 clamp(3.25rem,12vw,5rem)/1.05 Georgia,serif; letter-spacing:-.055em;
}
.free-card h2 { font-size:clamp(1.55rem,7.8vw,2.85rem); line-height:1.07; margin:10px 0 14px }
.free-card h2 > span,.free-card h2 > em { display:block }
.free-card h2 strong { font-weight: 700; white-space: nowrap }
.free-card h2 em { color:#924125; font-size:1.14em }
@media(prefers-reduced-motion:no-preference) {
  .free-arrival .free-wait { animation:free-wait-impact .72s both }
  .free-arrival .free-wait::after {
    content:""; position:absolute; inset:auto 5% -4px; height:5px; border-radius:50%; pointer-events:none;
    background:radial-gradient(ellipse,#b37841a3,transparent 72%); animation:free-wait-shadow .72s both;
  }
  @keyframes free-wait-impact {
    0% { opacity:0; transform:translateY(-55px) scale(1.32); animation-timing-function:cubic-bezier(.55,.05,.92,.5) }
    42% { opacity:1; transform:translateY(3px) scale(1.08,.88); animation-timing-function:ease-out }
    60% { transform:translateY(-6px) scale(.98,1.035); animation-timing-function:ease-in }
    78% { transform:translateY(1px) scale(1.015,.985) }
    100% { transform:none }
  }
  @keyframes free-wait-shadow {
    0%,32% { opacity:0; transform:scaleX(.4) }
    45% { opacity:1; transform:scaleX(1.12) }
    100% { opacity:0; transform:scaleX(1.4) }
  }
}
.free-lead { font-size: clamp(1.03rem,1.7vw,1.16rem); text-wrap: balance }
.free-includes { max-width: 48ch; margin: 12px auto 0; color: var(--muted); text-wrap: pretty }
.free-includes strong, .free-card .sample-note strong { color: var(--ink) }
.free-card .button { margin: 18px 0 4px }
.free-links { display:grid; justify-items:center; gap:2px; margin-top:16px }
.offer-return {
  display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px;
  padding:8px clamp(12px,3vw,22px); border:1.5px solid #365b50; border-radius:999px;
  color:#204838; background:#ecf1e9; text-decoration:none; font:700 1rem/1.3 system-ui,sans-serif;
}
.offer-return svg { flex:none }
.offer-return:hover,.offer-return:focus-visible { background:#dfe8dc; border-color:#204838 }
.free-links .decline { width: auto; color: var(--muted); font-size: .88rem }
@media(max-width:820px) { .feature-list { grid-template-columns: repeat(2,minmax(0,1fr)) } }
@media(max-width:740px) {
  .offer-spread { grid-template-areas: "intro" "card" }
  .choice-grid { grid-template-columns: 1fr; gap: 10px }
  .monthly-choice .price { font-size: 1.7rem }
  .choice-grid article { padding: 18px }
  #opciones + .free-card { padding-bottom: max(25px,env(safe-area-inset-bottom)) }
}
@media(max-width:520px) {
  .feature-list { display: flex; flex-direction: column; gap: 9px }
  .feature-list li, .feature-list li.shirzion-feature { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; padding: 13px }
  .feature-list li > div { display: contents }
  .feature-list li h3 { max-width: calc(100% - 54px); margin: 0 }
  .feature-list li p { flex-basis: 100% }
  .feature-list [data-art],.game-art { width: 40px; height: 40px }
  #features h3 { font-size: 1.22rem }
  .feature-list p { font-size: .95rem }
}
@media(prefers-reduced-motion:reduce) { .feature-list li.revealed,.feature-list li.revealed > span { animation: none } }

#review-features { margin-top: 18px }
#device-showcase { display: grid; align-items: center; gap: clamp(12px, 3vw, 38px) }
#home-showcase #device-showcase {
  grid-template-columns: minmax(220px,.78fr) minmax(0,1.22fr); padding: clamp(18px,3vw,36px) 0;
  border-top: 1px solid var(--line);
}
.device-copy { text-align: center }
.device-copy h2 { font-size: clamp(1.6rem,3.6vw,3.4rem); line-height: 1.08; text-wrap: balance }
.device-copy p { margin-top: 7px; font-size: .96rem; line-height: 1.4; color: var(--muted) }
.device-pair {
  display: grid; grid-template-columns: .90fr 1.10fr; align-items: end; max-width: 600px; width: 100%;
}
.device-preview { display: grid; align-content: end; justify-items: center; color: var(--ink); text-decoration: none; min-width: 0 }
.device-preview picture { display: block; width: 100%; transform: rotate(-3deg); transition: transform .25s ease }
.device-preview:nth-child(2) picture { transform: rotate(2deg) }
.device-preview img { display: block; width: 100%; height: auto }
.device-label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: .9rem; font-weight: 680 }
.device-label > span { color: var(--accent) }
@media(hover:hover) {
  .device-preview:hover picture { transform: translateY(-3px) rotate(0) }
  .device-preview:hover .device-label { text-decoration: underline; text-underline-offset: 3px }
}
.offer-spread { grid-template-areas: "intro card" "devices card"; row-gap: 17px }
#offer-showcase { grid-area: devices }
#offer-showcase #device-showcase { gap: 6px }
#offer-showcase .device-copy h2 { font-size: 1.35rem }
#offer-showcase .device-copy p { margin-top: 3px; font-size: .86rem }
#offer-showcase .device-pair { max-width: 460px; margin-inline: auto }
body:has(#screen-dialog[open]) { overflow: hidden }
#screen-dialog {
  padding: 0; width: min(420px, calc(100vw - 16px)); max-width: none;
  height: 90vh; height: 90dvh; max-height: none; overflow: hidden; background: var(--paper);
}
#screen-dialog.tablet-screen { width: min(780px, calc(100vw - 16px)) }
#screen-dialog[open] { display: flex; flex-direction: column }
.screen-bar { padding: 6px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line) }
.screen-bar h2 { font-size: 1.3rem; margin: 0 }
.screen-bar button { min-height: 44px; padding: 6px 12px; color: var(--ink); background: transparent; border: 0 }
.screen-scroll { flex: 1 1 auto; overflow: auto; overscroll-behavior: contain; min-height: 0; background: var(--paper) }
.screen-scroll img { width: 100%; height: auto; display: block }
#screen-status:not(:empty) { padding: 8px; text-align: center }
#screen-original { display: block; flex: none; text-align: center; padding: 10px; color: var(--ink); font-size: .93rem }
@media(max-width:740px) {
  #home-showcase #device-showcase { grid-template-columns: 1fr; gap: 10px }
  .device-pair { margin-inline: auto; max-width: 480px }
  .offer-spread { grid-template-areas: "intro" "card" "devices" }
  #offer-showcase { margin-top: 5px }
}
@media(prefers-reduced-motion:reduce) {
  .device-preview picture { transition: none }
}
#buy-dock .dock-actions { display: grid; justify-items: center }
.black-friday .mast { background: #181719 }
.black-friday #inicio {
  grid-template-areas: "ticket ticket" "copy record" "practice record";
  padding-top: clamp(14px,2.2vw,28px);
}
.bf-ticket {
  grid-area: ticket; position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(240px,.66fr);
  align-items: center; gap: 14px clamp(20px,5vw,80px); margin-bottom: 6px;
  padding: clamp(15px,2.6vw,30px) clamp(18px,4vw,52px);
  color: #fff8e6; background: radial-gradient(ellipse at 20% 150%,#503d27,transparent 64%),#171618;
  border: 1px solid #7f6847; border-radius: 15px;
}
.bf-ticket::before {
  content: ''; position: absolute; z-index: -1; inset: 0 -10% 0 42%; transform: skewX(-23deg);
  background: repeating-linear-gradient(90deg,transparent 0 14px,#e8c37522 14px 15px,transparent 15px 21px);
  mask-image: linear-gradient(90deg,transparent,#000 56%,transparent);
}
.bf-signature { display: grid; gap: 4px }
.bf-signature > span {
  font-size: clamp(2rem,5vw,4.2rem); font-weight: 860; line-height: .99;
  letter-spacing: -.065em;
}
.bf-signature i { font-family: Georgia,serif; font-weight: 500; color: #ffda87 }
.bf-signature small { font-size: clamp(.8rem,1.6vw,.97rem); color: #f1e3cc }
.black-friday .offer-card {
  background: radial-gradient(ellipse at 100% 0%,#53412b,transparent 64%),#1c1a1c;
  border: 1px solid #90744d;
}
.black-friday .offer-intro em { color: #885426 }
#bf-saving { margin: .35rem 0; font-weight: 730; color: #ffda87 }
#bf-cutoff { margin-top: .6rem; font-size: .81rem; color: #e8dbc7 }
.black-friday #oferta .offer-card .decline { color: #f3e3d2 }
@media(max-width:740px) {
  .black-friday #inicio { grid-template-areas: "ticket" "copy" "record" "practice" }
}
@media(max-width:540px) {
  .bf-ticket { grid-template-columns: 1fr; gap: 12px; padding: 15px; text-align: center }
  .bf-ticket .button { min-height: 46px }
}
#buy-dock .decline { min-height: 30px; font-size: .83rem }
@media(max-width:740px) {
  #opciones .choice-grid { margin-top: 14px }
  body:has(#buy-dock:not([hidden])) footer { padding-bottom: calc(140px + env(safe-area-inset-bottom,0px)) }
}

body:has(#opciones[open]) { overflow:hidden }
#opciones {
  position:fixed; inset:0; width:100%; height:100%; height:100dvh; max-width:none; max-height:none;
  margin:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; overflow:hidden;
}
#opciones[open] { display:grid; place-items:center }
.choice-panel {
  display:flex; flex-direction:column; min-height:0;
  width:min(980px,calc(100% - 26px)); max-width:none;
  max-height:calc(100vh - 26px); max-height:calc(100dvh - 26px); padding:0; overflow:hidden;
  border:1px solid #cbb891; border-radius:22px; background:#fbf6ec;
  text-align:center; box-shadow:0 25px 100px #18131380;
}
#opciones::backdrop { background:#19171ccb; backdrop-filter:blur(2px) }
.choice-toolbar {
  flex:none; display:flex; align-items:center; justify-content:space-between; gap:8px;
  padding:4px 8px 4px 18px; color:#fff4dc; background:#242321;
}
.choice-brand { font-size:.7rem; font-weight:800; text-transform:uppercase; letter-spacing:.13em; color:#fff1e0 }
.choice-toolbar:has(#offer-clock:not([hidden])) {
  background:linear-gradient(105deg,#a30c26,#c71c35 66%,#ae0e2a); color:white;
  border-bottom:2px solid #f47375;
}
#close-choices {
  flex:none; border:0; padding:0; width:44px; min-height:44px; border-radius:50%;
  color:#fff6df; font:400 1.7rem/1 system-ui,sans-serif;
}
#close-choices:hover { background:#fff2 }
#opciones #offer-clock { position:static; padding:0; background:transparent; border:0; color:inherit }
#opciones .clock-label { font-size:.82rem }
#opciones .clock-label svg { width:16px; height:16px }
#opciones .clock-inner { gap:4px 10px }
#opciones .clock-digits {
  gap:1px; border-radius:7px; background:#fff7ef; color:#8a1126;
  padding:3px 9px; font:bold 1.15rem/1.15 system-ui,sans-serif; font-variant-numeric:tabular-nums;
}
#opciones .clock-digits > span { background:transparent; padding:0 }
#opciones .clock-digits b { color:inherit; font-size:1.12rem }
.choice-scroll { min-height:0; overflow:auto; overscroll-behavior:contain; padding:clamp(14px,2.9vw,32px) }
.choice-intro { max-width:650px; margin:0 auto 16px }
#opciones .choice-intro h2 { font-size:clamp(1.65rem,3.6vw,2.9rem); line-height:1.05; margin:0 0 6px; text-wrap:balance }
#choice-message { color:#594d42; font-size:clamp(.9rem,1.7vw,1.02rem); line-height:1.4; text-wrap:pretty }
#opciones .choice-grid {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch;
  gap:12px; margin:0; text-align:left;
}
#opciones .choice-grid article {
  display:flex; flex-direction:column; min-width:0; padding:clamp(12px,1.8vw,21px); border-radius:16px;
}
#opciones .choice-grid .annual-choice {
  grid-column:1/-1; display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
  align-items:center; gap:clamp(15px,3vw,38px); text-align:left;
  color:#fff9e7; background:radial-gradient(ellipse at 7% 5%,#365954,transparent 67%),#132e2c;
  border:1px solid #ad813d; box-shadow:inset 0 3px #deb362;
}
.semester-choice { border:1px solid #d2b78c; background:#f7ead2 }
#opciones .monthly-choice { border:1px solid #d5d0c4; background:#fffdf6 }
.term-heading,.term-price { display:flex; align-items:center; gap:4px 7px; flex-wrap:wrap }
.term-heading { justify-content:space-between }
#opciones .term-heading h3 { font:750 1.07rem/1.2 system-ui,sans-serif; color:inherit; letter-spacing:-.025em }
#opciones .discount { font-size:1rem }
.term-tag {
  background:#ede0bd; color:#65431b; padding:3px 7px; border-radius:5px;
  font:.77rem/1.15 system-ui,sans-serif; font-weight:720;
}
.term-price { align-items:baseline; margin:8px 0 3px }
#opciones .term-price .price { margin:0; font:550 clamp(1.75rem,3.8vw,3.1rem)/1 Georgia,serif; letter-spacing:-.06em }
#annual-list { display:flex; align-items:baseline; flex-wrap:wrap; gap:0 .45em; margin-top:.5rem; color:#f4e4ca; font-size:.88rem }
#annual-regular { font:600 clamp(1.55rem,3vw,2.4rem)/1.12 Georgia,serif; letter-spacing:-.04em; text-decoration-thickness:2px; text-decoration-color:#ffc49c }
.annual-summary { min-width:0 }
#opciones .annual-summary h3 { font:650 clamp(1.25rem,2.3vw,1.75rem)/1.14 Georgia,serif }
#opciones .annual-summary .term-price { flex-direction:column; align-items:flex-start; gap:1px; margin:8px 0 4px }
#opciones .annual-summary .price { font-size:clamp(2.65rem,5.3vw,4.6rem); color:#ffeaad }
#annual-period { font-size:1rem; font-weight:650; color:#fff4d7 }
.annual-action { text-align:center }
#opciones #bf-cutoff { color:#594d42 }
.semester-choice .price { color:#30251c }
.term-price s { font-size:.86rem; opacity:.8 }
#opciones #equivalent,#semester-equivalent,#opciones #monthly-period {
  color:inherit; opacity:.88; margin:0; font-size:.86rem; font-weight:500; line-height:1.3;
}
#opciones #savings { color:#ffdf94; font-size:.92rem; line-height:1.35; text-wrap:balance; margin:12px auto 0; max-width:35ch }
.annual-summary #equivalent { text-wrap:pretty }
.annual-bonus {
  display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:clamp(9px,2vw,15px);
  text-align:left; padding:clamp(10px,1.7vw,15px); border:1px solid #d9b974; border-radius:13px;
  background:radial-gradient(ellipse at 0 100%,#efc77899,transparent 53%),linear-gradient(115deg,#f8e6bc,#fffae9 82%);
  box-shadow:inset 0 0 0 2px #fffbeb80,0 3px 9px #0a211e45; color:#213f37;
}
@property --bonus-ring-angle { syntax:'<angle>'; inherits:false; initial-value:0deg }
@supports (background:conic-gradient(from 0deg,#fff,#222)) {
  .annual-bonus {
    border:2px solid transparent;
    background:radial-gradient(ellipse at 0 100%,#efc77899,transparent 53%) padding-box,
      linear-gradient(115deg,#f8e6bc,#fffae9 82%) padding-box,
      conic-gradient(from var(--bonus-ring-angle,0deg),#bf9a57 0deg 247deg,#edbd62 282deg,#fffce2 308deg,#ffdb80 322deg,#bf9a57 350deg) border-box;
  }
}
.bonus-copy { min-width:0 }
.bonus-label { display:block; color:#78471c; font:750 .69rem/1.25 system-ui,sans-serif; letter-spacing:.055em; text-transform:uppercase }
.bonus-copy strong { display:block; font:700 clamp(1.25rem,2.5vw,1.7rem)/1.1 Georgia,serif; letter-spacing:-.035em; margin:3px 0 }
.bonus-detail { display:block; font-size:.84rem; line-height:1.32 }
.bonus-status { display:inline-block; font:650 .73rem/1.3 system-ui,sans-serif; margin-top:5px; color:#624b34 }
.bonus-emblem {
  position:relative; display:grid; place-items:center; width:clamp(52px,7vw,66px); aspect-ratio:1;
  border:1px solid #987949; border-radius:50%;
  background:radial-gradient(circle at 35% 26%,#457871,#1d443e 63%,#14332f);
  box-shadow:inset 0 0 0 2px #e8c88b,inset 0 0 0 4px #365c50,0 3px 5px #603c1c38;
}
.bonus-emblem::after {
  content:""; position:absolute; top:12%; right:19%; width:8px; height:10px; background:#ffe9a5;
  clip-path:polygon(50% 0,63% 37%,100% 50%,63% 63%,50% 100%,37% 63%,0 50%,37% 37%);
}
.hebrew-book {
  width:64%; height:46%; position:relative; display:flex; direction:ltr; perspective:100px;
  transform:translateY(2px) rotate(-9deg);
}
.hebrew-book i {
  display:grid; place-items:center; width:50%; height:100%; color:#71431b;
  font:700 clamp(15px,2.4vw,21px)/1 Georgia,serif; border-bottom:2px solid #d4af72;
  box-shadow:0 2px #9c6a36,0 4px #513824;
}
.hebrew-book i:first-child {
  border-radius:3px 55% 1px 3px / 3px 16% 1px 3px; transform:skewY(7deg);
  background:linear-gradient(90deg,#fff2cb,#f3deb0 70%,#c39359);
}
.hebrew-book i:last-child {
  border-radius:55% 3px 3px 1px / 16% 3px 3px 1px; transform-origin:left center; transform:skewY(-7deg);
  background:linear-gradient(90deg,#c99d60,#ffedc7 27%,#fffae8);
}
.hebrew-book::after {
  content:""; position:absolute; left:61%; bottom:-6px; width:4px; height:9px; background:#a13935;
  clip-path:polygon(0 0,100% 0,100% 100%,50% 73%,0 100%);
}
@media(prefers-reduced-motion:no-preference) {
  #opciones[open] #annual-bonus { animation:bonus-breathe 5.6s ease-in-out infinite,bonus-ring 4.8s linear infinite }
  #opciones[open] #discount { animation:offer-tag-sway 3.2s ease-in-out infinite }
  @keyframes bonus-breathe { 0%,100% { transform:scale(.99) } 50% { transform:scale(1.012) } }
  @keyframes bonus-ring { to { --bonus-ring-angle:360deg } }
  @keyframes offer-tag-sway { 0%,100% { transform:rotate(-5deg) } 50% { transform:translateY(-1px) rotate(3deg) } }
  #opciones[open] .hebrew-book { animation:bonus-book-lift 2.1s ease-in-out .65s 2 }
  #opciones[open] .hebrew-book i:last-child { animation:bonus-page-turn 2.1s ease-in-out .65s 2 }
  #opciones[open] .bonus-emblem::after { animation:bonus-glint 2.1s ease-in-out .65s 2 }
  @keyframes bonus-book-lift { 45% { transform:translateY(-2px) rotate(-3deg) } }
  @keyframes bonus-page-turn { 45% { transform:skewY(-7deg) rotateY(-46deg) } }
  @keyframes bonus-glint { 40% { transform:scale(.48); opacity:.45 } 70% { transform:scale(1.15) } }
}
#opciones .choice-grid .button { min-height:44px; padding:.58rem .75rem; font-size:.93rem; line-height:1.15; margin:12px 0 0 }
#opciones .choice-grid article:not(.annual-choice) .button { margin-top:auto }
#opciones .choice-grid article:not(.annual-choice) .term-price + p { margin-bottom:12px }
#opciones .renewal { margin:7px 0 0; font:.76rem/1.35 system-ui,sans-serif; color:inherit; opacity:.82 }
#opciones .sample-note { font-size:.79rem }
#opciones .offer-exit { margin-top:6px }
.offer-confetti { position:absolute; inset:0; z-index:1; overflow:hidden; pointer-events:none; contain:strict }
.offer-confetti i { position:absolute; top:-16px; width:6px; height:10px; border-radius:1px; opacity:0 }
.offer-confetti i:nth-child(3n) { width:7px; height:7px; border-radius:50% }
@media(prefers-reduced-motion:no-preference) {
  .offer-confetti i { animation:offer-confetti-fall 4s linear both }
  @keyframes offer-confetti-fall {
    0% { transform:translate3d(0,0,0) rotate(var(--tilt)); opacity:.9 }
    35% { transform:translate3d(var(--drift),35dvh,0) rotate(calc(var(--tilt) + 115deg)) rotateY(55deg); opacity:.9 }
    70% { transform:translate3d(0,72dvh,0) rotate(calc(var(--tilt) + 250deg)) rotateY(-45deg); opacity:.78 }
    100% { transform:translate3d(var(--drift),calc(100dvh + 35px),0) rotate(calc(var(--tilt) + 385deg)); opacity:.45 }
  }
}
@media(max-width:700px) {
  .choice-panel { width:calc(100% - 14px); max-height:calc(100dvh - 14px); border-radius:18px }
  .choice-toolbar { padding:0 3px 0 12px }
  .choice-toolbar:has(#offer-clock:not([hidden])) .choice-brand { display:none }
  #opciones .choice-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px }
  #opciones .choice-grid .annual-choice { grid-template-columns:minmax(0,1fr); gap:10px }
  #opciones .choice-grid article { padding:12px }
  #opciones .annual-choice .term-price .price { font-size:clamp(2.6rem,12vw,3.4rem) }
  #opciones .term-heading { align-content:start; gap:4px }
  #opciones .term-heading h3 { font-size:1rem }
  .choice-scroll { padding:13px 10px max(9px,env(safe-area-inset-bottom)) }
  .choice-intro { margin-bottom:12px }
  #opciones .choice-grid .button { padding:.5rem; font-size:.87rem }
}
@media(max-width:350px) {
  #opciones .clock-digits b { font-size:.86rem }
  #opciones .clock-label { font-size:.73rem }
  #opciones .choice-grid article { padding:9px }
  #opciones .term-price .price { font-size:1.48rem }
}
@media(prefers-reduced-motion:no-preference) {
  #opciones[open] .choice-panel { animation:offer-arrives .68s both }
  #opciones[open]::backdrop { animation:offer-backdrop .25s both }
  @keyframes offer-arrives {
    0% { transform:translateY(-70vh) scale(.965); opacity:0 }
    42% { opacity:1 }
    65% { transform:translateY(11px) scale(1) }
    82% { transform:translateY(-5px) }
    100% { transform:translateY(0) }
  }
  @keyframes offer-backdrop { from { opacity:0 } to { opacity:1 } }
}

#tour-open { display:block; margin:8px 0 0; padding:8px 14px; min-height:40px; border:1px solid #bda477; border-radius:999px; background:#fffaf0; color:#203d36; font-weight:750 }
#bonus-tour { width:min(600px,94vw); padding:0; background:#171a19; color:white; border:1px solid #8b7758; border-radius:18px }
#bonus-tour::backdrop { background:rgb(12 17 16 / .75) }
#bonus-tour header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 16px }
#bonus-tour h2 { color:white; font-size:clamp(1.05rem,4vw,1.5rem); margin:0 }
#bonus-tour button { min-height:44px; background:white; color:#171717; white-space:nowrap }
#bonus-tour video { width:100%; max-height:68vh; max-height:68dvh; display:block; background:black }
#bonus-tour p { padding:0 16px 12px; color:white }
#opciones .offer-exit { width:100%; padding:10px 12px; border-radius:12px; background:#171717; color:white }
#opciones .offer-exit strong { background:white; color:#191919; border-color:white }

/* An immediate route to pricing, also available before playback starts. */
.tour-skip {
  position:absolute; z-index:2;
  top:max(12px,env(safe-area-inset-top)); right:max(14px,env(safe-area-inset-right));
  display:inline-flex; align-items:center; gap:.5em; min-height:44px;
  padding:8px 16px; border:1px solid #ebca85; border-radius:999px;
  background:#172320; color:#fff4d8; font:650 .94rem/1.2 system-ui;
  text-decoration:none; box-shadow:0 2px 10px #0005;
}
.tour-skip:hover { background:#2a3931 }
.tour-skip:focus-visible,.journey [data-skip-intro]:focus-visible { outline:3px solid #ffe59f; outline-offset:2px }
.journey [data-skip-intro] { gap:.3em }
@media (max-width:370px) {
  .mast-inner:has(.journey) { flex-wrap:wrap; justify-content:center; row-gap:0 }
  .mast-inner:has(.journey) .brand { margin-inline-end:auto }
}
.regional-choice:not([hidden]){display:block}.regional-choice select{max-width:100%;font:inherit;padding:.4em}

#opciones .term-price .price.play-availability {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  font: 600 1.1rem/1.25 system-ui, sans-serif;
  letter-spacing: normal;
}


.season-hanukkah #opciones .annual-choice{background:linear-gradient(130deg,#112f47,#0c2034);border-color:#b69350}
.season-hanukkah .bf-ticket{background:#142c44}
.season-hanukkah #organic-pricing>button{margin-top:.65rem}
