:root {
  --fd-black: #050505;
  --fd-soft: #101010;
  --fd-card: #171717;
  --fd-card-raised: #202020;
  --fd-gold: #d6b45c;
  --fd-gold-bright: #efd68a;
  --fd-line: #5d4b2d;
  --fd-white: #f8f7f2;
  --fd-muted: #c8c4bb;
  --fd-shadow: 0 20px 58px rgba(0, 0, 0, .4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.product-page {
  margin: 0;
  background: var(--fd-black);
  color: var(--fd-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.product-page a { color: inherit; }
.product-wrap { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 500; padding: 10px 14px; background: var(--fd-gold); color: #080706; }
.skip-link:focus { left: 8px; }

.product-top {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--fd-line);
  background: rgba(5, 5, 5, .96);
  backdrop-filter: blur(14px);
}
.product-topin { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.product-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 14px; font-weight: 950; letter-spacing: -.03em; }
.product-brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; clip-path: circle(49% at 50% 50%); box-shadow: 0 0 0 1px rgba(214, 180, 92, .72); }
.product-brand span span { color: var(--fd-gold); }
.product-nav { margin-left: auto; display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 750; }
.product-nav a { text-decoration: none; color: #dedbd3; }
.product-nav a:hover { color: var(--fd-gold-bright); }
.nav-shop { border: 1px solid var(--fd-gold); border-radius: 9px; padding: 9px 13px; color: var(--fd-gold-bright) !important; }
.product-menu { display: none; margin-left: auto; position: relative; }
.product-menu summary { list-style: none; width: 42px; height: 42px; border: 1px solid #6b5736; border-radius: 9px; display: grid; place-items: center; background: #101010; cursor: pointer; }
.product-menu summary::-webkit-details-marker { display: none; }
.product-menu b { width: 18px; display: grid; gap: 4px; }
.product-menu i { display: block; height: 2px; border-radius: 10px; background: var(--fd-gold); }
.product-menu nav { position: absolute; right: 0; top: 50px; width: min(290px, calc(100vw - 38px)); display: grid; padding: 8px; border: 1px solid var(--fd-line); border-radius: 14px; background: #0d0d0d; box-shadow: var(--fd-shadow); }
.product-menu nav a { padding: 11px 12px; border-radius: 8px; text-decoration: none; font-weight: 750; }
.product-menu nav a:hover { background: #292216; color: var(--fd-gold-bright); }

.product-hero { padding: 76px 0 68px; background: radial-gradient(circle at 82% 26%, rgba(214, 180, 92, .12), transparent 31%); }
.product-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 68px; align-items: center; }
.product-kicker, .section-kicker { display: block; margin-bottom: 13px; color: var(--fd-gold); font-size: 12px; font-weight: 950; letter-spacing: .15em; text-transform: uppercase; }
.product-page h1 { max-width: 760px; margin: 0 0 18px; font-size: clamp(44px, 6vw, 68px); line-height: .99; letter-spacing: -.055em; }
.product-page h2 { margin: 0 0 15px; font-size: clamp(31px, 4.5vw, 46px); line-height: 1.05; letter-spacing: -.045em; }
.product-page h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.2; }
.product-tagline { margin: 0 0 12px; color: var(--fd-gold-bright); font-size: 20px; font-weight: 850; line-height: 1.35; }
.product-lead, .section-copy { max-width: 760px; margin: 0; color: var(--fd-muted); font-size: 17px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.product-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 17px; border: 1px solid var(--fd-gold); border-radius: 9px; background: var(--fd-gold); color: #080706 !important; text-decoration: none; font-weight: 900; }
.product-button:hover { background: var(--fd-gold-bright); border-color: var(--fd-gold-bright); }
.product-button.payhip { box-shadow: 0 10px 28px rgba(214, 180, 92, .18); }
.product-button.secondary { background: transparent; border-color: #806a42; color: var(--fd-white) !important; }
.product-trust { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.product-trust span { padding: 7px 10px; border: 1px solid #57492f; border-radius: 999px; background: #101010; color: #dedbd3; font-size: 12px; }

.product-visual { position: relative; min-height: 420px; display: grid; place-items: center; overflow: hidden; border: 1px solid #816a3e; border-radius: 23px; background: radial-gradient(circle at 50% 28%, rgba(214, 180, 92, .24), transparent 34%), linear-gradient(145deg, #211b10, #070707); box-shadow: var(--fd-shadow); }
.product-visual::before { content: ""; position: absolute; inset: 11% 9%; border: 1px solid rgba(214, 180, 92, .14); border-radius: 50%; }
.product-cover { position: relative; width: min(245px, 65%); aspect-ratio: .72; padding: 25px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #a2864b; border-radius: 9px; background: linear-gradient(150deg, #090909, #292114); box-shadow: 22px 28px 45px rgba(0, 0, 0, .58); transform: rotate(-4deg); }
.product-cover img { width: 62px; height: 62px; object-fit: cover; border-radius: 50%; clip-path: circle(49% at 50% 50%); }
.product-cover small { color: var(--fd-gold); font-size: 10px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.product-cover strong { display: block; margin-top: 18px; font-size: 25px; line-height: 1.04; }

.product-section { padding: 70px 0; border-top: 1px solid rgba(93, 75, 45, .85); }
.section-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.section-intro .section-copy { max-width: 680px; }
.skill-grid, .contents-grid, .process-grid, .related-grid, .faq-grid { display: grid; gap: 14px; margin-top: 30px; }
.skill-grid { grid-template-columns: repeat(2, 1fr); }
.contents-grid { grid-template-columns: repeat(3, 1fr); }
.process-grid { grid-template-columns: repeat(3, 1fr); }
.related-grid { grid-template-columns: repeat(3, 1fr); }
.faq-grid { grid-template-columns: repeat(2, 1fr); }
.skill-card, .content-card, .process-card, .related-card, .faq-card { border: 1px solid var(--fd-line); border-radius: 15px; background: linear-gradient(180deg, #191919, #111111); }
.skill-card, .content-card, .process-card, .faq-card { padding: 21px; }
.skill-card p, .content-card p, .process-card p, .related-card p, .faq-card p { margin: 0; color: var(--fd-muted); }
.card-number { display: block; margin-bottom: 12px; color: var(--fd-gold); font-size: 12px; font-weight: 950; letter-spacing: .1em; }
.content-card { min-height: 178px; position: relative; overflow: hidden; }
.content-card::after { content: ""; position: absolute; right: -24px; bottom: -24px; width: 86px; height: 86px; border: 1px solid rgba(214, 180, 92, .14); border-radius: 50%; }
.content-label { display: inline-flex; margin-bottom: 14px; padding: 5px 8px; border: 1px solid #695635; border-radius: 999px; color: var(--fd-gold-bright); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.process-card strong { display: block; margin-bottom: 7px; font-size: 18px; }

.creator-panel { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 28px; border: 1px solid #8b7038; border-radius: 20px; background: linear-gradient(135deg, #211b10, #111111); }
.creator-panel img { width: 82px; height: 82px; object-fit: cover; border-radius: 50%; clip-path: circle(49% at 50% 50%); box-shadow: 0 0 0 1px rgba(214, 180, 92, .72); }
.creator-panel .creator-photo { width: min(340px, 34vw); height: 220px; border-radius: 14px; clip-path: none; object-position: center; box-shadow: 0 12px 32px rgba(0, 0, 0, .32), 0 0 0 1px rgba(214, 180, 92, .5); }
.creator-panel p { margin: 7px 0 0; color: #dedbd3; }

.related-card { padding: 20px; display: flex; flex-direction: column; min-height: 190px; }
.related-card a { margin-top: auto; padding-top: 16px; color: var(--fd-gold-bright); font-weight: 900; text-decoration: none; }
.related-card a:hover { text-decoration: underline; }

.purchase-panel { display: flex; gap: 30px; align-items: center; justify-content: space-between; padding: 34px; border: 1px solid #f0d789; border-radius: 20px; background: linear-gradient(135deg, #dec06d, #b8913e); color: #080706; box-shadow: var(--fd-shadow); }
.purchase-panel .section-kicker, .purchase-panel .section-copy { color: #18130b; }
.purchase-panel h2 { margin-bottom: 8px; }
.purchase-panel .product-button { flex: 0 0 auto; background: #080808; border-color: #080808; color: var(--fd-white) !important; }
.purchase-panel .product-button.secondary { background: transparent; border-color: #2e2414; color: #080706 !important; }

.product-footer { padding: 40px 0 48px; border-top: 1px solid var(--fd-line); color: #aaa69d; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr .9fr; gap: 32px; }
.footer-brand { display: flex; gap: 13px; align-items: center; color: var(--fd-white); font-weight: 900; }
.footer-brand img { width: 52px; height: 52px; object-fit: cover; border-radius: 50%; clip-path: circle(49% at 50% 50%); }
.footer-links { display: grid; align-content: start; gap: 7px; }
.footer-links strong { margin-bottom: 4px; color: var(--fd-white); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--fd-gold-bright); }
.footer-note { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid rgba(93, 75, 45, .55); }

a:focus-visible, summary:focus-visible { outline: 2px solid var(--fd-gold-bright); outline-offset: 3px; }

@media (max-width: 820px) {
  .product-wrap { width: min(680px, calc(100% - 32px)); }
  .product-topin { min-height: 66px; }
  .product-brand img { width: 40px; height: 40px; }
  .product-brand { font-size: 12px; }
  .product-nav { display: none; }
  .product-menu { display: block; }
  .product-hero { padding: 48px 0 42px; }
  .product-hero-grid, .section-intro, .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-page h1 { font-size: 43px; }
  .product-tagline { font-size: 18px; }
  .product-actions { display: grid; }
  .product-button { width: 100%; }
  .product-visual { min-height: 310px; }
  .product-cover { width: 180px; padding: 19px; }
  .product-cover strong { font-size: 20px; }
  .product-cover img { width: 52px; height: 52px; }
  .product-section { padding: 52px 0; }
  .skill-grid, .contents-grid, .process-grid, .related-grid, .faq-grid { grid-template-columns: 1fr; }
  .content-card { min-height: auto; }
  .creator-panel { grid-template-columns: 1fr; }
  .creator-panel .creator-photo { width: 100%; height: min(58vw, 330px); }
  .purchase-panel { align-items: stretch; flex-direction: column; }
  .purchase-panel .product-button { width: 100%; }
}

@media (max-width: 390px) {
  .product-brand > span { display: none; }
  .product-page h1 { font-size: 38px; }
}
