/* ==========================================================================
   A2Z Converter — Hero designs
   hero-variants.js adds .hero--<name> to #converter. Every design re-uses the
   same working parts (crumbs, H1, sentence, sub, uploader, trust list) but
   arranges and styles them differently.
    1 classic      centred on the peach mesh (home.css, no overrides)
    2 studio       copy left, uploader on a warm stage with stickers
    3 editorial    paper, masthead rule, oversized two-line headline
    4 app          the hero is an app window with a steps sidebar
    5 pop          pastel block, thick outlines, hard offset shadows
    6 bento        tiles: headline, tall uploader, three stat tiles
    7 minimal      white space, search-bar uploader
    8 illustrated  copy + uploader left, big conversion illustration right
    9 marquee      scrolling ribbons of formats, ticket-style pills
   10 poster       giant outlined FROM → TO behind a centred stack
   11 glass        one frosted-glass panel over colour blobs
   12 diagonal     two-tone diagonal, Z layout
   13 deck         uploader on a stack of paper cards
   14 palette      a ⌘K command palette over a blurred app
   15 vertical     giant vertical word down the left edge
   16 orbit        uploader inside orbit rings with format tiles
   17 chat         request bubble, assistant reply bubbles
   18 ticket       the uploader is a boarding pass
   19 bigdrop      the whole hero is one dashed drop target
   20 sketch       notebook paper, highlighter, handwritten notes
   21 mosaic       wall of format tiles fading behind the content
   22 phone        copy left, the real uploader inside a phone
   23 postcard     airmail postcard with stamp and postmark
   24 aurora       aurora bands, gradient type, spinning border
   25 swiss        column hairlines, huge flush-left type, red square
   26 blueprint    technical drawing with dimension lines
   27 retro        classic desktop window and file icons
   28 fan          fanned file-type cards above the title
   29 terminal     light terminal window with a typed command
   30 blob         huge morphing organic blob
   31 corkboard    pinned paper sheets and index cards on cork
   32 folder       the hero is a manila folder with a tab
   33 ribbon       crossing tapes of scrolling text + free sticker
   34 receipt      printed till receipt beside the uploader
   35 arcade       8-bit pixel font, pixel borders, score HUD
   36 bands        three full-width bands: title, uploader, trust
   ========================================================================== */

/* Width the ad rails take from each side of the hero */
.hero { --hx-edge: 0px; }
@media (min-width: 1280px) { .has-side-ads .hero { --hx-edge: var(--ad-rail); } }

/* Designs that bring their own background drop the default glows + grid */
:is(.hero--studio, .hero--editorial, .hero--app, .hero--pop, .hero--bento,
    .hero--minimal, .hero--illustrated, .hero--marquee, .hero--poster) .hero-glow,
:is(.hero--studio, .hero--editorial, .hero--pop, .hero--bento,
    .hero--minimal, .hero--illustrated, .hero--marquee, .hero--poster) .hero-bg::after { display: none; }

/* Left-aligned copy */
:is(.hero--studio, .hero--app, .hero--bento, .hero--illustrated) .hero-copy { text-align: left; margin-inline: 0; }
:is(.hero--studio, .hero--app, .hero--bento, .hero--illustrated, .hero--editorial) :is(.crumbs, .sentence, .hero-trust) { justify-content: flex-start; }
:is(.hero--studio, .hero--app, .hero--bento, .hero--illustrated, .hero--editorial) .hero-sub { margin-left: 0; }
:is(.hero--studio, .hero--app, .hero--bento, .hero--illustrated, .hero--editorial) .fmt-pop { left: 0; transform: none; }

/* Narrow uploader column: stacked drop area, two-row file items */
@media (min-width: 992px) {
  :is(.hero--studio, .hero--bento, .hero--illustrated) .dropzone:not(.is-compact) { flex-direction: column; text-align: center; gap: 14px; }
  :is(.hero--studio, .hero--bento, .hero--illustrated) .dropzone:not(.is-compact) .dz-text { flex: none; }
  /* column layouts: "Convert [from]" / "to [to]" */
  :is(.hero--studio, .hero--app, .hero--bento, .hero--illustrated) .sentence:not(.is-plain)::after { content: ''; order: 1; flex-basis: 100%; height: 0; }
  :is(.hero--studio, .hero--app, .hero--bento, .hero--illustrated) .sentence > span:nth-of-type(2),
  :is(.hero--studio, .hero--app, .hero--bento, .hero--illustrated) #toBtn { order: 2; }
  :is(.hero--studio, .hero--bento, .hero--illustrated) .file-item {
    grid-template-columns: 40px 1fr auto; grid-template-areas: "icon meta remove" "icon format action";
  }
}

@keyframes hxBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes hxSpin { to { transform: rotate(360deg); } }
@keyframes hxMarquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .hx-decor, .hx-decor * { animation: none !important; }
}


/* ==========================================================================
   2. Studio
   ========================================================================== */
.hero.hero--studio { background: linear-gradient(180deg, #FFFBF9, #fff); }
.hero--studio .converter {
  position: relative; margin-top: 32px; padding: 64px 20px 18px; border-radius: 32px;
  background:
    radial-gradient(60% 60% at 85% 0%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 60%),
    linear-gradient(155deg, #FFDCCD 0%, #FFB89F 55%, #FF9A79 100%);
}
.hero--studio .converter-card { border-color: transparent; box-shadow: 0 34px 50px -30px rgba(140, 40, 10, .5); }
.hero--studio .converter-note { color: #7A2E17; }
.hero--studio .converter-note i { color: #7A2E17; }
.hx-sticker {
  position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--radius-pill); background: #fff;
  box-shadow: 0 14px 24px -14px rgba(120, 30, 10, .5);
  font-size: 13px; font-weight: 700; color: var(--text);
  animation: hxBob 6s ease-in-out infinite;
}
.hx-sticker--a { top: 16px; left: 20px; }
.hx-sticker--a i { color: var(--primary); }
.hx-sticker--b { top: 16px; right: 20px; animation-delay: -2s; }
.hx-sticker--b i { color: var(--c-emerald); }
.hx-sticker--c { display: none; }
.hx-sticker--c i { color: var(--c-amber); }
@media (min-width: 992px) {
  .hero--studio > .container {
    display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    grid-template-areas: "copy conv" "trust conv"; align-items: center; gap: 22px 64px;
  }
  .hero--studio .hero-copy { grid-area: copy; align-self: end; }
  .hero--studio .converter { grid-area: conv; margin: 0; max-width: none; padding: 80px 40px 26px; }
  .hero--studio .hero-trust { grid-area: trust; align-self: start; display: grid; gap: 12px; margin-top: 6px; }
  .hero.hero--studio .sentence { font-size: clamp(36px, 3.4vw, 50px); margin-top: 18px; }
  .hero--studio .hero-sub { margin-top: 18px; }
  .hero--studio .dropzone:not(.is-compact) { min-height: 280px; }
  .hx-sticker--c { display: inline-flex; left: -30px; top: 34%; animation-delay: -4s; }
}


/* ==========================================================================
   3. Editorial
   ========================================================================== */
.hero.hero--editorial { background: #FBF7F1; padding: 28px 0 64px; }
.hero--editorial .hero-copy { display: contents; }
.hero--editorial > .container { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero--editorial > .container > *,
.hero--editorial .hero-copy > * { grid-column: 1 / -1; }
.hx-meta {
  display: flex; justify-content: space-between; gap: 16px;
  padding-bottom: 12px; border-bottom: 2px solid var(--text);
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.hero--editorial .crumbs { margin: 14px 0 0; }
.hero--editorial .hero-eyebrow {
  justify-self: start; margin-top: 40px; padding: 0;
  background: none; border: 0; box-shadow: none; border-radius: 0;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary);
}
.hero--editorial .hero-eyebrow .pulse { display: none; }
.hero.hero--editorial .sentence {
  font-size: clamp(50px, 8vw, 120px); letter-spacing: -.055em; line-height: 1; margin-top: 12px; gap: .06em .26em;
}
@media (min-width: 1280px) {
  .has-side-ads .hero.hero--editorial .sentence { font-size: min(120px, calc((100vw - var(--ad-rail) * 2) / 10)); }
}
/* "Convert [from]" on line one, "to [to]" on line two */
.hero--editorial .sentence:not(.is-plain)::after { content: ''; order: 1; flex-basis: 100%; height: 0; }
.hero--editorial .sentence > span:nth-of-type(2), .hero--editorial #toBtn { order: 2; }
.hero--editorial .sentence.is-plain { text-align: left; }
.hero--editorial .fmt-btn { background: none; box-shadow: none; border-radius: 0; padding: 0 .06em; }
.hero--editorial .fmt-btn:hover { transform: none; }
.hero--editorial .fmt-btn i { opacity: .45; }
.hero--editorial .fmt-btn--from { color: var(--primary); }
.hero--editorial .fmt-btn--to {
  color: var(--text);
  background: linear-gradient(transparent 64%, var(--primary-200) 64%, var(--primary-200) 90%, transparent 90%);
}
.hero--editorial .fmt-btn--from:hover, .hero--editorial .fmt-btn--from[aria-expanded="true"],
.hero--editorial .fmt-btn--to[aria-expanded="true"] { box-shadow: none; }
.hero--editorial .fmt-val { min-width: 0; text-align: left; }
.hero--editorial .hero-sub {
  margin: 36px 0 0; padding-top: 18px; border-top: 1.5px solid var(--text);
  max-width: none; text-align: left; font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2);
}
.hero--editorial .hero-trust {
  margin-top: 24px; padding-top: 18px; border-top: 1.5px solid var(--text);
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; align-content: start;
  counter-reset: hx; font-weight: 600;
}
.hero--editorial .hero-trust li { counter-increment: hx; gap: 10px; }
.hero--editorial .hero-trust li::before { content: counter(hx, decimal-leading-zero); font-size: 12px; font-weight: 800; color: var(--primary); }
.hero--editorial .hero-trust i { display: none; }
.hero--editorial .converter { max-width: none; margin: 40px 0 0; }
.hero--editorial .converter-card { border-radius: 4px; border: 1.5px solid var(--text); box-shadow: none; }
.hero--editorial .dropzone { border-radius: 2px; background: #fff; border-color: rgba(10, 10, 10, .22); }
.hero--editorial .dropzone:hover { border-color: var(--primary); }
.hero--editorial .converter-note { justify-content: flex-start; }
@media (min-width: 768px) {
  .hero--editorial > .container { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .hero--editorial .hero-sub { grid-column: 1; padding-right: 48px; }
  .hero--editorial .hero-trust { grid-column: 2; margin-top: 36px; }
  /* sub + trust come before the uploader */
  .hero--editorial .converter { grid-row: 7; }
}


/* ==========================================================================
   4. App workspace
   ========================================================================== */
.hero.hero--app { background: #F3F2F7; }
.hero--app .hero-bg::after {
  background-image: radial-gradient(rgba(16, 16, 24, .09) 1.2px, transparent 1.6px);
  background-size: 20px 20px;
  -webkit-mask-image: none; mask-image: none;
}
.hx-appbar, .hx-appside { display: none; }
@media (min-width: 992px) {
  .hero--app > .container {
    display: grid; grid-template-columns: 250px minmax(0, 1fr);
    max-width: min(var(--container), calc(100vw - var(--hx-edge) * 2 - var(--gutter) * 2));
    padding: 0; background: #fff; border: 1px solid var(--border); border-radius: 24px;
    box-shadow: 0 2px 4px rgba(16, 16, 24, .04), 0 40px 80px -40px rgba(16, 16, 24, .3);
  }
  .hero--app .hero-copy { display: contents; }
  .hero--app :is(.crumbs, .hero-eyebrow, .sentence, .hero-sub, .converter, .hero-trust) { grid-column: 2; margin-inline: 44px; }
  .hero--app .crumbs { margin-top: 28px; margin-bottom: 0; }
  .hero--app .hero-eyebrow { justify-self: start; margin-top: 16px; }
  .hero--app .crumbs[hidden] + .hero-eyebrow { margin-top: 32px; }
  .hero.hero--app .sentence { font-size: clamp(36px, 3.6vw, 52px); margin-top: 14px; }
  .hero--app .hero-sub { margin-top: 12px; max-width: 640px; }
  .hero--app .converter { max-width: none; margin-top: 24px; }
  .hero--app .converter-card { box-shadow: none; }
  .hero--app .hero-trust { margin-top: 18px; margin-bottom: 32px; }

  .hx-appbar {
    display: flex; grid-column: 1 / -1; align-items: center; gap: 24px;
    height: 56px; padding: 0 20px; border-bottom: 1px solid var(--border);
  }
  .hx-appside {
    display: flex; flex-direction: column; grid-column: 1; grid-row: 2 / span 6;
    padding: 24px 18px; background: #FAFAFB; border-right: 1px solid var(--border); border-bottom-left-radius: 24px;
  }
}
.hx-dots { display: flex; gap: 6px; flex: none; }
.hx-dots i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.hx-dots i:nth-child(2) { background: #FEBC2E; }
.hx-dots i:nth-child(3) { background: #28C840; }
.hx-apptabs { display: flex; gap: 4px; }
.hx-apptabs span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.hx-apptabs .is-on { background: var(--primary-50); color: var(--primary-700); }
.hx-appstatus { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.hx-appstatus i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-emerald); box-shadow: 0 0 0 3px rgba(16, 185, 129, .18); }
.hx-appside-title { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); margin: 0 8px 12px; }
.hx-appside ol { display: grid; gap: 4px; }
.hx-appside li { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; }
.hx-appside li.is-on { background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border); }
.hx-appside li > span {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
  background: var(--panel-2); font-size: 12px; font-weight: 700; color: var(--muted);
}
.hx-appside li.is-on > span { background: var(--primary); color: #fff; }
.hx-appside b { display: block; font-size: 14px; font-weight: 600; }
.hx-appside small { font-size: 12.5px; color: var(--muted); }
.hx-appside em { font-style: normal; font-weight: 700; color: var(--primary-700); }
.hx-appside-note {
  margin-top: auto; display: flex; gap: 8px; align-items: center;
  padding: 12px; border-radius: 12px; background: #ECFDF5; font-size: 12.5px; color: #065F46;
}


/* ==========================================================================
   5. Pop — the hero carries the page's category accent (.accent-*)
   ========================================================================== */
.hero.hero--pop { background: color-mix(in srgb, var(--accent, var(--primary)) 20%, #fff); }
.hx-shape { position: absolute; }
.hx-shape--sun {
  width: 340px; height: 340px; border-radius: 50%; top: -120px; right: calc(var(--hx-edge) - 100px);
  background: color-mix(in srgb, var(--accent, var(--primary)) 45%, #fff); border: 2px solid var(--text);
}
.hx-shape--ring { width: 180px; height: 180px; border-radius: 50%; border: 2px dashed var(--text); left: calc(var(--hx-edge) + 24px); bottom: 36px; opacity: .5; }
.hx-shape--dots {
  width: 170px; height: 120px; left: calc(var(--hx-edge) + 40px); top: 50px;
  background-image: radial-gradient(var(--text) 1.6px, transparent 2px); background-size: 16px 16px; opacity: .35;
}
.hx-shape--star {
  width: 72px; height: 72px; right: calc(var(--hx-edge) + 70px); bottom: 70px; background: var(--text);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: hxSpin 30s linear infinite;
}
@media (max-width: 767px) {
  .hx-shape--sun { width: 180px; height: 180px; top: -110px; right: -70px; }
  .hx-shape--ring, .hx-shape--dots, .hx-shape--star { display: none; }
}
.hero--pop .hero-eyebrow { background: #fff; border: 2px solid var(--text); box-shadow: 3px 3px 0 var(--text); color: var(--text); }
.hero--pop .hero-eyebrow .pulse, .hero--pop .hero-eyebrow .pulse::after { background: var(--text); border-color: var(--text); }
.hero--pop .fmt-btn { color: var(--text); box-shadow: inset 0 0 0 .045em var(--text), .08em .08em 0 0 var(--text); }
.hero--pop .fmt-btn--from { background: #fff; }
.hero--pop .fmt-btn--to { background: var(--accent, var(--primary)); color: #fff; text-shadow: 0 .03em 0 rgba(0, 0, 0, .25); }
.hero--pop .fmt-btn:hover,
.hero--pop .fmt-btn[aria-expanded="true"] { transform: translate(-.03em, -.03em); box-shadow: inset 0 0 0 .045em var(--text), .11em .11em 0 0 var(--text); }
.hero--pop .hero-sub { color: var(--text-2); }
.hero--pop .converter-card { border: 2px solid var(--text); border-radius: 20px; box-shadow: 8px 8px 0 var(--text); }
.hero.hero--pop.is-dragging .converter-card { box-shadow: 8px 8px 0 var(--text), 0 0 0 6px var(--primary-ring); }
.hero--pop .dropzone { border-color: rgba(10, 10, 10, .3); background: color-mix(in srgb, var(--accent, var(--primary)) 7%, #fff); }
.hero--pop .dropzone:hover { border-color: var(--text); }
.hero--pop .dz-btn { border: 2px solid var(--text); box-shadow: 3px 3px 0 var(--text); }
.hero--pop .converter-note { color: var(--text-2); }
.hero--pop .hero-trust li { padding: 6px 14px 6px 8px; border-radius: var(--radius-pill); background: #fff; border: 2px solid var(--text); box-shadow: 3px 3px 0 var(--text); }
.hero--pop .hero-trust i { background: color-mix(in srgb, var(--accent, var(--primary)) 18%, #fff); color: var(--text); }


/* ==========================================================================
   6. Bento
   ========================================================================== */
.hero.hero--bento { background: var(--panel); padding: 28px 0 56px; }
.hero--bento .hero-trust { display: none; }
.hero--bento .hero-copy {
  max-width: none; padding: 28px; border-radius: 28px; border: 1px solid var(--border);
  background: radial-gradient(70% 90% at 100% 0%, #FFE0D3 0%, rgba(255, 224, 211, 0) 60%), #fff;
}
.hero.hero--bento .sentence { font-size: clamp(34px, 4.2vw, 58px); margin-top: 18px; }
.hero--bento .hero-sub { margin-top: 18px; }
.hero--bento .converter { margin: 12px 0 0; max-width: none; }
.hero--bento .dropzone:not(.is-compact) { justify-content: center; }
.hero--bento .converter-card { border-radius: 28px; padding: 12px; box-shadow: none; }
.hero--bento .converter-note { padding-bottom: 0; }
.hx-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.hx-tile {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  min-height: 132px; padding: 18px; border-radius: 24px; border: 1px solid var(--border); background: #fff;
  font-size: 13.5px; color: var(--muted);
}
.hx-tile b { font-size: clamp(28px, 3vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--text); }
.hx-tile--count { background: var(--primary); border-color: var(--primary); color: rgba(255, 255, 255, .85); }
.hx-tile--count b { color: #fff; }
.hx-tile--time i {
  display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: auto; border-radius: 11px;
  background: #ECFDF5; color: var(--c-emerald);
}
.hx-tile--pair { background: #FFF3EE; border-color: var(--primary-100); }
.hx-pair { display: flex; align-items: center; gap: 8px; margin-bottom: auto; color: var(--primary); font-size: 12px; }
.hx-mini {
  display: grid; place-items: center; min-width: 52px; height: 60px; padding: 0 6px; border-radius: 10px;
  font-size: 12px; font-weight: 800; color: var(--primary); background: #fff; box-shadow: inset 0 0 0 1.5px var(--primary-200);
}
.hx-mini--to { background: var(--primary); color: #fff; box-shadow: none; }
@media (max-width: 599px) {
  .hx-tile { min-height: 112px; padding: 14px; font-size: 12px; }
  .hx-mini { min-width: 0; height: 40px; font-size: 10.5px; }
  .hx-pair i { display: none; }
}
@media (min-width: 992px) {
  .hero--bento > .container {
    display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    grid-template-areas: "copy conv" "tiles conv"; gap: 14px;
  }
  .hero--bento .hero-copy { grid-area: copy; padding: 40px; }
  .hero--bento .converter { grid-area: conv; margin: 0; display: flex; flex-direction: column; }
  .hero--bento .converter-card { flex: 1; display: flex; flex-direction: column; }
  .hero--bento .dropzone:not(.is-compact) { flex: 1; }
  .hx-tiles { grid-area: tiles; margin: 0; gap: 14px; }
}


/* ==========================================================================
   7. Minimal
   ========================================================================== */
.hero.hero--minimal { background: #fff; padding: 64px 0 88px; }
/* Phones: same top/bottom spacing as the default hero on other pages (36px / 72px) */
@media (max-width: 599px) { .hero.hero--minimal { padding: 36px 0 72px; } }
.hx-horizon {
  position: absolute; left: 50%; bottom: 0; width: 1400px; height: 360px; transform: translateX(-50%);
  background: radial-gradient(50% 100% at 50% 100%, #FFEDE5 0%, rgba(255, 237, 229, 0) 70%);
}
.hero--minimal .hero-copy { display: contents; }
.hero--minimal > .container { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero--minimal .crumbs { order: 1; }
.hero--minimal .hero-eyebrow { order: 2; padding: 0; background: none; border: 0; box-shadow: none; font-size: 14px; font-weight: 500; color: var(--muted); }
.hero--minimal .hero-eyebrow .pulse { display: none; }
.hero--minimal .sentence { order: 3; }
.hero--minimal .converter { order: 4; }
.hero--minimal .hero-sub { order: 5; }
.hero--minimal .hero-trust { order: 6; }
.hero.hero--minimal .sentence { font-size: clamp(34px, 4.4vw, 58px); font-weight: 700; letter-spacing: -.04em; margin-top: 12px; }
.hero--minimal .fmt-btn { background: #fff; color: var(--text); box-shadow: inset 0 0 0 .035em var(--border-strong); }
.hero--minimal .fmt-btn--to { color: var(--primary); }
.hero--minimal .fmt-btn:hover,
.hero--minimal .fmt-btn[aria-expanded="true"] { transform: none; box-shadow: inset 0 0 0 .035em var(--text); }
.hero--minimal .converter { width: 100%; max-width: 680px; margin-top: 36px; }
.hero--minimal .converter-card { padding: 0; border: 0; background: none; box-shadow: none; }
.hero--minimal .dropzone:not(.is-compact) {
  flex-direction: row; min-height: 0; gap: 14px; text-align: left;
  padding: 10px 10px 10px 16px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong); background: #fff;
  box-shadow: 0 18px 40px -24px rgba(16, 16, 24, .3);
}
.hero--minimal .dropzone:not(.is-compact):hover { border-color: var(--primary); }
.hero--minimal .dropzone:not(.is-compact) .dropzone-folder { width: 38px; height: 34px; filter: none; }
.hero--minimal .dropzone:not(.is-compact) .dz-text { flex: 1; }
.hero--minimal .dz-hint { display: none; }
.hero--minimal .dz-title { font-size: 16px; font-weight: 600; }
.hero--minimal .dz-btn { margin: 0; }
@media (max-width: 559px) { .hero--minimal .dz-btn { display: none; } }
.hero--minimal .hero-sub { max-width: 540px; margin-top: 28px; font-size: 15px; }
.hero--minimal .hero-trust { margin-top: 14px; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.hero--minimal .hero-trust i { width: auto; height: auto; background: none; color: var(--muted-2); }


/* ==========================================================================
   8. Illustrated
   ========================================================================== */
.hero.hero--illustrated { background: linear-gradient(180deg, #FFF6F1 0%, #fff 100%); }
@media (max-width: 599px) { .hero.hero--illustrated { padding-bottom: 40px; } }
.hx-illo { display: none; }
@media (min-width: 992px) {
  .hero--illustrated > .container {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
    grid-template-areas: "copy illo" "conv illo" "trust illo"; column-gap: 48px; align-items: start;
  }
  .hero--illustrated .hero-copy { grid-area: copy; }
  .hero--illustrated .converter { grid-area: conv; max-width: none; margin: 28px 0 0; }
  .hero--illustrated .dropzone:not(.is-compact) { min-height: 0; padding: 24px; }
  .hero--illustrated .hero-trust { grid-area: trust; margin-top: 20px; }
  .hero.hero--illustrated .sentence { font-size: clamp(38px, 3.9vw, 56px); margin-top: 18px; }
  .hero--illustrated .hero-sub { margin-top: 18px; }
  .hx-illo { display: block; grid-area: illo; position: relative; align-self: center; justify-self: center; width: 100%; max-width: 460px; aspect-ratio: 1; }
}
.hx-orbit { position: absolute; inset: 4%; border-radius: 50%; border: 1.5px dashed var(--primary-200); animation: hxSpin 60s linear infinite; }
.hx-orbit--2 { inset: 18%; border: 1px solid rgba(255, 76, 41, .12); background: radial-gradient(circle, #FFE6DC 0%, rgba(255, 230, 220, 0) 70%); animation: none; }
.hx-doc {
  position: absolute; width: 36%; aspect-ratio: 3 / 4; padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
  border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg);
}
.hx-doc--from { left: 10%; top: 14%; border: 1px solid var(--border); }
.hx-doc--to { right: 10%; bottom: 12%; background: linear-gradient(160deg, #FF7A4D, var(--primary) 60%, var(--primary-600)); color: #fff; box-shadow: 0 30px 50px -24px rgba(200, 60, 30, .55); }
.hx-doc-img { flex: 1; border-radius: 10px; background: linear-gradient(135deg, #FFE3D8, #FFD0E0); }
.hx-doc--to .hx-doc-img { background: rgba(255, 255, 255, .22); }
.hx-doc-line { height: 7px; border-radius: 4px; background: var(--panel-2); }
.hx-doc--to .hx-doc-line { background: rgba(255, 255, 255, .35); }
.hx-doc-line--s { width: 60%; }
.hx-doc b { font-size: 17px; font-weight: 800; letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; }
.hx-doc--from b { color: var(--primary); }
.hx-doc-check {
  position: absolute; top: -12px; right: -12px; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%; border: 4px solid #fff; background: var(--c-emerald); color: #fff; font-size: 14px;
}
.hx-convert-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1;
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-lg); color: var(--primary); font-size: 22px;
}
.hx-convert-badge i { animation: hxSpin 6s linear infinite; }
.hx-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px;
  border-radius: var(--radius-pill); background: #fff; box-shadow: var(--shadow);
  font-size: 13px; font-weight: 700; animation: hxBob 6s ease-in-out infinite;
}
.hx-chip i { color: var(--primary); }
.hx-chip--a { left: 0; top: 60%; }
.hx-chip--b { right: 2%; top: 8%; animation-delay: -2s; }
.hx-chip--c { left: 30%; bottom: 0; animation-delay: -4s; }


/* ==========================================================================
   9. Marquee
   ========================================================================== */
.hero.hero--marquee { background: linear-gradient(180deg, #fff, #FFF4EF 50%, #fff); padding: 92px 0 132px; }
.hx-ribbon {
  position: absolute; left: var(--hx-edge); right: var(--hx-edge); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.hx-ribbon--top { top: 24px; }
.hx-ribbon--bottom { bottom: 40px; }
.hx-ribbon-track { display: flex; width: max-content; animation: hxMarquee 60s linear infinite; }
.hx-ribbon--bottom .hx-ribbon-track { animation-direction: reverse; }
.hx-ribbon span {
  margin-right: 10px; padding: 8px 16px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--border);
  font-size: 13px; font-weight: 700; letter-spacing: .03em; color: var(--text-2);
}
.hx-ribbon--bottom span { background: var(--primary-50); border-color: var(--primary-100); color: var(--primary-700); }
.hero--marquee .hero-eyebrow { background: var(--text); border-color: var(--text); color: #fff; }
.hero--marquee .hero-eyebrow .pulse { background: var(--primary); }
/* ticket-style pills */
.hero--marquee .fmt-btn { border-radius: .16em; }
.hero--marquee .fmt-btn--from { background: #fff; box-shadow: inset 0 0 0 .04em var(--primary); background-image: radial-gradient(circle at 0 50%, transparent .14em, #fff .15em), radial-gradient(circle at 100% 50%, transparent .14em, #fff .15em); background-size: 51% 100%; background-position: left, right; background-repeat: no-repeat; }
.hero--marquee .fmt-btn--to { background: var(--text); color: #fff; box-shadow: 0 .14em .4em -.14em rgba(10, 10, 10, .5); }
.hero--marquee .fmt-btn--to[aria-expanded="true"] { box-shadow: 0 0 0 4px var(--primary-ring); }
.hero--marquee .converter { max-width: 820px; }
.hero--marquee .converter-card { border-radius: 20px; }


/* ==========================================================================
   10. Poster
   ========================================================================== */
.hero.hero--poster {
  --hx-mega: clamp(56px, calc((100vw - var(--hx-edge) * 2) / 6.4), 210px);
  padding-top: calc(var(--hx-mega) * .9 + 44px);
  background: radial-gradient(60% 55% at 50% 100%, #FFD9C6 0%, rgba(255, 217, 198, 0) 70%), #FFF5EC;
}
.hx-mega {
  position: absolute; left: var(--hx-edge); right: var(--hx-edge); top: 24px;
  display: flex; justify-content: center; align-items: center; gap: .08em;
  font-size: var(--hx-mega); font-weight: 900; letter-spacing: -.055em; line-height: .9; white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(255, 76, 41, .5) 0%, rgba(255, 76, 41, .08) 92%);
  -webkit-background-clip: text; background-clip: text;
}
.hx-mega i { font-style: normal; font-weight: 400; }
.hero--poster .crumbs { margin-bottom: 18px; }
.hero--poster .hero-eyebrow { background: var(--primary); border-color: var(--primary); color: #fff; }
.hero--poster .hero-eyebrow .pulse, .hero--poster .hero-eyebrow .pulse::after { background: #fff; border-color: #fff; }
.hero--poster .fmt-btn { border-radius: var(--radius-pill); padding: .04em .38em .08em .44em; }
.hero--poster .converter-card { border: 0; border-radius: 30px; padding: 10px; box-shadow: 0 40px 80px -40px rgba(150, 50, 20, .5); }
.hero--poster .dropzone { background: #FFF9F5; border-radius: 22px; }
@media (min-width: 720px) {
  .hero--poster .hero-trust {
    width: fit-content; margin: 28px auto 0; padding: 10px 24px; gap: 0;
    border-radius: var(--radius-pill); background: #fff; box-shadow: var(--shadow);
  }
  .hero--poster .hero-trust li + li { margin-left: 20px; padding-left: 20px; border-left: 1px solid var(--border); }
}


/* ==========================================================================
   Designs 11–20
   ========================================================================== */
:is(.hero--glass, .hero--diagonal, .hero--deck, .hero--palette, .hero--vertical,
    .hero--orbit, .hero--chat, .hero--ticket, .hero--bigdrop, .hero--sketch) .hero-glow { display: none; }
:is(.hero--glass, .hero--diagonal, .hero--vertical, .hero--orbit,
    .hero--ticket, .hero--bigdrop) .hero-bg::after { display: none; }

/* Left-aligned copy */
:is(.hero--diagonal, .hero--vertical, .hero--palette) .hero-copy { text-align: left; margin-inline: 0; }
:is(.hero--diagonal, .hero--vertical, .hero--palette) :is(.crumbs, .sentence, .hero-trust) { justify-content: flex-start; }
:is(.hero--diagonal, .hero--vertical, .hero--palette) .hero-sub { margin-left: 0; }
:is(.hero--diagonal, .hero--vertical, .hero--palette, .hero--chat) .fmt-pop { left: 0; transform: none; }
/* "Convert [from]" / "to [to]" on two lines */
:is(.hero--diagonal, .hero--vertical) .sentence:not(.is-plain)::after { content: ''; order: 1; flex-basis: 100%; height: 0; }
:is(.hero--diagonal, .hero--vertical) .sentence > span:nth-of-type(2),
:is(.hero--diagonal, .hero--vertical) #toBtn { order: 2; }


/* ---------- 11. Glass ---------- */
.hero.hero--glass { background: #FFF7F3; }
.hx-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .8; animation: drift 22s ease-in-out infinite alternate; }
.hx-blob--1 { width: 520px; height: 520px; left: calc(var(--hx-edge) - 120px); top: -140px; background: #FFB59E; }
.hx-blob--2 { width: 460px; height: 460px; right: calc(var(--hx-edge) - 100px); top: 20px; background: #FFC3D7; animation-delay: -6s; }
.hx-blob--3 { width: 440px; height: 440px; left: 28%; bottom: -200px; background: #FFD99E; animation-delay: -12s; }
.hx-blob--4 { width: 380px; height: 380px; right: 20%; bottom: -160px; background: #DCCBFF; animation-delay: -3s; }
.hero--glass > .container {
  max-width: min(1080px, calc(100vw - var(--hx-edge) * 2 - 32px));
  padding: 36px 18px; border-radius: 32px;
  background: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 40px 90px -40px rgba(120, 40, 20, .35), inset 0 1px 0 rgba(255, 255, 255, .9);
}
@media (min-width: 768px) { .hero--glass > .container { padding: 52px 48px; } }
.hero--glass .hero-eyebrow, .hero--glass .fmt-btn--from { background: rgba(255, 255, 255, .7); border-color: rgba(255, 255, 255, .9); }
.hero--glass .converter-card { background: rgba(255, 255, 255, .62); border-color: rgba(255, 255, 255, .95); }
.hero--glass .dropzone { background: rgba(255, 255, 255, .5); border-color: rgba(255, 76, 41, .35); }
.hero--glass .hero-trust i { background: rgba(255, 255, 255, .8); }


/* ---------- 12. Diagonal ---------- */
.hero.hero--diagonal {
  background: linear-gradient(162deg, #FFE6DA 0 53%, var(--primary-200) 53% 53.35%, #fff 53.35%);
}
.hero.hero--diagonal .sentence { font-size: clamp(42px, 5vw, 72px); }
@media (min-width: 992px) {
  .hero--diagonal > .container {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; align-items: end;
  }
  .hero--diagonal .hero-copy { grid-column: 1 / span 8; grid-row: 1; }
  .hero--diagonal .converter { grid-column: 5 / -1; grid-row: 2; margin: 0; max-width: none; }
  .hero--diagonal .hero-trust { grid-column: 1 / span 4; grid-row: 2; display: grid; gap: 12px; margin: 0 0 40px; align-self: end; }
  .hero--diagonal .converter-card { box-shadow: 0 1px 2px rgba(16, 16, 24, .05), 0 40px 70px -34px rgba(140, 40, 10, .4); }
}


/* ---------- 13. Deck ---------- */
.hero.hero--deck { background: #F7F1E9; }
.hero--deck .hero-bg::after {
  background-image: radial-gradient(rgba(120, 80, 40, .14) 1.1px, transparent 1.5px); background-size: 18px 18px;
}
.hero--deck .hero-eyebrow { background: #fff; border-color: #E8DDD0; }
.hero--deck .converter { isolation: isolate; max-width: 800px; margin-top: 46px; }
.hero--deck .converter-card { position: relative; border-color: #E8DDD0; box-shadow: 0 24px 40px -26px rgba(90, 50, 20, .4); }
.hero--deck .converter-card::before,
.hero--deck .converter-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; border: 1px solid #E8DDD0;
  box-shadow: 0 16px 30px -22px rgba(90, 50, 20, .35);
}
.hero--deck .converter-card::before { background: #FFD8C8; transform: translate(14px, 12px) rotate(2.4deg); }
.hero--deck .converter-card::after { background: #FFF9F2; transform: translate(-10px, 8px) rotate(-1.8deg); }
.hero.hero--deck.is-dragging .converter-card::before { background: var(--primary-200); }
.hero--deck .dropzone { background: #FFFDF9; border-color: #EBC9B8; }
.hx-clip { position: absolute; top: -26px; left: 34px; z-index: 2; font-size: 38px; color: #A79C90; transform: rotate(-14deg); }
.hero--deck .converter-note { margin-top: 14px; color: #7C6F62; }


/* ---------- 14. Command palette ---------- */
.hero.hero--palette { background: #ECEEF4; padding: 44px 0 84px; }
@media (max-width: 599px) {
  .hero.hero--palette { padding-bottom: 40px; }
  .hero--palette .hx-kbd { display: none; }   /* keyboard shortcuts don't apply on phones */
}
.hero--palette .hero-bg::after { display: block; background: rgba(236, 238, 244, .55); -webkit-mask-image: none; mask-image: none; }
.hx-skel {
  position: absolute; inset: 22px calc(var(--hx-edge) + 22px);
  display: grid; grid-template-columns: 210px 1fr 1fr; grid-template-rows: 60px 1fr 1fr; gap: 18px;
  filter: blur(3px); opacity: .9;
}
.hx-skel span { border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(16, 16, 24, .05); }
.hx-skel span:nth-child(1) { grid-row: 1 / -1; }
.hx-skel span:nth-child(2) { grid-column: 2 / -1; }
.hx-skel span:nth-child(5) { background: #FFE9E1; }
@media (max-width: 767px) { .hx-skel { grid-template-columns: 1fr; } .hx-skel span:nth-child(n+4) { display: none; } }
.hero--palette .hero-copy { display: contents; }
.hero--palette > .container {
  max-width: min(820px, calc(100vw - var(--hx-edge) * 2 - 32px)); padding: 0;
  background: #fff; border-radius: 22px; border: 1px solid rgba(16, 16, 24, .08);
  box-shadow: 0 50px 100px -30px rgba(16, 16, 24, .35), 0 0 0 8px rgba(255, 255, 255, .55);
}
.hero--palette .crumbs { margin: 0; padding: 14px 22px; border-bottom: 1px solid var(--border); font-size: 13px; }
.hero--palette .hero-eyebrow { margin: 18px 22px 0; padding: 4px 12px; background: var(--panel); border: 0; box-shadow: none; font-size: 12.5px; }
.hero.hero--palette .sentence { margin: 12px 0 0; padding: 0 22px; font-size: clamp(30px, 3.4vw, 46px); }
.hero--palette .sentence::before {
  content: '\f002'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .46em; color: var(--muted-2); margin-right: .4em;
}
.hero--palette .hero-sub { margin: 10px 0 0; padding: 0 22px; max-width: none; font-size: 15px; }
.hero--palette .converter { margin: 20px 0 0; padding: 16px 22px 18px; max-width: none; border-top: 1px solid var(--border); }
.hero--palette .converter-card { padding: 0; border: 0; box-shadow: none; }
.hero--palette .converter-note { justify-content: flex-start; }
.hero--palette .hero-trust { margin: 0; padding: 12px 22px; border-top: 1px solid var(--border); font-size: 13px; gap: 8px 20px; }
.hx-kbd {
  display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 12px 22px;
  border-top: 1px solid var(--border); border-radius: 0 0 22px 22px; background: var(--panel);
  font-size: 12.5px; color: var(--muted);
}
.hx-kbd span { display: inline-flex; align-items: center; gap: 5px; }
.hx-kbd kbd {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 6px; background: #fff;
  font-family: var(--font); font-size: 11.5px; font-weight: 600; color: var(--text-2);
}


/* ---------- 15. Vertical ---------- */
.hero.hero--vertical { background: linear-gradient(90deg, #FFF1EB 0, #fff 45%); }
.hx-vert { display: none; }
@media (min-width: 1100px) {
  .hero--vertical > .container { position: relative; padding-left: calc(var(--gutter) + 150px); }
  .hx-vert {
    position: absolute; left: var(--gutter); top: 0; bottom: 0; display: flex; align-items: center; justify-content: center;
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-size: 124px; font-weight: 900; letter-spacing: -.03em; line-height: .82; white-space: nowrap; overflow: hidden;
    color: transparent; background: linear-gradient(0deg, var(--primary) 0%, #FFB49B 100%); -webkit-background-clip: text; background-clip: text;
  }
  .hx-vert::after { content: ''; position: absolute; top: 8%; bottom: 8%; left: -18px; width: 2px; background: var(--primary-100); }
}
.hero.hero--vertical .sentence { font-size: clamp(42px, 5.4vw, 80px); letter-spacing: -.045em; }
.hero--vertical .converter { max-width: 860px; margin-left: 0; }
.hero--vertical .converter-note { justify-content: flex-start; }


/* ---------- 16. Orbit ---------- */
.hero.hero--orbit { background: radial-gradient(55% 60% at 50% 72%, #FFE7DD 0%, rgba(255, 231, 221, 0) 70%), #fff; }
.hero--orbit .converter { position: relative; isolation: isolate; max-width: 680px; margin-top: 64px; margin-bottom: 30px; }
.hx-ring, .hx-orb { display: none; }
@media (min-width: 1100px) {
  .hx-ring {
    display: block; position: absolute; z-index: -1; inset: -32% -16%; border-radius: 50%;
    border: 1.5px dashed var(--primary-200); pointer-events: none; animation: hxSpin 90s linear infinite;
  }
  .hx-ring--2 { inset: -62% -31%; border: 1px solid rgba(255, 76, 41, .1); animation: none;
    background: radial-gradient(closest-side, rgba(255, 233, 224, .6), rgba(255, 233, 224, 0)); }
  .hx-orb {
    display: grid; justify-items: center; gap: 4px; position: absolute; z-index: 1;
    width: 66px; padding: 9px 0 7px; border-radius: 18px; transform: translate(-50%, -50%);
    background: #fff; box-shadow: 0 18px 30px -18px rgba(16, 16, 24, .45);
    font-size: 11px; font-weight: 800; letter-spacing: .02em; color: var(--text-2);
    animation: hxBob 6s ease-in-out infinite;
  }
  .hx-orb i {
    display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; font-size: 13px;
    color: var(--accent, var(--primary)); background: color-mix(in srgb, var(--accent, var(--primary)) 13%, #fff);
  }
}


/* ---------- 17. Chat ---------- */
.hero.hero--chat { background: #F5F5F8; }
.hero--chat .hero-bg::after {
  background-image: radial-gradient(rgba(16, 16, 24, .07) 1.2px, transparent 1.6px); background-size: 22px 22px;
}
.hero--chat .hero-copy { display: contents; }
.hero--chat > .container { display: flex; flex-direction: column; align-items: center; max-width: min(860px, calc(100vw - var(--hx-edge) * 2)); }
.hero--chat .crumbs { order: 1; }
.hero--chat .hero-eyebrow { order: 2; }
.hx-chat-day { order: 3; margin-top: 22px; font-size: 12.5px; color: var(--muted-2); }
.hx-chat-day span { font-weight: 700; color: var(--text-2); }
.hero--chat .sentence { order: 4; }
.hero--chat .hero-sub { order: 5; }
.hero--chat .converter { order: 6; }
.hero--chat .hero-trust { order: 7; }
.hero.hero--chat .sentence {
  align-self: flex-end; max-width: 92%; margin-top: 14px; padding: .3em .5em .34em;
  border-radius: .55em .55em .14em .55em; color: #fff;
  background: linear-gradient(135deg, #FF7A4D, var(--primary) 70%);
  box-shadow: 0 20px 34px -22px rgba(230, 62, 28, .7);
  font-size: clamp(26px, 3.4vw, 44px); line-height: 1.2; gap: .12em .25em; text-align: right;
}
.hero--chat .fmt-btn--from { background: rgba(255, 255, 255, .18); color: #fff; box-shadow: inset 0 0 0 .04em rgba(255, 255, 255, .6); }
.hero--chat .fmt-btn--to { background: #fff; color: var(--primary); box-shadow: none; }
.hero--chat .fmt-btn--from:hover, .hero--chat .fmt-btn--from[aria-expanded="true"] { box-shadow: inset 0 0 0 .04em #fff; }
.hero--chat .fmt-pop { left: auto; right: 0; }
.hero--chat .hero-sub {
  position: relative; align-self: flex-start; max-width: 600px; margin: 18px 0 0 52px; padding: 14px 18px;
  border-radius: 4px 18px 18px 18px; background: #fff; box-shadow: var(--shadow-sm), 0 0 0 1px var(--border);
  text-align: left; font-size: 15.5px; color: var(--text-2);
}
.hero--chat .hero-sub::before {
  content: '\f544'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; left: -52px; top: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary-50); color: var(--primary); font-size: 17px; box-shadow: inset 0 0 0 1px var(--primary-100);
}
.hero--chat .converter { align-self: stretch; max-width: none; margin: 10px 0 0 52px; }
.hero--chat .converter-card { border-radius: 4px 22px 22px 22px; }
.hero--chat .converter-note { justify-content: flex-start; }
.hero--chat .hero-trust { align-self: flex-start; justify-content: flex-start; gap: 8px; margin: 14px 0 0 52px; }
.hero--chat .hero-trust li {
  padding: 6px 14px 6px 7px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--primary-200);
  font-size: 13.5px; font-weight: 600; color: var(--primary-700);
}
@media (max-width: 599px) {
  .hero--chat .hero-sub::before { display: none; }
  .hero--chat .hero-sub, .hero--chat .converter, .hero--chat .hero-trust { margin-left: 0; }
}


/* ---------- 18. Boarding pass ---------- */
.hero.hero--ticket { background: linear-gradient(180deg, #EAF3FF 0%, #FFF3EC 68%, #fff 100%); }
.hx-flight { position: absolute; left: var(--hx-edge); right: var(--hx-edge); top: 30px; height: 220px; opacity: .8; }
.hx-flight svg { width: 100%; height: 100%; }
.hx-flight path { fill: none; stroke: #9DB8DE; stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; }
.hero--ticket .converter { max-width: 880px; filter: drop-shadow(0 22px 28px rgba(100, 60, 30, .16)); }
.hero--ticket .converter-note { display: none; }
.hero--ticket .converter-card {
  --tk-y: 124px; position: relative; padding: 0 8px 8px; border: 0; box-shadow: none; border-radius: 22px;
  -webkit-mask: radial-gradient(circle 14px at 0 var(--tk-y), #0000 96%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 14px at 100% var(--tk-y), #0000 96%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 14px at 0 var(--tk-y), #0000 96%, #000) left / 51% 100% no-repeat,
        radial-gradient(circle 14px at 100% var(--tk-y), #0000 96%, #000) right / 51% 100% no-repeat;
}
.hero.hero--ticket.is-dragging .converter-card { box-shadow: none; }
.hx-tk {
  display: flex; align-items: center; gap: 28px; height: 124px; margin: 0 -8px 10px; padding: 0 36px;
  border-bottom: 2px dashed #E6D9CE;
}
.hx-tk-route { display: flex; align-items: center; gap: 18px; }
.hx-tk-route span { display: grid; }
.hx-tk-route small, .hx-tk-meta dt { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.hx-tk-route b { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.hx-tk-route i { color: var(--primary); font-size: 22px; }
.hx-tk-meta { display: flex; gap: 24px; margin: 0 0 0 auto; padding-left: 28px; border-left: 1px solid var(--border); }
.hx-tk-meta div { display: grid; gap: 2px; }
.hx-tk-meta dd { margin: 0; font-size: 14px; font-weight: 700; }
.hx-tk-code {
  flex: none; width: 74px; height: 64px;
  background: repeating-linear-gradient(90deg, var(--text) 0 2px, transparent 2px 4px, var(--text) 4px 5px, transparent 5px 8px, var(--text) 8px 11px, transparent 11px 13px);
  opacity: .85;
}
@media (max-width: 899px) { .hx-tk-meta, .hx-tk-code { display: none; } .hx-tk { justify-content: center; } }


/* ---------- 19. Big drop ---------- */
.hero.hero--bigdrop { background: #FFF5F1; padding: 30px 0 46px; }
.hero--bigdrop .hero-bg {
  inset: 14px calc(var(--hx-edge) + 14px); border-radius: 36px;
  border: 3px dashed var(--primary-200); background: radial-gradient(60% 50% at 50% 0%, #FFF1EA, #fff 70%);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.hero.hero--bigdrop.is-dragging .hero-bg { border-color: var(--primary); }
.hero--bigdrop > .container { padding-top: 34px; padding-bottom: 30px; }
.hx-bigfolder { width: 150px; margin: 6px auto 4px; filter: drop-shadow(0 22px 28px rgba(230, 62, 28, .3)); animation: hxBob 5s ease-in-out infinite; }
.hx-bigfolder svg { display: block; width: 100%; height: auto; }
.hero--bigdrop .converter { max-width: 620px; margin-top: 22px; }
.hero--bigdrop .converter-card { padding: 0; border: 0; background: none; box-shadow: none; }
.hero.hero--bigdrop.is-dragging .converter-card { box-shadow: none; }
.hero--bigdrop .dropzone:not(.is-compact) {
  flex-direction: column; text-align: center; min-height: 0; gap: 12px; padding: 6px; border: 0; background: none;
}
.hero--bigdrop .dropzone:not(.is-compact) .dropzone-folder { display: none; }
.hero--bigdrop .dropzone:not(.is-compact) .dz-text { flex: none; }
.hero--bigdrop .dz-title { font-size: 20px; }
.hero--bigdrop .dz-btn { min-height: 52px; padding-inline: 28px; font-size: 16px; }


/* ---------- 20. Sketch ---------- */
.hero.hero--sketch { background: #FFFDF6; }
.hero--sketch .hero-bg::after {
  background-image:
    linear-gradient(90deg, transparent calc(var(--hx-edge) + 44px), rgba(255, 76, 41, .4) calc(var(--hx-edge) + 44px) calc(var(--hx-edge) + 46px), transparent 0),
    linear-gradient(transparent 31px, rgba(90, 140, 210, .2) 31px 32px);
  background-size: 100% 100%, 100% 32px;
  -webkit-mask-image: none; mask-image: none;
}
.hero--sketch .hero-eyebrow {
  padding: 0; background: none; border: 0; box-shadow: none; transform: rotate(-2deg);
  font-family: 'Caveat', cursive; font-size: 27px; font-weight: 700; color: var(--primary);
}
.hero--sketch .hero-eyebrow .pulse { display: none; }
.hx-note { font-family: 'Caveat', cursive; font-size: 26px; font-weight: 700; color: var(--primary-700); line-height: 1; }
.hx-note--free { display: inline-block; margin-left: 12px; padding: 2px 10px; border: 2px solid var(--primary-700); border-radius: 50% 45% 55% 40% / 55% 50% 45% 50%; transform: rotate(4deg); font-size: 22px; }
.hero.hero--sketch .sentence { font-size: clamp(38px, 4.8vw, 66px); }
.hero--sketch .fmt-btn--from {
  color: var(--text); box-shadow: none; border-radius: .08em;
  background: linear-gradient(100deg, rgba(255, 224, 102, 0) 1%, #FFE066 3% 97%, rgba(255, 224, 102, 0) 99%);
}
.hero--sketch .fmt-btn--to {
  color: var(--primary); background: none; box-shadow: none;
  border: .055em solid var(--primary); border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
}
.hero--sketch .fmt-btn--from:hover, .hero--sketch .fmt-btn--from[aria-expanded="true"],
.hero--sketch .fmt-btn--to[aria-expanded="true"] { box-shadow: 0 0 0 4px var(--primary-ring); }
.hero--sketch .sentence.is-plain {
  display: table; margin-inline: auto;
  background: linear-gradient(transparent 68%, #FFE066 68% 90%, transparent 90%);
}
.hero--sketch .converter { position: relative; max-width: 720px; }
.hero--sketch .converter-card {
  border: 2px solid var(--text); border-radius: 18px 26px 16px 24px / 24px 16px 26px 18px;
  box-shadow: 6px 7px 0 rgba(10, 10, 10, .08);
}
.hero--sketch .dropzone { background: #fff; border-color: rgba(10, 10, 10, .25); border-radius: 12px 18px 14px 20px / 18px 12px 20px 14px; }
.hero--sketch .hero-trust { font-family: 'Caveat', cursive; font-size: 23px; font-weight: 700; gap: 6px 26px; }
.hero--sketch .hero-trust i { display: none; }
.hero--sketch .hero-trust li::before { content: '\f14a'; font-family: 'Font Awesome 6 Free'; font-weight: 400; font-size: 17px; color: var(--c-emerald); }
.hx-note--drop, .hx-sticky { display: none; }
@media (min-width: 1200px) {
  .hx-note--drop { display: flex; flex-direction: column; align-items: flex-end; position: absolute; left: -150px; top: 4px; width: 140px; transform: rotate(-6deg); }
  .hx-note--drop svg { width: 110px; height: 64px; margin-top: 2px; }
  .hx-note--drop path { fill: none; stroke: var(--primary-700); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .hero--sketch > .container { position: relative; }
  .hx-sticky {
    display: block; position: absolute; left: var(--gutter); bottom: -6px; width: 168px; padding: 18px 16px 16px;
    background: #FFF1A1; box-shadow: 0 14px 22px -14px rgba(80, 60, 0, .45); transform: rotate(-4deg);
    font-family: 'Caveat', cursive; font-size: 23px; font-weight: 700; line-height: 1.1; color: #5A4A10;
  }
  .hx-sticky::before { content: ''; position: absolute; top: -11px; left: 50%; width: 70px; height: 22px; transform: translateX(-50%) rotate(3deg); background: rgba(255, 255, 255, .65); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
}


/* ==========================================================================
   Designs 21–30
   ========================================================================== */
:is(.hero--mosaic, .hero--phone, .hero--postcard, .hero--aurora, .hero--swiss,
    .hero--blueprint, .hero--retro, .hero--fan, .hero--terminal, .hero--blob) .hero-glow { display: none; }
:is(.hero--mosaic, .hero--phone, .hero--postcard, .hero--aurora, .hero--swiss,
    .hero--fan, .hero--blob) .hero-bg::after { display: none; }

/* Left-aligned copy */
:is(.hero--phone, .hero--postcard, .hero--swiss, .hero--blueprint, .hero--terminal) .hero-copy { text-align: left; margin-inline: 0; }
:is(.hero--phone, .hero--postcard, .hero--swiss, .hero--blueprint, .hero--terminal) :is(.crumbs, .sentence, .hero-trust) { justify-content: flex-start; }
:is(.hero--phone, .hero--postcard, .hero--swiss, .hero--blueprint, .hero--terminal) .hero-sub { margin-left: 0; }
:is(.hero--phone, .hero--postcard, .hero--swiss, .hero--blueprint, .hero--terminal) .fmt-pop { left: 0; transform: none; }
:is(.hero--phone, .hero--postcard, .hero--swiss, .hero--blueprint) .sentence:not(.is-plain)::after { content: ''; order: 1; flex-basis: 100%; height: 0; }
:is(.hero--phone, .hero--postcard, .hero--swiss, .hero--blueprint) .sentence > span:nth-of-type(2),
:is(.hero--phone, .hero--postcard, .hero--swiss, .hero--blueprint) #toBtn { order: 2; }


/* ---------- 21. Mosaic ---------- */
.hero.hero--mosaic { background: #fff; }
.hx-mosaic {
  position: absolute; inset: -10px var(--hx-edge);
  display: grid; grid-template-columns: repeat(auto-fill, 74px); grid-auto-rows: 74px; gap: 10px; justify-content: center; overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 56% 72% at 50% 50%, transparent 66%, rgba(0, 0, 0, .8) 100%);
  mask-image: radial-gradient(ellipse 56% 72% at 50% 50%, transparent 66%, rgba(0, 0, 0, .8) 100%);
}
.hx-mosaic span {
  display: grid; place-items: center; border-radius: 16px;
  background: color-mix(in srgb, var(--accent, var(--primary)) 9%, #fff); color: color-mix(in srgb, var(--accent, var(--primary)) 70%, #fff);
  font-size: 12px; font-weight: 800; letter-spacing: .03em;
}
.hx-mosaic span.is-hot { background: var(--accent, var(--primary)); color: #fff; }
.hero--mosaic .hero-eyebrow { background: #fff; }
.hero--mosaic .converter-card { box-shadow: 0 2px 4px rgba(16, 16, 24, .04), 0 40px 70px -30px rgba(16, 16, 24, .25); }


/* ---------- 22. Phone ---------- */
.hero.hero--phone { background: linear-gradient(180deg, #FFF6F1, #fff); }
.hx-status, .hx-homebar, .hx-phone-disc { display: none; }
@media (min-width: 992px) {
  .hero--phone > .container {
    display: grid; grid-template-columns: minmax(0, 1fr) 390px; grid-template-areas: "copy conv" "trust conv";
    gap: 22px 72px; align-items: center;
  }
  .hero--phone .hero-copy { grid-area: copy; align-self: end; }
  .hero--phone .hero-trust { grid-area: trust; align-self: start; display: grid; gap: 12px; margin-top: 6px; }
  .hero.hero--phone .sentence { font-size: clamp(40px, 4.4vw, 64px); }
  .hero--phone .converter { grid-area: conv; position: relative; margin: 0; max-width: none; }
  .hero--phone .converter-card {
    position: relative; min-height: 600px; display: flex; flex-direction: column;
    padding: 50px 14px 30px; border-radius: 52px; border: 10px solid #E8E8EE;
    box-shadow: 0 0 0 1px #D6D6DE, 0 50px 90px -40px rgba(80, 30, 10, .45), inset 0 0 0 1px #F4F4F7;
  }
  .hero--phone .converter-card::before {
    content: ''; position: absolute; top: 12px; left: 50%; width: 96px; height: 26px; transform: translateX(-50%);
    border-radius: 20px; background: #1A1A20;
  }
  .hero--phone .dropzone:not(.is-compact) { flex: 1; flex-direction: column; text-align: center; gap: 14px; }
  .hero--phone .dropzone:not(.is-compact) .dz-text { flex: none; }
  /* Uploaded files in a narrow uploader column (phone mockup, corkboard note): the compact one-row layout phones get
     ([icon] name / size · status [format ▾] [⬇ when done] [×]; bar = [format ▾] [🗑] [⬇] [Convert all]) */
  :is(.hero--phone, .hero--corkboard) .file-list { gap: 6px; }
  :is(.hero--phone, .hero--corkboard) .file-item {
    grid-template-columns: 32px minmax(0, 1fr) auto auto auto; grid-template-areas: "icon meta format action remove";
    gap: 8px; padding: 8px 4px 8px 8px; border-radius: 12px;
  }
  :is(.hero--phone, .hero--corkboard) .file-item .icon-tile { width: 32px; height: 32px; border-radius: 9px; font-size: 14px; }
  :is(.hero--phone, .hero--corkboard) .file-name { font-size: 13px; line-height: 1.3; }
  :is(.hero--phone, .hero--corkboard) .file-sub { gap: 0 5px; font-size: 11.5px; white-space: nowrap; overflow: hidden; }
  :is(.hero--phone, .hero--corkboard) .file-status { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  :is(.hero--phone, .hero--corkboard) .file-progress { height: 3px; margin-top: 5px; }
  :is(.hero--phone, .hero--corkboard) .file-format > span { display: none; }
  :is(.hero--phone, .hero--corkboard) .file-format .select-btn { min-width: 0; height: 30px; padding: 0 8px; gap: 4px; border-radius: 8px; font-size: 12.5px; }
  :is(.hero--phone, .hero--corkboard) .file-action [data-convert] { display: none; }
  :is(.hero--phone, .hero--corkboard) .file-action:not(:has([data-download])) { display: none; }
  :is(.hero--phone, .hero--corkboard) .file-action [data-download] { width: 30px; min-height: 30px; padding: 0; gap: 0; font-size: 0; }
  :is(.hero--phone, .hero--corkboard) .file-action [data-download] i { font-size: 13px; }
  :is(.hero--phone, .hero--corkboard) .file-remove { width: 28px; height: 28px; border-radius: 8px; font-size: 13px; }
  :is(.hero--phone, .hero--corkboard) .converter-bar { flex-wrap: nowrap; gap: 6px; margin-top: 6px; padding: 10px 2px 2px; }
  :is(.hero--phone, .hero--corkboard) #convertAllLabel { display: none; }
  :is(.hero--phone, .hero--corkboard) .bar-left .select-btn { min-width: 0; height: 36px; padding: 0 10px; gap: 6px; font-size: 13px; }
  :is(.hero--phone, .hero--corkboard) .bar-right { flex: 1; min-width: 0; flex-wrap: nowrap; gap: 6px; }
  :is(.hero--phone, .hero--corkboard) .bar-right .btn { flex: none; min-height: 36px; padding: 0 14px; font-size: 13.5px; }
  :is(.hero--phone, .hero--corkboard) .bar-right :is(#clearAll, #downloadAll) { width: 36px; padding: 0; gap: 0; font-size: 0; --btn-bd: var(--border-strong); }
  :is(.hero--phone, .hero--corkboard) .bar-right :is(#clearAll, #downloadAll) i { font-size: 14px; }
  :is(.hero--phone, .hero--corkboard) .bar-right #convertAll { flex: 1; min-width: 0; }
  :is(.hero--phone, .hero--corkboard) .dropzone.is-compact { padding: 10px 12px; gap: 10px; }
  :is(.hero--phone, .hero--corkboard) .dropzone.is-compact .dropzone-folder { width: 36px; height: 33px; }
  :is(.hero--phone, .hero--corkboard) .dropzone.is-compact .dz-title { font-size: 14px; }
  .hx-status {
    display: flex; justify-content: space-between; align-items: center; position: absolute; top: 14px; left: 30px; right: 26px;
    font-size: 13px; color: var(--text);
  }
  .hx-status span { display: flex; gap: 5px; font-size: 11px; }
  .hx-homebar { display: block; position: absolute; bottom: 10px; left: 50%; width: 120px; height: 5px; transform: translateX(-50%); border-radius: 5px; background: #1A1A20; }
  .hx-phone-disc {
    display: block; position: absolute; right: calc(var(--hx-edge) + 6%); top: 50%; width: 560px; height: 560px; transform: translateY(-50%);
    border-radius: 50%; background: radial-gradient(circle, #FFD9C9 0%, #FFE9DF 45%, rgba(255, 233, 223, 0) 70%);
  }
}


/* ---------- 23. Postcard ---------- */
.hero.hero--postcard { background: #F6EEE4; }
.hero--postcard .hero-bg::after { display: block; background-image: radial-gradient(rgba(120, 80, 40, .1) 1px, transparent 1.4px); background-size: 14px 14px; -webkit-mask-image: none; mask-image: none; }
.hero--postcard > .container {
  position: relative; max-width: min(1100px, calc(100vw - var(--hx-edge) * 2 - 32px)); padding: 32px 22px;
  background: #FFFCF6; border: 12px solid transparent;
  border-image: repeating-linear-gradient(-45deg, #E5432A 0 14px, #FFFCF6 14px 24px, #2F6FD6 24px 38px, #FFFCF6 38px 48px) 12;
  box-shadow: 0 30px 60px -30px rgba(80, 50, 20, .35);
}
.hx-stamp, .hx-postmark, .hx-airmail { display: none; }
@media (min-width: 992px) {
  .hero--postcard > .container {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "copy conv" "trust conv";
    column-gap: 56px; row-gap: 20px; padding: 40px 44px;
  }
  .hero--postcard .hero-copy { grid-area: copy; }
  .hero--postcard .hero-trust { grid-area: trust; display: grid; gap: 10px; margin-top: 4px; }
  .hero--postcard .converter { grid-area: conv; margin: 0; max-width: none; padding: 150px 0 0 40px; border-left: 2px solid #E9DECF; }
  .hero.hero--postcard .sentence { font-size: clamp(38px, 4vw, 58px); }
  .hero--postcard .dropzone:not(.is-compact) { flex-direction: column; text-align: center; gap: 12px; }
  .hero--postcard .dropzone:not(.is-compact) .dz-text { flex: none; }
  .hero--postcard .file-item { grid-template-columns: 40px 1fr auto; grid-template-areas: "icon meta remove" "icon format action"; }
  .hx-stamp {
    display: block; position: absolute; top: 34px; right: 40px; width: 108px; height: 128px; padding: 9px; transform: rotate(4deg);
    /* perforations: holes in the page colour show only in the padding */
    background: radial-gradient(circle, #FFFCF6 3.2px, #fff 3.8px) -6px -6px / 12px 12px;
    filter: drop-shadow(0 4px 6px rgba(80, 50, 20, .2));
  }
  .hx-stamp span { display: grid; place-items: center; align-content: center; gap: 4px; height: 100%; background: linear-gradient(160deg, #FF7A4D, var(--primary-600)); color: #fff; }
  .hx-stamp b { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
  .hx-stamp small { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
  .hx-postmark { display: block; position: absolute; top: 40px; right: 120px; width: 120px; height: 120px; transform: rotate(-12deg); opacity: .75; }
  .hx-postmark svg { width: 100%; height: 100%; overflow: visible; }
  .hx-postmark circle { fill: none; stroke: #2F4F86; stroke-width: 2; }
  .hx-postmark text { fill: #2F4F86; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
  .hx-postmark .hx-pm-date { font-size: 18px; letter-spacing: .02em; }
  .hx-airmail {
    display: block; position: absolute; top: 46px; left: calc(52% + 40px);
    font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #2F6FD6;
  }
}


/* ---------- 24. Aurora ---------- */
@property --hx-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.hero.hero--aurora { background: #fff; }
@media (max-width: 599px) { .hero.hero--aurora { padding-bottom: 40px; } }
@media (min-width: 992px) { .hero.hero--aurora { padding-bottom: 56px; } }
.hx-aurora {
  position: absolute; left: 0; right: 0; top: -40px; height: 75%;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent);
  filter: blur(46px); opacity: .85;
}
.hx-aurora span { position: absolute; top: 0; height: 70%; width: 60%; border-radius: 50%; animation: hxAurora 16s ease-in-out infinite alternate; }
.hx-aurora span:nth-child(1) { left: -5%; background: linear-gradient(90deg, #FFB199, #FF8FB1); }
.hx-aurora span:nth-child(2) { left: 25%; top: 10%; background: linear-gradient(90deg, #C9B6FF, #9FD3FF); animation-delay: -5s; animation-duration: 20s; }
.hx-aurora span:nth-child(3) { right: -5%; background: linear-gradient(90deg, #FFD59A, #FFA3A3); animation-delay: -9s; animation-duration: 18s; }
@keyframes hxAurora {
  0%   { transform: translate(0, 0) scale(1, .7) rotate(-6deg); }
  50%  { transform: translate(6%, 12%) scale(1.15, .9) rotate(4deg); }
  100% { transform: translate(-6%, -4%) scale(.95, .75) rotate(-2deg); }
}
.hero--aurora .sentence.is-plain,
.hero--aurora .sentence > span {
  color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(90deg, #0A0A0A 10%, var(--primary) 45%, #C2459C 70%, #0A0A0A 95%);
  background-size: 220% 100%; animation: hxShine 9s linear infinite;
}
@keyframes hxShine { to { background-position: -220% 0; } }
.hero--aurora .hero-eyebrow { background: rgba(255, 255, 255, .7); }
.hero--aurora .converter-card {
  padding: 8px; border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--hx-angle), #FF8A5C, #FF4C9A, #9B7BFF, #4CB2FF, #FFC94C, #FF8A5C) border-box;
  animation: hxAngle 6s linear infinite;
}
@keyframes hxAngle { to { --hx-angle: 360deg; } }
.hero--aurora .hero-trust li { padding: 6px 14px 6px 8px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .8); box-shadow: var(--shadow-sm), 0 0 0 1px var(--border); }


/* ---------- 25. Swiss ---------- */
.hero.hero--swiss { background: #F3F2EE; padding-bottom: 64px; }
.hx-cols {
  position: absolute; inset: 0 calc(var(--hx-edge) + var(--gutter)); max-width: var(--container); margin-inline: auto;
  display: grid; grid-template-columns: repeat(12, 1fr); pointer-events: none;
}
.hx-cols span { border-left: 1px solid rgba(10, 10, 10, .07); }
.hx-cols span:last-child { border-right: 1px solid rgba(10, 10, 10, .07); }
.hero--swiss > .container { position: relative; }
.hx-square { position: absolute; top: 8px; right: var(--gutter); width: 120px; height: 120px; background: var(--primary); }
@media (max-width: 767px) { .hx-square { width: 56px; height: 56px; } }
.hero--swiss .crumbs { padding-right: 140px; }
.hero--swiss .hero-eyebrow {
  margin-top: 28px; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text);
}
.hero--swiss .hero-eyebrow .pulse { border-radius: 0; background: var(--primary); }
.hero--swiss .hero-eyebrow .pulse::after { display: none; }
.hero.hero--swiss .sentence { margin-top: 18px; font-size: clamp(46px, 7vw, 108px); letter-spacing: -.055em; line-height: .98; }
@media (min-width: 1280px) { .has-side-ads .hero.hero--swiss .sentence { font-size: min(108px, calc((100vw - var(--ad-rail) * 2) / 10)); } }
.hero--swiss .fmt-btn { border-radius: 0; }
.hero--swiss .fmt-btn--from { box-shadow: inset 0 0 0 .05em var(--text); color: var(--text); background: #fff; }
.hero--swiss .fmt-btn--to { background: var(--primary); box-shadow: none; }
.hero--swiss .hero-sub { margin-top: 28px; max-width: 640px; font-size: 18px; color: var(--text-2); }
.hero--swiss .converter { max-width: none; margin: 36px 0 0; }
.hero--swiss .converter-card { border-radius: 0; border: 2px solid var(--text); box-shadow: none; }
.hero--swiss .dropzone { border-radius: 0; background: #fff; border-color: rgba(10, 10, 10, .25); }
.hero--swiss .dz-btn, .hero--swiss .converter-bar .btn { border-radius: 0; }
.hero--swiss .converter-note { justify-content: flex-start; }
.hero--swiss .hero-trust {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 28px; counter-reset: sw;
  border-top: 2px solid var(--text);
}
@media (min-width: 768px) { .hero--swiss .hero-trust { grid-template-columns: repeat(4, 1fr); } }
.hero--swiss .hero-trust li {
  display: grid; gap: 4px; padding: 14px 16px 0 0; counter-increment: sw; font-weight: 600;
}
.hero--swiss .hero-trust li::before { content: counter(sw, decimal-leading-zero); font-size: 28px; font-weight: 800; letter-spacing: -.03em; color: var(--primary); }
.hero--swiss .hero-trust i { display: none; }


/* ---------- 26. Blueprint ---------- */
.hero.hero--blueprint { background: #F1F6FE; --bp: #2F6FD6; }
.hero--blueprint .hero-bg::after {
  background-image:
    linear-gradient(rgba(47, 111, 214, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 111, 214, .16) 1px, transparent 1px),
    linear-gradient(rgba(47, 111, 214, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 111, 214, .07) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  -webkit-mask-image: none; mask-image: none;
}
.hero--blueprint .crumbs a, .hero--blueprint .crumbs i { color: #47618A; }
.hero--blueprint .hero-eyebrow { border-radius: 4px; background: #fff; border: 1px dashed var(--bp); box-shadow: none; color: #1E3A66; }
.hx-bp-spec {
  display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--bp);
}
.hero.hero--blueprint .sentence { margin-top: 8px; color: #0E2343; font-size: clamp(40px, 5vw, 70px); }
.hero--blueprint .fmt-btn { border-radius: 6px; }
.hero--blueprint .fmt-btn--from { background: #fff; color: var(--bp); box-shadow: inset 0 0 0 2px var(--bp); }
.hero--blueprint .hero-sub { color: #47618A; }
.hero--blueprint .converter { position: relative; max-width: none; margin: 56px 52px 0 0; }
.hero--blueprint .converter-card { position: relative; border-radius: 6px; border: 1.5px dashed var(--bp); box-shadow: none; }
.hero--blueprint .dropzone { border-radius: 4px; border-color: rgba(47, 111, 214, .35); background: #F8FBFF; }
.hero--blueprint .converter-note { justify-content: flex-start; color: #47618A; }
.hx-tick { position: absolute; width: 14px; height: 14px; border: 0 solid var(--bp); pointer-events: none; }
.hx-tick--tl { top: -7px; left: -7px; border-top-width: 2px; border-left-width: 2px; }
.hx-tick--tr { top: -7px; right: -7px; border-top-width: 2px; border-right-width: 2px; }
.hx-tick--bl { bottom: -7px; left: -7px; border-bottom-width: 2px; border-left-width: 2px; }
.hx-tick--br { bottom: -7px; right: -7px; border-bottom-width: 2px; border-right-width: 2px; }
.hx-dim { position: absolute; color: var(--bp); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; font-weight: 700; letter-spacing: .06em; pointer-events: none; }
.hx-dim--x { left: 0; right: 0; top: -26px; height: 1px; background: var(--bp); }
.hx-dim--x::before, .hx-dim--x::after { content: ''; position: absolute; top: -5px; width: 1px; height: 11px; background: var(--bp); }
.hx-dim--x::before { left: 0; } .hx-dim--x::after { right: 0; }
.hx-dim--x i { position: absolute; left: 50%; top: -8px; transform: translateX(-50%); padding: 0 8px; background: #F1F6FE; font-style: normal; }
.hx-dim--y { top: 0; bottom: 40px; right: -30px; width: 1px; background: var(--bp); }
.hx-dim--y::before, .hx-dim--y::after { content: ''; position: absolute; left: -5px; width: 11px; height: 1px; background: var(--bp); }
.hx-dim--y::before { top: 0; } .hx-dim--y::after { bottom: 0; }
.hx-dim--y i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(90deg); padding: 0 8px; background: #F1F6FE; font-style: normal; white-space: nowrap; }
.hero--blueprint .hero-trust { margin-top: 26px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; color: #1E3A66; }
.hero--blueprint .hero-trust i { background: #fff; color: var(--bp); box-shadow: inset 0 0 0 1px rgba(47, 111, 214, .3); }
@media (max-width: 599px) { .hx-dim--y { display: none; } .hero--blueprint .converter { margin-right: 0; } }


/* ---------- 27. Retro desktop ---------- */
.hero.hero--retro { background: #D9DCE3; }
.hero--retro .hero-bg::after {
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .35) 0 1px, transparent 1px 3px);
  -webkit-mask-image: none; mask-image: none;
}
.hero--retro > .container {
  max-width: min(820px, calc(100vw - var(--hx-edge) * 2 - 32px)); padding: 0 24px 26px;
  background: #EFEFF2; border: 1px solid #6B6B75;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #A9A9B2, 6px 6px 0 rgba(30, 30, 40, .25);
  border-radius: 6px;
}
.hx-win-bar {
  position: relative; display: flex; align-items: center; justify-content: center; height: 30px; margin: 0 -24px 6px;
  border-bottom: 1px solid #6B6B75; border-radius: 6px 6px 0 0;
  background: repeating-linear-gradient(180deg, #EFEFF2 0 2px, #9C9CA6 2px 3px);
}
.hx-win-title { padding: 0 12px; background: #EFEFF2; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: #1A1A22; }
.hx-win-close, .hx-win-zoom { position: absolute; top: 8px; width: 13px; height: 13px; background: #EFEFF2; border: 1px solid #555; box-shadow: inset 1px 1px 0 #fff; }
.hx-win-close { left: 10px; } .hx-win-zoom { right: 10px; }
/* Phones: thinner window padding so the eyebrow, drop zone and file bar fit without wrapping/overflow */
@media (max-width: 599px) {
  .hero--retro > .container { padding: 0 12px 18px; }
  .hx-win-bar { margin: 0 -12px 6px; }
}
.hero--retro .crumbs { margin-top: 14px; }
.hero--retro .hero-eyebrow { border-radius: 3px; background: #fff; border: 1px solid #8A8A94; box-shadow: inset -1px -1px 0 #C8C8CF; }
.hero.hero--retro .sentence { font-size: clamp(34px, 4.4vw, 60px); }
.hero--retro .fmt-btn { border-radius: 6px; }
.hero--retro .fmt-btn--from { background: #fff; box-shadow: inset 0 0 0 2px #1A1A22, .06em .06em 0 #1A1A22; color: #1A1A22; }
.hero--retro .fmt-btn--to { box-shadow: inset 0 0 0 2px #1A1A22, .06em .06em 0 #1A1A22; }
.hero--retro .converter-card { border-radius: 3px; border: 1px solid #8A8A94; box-shadow: inset 1px 1px 0 #A9A9B2; background: #fff; }
.hero--retro .dropzone { border-radius: 2px; border-color: #A9A9B2; background: #FAFAFB; }
.hero--retro .btn--primary { border-radius: 8px; box-shadow: inset 0 0 0 2px #1A1A22, 2px 2px 0 #1A1A22; }
.hero--retro .converter-note { color: #4A4A55; }
.hero--retro .hero-trust i { border-radius: 3px; background: #fff; box-shadow: inset 0 0 0 1px #8A8A94; }
.hx-desk { display: none; }
@media (min-width: 1400px) {
  .hx-desk { display: block; position: absolute; inset: 40px calc(var(--hx-edge) + 18px); }
  .hx-desk-icon { position: absolute; left: 0; display: grid; justify-items: center; gap: 6px; width: 84px; font-size: 12px; color: #1A1A22; text-align: center; overflow-wrap: anywhere; }
  .hx-desk-icon:nth-child(1) { top: 0; } .hx-desk-icon:nth-child(2) { top: 120px; }
  .hx-desk-icon--r { left: auto; right: 0; }
  .hx-desk-icon:nth-child(3) { top: 0; } .hx-desk-icon:nth-child(4) { bottom: 40px; }
  .hx-desk-icon i { font-size: 40px; color: #5A6FA8; filter: drop-shadow(1px 1px 0 #fff); }
  .hx-desk-icon:nth-child(1) i { color: var(--primary); }
  .hx-desk-icon:nth-child(3) i { color: #2E9E6A; }
  .hx-desk-icon b { padding: 1px 6px; background: #fff; font-weight: 600; }
}


/* ---------- 28. Card fan ---------- */
.hero.hero--fan { background: radial-gradient(60% 50% at 50% 20%, #FFE8DF 0%, rgba(255, 232, 223, 0) 70%), #fff; }
.hx-fan { position: relative; height: 150px; width: 300px; margin: 8px auto 6px; }
.hx-fan-card {
  position: absolute; left: 50%; bottom: 0; width: 92px; height: 120px; margin-left: -46px;
  display: grid; justify-items: center; align-content: end; gap: 6px; padding-bottom: 14px;
  border-radius: 14px; background: #fff; border: 1px solid var(--border);
  box-shadow: 0 16px 30px -18px rgba(16, 16, 24, .4);
  transform-origin: 50% 140%;
  transition: transform .35s var(--ease);
}
.hx-fan-card::before { content: ''; position: absolute; top: 10px; left: 10px; right: 10px; height: 44px; border-radius: 8px; background: color-mix(in srgb, var(--accent, var(--primary)) 14%, #fff); }
.hx-fan-card i { position: absolute; top: 22px; font-size: 20px; color: var(--accent, var(--primary)); }
.hx-fan-card b { font-size: 13px; font-weight: 800; letter-spacing: .03em; }
.hx-fan-card:nth-child(1) { transform: rotate(-28deg); }
.hx-fan-card:nth-child(2) { transform: rotate(-14deg); }
.hx-fan-card:nth-child(3) { transform: rotate(0deg); z-index: 2; }
.hx-fan-card:nth-child(4) { transform: rotate(14deg); }
.hx-fan-card:nth-child(5) { transform: rotate(28deg); }
.hx-fan-card.is-top { background: linear-gradient(160deg, #FF7A4D, var(--primary) 60%, var(--primary-600)); border-color: transparent; color: #fff; }
.hx-fan-card.is-top::before { background: rgba(255, 255, 255, .22); }
.hx-fan-card.is-top i { color: #fff; }
.hero--fan .converter { max-width: 820px; }


/* ---------- 29. Terminal ---------- */
.hero.hero--terminal { background: #F2F3F5; }
.hero--terminal .hero-bg::after { background-image: radial-gradient(rgba(16, 16, 24, .09) 1px, transparent 1.4px); background-size: 18px 18px; -webkit-mask-image: none; mask-image: none; }
.hero--terminal > .container {
  max-width: min(900px, calc(100vw - var(--hx-edge) * 2 - 32px)); padding: 0 26px 26px;
  background: #FCFCFD; border: 1px solid #DCDDE3; border-radius: 14px;
  box-shadow: 0 40px 80px -40px rgba(16, 16, 24, .35);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.hx-term-bar {
  position: relative; display: flex; align-items: center; justify-content: center; height: 40px; margin: 0 -26px 18px;
  border-bottom: 1px solid #E4E5EA; border-radius: 14px 14px 0 0; background: #F4F4F7;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}
.hx-term-bar .hx-dots { position: absolute; left: 16px; }
.hero--terminal .crumbs { font-family: var(--mono); font-size: 12.5px; }
.hero--terminal .hero-eyebrow { margin-top: 4px; padding: 3px 10px; border-radius: 6px; background: #ECFDF5; border: 0; box-shadow: none; color: #047857; font-family: var(--mono); font-size: 12.5px; }
.hero--terminal .hero-eyebrow .pulse { background: #10B981; }
.hero--terminal .hero-eyebrow .pulse::after { border-color: #10B981; }
.hx-cmd { margin-top: 16px; font-family: var(--mono); font-size: 15px; color: var(--text-2); }
.hx-cmd .hx-prompt { color: var(--primary); font-weight: 700; }
.hx-cmd em { font-style: normal; color: #7C3AED; }
.hx-caret { display: inline-block; width: 9px; height: 1.1em; margin-left: 4px; vertical-align: -3px; background: var(--text); animation: hxBlink 1s steps(1) infinite; }
@keyframes hxBlink { 50% { opacity: 0; } }
.hero.hero--terminal .sentence { margin-top: 10px; font-size: clamp(32px, 4vw, 54px); }
.hero--terminal .sentence::before { content: '#'; margin-right: .25em; font-family: var(--mono); font-weight: 400; color: var(--muted-2); }
.hero--terminal .fmt-btn { border-radius: 8px; font-family: var(--mono); letter-spacing: -.04em; }
.hero--terminal .hero-sub { margin-top: 10px; max-width: none; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.hero--terminal .hero-sub::before { content: '> '; color: var(--primary); }
.hero--terminal .converter { max-width: none; margin: 22px 0 0; padding-left: 16px; border-left: 3px solid var(--primary-200); }
.hero--terminal .converter-card { border-radius: 10px; box-shadow: none; }
.hero--terminal .dropzone { border-radius: 8px; }
.hero--terminal .converter-note { justify-content: flex-start; font-family: var(--mono); font-size: 12px; }
.hero--terminal .hero-trust { margin-top: 18px; font-family: var(--mono); font-size: 13px; gap: 6px 22px; }
.hero--terminal .hero-trust i { display: none; }
.hero--terminal .hero-trust li::before { content: '[✓]'; color: #10B981; font-weight: 700; }
/* Phones: thinner window padding and side rule so the uploader gets the width */
@media (max-width: 599px) {
  .hero--terminal > .container { padding: 0 14px 18px; }
  .hx-term-bar { height: 34px; margin: 0 -14px 14px; }
  .hero--terminal .hero-sub { font-size: 13px; }
  .hero--terminal .converter { margin-top: 18px; padding-left: 8px; border-left-width: 2px; }
  .hero--terminal .hero-trust { font-size: 12px; gap: 6px 14px; }
}


/* ---------- 30. Blob ---------- */
.hero.hero--blob { background: #fff; }
.hx-blobshape {
  position: absolute; left: 50%; top: 52%; width: min(1100px, calc(100vw - var(--hx-edge) * 2)); height: 88%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #FFD7C6 0%, #FFC4D6 55%, #FFE2B6 100%);
  border-radius: 42% 58% 63% 37% / 45% 39% 61% 55%;
  animation: hxMorph 18s ease-in-out infinite alternate;
}
.hx-blobshape--s1, .hx-blobshape--s2 { width: 120px; height: 120px; top: 14%; left: calc(var(--hx-edge) + 8%); transform: none; background: #FFB59E; animation-duration: 9s; }
.hx-blobshape--s2 { width: 80px; height: 80px; top: auto; bottom: 10%; left: auto; right: calc(var(--hx-edge) + 9%); background: #D9C8FF; animation-duration: 11s; }
/* Phones: the screen-wide, hero-tall blob became a narrow egg with hard edges down both sides.
   Instead: a wide, softly blurred band whose sides run off-screen (only its wavy top/bottom edges
   show and morph), plus two soft glows that drift slowly at the edges, clear of the text. */
@media (max-width: 599px) {
  .hero.hero--blob { padding-bottom: 40px; }
  .hx-blobshape { width: 170vw; height: 64%; top: 50%; filter: blur(6px); opacity: .9; animation-duration: 14s; }
  .hx-blobshape--s1, .hx-blobshape--s2 { filter: blur(14px); opacity: .75; animation: hxMorph 9s ease-in-out infinite alternate, hxDrift 12s ease-in-out infinite alternate; }
  .hx-blobshape--s1 { width: 150px; height: 150px; top: 4%; left: -70px; }
  .hx-blobshape--s2 { width: 130px; height: 130px; top: auto; bottom: 3%; right: -60px; animation-duration: 11s, 15s; }
}
@keyframes hxDrift { from { translate: 0 0; } to { translate: 18px 26px; } }
@media (prefers-reduced-motion: reduce) { .hx-blobshape { animation: none; } }
@keyframes hxMorph {
  0%   { border-radius: 42% 58% 63% 37% / 45% 39% 61% 55%; }
  50%  { border-radius: 58% 42% 35% 65% / 60% 52% 48% 40%; }
  100% { border-radius: 38% 62% 56% 44% / 38% 60% 40% 62%; }
}
.hero--blob .hero-eyebrow { background: #fff; border-color: transparent; }
.hero--blob .hero-sub { color: var(--text-2); }
.hero--blob .converter-card { border-color: transparent; box-shadow: 0 40px 70px -34px rgba(160, 40, 60, .4); }
.hero--blob .converter-note { color: var(--text-2); }
.hero--blob .hero-trust i { background: #fff; }


/* ==========================================================================
   Designs 31–36
   ========================================================================== */
:is(.hero--corkboard, .hero--folder, .hero--ribbon, .hero--receipt, .hero--arcade, .hero--bands) .hero-glow { display: none; }
:is(.hero--corkboard, .hero--folder, .hero--ribbon, .hero--receipt, .hero--bands) .hero-bg::after { display: none; }

/* Left-aligned copy */
:is(.hero--corkboard, .hero--folder, .hero--receipt, .hero--bands) .hero-copy { text-align: left; margin-inline: 0; }
:is(.hero--corkboard, .hero--folder, .hero--receipt, .hero--bands) :is(.crumbs, .sentence, .hero-trust) { justify-content: flex-start; }
:is(.hero--corkboard, .hero--folder, .hero--receipt, .hero--bands) .hero-sub { margin-left: 0; }
:is(.hero--corkboard, .hero--folder, .hero--receipt, .hero--bands) .fmt-pop { left: 0; transform: none; }
:is(.hero--corkboard, .hero--receipt, .hero--bands) .sentence:not(.is-plain)::after { content: ''; order: 1; flex-basis: 100%; height: 0; }
:is(.hero--corkboard, .hero--receipt, .hero--bands) .sentence > span:nth-of-type(2),
:is(.hero--corkboard, .hero--receipt, .hero--bands) #toBtn { order: 2; }


/* ---------- 31. Corkboard ---------- */
.hero.hero--corkboard {
  background-color: #E3C59F;
  background-image: radial-gradient(rgba(120, 75, 30, .28) 1px, transparent 1.6px), radial-gradient(rgba(255, 255, 255, .35) 1px, transparent 1.6px);
  background-size: 9px 9px, 13px 13px; background-position: 0 0, 4px 6px;
}
.hero--corkboard .hero-copy {
  position: relative; max-width: none; padding: 34px 26px 26px; background: #fff;
  box-shadow: 0 20px 30px -18px rgba(70, 35, 5, .55); transform: rotate(-1.2deg);
}
.hero--corkboard .converter { margin-top: 34px; }
.hero--corkboard .converter-card { position: relative; border: 0; border-radius: 3px; transform: rotate(.9deg); box-shadow: 0 20px 30px -18px rgba(70, 35, 5, .55); }
.hero--corkboard .hero-copy::before,
.hero--corkboard .converter-card::after {
  content: ''; position: absolute; top: -10px; left: 50%; z-index: 2; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFA184, #E63E1C 55%, #8F2210); box-shadow: 0 5px 5px rgba(0, 0, 0, .3);
}
.hero--corkboard .converter-card::after { background: radial-gradient(circle at 35% 35%, #9CC3FF, #2F6FD6 55%, #18407F); }
.hero--corkboard .converter-note { width: fit-content; margin: 14px auto 0; padding: 6px 12px; background: rgba(255, 255, 255, .85); color: #5C4023; }
.hero--corkboard .hero-trust { margin-top: 26px; gap: 14px; }
.hero--corkboard .hero-trust li { padding: 10px 14px; box-shadow: 0 10px 16px -10px rgba(70, 35, 5, .55); font-weight: 600; }
.hero--corkboard .hero-trust li:nth-child(1) { background: #FFF6B8; transform: rotate(-2deg); }
.hero--corkboard .hero-trust li:nth-child(2) { background: #D6EEFF; transform: rotate(1.5deg); }
.hero--corkboard .hero-trust li:nth-child(3) { background: #FFE0EA; transform: rotate(-1deg); }
.hero--corkboard .hero-trust li:nth-child(4) { background: #DDF6D8; transform: rotate(2deg); }
.hero--corkboard .hero-trust i { background: rgba(255, 255, 255, .7); }
@media (min-width: 992px) {
  .hero--corkboard > .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px 52px; align-items: center; }
  .hero--corkboard .hero-copy { grid-column: 1; padding: 40px 34px 34px; }
  .hero--corkboard .converter { grid-column: 2; margin: 0; max-width: none; }
  .hero--corkboard .hero-trust { grid-column: 1 / -1; justify-content: center; }
  .hero.hero--corkboard .sentence { font-size: clamp(34px, 3.4vw, 50px); }
  .hero--corkboard .dropzone:not(.is-compact) { flex-direction: column; text-align: center; gap: 12px; min-height: 260px; }
  .hero--corkboard .dropzone:not(.is-compact) .dz-text { flex: none; }
  /* file rows + bar: compact layout shared with the phone hero (see "narrow uploader column" above) */
}


/* ---------- 32. Folder ---------- */
.hero.hero--folder { background: #EEECE6; padding-top: 70px; }
.hero--folder > .container {
  position: relative; max-width: min(1040px, calc(100vw - var(--hx-edge) * 2 - 32px)); padding: 40px 22px 30px;
  background: linear-gradient(180deg, #F7E0AA, #F0D395); border-radius: 0 22px 22px 22px;
  box-shadow: 0 30px 50px -28px rgba(100, 70, 10, .5), inset 0 1px 0 rgba(255, 255, 255, .6);
}
@media (min-width: 768px) { .hero--folder > .container { padding: 44px 44px 34px; } }
.hx-ftab {
  position: absolute; left: 0; top: -38px; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 22px;
  border-radius: 16px 16px 0 0; background: #F7E0AA; font-size: 14px; font-weight: 700; color: #6B4E12;
}
.hx-ftab::after { content: ''; position: absolute; right: -22px; bottom: 0; width: 22px; height: 22px; background: radial-gradient(circle at 100% 0, transparent 21.5px, #F7E0AA 22px); }
.hx-fsheet {
  position: absolute; z-index: -1; top: -30px; right: 8%; width: 44%; height: 80px;
  background: #fff; border-radius: 6px 6px 0 0; transform: rotate(1.6deg); box-shadow: 0 -2px 8px rgba(0, 0, 0, .06);
}
.hx-fsheet--2 { right: 14%; top: -18px; width: 38%; background: #F7F4EC; transform: rotate(-2deg); }
.hero--folder .crumbs a, .hero--folder .crumbs i { color: #7A5C1F; }
.hero--folder .hero-eyebrow { background: rgba(255, 255, 255, .65); border-color: rgba(120, 90, 20, .18); }
.hero--folder .hero-sub { color: #5F4A1E; }
.hero--folder .converter { max-width: none; margin: 30px 0 0; }
.hero--folder .converter-card { border-color: rgba(120, 90, 20, .2); box-shadow: 0 16px 30px -22px rgba(100, 70, 10, .6); }
.hero--folder .dropzone { background: #FFFDF7; }
.hero--folder .converter-note { justify-content: flex-start; color: #5F4A1E; }
.hero--folder .hero-trust i { background: rgba(255, 255, 255, .7); }


/* ---------- 33. Tape ---------- */
.hero.hero--ribbon { background: radial-gradient(60% 60% at 50% 0%, #FFEDE5 0%, #fff 70%); padding-bottom: 180px; }
.hx-tape {
  position: absolute; left: -6%; right: -6%; height: 54px; display: flex; align-items: center; overflow: hidden;
  box-shadow: 0 12px 22px -14px rgba(0, 0, 0, .35);
}
.hx-tape--a { bottom: 64px; transform: rotate(-3.5deg); background: var(--primary); color: #fff; }
.hx-tape--b { bottom: 60px; transform: rotate(3deg); background: #FFF1E6; color: var(--primary-700); border-block: 2px solid var(--primary-200); }
.hx-tape-track { display: flex; width: max-content; white-space: nowrap; animation: hxMarquee 50s linear infinite; }
.hx-tape--b .hx-tape-track { animation-direction: reverse; }
.hx-tape-track span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-size: 15px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hx-tape-track span::after { content: '✦'; font-size: 12px; opacity: .8; }
.hero--ribbon > .container { position: relative; }
.hx-sticker-free {
  position: absolute; top: -6px; right: var(--gutter); display: none; place-content: center; text-align: center;
  width: 104px; height: 104px; border-radius: 50%; background: var(--primary); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.1;
  box-shadow: 0 16px 26px -14px rgba(230, 62, 28, .7); animation: hxSpin 24s linear infinite;
}
.hx-sticker-free b { display: block; font-size: 26px; letter-spacing: -.02em; }
@media (min-width: 1100px) { .hx-sticker-free { display: grid; } }
.hero--ribbon .converter { max-width: 820px; }


/* ---------- 34. Receipt ---------- */
.hero.hero--receipt { background: linear-gradient(180deg, #F6F1EC, #fff); }
@media (max-width: 599px) { .hero.hero--receipt { padding-bottom: 40px; } }
@media (min-width: 992px) { .hero.hero--receipt { padding-bottom: 56px; } }
.hx-receipt { display: none; }
@media (min-width: 992px) {
  .hero--receipt > .container {
    display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "copy rc" "conv rc" "trust rc";
    column-gap: 64px; align-items: start;
  }
  .hero--receipt .hero-copy { grid-area: copy; }
  .hero--receipt .converter { grid-area: conv; max-width: none; margin: 28px 0 0; }
  .hero--receipt .hero-trust { grid-area: trust; margin-top: 20px; }
  .hero.hero--receipt .sentence { font-size: clamp(38px, 4.4vw, 62px); }
  .hx-receipt {
    display: block; grid-area: rc; position: relative; align-self: center; padding: 26px 24px 30px; margin-bottom: 14px;
    background: #fff; color: #27272A; transform: rotate(2.2deg);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px;
    filter: drop-shadow(0 22px 22px rgba(60, 40, 20, .18));
    animation: hxPrint .9s var(--ease) both;
  }
  .hx-receipt::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px;
    background: linear-gradient(135deg, #fff 6px, transparent 0) 0 0 / 12px 12px repeat-x, linear-gradient(-135deg, #fff 6px, transparent 0) 0 0 / 12px 12px repeat-x;
  }
  .hx-rc-head { display: grid; gap: 4px; text-align: center; padding-bottom: 14px; border-bottom: 1px dashed #BDBDC4; }
  .hx-rc-head b { font-size: 16px; letter-spacing: .12em; }
  .hx-rc-head small { font-size: 11.5px; color: var(--muted); }
  .hx-receipt ul { display: grid; margin: 10px 0; }
  .hx-receipt li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dotted #D4D4D8; }
  .hx-receipt li b { font-weight: 700; color: var(--primary-700); }
  .hx-rc-total { display: flex; justify-content: space-between; padding: 10px 0; border-block: 2px solid #27272A; font-size: 17px; font-weight: 800; }
  .hx-rc-thanks { margin-top: 14px; text-align: center; font-size: 12px; letter-spacing: .14em; color: var(--muted); }
  .hx-rc-code {
    display: block; height: 46px; margin: 12px 18px 0;
    background: repeating-linear-gradient(90deg, #27272A 0 2px, transparent 2px 4px, #27272A 4px 5px, transparent 5px 8px, #27272A 8px 11px, transparent 11px 13px);
  }
}
@keyframes hxPrint { from { opacity: 0; transform: translateY(-24px) rotate(2.2deg); } }


/* ---------- 35. Arcade ---------- */
.hero.hero--arcade {
  --px: 'Press Start 2P', ui-monospace, monospace; --ink: #1E1B4B;
  background: linear-gradient(180deg, #D9EEFF 0%, #F1E6FF 72%, #fff 100%);
}
.hero--arcade .hero-bg::after {
  background-image: linear-gradient(rgba(124, 58, 237, .18) 2px, transparent 2px), linear-gradient(90deg, rgba(124, 58, 237, .18) 2px, transparent 2px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(180deg, transparent 55%, #000); mask-image: linear-gradient(180deg, transparent 55%, #000);
}
.hx-cloud { position: absolute; width: 96px; height: 24px; background: #fff; }
.hx-cloud::before { content: ''; position: absolute; left: 24px; top: -16px; width: 40px; height: 16px; background: #fff; }
.hx-cloud--1 { top: 60px; left: calc(var(--hx-edge) + 6%); }
.hx-cloud--2 { top: 140px; right: calc(var(--hx-edge) + 8%); transform: scale(1.4); }
.hx-cloud--3 { top: 34px; right: calc(var(--hx-edge) + 30%); transform: scale(.8); }
.hx-hud { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; margin-bottom: 18px; font-family: var(--px); font-size: 10px; color: #4C1D95; }
.hx-hearts { color: var(--primary); letter-spacing: .2em; }
.hero--arcade .hero-eyebrow {
  margin-top: 16px; padding: 10px 14px; border: 0; border-radius: 0; background: #fff; color: var(--ink);
  font-family: var(--px); font-size: 10px; line-height: 1.6;
  box-shadow: 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink);
}
.hero--arcade .hero-eyebrow .pulse { border-radius: 0; }
.hero--arcade .hero-eyebrow .pulse::after { border-radius: 0; }
.hero.hero--arcade .sentence {
  margin-top: 28px; font-family: var(--px); font-weight: 400; font-size: clamp(20px, 3.1vw, 42px); letter-spacing: 0; line-height: 1.5; color: var(--ink);
}
.hero--arcade .fmt-btn {
  border-radius: 0; padding: .25em .45em; letter-spacing: 0;
  box-shadow: 0 -.12em 0 var(--ink), 0 .12em 0 var(--ink), -.12em 0 0 var(--ink), .12em 0 0 var(--ink), .3em .3em 0 rgba(30, 27, 75, .22);
}
.hero--arcade .fmt-btn--from { background: #fff; color: var(--primary); }
.hero--arcade .fmt-btn--to { background: var(--primary); color: #fff; }
.hero--arcade .fmt-btn:hover { transform: translate(-2px, -2px); }
.hero--arcade .fmt-pop { font-family: var(--font); }
.hero--arcade .hero-sub { color: #3B3770; }
.hx-insert { margin-bottom: 16px; text-align: center; font-family: var(--px); font-size: 12px; color: var(--primary); animation: hxBlink 1.1s steps(1) infinite; }
.hero--arcade .converter-card {
  margin: 4px; padding: 10px; border: 0; border-radius: 0; background: #fff;
  box-shadow: 0 -4px 0 var(--ink), 0 4px 0 var(--ink), -4px 0 0 var(--ink), 4px 0 0 var(--ink), 12px 12px 0 rgba(30, 27, 75, .18);
}
.hero.hero--arcade.is-dragging .converter-card { box-shadow: 0 -4px 0 var(--primary), 0 4px 0 var(--primary), -4px 0 0 var(--primary), 4px 0 0 var(--primary), 12px 12px 0 rgba(30, 27, 75, .18); }
.hero--arcade .dropzone { border-radius: 0; border: 3px dashed #A78BFA; background: #FAF5FF; }
.hero--arcade .dz-btn {
  border-radius: 0; font-family: var(--px); font-size: 11px; font-weight: 400;
  box-shadow: 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink);
}
.hero--arcade .converter-note { color: #4C4A75; }
.hero--arcade .hero-trust { font-family: var(--px); font-size: 9.5px; line-height: 1.6; gap: 14px 26px; color: var(--ink); }
.hero--arcade .hero-trust i { border-radius: 0; background: #fff; box-shadow: 0 0 0 2px var(--ink); }


/* ---------- 36. Bands ---------- */
.hero.hero--bands { padding: 0; background: #fff; }
.hero--bands .hero-copy,
.hero--bands .converter,
.hero--bands .hero-trust { background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); }
.hero--bands .hero-copy { --band: #FFE7DC; max-width: none; padding: 34px 0 34px; }
.hero--bands .converter { --band: #fff; max-width: none; margin: 0; padding: 30px 0 26px; }
.hero--bands .hero-trust {
  --band: #F4F4F6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 28px 0;
  font-size: 15px; font-weight: 600;
}
.hero--bands .hero-trust li { gap: 12px; }
.hero--bands .hero-trust i { width: 40px; height: 40px; border-radius: 12px; font-size: 15px; background: #fff; box-shadow: var(--shadow-sm); }
.hero.hero--bands .sentence { font-size: clamp(40px, 5vw, 72px); }
.hero--bands .converter-note { justify-content: flex-start; }
@media (min-width: 768px) {
  .hero--bands .hero-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero--bands .hero-trust li + li { padding-left: 18px; border-left: 1px solid var(--border-strong); }
}
@media (min-width: 992px) {
  .hero--bands .hero-copy {
    display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    grid-template-areas: "crumbs crumbs" "badge badge" "title sub"; column-gap: 56px; align-items: end; padding: 44px 0 48px;
  }
  .hero--bands .crumbs { grid-area: crumbs; }
  .hero--bands .hero-eyebrow { grid-area: badge; justify-self: start; margin-top: 4px; }
  .hero--bands .sentence { grid-area: title; }
  .hero--bands .hero-sub { grid-area: sub; margin: 0 0 8px; padding-left: 24px; border-left: 3px solid var(--primary); }
}


/* ==========================================================================
   Home: design switcher (bottom-right corner of the hero)
   ========================================================================== */
.hx-switch {
  position: absolute; z-index: 35; right: calc(var(--hx-edge) + 16px); bottom: 16px;
  display: flex; align-items: center; gap: 2px; padding: 4px;
  border-radius: var(--radius-pill); background: rgba(255, 255, 255, .88);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hx-switch-btn, .hx-switch-step {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 32px; border-radius: var(--radius-pill); color: var(--text-2);
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.hx-switch-step { width: 30px; font-size: 11px; color: var(--muted); }
.hx-switch-btn { padding: 0 12px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hx-switch-btn i { color: var(--primary); }
.hx-switch-text { font-weight: 600; color: var(--muted); }
.hx-switch-text b { font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.hx-switch-name { padding-left: 8px; border-left: 1px solid var(--border-strong); font-weight: 700; color: var(--primary-700); white-space: nowrap; }
@media (max-width: 559px) { .hx-switch-name { display: none; } }
.hx-switch-btn:hover, .hx-switch-step:hover, .hx-switch-btn[aria-expanded="true"] { background: var(--primary-50); color: var(--primary-700); }
.hx-switch button:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--primary-ring); }

.hx-switch-menu {
  position: absolute; right: 0; bottom: calc(100% + 8px);
  width: min(560px, calc(100vw - 24px)); padding: 8px; border-radius: 16px;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  animation: pop .16s var(--ease);
}
.hx-switch-menu[hidden] { display: none; }
.hx-switch-title { padding: 4px 8px 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); }
.hx-switch-menu ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 4px; }
@media (max-width: 599px) { .hx-switch-menu ul { grid-template-columns: 1fr 1fr; } }
.hx-switch-menu li button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 7px 8px; border-radius: 10px; text-align: left;
  font-size: 14px; font-weight: 500; color: var(--text-2);
}
.hx-switch-menu li button span {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px;
  background: var(--panel); font-size: 12px; font-weight: 700; color: var(--muted);
}
.hx-switch-menu li button:hover { background: var(--panel); }
.hx-switch-menu li button.is-active { color: var(--primary-700); font-weight: 600; }
.hx-switch-menu li button.is-active span { background: var(--primary); color: #fff; }

.hero.is-dragging .hx-switch { opacity: 0; pointer-events: none; }
@media (max-width: 559px) { .hx-switch { right: 12px; bottom: 12px; } }

/* Phones: the format picker is nearly full-width (100vw - 32px), so anchoring it to the left
   edge of a padded tile (bento, studio, app, …) pushes it off-screen. Centre it on the
   sentence instead; `translate` (not `transform`) so the `pop` entry animation can't undo it. */
@media (max-width: 599px) {
  .hero .fmt-pop { left: 50%; right: auto; transform: none; translate: -50% 0; }
  .hero--bento .hero-copy { padding: 22px 18px; }
}
