/* A presentation-only skin for the original Discount Hunt templates. No build step. */
:root {
  --ink: #241b30;
  --muted: #5d5565;
  --plum: #592a82;
  --purple: #69399b;
  --line: #e3dce7;
  --wash: #f7f3fa;
  --shell: min(1152px, 90%);
  color: var(--ink);
  background: #fff;
  font: 100%/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }
a { color: var(--plum); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #a4470c; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.035em; }
#features, #examples { scroll-margin-top: 1rem; }

/* Masthead: keep the familiar badge, links and CTA on every page. */
#header { border-bottom: 1px solid var(--line); background: var(--wash); }
#header__navigation, #hero-section, #features, #examples, #footer__top, #footer__bottom {
  width: var(--shell); margin-inline: auto;
}
#header__navigation { display: flex; align-items: center; gap: clamp(16px, 2.3vw, 32px); min-height: 84px; padding-block: 14px; }
#logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
#logo img { width: 43px; height: 43px; border-radius: 12px; padding: 2px; background: var(--plum); }
#logo :is(h2, .brand-name) { font-size: 1.25rem; font-weight: 760; line-height: 1; letter-spacing: -.035em; }
.skip-link { position: fixed; z-index: 5; top: .5rem; left: .5rem; transform: translateY(-160%); padding: .65rem 1rem; border-radius: 6px; background: white; }
.skip-link:focus { transform: none; }
#logo small { font-size: .71rem; letter-spacing: .03em; font-weight: 560; color: var(--muted); }
#header__navigation ul, #footer__navigation ul { list-style: none; margin: 0; padding: 0; }
#header__navigation ul { display: flex; align-items: center; flex-wrap: wrap; gap: 6px clamp(14px, 2vw, 28px); }
#header__navigation li a { display: inline-block; padding-block: 6px; font-size: .9rem; font-weight: 570; color: var(--ink); text-decoration: none; }
#header__navigation li a:hover { color: var(--plum); text-decoration: underline; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .8em; min-height: 44px; border-radius: 10px; padding: .7rem 1.3rem; font-weight: 650; text-decoration: none; }
.btn--primary { background: var(--plum); color: white; }
.btn--primary:hover { background: #41205e; }
#hero-section .btn::after { content: '↗' / ''; }

/* A real storefront crop: keep the annotated icon visible at every width. */
.hero-band {
  background: radial-gradient(ellipse at 87% 88%, #f8dfd4 0, transparent 37%), linear-gradient(120deg, #fcfafd, #f4effa 82%);
}
#hero-section { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(34px, 6vw, 86px); align-items: center; padding-block: clamp(44px, 5vw, 74px); }
.eyebrow { display: flex; align-items: center; gap: .7em; font-size: .76rem; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--plum); font-weight: 700; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: #9466ae; }
#hero-section h1 { font-size: clamp(2.45rem, 4.35vw, 4rem); font-weight: 650; line-height: 1.03; letter-spacing: -.058em; text-wrap: balance; margin: 18px 0; }
#hero-section h1 em { display: inline-block; font-family: Georgia, serif; font-weight: 500; color: var(--plum); }
#hero-section h1 span { display: block; font-size: .88em; line-height: 1.16; }
.intro { max-width: 51ch; font-size: clamp(1rem, 1.24vw, 1.13rem); line-height: 1.6; color: var(--muted); }
.terms { font-size: .86rem; color: #50465a; }
#trial-terms { margin-top: .55rem; }
#hero-section .btn { margin-top: 24px; }
#hero-section__video { position: relative; isolation: isolate; }
#hero-section__video::before { content: ''; position: absolute; inset: -7px 5px 9px -5px; background: #dfcfe9; border: 1px solid #cfbbdc; border-radius: 18px; transform: rotate(-3deg); z-index: -1; }
.view-video { display: block; overflow: hidden; background: white; border: 1px solid #d6cadd; border-radius: 15px; color: var(--ink); text-decoration: none; box-shadow: 0 18px 42px -24px #4f2d62a6; }
.view-video:hover { border-color: var(--purple); }
.store-bar, .proof figcaption { display: flex; gap: .5rem; align-items: baseline; justify-content: space-between; font-size: .74rem; color: var(--muted); }
.store-bar { padding: 8px 16px; background: #fbf9fc; border-bottom: 1px solid var(--line); }
.store-bar > :first-child, .proof figcaption { font-weight: 650; }
.poster { position: relative; display: block; margin: 6px 7px 0; }
.poster img { width: 100%; }
.icon-ring, .icon-note { position: absolute; top: 86%; }
.icon-ring { left: 34%; transform: translate(-50%, -50%) rotate(-8deg); width: 10.5%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed #89496c; }
.icon-note { right: 74%; transform: translateY(-50%) rotate(-3deg); border-radius: 4px; padding: .12em .6em; background: #fff0cb; color: #60461c; font: italic clamp(.72rem, 1.3vw, 1rem)/1.5 Georgia, serif; }
.icon-note::before { content: ''; position: absolute; right: -.85em; width: .85em; top: 50%; border-top: 1px solid currentColor; }
.video-caption { display: flex; align-items: center; gap: .7rem; margin: 0 12px; padding: 9px 4px; border-top: 1px solid var(--line); font-size: .9rem; }
.play-mark { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; padding-left: 2px; color: white; background: var(--plum); font-size: .76rem; }
.view-video:hover .video-caption strong { text-decoration: underline; }

/* Alternating benefit rows: a quiet index, one headline and its explanation. */
#features { padding-block: clamp(42px, 5vw, 70px) 0; counter-reset: benefit; }
.section-title { font-size: clamp(2rem, 3.4vw, 3.2rem); margin-bottom: 24px; }
.feature__section { counter-increment: benefit; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 72px); align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.feature__section:not(.feature__section--image-right) .proof { order: -1; }
.proof { margin: 0; padding: 14px clamp(14px, 2vw, 26px) 20px; border: 1px solid #e8dfec; border-radius: 14px; background: #f6f1f9; }
.proof figcaption { color: #4b3e55; border-bottom: 1px solid #34273a20; padding-bottom: 9px; }
.proof figcaption span { font-weight: 450; }
.proof picture img { margin: 16px auto 0; border-radius: 5px; box-shadow: 0 4px 14px #362a3a1c; }
.proof--claim { background: #fbf2ec; border-color: #ebded5; }
.proof--claim img { width: min(252px, 100%); }
.proof--reward { background: #eff4ee; border-color: #dde6db; }
.proof--reward img { width: min(292px, 100%); border: 6px solid white; }
.page-trail { position: relative; list-style: none; display: flex; justify-content: space-between; gap: 12px; margin: clamp(20px, 3vw, 38px) auto; padding: 0; width: min(340px, 95%); }
.page-trail::before { content: ''; border-top: 2px dashed #b198c3; position: absolute; inset: 35px 10% auto; }
.page-trail li { position: relative; display: grid; justify-items: center; gap: 10px; font-size: .77rem; font-weight: 600; color: var(--muted); }
.page-glyph { display: grid; width: clamp(54px, 5.5vw, 74px); height: 70px; place-items: center; border: 1px solid #cbbed2; border-radius: 7px; box-shadow: 0 5px 10px #3925440d; background: linear-gradient(#f7f2fa 10px,#cabbd4 10px 11px,#fff 11px); }
.page-glyph:not(.page-glyph--found)::after { content: ''; width: 58%; height: 28px; margin-top: 9px; background: linear-gradient(#e9e1ec 60%,transparent 60% 76%,#e9e1ec 76% 85%,transparent 85%); }
.page-glyph--found { border-color: #82539c; transform: rotate(3deg); }
.page-glyph img { margin-top: 8px; width: 38px; }
.section__text {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: .65rem clamp(12px, 1.4vw, 20px);
}
.section__text::before {
  content: counter(benefit, decimal-leading-zero) / '';
  color: var(--plum);
  font: 600 .76rem/1.4 ui-monospace, monospace;
  letter-spacing: .04em;
}
.section__text h3 {
  font-size: clamp(1.5rem, 2.25vw, 2.15rem);
  font-weight: 640;
  line-height: 1.16;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.section__text p {
  grid-column: 2;
  max-width: 43ch;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.55;
  text-wrap: pretty;
  color: var(--muted);
}
#examples { border-top: 1px solid var(--line); padding-block: clamp(38px, 5vw, 72px); }
.install-strip { display: flex; align-items: center; justify-content: center; gap: .5rem 1.25rem; flex-wrap: wrap; margin-top: 28px; padding: 23px 14px; border-radius: 12px; background: var(--wash); }
#example__items { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(12px, 1.6vw, 22px); }
.example__item a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.example__item a:hover { border-color: #aa8eb9; }
.example__item img { width: 100%; aspect-ratio: 309/200; object-fit: cover; }
.example__item h3 { font-size: 1.27rem; margin: 18px 18px 8px; }
.example__item p { margin: 0 18px 18px; color: var(--muted); font-size: .92rem; }
.item__link { margin: auto 18px 18px; color: var(--plum); font-weight: 650; font-size: .88rem; }
.item__link::after { content: ' →' / ''; }
.example__item a:hover .item__link { text-decoration: underline; }

/* Shared reading measure for guides, FAQ, contact and policies. */
.subpage #content { width: min(68ch, 90%); margin: auto; padding: clamp(38px, 5vw, 70px) 0; overflow-wrap: anywhere; }
.subpage #content h1 { font-size: clamp(2rem, 3.8vw, 3.5rem); margin-bottom: 1.6rem; text-wrap: balance; }
.subpage #content :is(h2,h3,h4) { margin: 1.7em 0 .6em; line-height: 1.25; }
.subpage #content p, .subpage #content :is(ul,ol) { margin: 1em 0; }
.subpage #content :is(ul,ol) { padding-inline-start: 1.6em; }
.subpage #content img { border-radius: 6px; }
.subpage #content pre { border-radius: 8px; padding: 14px; background: var(--wash); overflow: auto; }
.subpage #content iframe { max-width: 100%; }
.question { padding: 4px 0 12px; border-bottom: 1px solid var(--line); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.info-block, .content-image { border: 1px solid var(--line); border-radius: 8px; }
.info-block { padding: 16px; background: #fff9ed; }
.guide-next { display: inline-block; padding: .45rem 0; font-weight: 650; }
.info-bottom { color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.bottom-cta-section { text-align: center; margin-top: 32px; border-radius: 16px; padding: 24px; background: var(--wash); }
.subpage #content .bottom-cta-section .terms { margin: .55rem 0 0; }

footer { padding: 44px 0 24px; background: #281b32; color: #e4dbe7; font-size: .9rem; }
footer a { color: white; }
#footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 36px; }
#footer__contact { max-width: 38ch; overflow-wrap: anywhere; }
#footer__contact :is(h2,h4) { color: white; margin-bottom: 12px; font-size: 1.12rem; }
#footer__navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#footer__navigation a { display: inline-block; padding-block: 3px; text-decoration: none; }
#footer__navigation a:hover { text-decoration: underline; }
#footer__bottom { color: #d2c5d8; border-top: 1px solid #4c3c56; margin-top: 32px; padding-top: 16px; font-size: .78rem; }
#cookie-alert { position: fixed; z-index: 3; right: 12px; bottom: 12px; display: none; gap: 12px; align-items: center; width: min(550px, calc(100% - 24px)); padding: 12px 14px; border: 1px solid #5d4769; border-radius: 12px; background: #302337; box-shadow: 0 4px 20px #221b2b25; font-size: .78rem; line-height: 1.45; color: white; }
#cookie-alert a { color: white; }
#cookie-alert__accept { border: 1px solid #ae9ab9; border-radius: 7px; padding: 8px 12px; white-space: nowrap; color: white; background: transparent; }
#cookie-alert__accept:hover { background: #594663; }
#howto-video-modal { width: min(850px, 94%); max-height: 95dvh; padding: 0; border: 0; border-radius: 14px; background: var(--ink); color: white; }
#howto-video-modal::backdrop { background: #180e23c9; }
.player-bar { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px 6px 18px; }
.player-bar a { margin-left: auto; padding: .4rem; font-size: .8rem; color: white; }
#howto-video-close-btn { border: 0; color: white; background: transparent; width: 40px; height: 40px; font-size: 1.6rem; }
#video { border: 0; width: 100%; height: auto; aspect-ratio: 16/9; display: block; }

@media (max-width: 850px) {
  #header__navigation { flex-wrap: wrap; gap: 6px 14px; }
  #header__navigation ul { order: 1; width: 100%; justify-content: space-between; }
  #example__items { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  #hero-section { grid-template-columns: 1fr; gap: 34px; padding-block: 34px 44px; }
  #hero-section__video { max-width: 520px; }
  .feature__section { grid-template-columns: 1fr; gap: 20px; }
  .feature__section:not(.feature__section--image-right) .proof { order: 0; }
  .page-trail { margin-block: 18px 4px; }
  .install-strip { flex-direction: column; }
  #footer__top { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 480px) {
  #header__navigation li a { font-size: .79rem; }
  #header__navigation ul { gap: 4px 8px; }
  #header__cta { padding: .55rem .9rem; font-size: .86rem; }
  #example__items { grid-template-columns: 1fr; }
  .example__item a { display: grid; grid-template-columns: clamp(68px, 21vw, 98px) 1fr; column-gap: 14px; padding: 12px; }
  .example__item img { grid-row: 1 / span 3; height: 100%; min-height: 112px; border-radius: 6px; }
  .example__item h3 { margin: 0 0 6px; font-size: 1.13rem; }
  .example__item p { margin: 0 0 8px; }
  .item__link { margin: 0; }
  .player-bar { gap: 4px; padding: 4px 8px; font-size: .85rem; }
  #hero-section { gap: 24px; padding-block: 25px 34px; }
  .proof--claim img { width: min(272px, 100%); }
  #footer__navigation { grid-template-columns: 1fr; }
}
