/* ACE Profit Lab: gold on black. One stylesheet, no framework.
   Order: tokens, base, parts (buttons, header, footer, cards, panels), sections. */

:root {
  --bg: #0b0a08;
  --bg-2: #100e0a;
  --panel: #15120c;
  --panel-2: #1c1810;
  --line: rgba(212, 175, 55, 0.24);
  --line-strong: rgba(212, 175, 55, 0.55);
  --gold: #d4af37;
  --gold-hi: #f8e58c;
  --gold-lo: #a17c1c;
  --text: #f4ecd8;
  --muted: #c2b79f;
  --gold-text: linear-gradient(180deg, #fff3b0 0%, #f2cd55 34%, #d4a521 68%, #a8801a 100%);
  --wrap: 1120px;
  --radius: 16px;
  --display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---- base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--gold-hi); text-underline-offset: 3px; }
a:hover { color: #fff; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.15; letter-spacing: 0.03em; }
h1, h2 { text-transform: uppercase; color: var(--gold); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  h1, h2 { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
h1 { font-size: clamp(1.9rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.45rem, 3.1vw, 2.25rem); }
h3 { font-size: 1.12rem; letter-spacing: 0.05em; color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { --wrap: 820px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--gold); color: #141006; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.eyebrow { margin: 0 0 0.9em; font: 600 0.78rem/1 var(--body); letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }

/* ---- parts: buttons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.05em 1.9em; border: 1px solid transparent; border-radius: 999px;
  font: 600 0.8rem/1 var(--body); letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn--gold {
  color: #141006;
  background: linear-gradient(180deg, #fdeea4 0%, #e6bd41 52%, #b98d1f 100%);
  box-shadow: 0 12px 32px -12px rgba(212, 175, 55, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn--gold:hover { color: #141006; transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(212, 175, 55, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.7); }
.btn--line { color: var(--gold-hi); border-color: var(--line-strong); background: rgba(212, 175, 55, 0.07); }
.btn--line:hover { color: #fff; background: rgba(212, 175, 55, 0.16); border-color: var(--gold-hi); transform: translateY(-2px); }
.btn--small { padding: 0.85em 1.4em; font-size: 0.72rem; }

/* ---- parts: header and footer --------------------------------------------- */
.header { position: sticky; top: 0; z-index: 20; background: rgba(11, 10, 8, 0.86); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 44px; height: 44px; }
.brand__name { font: 700 1.02rem/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-hi); white-space: nowrap; }
.brand__name b { font-weight: 500; color: var(--text); }
.nav { display: none; gap: 26px; }
.nav a { font: 500 0.8rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--muted); padding: 8px 0; }
.nav a:hover { color: var(--gold-hi); }
@media (min-width: 1000px) { .nav { display: flex; } }

.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 44px 0 30px; }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; list-style: none; }
.footer__links a { font-size: 0.92rem; text-decoration: none; color: var(--muted); }
.footer__links a:hover { color: var(--gold-hi); }
.footer__legal { margin-top: 26px; font-size: 0.84rem; color: #9c927d; }

/* ---- parts: ornament, cards, panels ---------------------------------------- */
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 20px; color: var(--gold); }
.ornament span { width: 64px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong)); }
.ornament span:last-child { transform: scaleX(-1); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.card {
  position: relative; padding: 32px 28px 30px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); opacity: 0.7; }
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 24px 50px -30px rgba(212, 175, 55, 0.55); }
.card__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 20px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--gold-hi); background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.03)); }
.card__title { margin-bottom: 10px; }
.card__text { margin: 0; color: var(--muted); font-size: 0.98rem; }

.tiles { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; row-gap: 6px; align-content: start; padding: 24px 24px 24px 22px; border-left: 2px solid var(--gold); border-radius: 0 14px 14px 0; background: linear-gradient(90deg, rgba(212, 175, 55, 0.1), rgba(21, 18, 12, 0.55) 46%); }
.tile__icon { grid-row: 1 / span 2; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--gold-hi); background: rgba(11, 10, 8, 0.55); }
.tile__title { align-self: center; }
.tile__text { grid-column: 2; margin: 0; color: var(--muted); font-size: 0.97rem; line-height: 1.6; }

.panel { padding: clamp(30px, 5vw, 56px); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); }
.panel--center { text-align: center; }
.panel--center > * { margin-inline: auto; }
.panel--glow { background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.2), transparent 62%), linear-gradient(180deg, var(--panel-2), var(--panel)); border-color: var(--line-strong); }
.panel--split { display: grid; gap: 34px; align-items: center; }
@media (min-width: 860px) { .panel--split { grid-template-columns: 1.15fr 1fr; gap: 56px; } }
.panel h2 { margin-bottom: 0.6em; }
.panel p { color: var(--muted); }
.panel__lead { max-width: 640px; font-size: 1.08rem; }
.panel__icon { display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 22px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--gold-hi); background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.03)); }

.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.ticks li { position: relative; padding: 16px 18px 16px 52px; border: 1px solid var(--line); border-radius: 12px; background: rgba(11, 10, 8, 0.5); color: var(--text); font-size: 0.98rem; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 20px; top: 21px; width: 14px; height: 8px; border-left: 2px solid var(--gold-hi); border-bottom: 2px solid var(--gold-hi); transform: rotate(-45deg); }

/* ---- sections --------------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section--tight { padding-top: clamp(48px, 6vw, 72px); }
.section--panel { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid rgba(212, 175, 55, 0.1); }
.section__head { max-width: 760px; margin: 0 auto clamp(34px, 5vw, 54px); text-align: center; }
.section__head h2 { margin-bottom: 0.55em; }
.section__head p { margin: 0; color: var(--muted); }
.section__cta { margin: 44px 0 0; text-align: center; }
.section__note { max-width: 640px; margin: 36px auto 0; text-align: center; color: var(--muted); font-size: 0.98rem; }
.section__logo { width: clamp(124px, 16vw, 170px); margin: 0 auto 24px; filter: drop-shadow(0 16px 40px rgba(212, 175, 55, 0.45)); }

.hero { position: relative; padding-bottom: clamp(48px, 6vw, 80px); text-align: center; }
/* The art shows at full width. On wide screens its height is capped so the headline and buttons stay on the first screen. */
.hero__art { position: relative; max-width: 2000px; margin-inline: auto; height: min(66.667vw, max(340px, calc(100vh - 310px)), 860px); overflow: hidden; background: #1a1206; }
@supports (height: 100svh) { .hero__art { height: min(66.667vw, max(340px, calc(100svh - 310px)), 860px); } }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__art::after { content: ""; position: absolute; inset: auto 0 0 0; height: 36%; background: linear-gradient(180deg, rgba(11, 10, 8, 0) 0%, rgba(11, 10, 8, 0.3) 42%, rgba(11, 10, 8, 0.82) 78%, var(--bg) 100%); pointer-events: none; }
@media (min-width: 2000px) { .hero__art::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg) 0%, rgba(11, 10, 8, 0) 7%, rgba(11, 10, 8, 0) 93%, var(--bg) 100%); pointer-events: none; } }
.hero__inner { position: relative; display: grid; justify-items: center; margin-top: clamp(-44px, -3vw, -14px); }
.hero h1 { max-width: 22em; font-size: clamp(1.85rem, 4.6vw, 3.1rem); text-wrap: balance; }
.hero__lead { max-width: 660px; margin: 20px 0 30px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #e6dcc4; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.steps { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { padding: 8px 6px 0; text-align: center; }
.steps__n { display: block; margin-bottom: 10px; font: 700 2.6rem/1 var(--display); color: var(--gold); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .steps__n { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0 auto; max-width: 320px; color: var(--muted); font-size: 0.98rem; }

.videos__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #000; color: var(--text); cursor: pointer; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.86; transition: opacity 0.2s ease, transform 0.3s ease; }
.video:hover img { opacity: 1; transform: scale(1.03); }
.video__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: linear-gradient(180deg, #fdeea4, #b98d1f); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); }
.video__play::after { content: ""; position: absolute; left: 27px; top: 21px; border-left: 20px solid #141006; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.video__title { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88)); font: 500 0.92rem/1.35 var(--body); text-align: left; }
.video--frame { cursor: default; }

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { position: relative; display: block; padding: 22px 46px 22px 2px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font: 600 1.04rem/1.4 var(--body); letter-spacing: 0; text-transform: none; color: var(--text); }
.faq__item summary:hover h3 { color: var(--gold-hi); }
.faq__item summary::after { content: ""; position: absolute; right: 8px; top: 28px; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform 0.2s ease; }
.faq__item[open] summary::after { transform: translateY(5px) rotate(-135deg); }
.faq__item p { margin: 0; padding: 0 46px 24px 2px; color: var(--muted); }

.notfound { min-height: 60vh; display: grid; align-items: center; }
.notfound h1 { margin: 18px 0 12px; font-size: clamp(1.6rem, 4vw, 2.4rem); }

@media (max-width: 520px) {
  body { font-size: 1rem; }
  .brand__name { font-size: 0.86rem; letter-spacing: 0.1em; }
  .btn { padding: 1em 1.5em; }
  .hero__actions .btn { width: 100%; max-width: 340px; }
  .ornament span { width: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
