/* Experiment: AI Systems with Claude, dark one-page funnel in the look of the "Youth" template
   (black #111 and white, Montserrat headings, Raleway body, Dosis figures, a short rule under every title). Self-contained. */
:root {
    --ink: #111; --black: #000; --white: #fff; --grey: #5f5f5f; --muted: #8d8d8d; --line: #e6e6e6; --tint: #f4f4f2;
    --head: 'Montserrat', sans-serif; --body: 'Raleway', sans-serif; --figure: 'Dosis', sans-serif;
    --ease: cubic-bezier(.77, 0, .175, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.x-body { margin: 0; background: var(--ink); color: var(--grey); font: 400 15px/1.7 var(--body); letter-spacing: .03em; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0; }
p { margin: 0 0 18px; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.x-wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.x-wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 28px; }
.x-notice { background: #fff7d6; color: #5a4300; font-size: 13px; padding: 10px 20px; text-align: center; position: relative; z-index: 3; }

/* brand (top left, no navbar) */
.x-brand { position: absolute; top: 26px; left: 30px; z-index: 5; display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font: 600 11px/1.25 var(--head); text-transform: uppercase; letter-spacing: .14em; }
.x-brand img { width: 34px; height: 42px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }

/* hero */
.x-hero { position: relative; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.x-hero-bg { position: absolute; inset: 0; background: #111 center/cover no-repeat; transform: scale(1.04); }
.x-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.x-hero-center { position: relative; z-index: 2; padding: 120px 20px 100px; width: 100%; }
.x-eyebrow { font: 400 12px/1 var(--figure); letter-spacing: .5em; text-transform: uppercase; color: rgba(255,255,255,.75); margin: 0 0 26px; padding-left: .5em; }
.x-hero-title { font-size: clamp(56px, 10vw, 140px); font-weight: 800; line-height: .95; letter-spacing: -.04em; text-transform: uppercase; color: #fff; margin: 0 0 22px; }
.x-rotator { position: relative; height: 22px; }
.x-hero-sub { position: absolute; left: 0; right: 0; top: 0; font: 400 12px/22px var(--figure); letter-spacing: .65em; text-transform: uppercase; color: #fff; margin: 0; padding-left: .65em; opacity: 0; transform: translateY(8px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.x-hero-sub.is-on { opacity: 1; transform: none; }
.x-play { display: grid; place-items: center; width: 64px; height: 64px; margin: 40px auto 0; border-radius: 50%; border: 2px solid #fff; background: transparent; color: #fff; font-size: 30px; cursor: pointer; transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease); }
.x-play:hover { background: #fff; color: #111; transform: scale(1.06); }
.x-play i { margin-left: 3px; }
.x-hero-cta { margin: 34px 0 0; }
.x-link-btn { display: inline-block; padding: 14px 34px; border: 1px solid rgba(255,255,255,.6); color: #fff; text-decoration: none; font: 600 11px/1 var(--head); letter-spacing: .3em; text-transform: uppercase; transition: all .4s var(--ease); }
.x-link-btn:hover { background: #fff; color: #111; border-color: #fff; }
.x-hero-note { margin: 22px 0 0; font: 400 11px/1 var(--figure); letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.x-scroll { position: absolute; left: 50%; bottom: 28px; width: 24px; height: 38px; margin-left: -12px; border: 1px solid rgba(255,255,255,.5); border-radius: 12px; z-index: 2; }
.x-scroll span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; background: #fff; border-radius: 1px; animation: x-drop 1.8s var(--ease) infinite; }
@keyframes x-drop { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* video */
.x-video { background: #000; padding: 90px 0; }
.x-ratio { position: relative; aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); background: #000; }
.x-ratio > .hk-video, .x-ratio > iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* white page */
.x-page { background: #fff; }
.x-section { padding: 130px 0 120px; position: relative; }
.x-tint { background: var(--tint); }
.x-title { font-size: clamp(44px, 7.5vw, 105px); font-weight: 700; line-height: 1; letter-spacing: -.04em; text-transform: uppercase; }
.x-title::after { content: ""; display: block; width: 24px; height: 2px; background: var(--ink); margin-top: 14px; transition: width .5s var(--ease); }
.x-section:hover .x-title::after, .x-band:hover .x-title::after { width: 160px; }
.x-title-light { color: #fff; }
.x-title-light::after { background: #fff; }
.x-title-center { text-align: center; font-size: clamp(30px, 4vw, 48px); }
.x-title-center::after { margin-left: auto; margin-right: auto; }
.x-sub { font: 700 18px/1.4 var(--head); color: #696c7b; padding: 44px 0 60px; max-width: 760px; margin: 0; }
.x-sub strong { color: #20202c; }
.x-sub-light { color: rgba(255,255,255,.65); }
.x-sub-light strong { color: #fff; }

/* the problem */
.x-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: start; }
.x-quote { margin: 0; font: italic 400 14px/1.7 var(--body); color: var(--grey); letter-spacing: .05em; padding-left: 36px; position: relative; }
.x-quote .bi { position: absolute; left: 0; top: -4px; font-size: 26px; color: var(--ink); }
.x-text h3 { font: 700 14px/1.4 var(--head); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 16px; }
.x-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: 1400px; margin: 90px auto 0; padding: 0 28px; }
.x-wall img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border: 16px solid #fff; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); background: #ddd; }
.x-wall img:nth-child(1) { margin-top: 60px; }
.x-wall img:nth-child(2) { margin-top: -20px; position: relative; z-index: 2; transform: scale(1.08); }
.x-wall img:nth-child(3) { margin-top: 110px; }

/* black bands */
.x-band { background: var(--black); color: #fff; padding: 110px 0; }
.x-band p { color: rgba(255,255,255,.72); }
.x-facts { padding: 70px 0 60px; }
.x-facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: center; }
.x-facts strong { display: block; font: 300 56px/1 var(--figure); color: #fff; }
.x-facts span { display: block; margin-top: 10px; font: 400 11px/1.4 var(--head); letter-spacing: .25em; text-transform: uppercase; color: #fff; }

/* toolkit: staggered like the template's services */
.x-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 60px; }
.x-tool { text-align: center; padding: 0 20px; }
.x-tool.is-down { margin-top: 90px; }
.x-tool .bi { font-size: 36px; color: var(--ink); display: inline-block; transition: transform 1s; }
.x-tool:hover .bi { transform: rotateY(360deg); }
.x-tool h3 { font: 700 17px/1.3 var(--head); text-transform: uppercase; margin: 18px 0 2px; }
.x-tool-role { display: block; font: 400 11px/1 var(--figure); letter-spacing: .4em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.x-tool p { max-width: 380px; margin: 0 auto; }
.x-tool p::after { content: ""; display: block; width: 18px; height: 1px; background: var(--ink); margin: 20px auto 0; }

/* the method */
.x-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 60px; }
.x-steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; align-items: start; }
.x-step-no { font: 300 56px/1 var(--figure); color: var(--ink); }
.x-steps h3 { font: 700 15px/1.4 var(--head); text-transform: uppercase; margin-bottom: 10px; }
.x-steps p { margin: 0; }
.x-steps li:last-child { grid-column: 1 / -1; max-width: 560px; }
.x-aside { margin: 60px 0 0; font: 700 18px/1.4 var(--head); color: #20202c; max-width: 640px; }

/* tiles */
.x-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.x-tile { margin: 0; position: relative; overflow: hidden; background: #111; }
.x-tile img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s var(--ease); }
.x-tile:hover img { transform: scale(1.05); opacity: .45; }
.x-tile figcaption { position: absolute; inset: 0; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.85) 100%); color: #fff; }
.x-tile h3 { font: 700 16px/1.3 var(--head); text-transform: uppercase; color: #fff; }
.x-tile p { margin: 8px 0 0; color: rgba(255,255,255,.85); font-size: 13px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .6s var(--ease); }
.x-tile:hover p, .x-tile:focus-within p { max-height: 120px; opacity: 1; }

/* previews */
.x-prev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.x-prev-poster { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.x-prev-poster img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 1.2s var(--ease); }
.x-prev-poster:hover img { transform: scale(1.04); }
.x-prev-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; color: #fff; font-size: 30px; background: rgba(0,0,0,.25); transition: all .4s var(--ease); }
.x-prev-poster:hover .x-prev-play { background: #fff; color: #111; }
.x-prev-play i { margin-left: 3px; }
.x-prev-len { position: absolute; right: 12px; bottom: 12px; font: 400 11px/1 var(--figure); letter-spacing: .2em; background: rgba(0,0,0,.6); color: #fff; padding: 6px 8px; }
.x-prev video { width: 100%; aspect-ratio: 16/9; background: #000; display: block; }
.x-prev h3 { font: 700 14px/1.4 var(--head); text-transform: uppercase; color: #fff; margin-top: 18px; letter-spacing: .02em; }
.x-prev h3 span { font: 400 12px/1 var(--figure); letter-spacing: .3em; color: rgba(255,255,255,.6); margin-right: 12px; }

/* quotes */
.x-quotes { padding: 70px 0 60px; text-align: center; }
.x-quotes-note { font: 400 11px/1.6 var(--figure); letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.5) !important; margin-bottom: 40px; }
.x-quotes-stage { position: relative; min-height: 220px; }
.x-quote-card { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translateY(10px); transition: opacity .9s var(--ease), transform .9s var(--ease); pointer-events: none; }
.x-quote-card.is-on { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.x-quote-card img { width: 128px; height: 74px; border-radius: 10px; object-fit: cover; margin: 0 auto 24px; border: 2px solid #fff; }
.x-quote-card blockquote { margin: 0 auto; max-width: 640px; color: #fff; font-size: 15px; line-height: 1.7; }
.x-quote-card figcaption { margin-top: 16px; font-size: 12px; color: rgba(255,255,255,.65); }
.x-quotes-dots { margin-top: 28px; display: flex; justify-content: center; gap: 10px; }
.x-quotes-dots button { width: 8px; height: 8px; border-radius: 50%; border: 1px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.x-quotes-dots button.is-on { background: #fff; }

/* inside */
.x-outline { list-style: none; margin: 0; padding: 0; }
.x-outline li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 30px; padding: 28px 0; border-top: 1px solid var(--line); align-items: start; }
.x-outline li:last-child { border-bottom: 1px solid var(--line); }
.x-outline-no { font: 300 44px/1 var(--figure); color: var(--ink); }
.x-outline h3 { font: 700 15px/1.4 var(--head); text-transform: uppercase; margin-bottom: 6px; }
.x-outline h3 small { font: 400 11px/1 var(--figure); letter-spacing: .3em; color: var(--muted); margin-left: 14px; text-transform: uppercase; }
.x-outline p { margin: 0; }

/* offer */
.x-offer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.x-offer-media img { width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.8)); }
.x-offer-card { background: #fff; color: var(--grey); padding: 36px; }
.x-stack { list-style: none; margin: 0; padding: 0; }
.x-stack li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.x-stack li b { font-family: var(--figure); font-weight: 500; color: var(--ink); white-space: nowrap; }
/* The card is white inside the black band: its paragraphs must not take the band's white text colour. */
.x-band .x-offer-card p { color: var(--grey); }
.x-total { margin: 22px 0 0; font: 700 12px/1 var(--head); text-transform: uppercase; letter-spacing: .2em; color: var(--muted); display: flex; align-items: baseline; gap: 12px; }
.x-total b { font: 500 30px/1 var(--figure); color: var(--ink); letter-spacing: 0; }
.x-band .x-offer-card .x-price { margin: 14px 0 20px; font: 700 14px/1 var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.x-price strong { display: block; font: 300 64px/1 var(--figure); color: var(--ink); letter-spacing: -.02em; margin: 8px 0 4px; }
.x-price span { font: 400 11px/1 var(--figure); letter-spacing: .3em; }
.x-consent { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.x-consent label { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 6px; }
.x-bump { display: grid; grid-template-columns: auto 120px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; border: 1px dashed var(--ink); margin: 0 0 18px; font-size: 12px; line-height: 1.5; cursor: pointer; background: var(--tint); }
.x-bump input { width: 18px; height: 18px; margin-top: 2px; accent-color: #111; }
.x-bump-media { display: block; width: 120px; }
.x-bump img { width: 120px; height: auto; }
.x-bump-price { display: block; margin-top: 8px; text-align: center; line-height: 1; }
.x-bump-price small { display: block; font: 600 10px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-bottom: 5px; }
.x-bump-price b { display: block; font: 800 26px/1 var(--head); letter-spacing: -.02em; color: var(--ink); }
.x-bump-price i { display: inline-block; margin-top: 6px; padding: 4px 9px; font: 700 10px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; font-style: normal; background: var(--ink); color: #fff; }
.x-bump strong { display: block; font: 700 13px/1.4 var(--head); color: var(--ink); margin-bottom: 4px; }
.x-bump em { font-style: normal; color: var(--grey); }
.x-buy { display: block; width: 100%; padding: 18px 24px; border: 0; background: var(--ink); color: #fff; font: 700 13px/1.3 var(--head); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background .4s var(--ease), transform .15s ease; }
.x-buy:hover { background: #000; }
.x-buy:active { transform: translateY(1px); }
.x-buy small { display: block; font: 400 11px/1.4 var(--body); letter-spacing: .1em; text-transform: none; opacity: .75; margin-top: 6px; }
.x-buy[disabled] { background: #ccc; cursor: not-allowed; }
.x-fine { font-size: 12px; color: var(--muted); margin: 14px 0 0; text-align: center; }

/* guarantee */
.x-guarantee { text-align: center; }
.x-guarantee img { margin: 0 auto 22px; width: 140px; }
.x-guarantee p { max-width: 640px; margin: 0 auto 16px; text-align: left; }
.x-guarantee .x-title { margin-bottom: 30px; }

/* faq */
.x-faq details { border-bottom: 1px solid #ddd; padding: 16px 0; }
.x-faq summary { cursor: pointer; font: 700 14px/1.4 var(--head); color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.x-faq summary::after { content: "+"; font: 300 22px/1 var(--figure); color: var(--ink); }
.x-faq details[open] summary::after { content: "\2013"; }
.x-faq details p { margin: 12px 0 0; }

/* final */
.x-final { text-align: center; padding: 130px 0; }
.x-final-title { font-size: clamp(44px, 8vw, 110px); font-weight: 700; letter-spacing: -.04em; text-transform: uppercase; color: #fff; line-height: 1; margin-bottom: 28px; }
.x-final p { max-width: 640px; margin: 0 auto 34px; }
.x-buy-final { max-width: 520px; margin: 0 auto; background: #fff; color: #111; }
.x-buy-final:hover { background: #eee; }

/* footer */
.x-footer { background: var(--ink); color: rgba(255,255,255,.7); text-align: center; padding: 70px 20px 60px; }
.x-footer img { margin: 0 auto 18px; width: 40px; }
.x-footer strong { display: block; font: 700 12px/1 var(--head); letter-spacing: .25em; text-transform: uppercase; color: #fff; margin-bottom: 22px; }
.x-footer-links { font-size: 12px; letter-spacing: .05em; color: rgba(255,255,255,.55); }
.x-footer-links a { color: #fff; text-decoration: none; }
.x-footer-links a:hover { text-decoration: underline; }
.x-footer small { display: block; margin-top: 22px; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.4); }

@media (max-width: 900px) {
    .x-section { padding: 80px 0 70px; }
    .x-band { padding: 70px 0; }
    .x-sub { padding: 30px 0 40px; }
    .x-cols, .x-tools, .x-steps, .x-tiles, .x-prev-grid, .x-offer-grid { grid-template-columns: 1fr; }
    .x-tool.is-down { margin-top: 0; }
    .x-wall { grid-template-columns: 1fr; gap: 16px; margin-top: 50px; }
    .x-wall img, .x-wall img:nth-child(2) { margin: 0; transform: none; border-width: 8px; }
    .x-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .x-outline li { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; }
    .x-outline-no { font-size: 32px; }
    .x-offer-card { padding: 22px; }
    .x-bump { grid-template-columns: auto minmax(0, 1fr); }
    .x-bump-media { grid-column: 2; display: flex; align-items: center; gap: 14px; width: auto; }
    .x-bump img { width: 96px; }
    .x-bump-price { margin: 0; text-align: left; }
    .x-bump > span:last-child { grid-column: 2; }
    .x-brand span { display: none; }
    .x-hero-center { padding: 100px 20px 90px; }
}
