/* ============================================================
   Adfinery public theme. Scoped under .af so it never fights
   the original theme's main.css (still used in the user area).
   ============================================================ */
:root {
  --af-paper: #F4F5FB;
  --af-paper-2: #FFFFFF;
  --af-ink: #0F1226;
  --af-ink-2: #3B3F5C;
  --af-muted: #7A7E9A;
  --af-line: #DFE2F0;
  --af-molten: #FF6A2B;
  --af-molten-ink: #FFFFFF;
  --af-molten-soft: #FFEDE4;
  --af-cobalt: #2E4BFF;
  --af-cobalt-soft: #E8ECFF;
  --af-deep: #0F1226;
  --af-deep-2: #181C38;
  --af-deep-ink: #F4F5FB;
  --af-shadow: 0 20px 50px rgba(15, 18, 38, 0.12);
  --af-display: 'Familjen Grotesk', 'Segoe UI', Arial, sans-serif;
  --af-body: 'Manrope', 'Segoe UI', Arial, sans-serif;
  --af-mono: 'JetBrains Mono', Consolas, monospace;
}
body.af-body { background: var(--af-paper); color: var(--af-ink); font-family: var(--af-body); }
.af, .af * { box-sizing: border-box; }
.af { font-family: var(--af-body); color: var(--af-ink); font-size: 16px; line-height: 1.6; }
.af a { color: inherit; text-decoration: none; }
.af h1, .af h2, .af h3 { font-family: var(--af-display); margin: 0; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; color: var(--af-ink); }
.af h1 { font-size: clamp(40px, 6.4vw, 78px); font-weight: 700; }
.af h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; }
.af h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.af p { margin: 0 0 14px; color: var(--af-ink-2); max-width: 62ch; font-size: 16px; line-height: 1.6; }
.af-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.af-eyebrow { font-family: var(--af-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--af-molten); margin-bottom: 14px; display: block; }
.af-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--af-molten); color: var(--af-molten-ink) !important; border: 1.5px solid var(--af-molten); border-radius: 12px; padding: 14px 22px; font-family: var(--af-display); font-weight: 700; font-size: 16px; line-height: 1.2; cursor: pointer; transition: transform .15s, box-shadow .15s; white-space: nowrap; }
.af-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255,106,43,0.35); color: #fff; }
.af-btn.ghost { background: transparent; color: var(--af-ink) !important; border-color: var(--af-line); }
.af-btn.ghost:hover { box-shadow: none; border-color: var(--af-ink); }
.af-btn:focus-visible, .af-chip:focus-visible, .af a:focus-visible { outline: 2px solid var(--af-cobalt); outline-offset: 3px; }
.af-section { padding: 96px 0; }
.af-mono { font-family: var(--af-mono); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .af-section { padding: 64px 0; } }

/* header */
.af-head { position: sticky; top: 0; z-index: 50; background: rgba(244,245,251,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--af-line); width: 100%; }
.af-nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.af-brand { font-family: var(--af-display); font-weight: 700; font-size: 24px; letter-spacing: -0.03em; display: flex; align-items: center; gap: 9px; color: var(--af-ink); white-space: nowrap; flex: none; }
.af-brand img { height: 34px; width: auto; display: block; }
.af-brand i { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, var(--af-molten), #FFB27A); display: inline-block; position: relative; flex: none; }
.af-brand i::after { content: ""; position: absolute; inset: 7px 5px 7px 12px; background: var(--af-paper); border-radius: 2px; }
.af-links { display: flex; gap: 26px; font-weight: 600; font-size: 15px; color: var(--af-ink-2); margin: 0; padding: 0; list-style: none; }
.af-links a { color: var(--af-ink-2); }
.af-links a:hover, .af-links a.on { color: var(--af-ink); }
.af-links a.on { border-bottom: 2px solid var(--af-molten); padding-bottom: 2px; }
.af-nav-cta { display: flex; gap: 10px; align-items: center; }
.af-nav-cta .af-btn { padding: 10px 16px; font-size: 15px; }
.af-credit { font-family: var(--af-mono); font-size: 13px; background: var(--af-cobalt-soft); color: var(--af-cobalt); padding: 6px 10px; border-radius: 8px; }
.af-user { position: relative; }
.af-user > button { border: 1.5px solid var(--af-line); background: var(--af-paper-2); border-radius: 50%; width: 40px; height: 40px; padding: 0; overflow: hidden; cursor: pointer; }
.af-user img { width: 100%; height: 100%; object-fit: cover; display: block; }
.af-user .dropdown-menu { border: 1px solid var(--af-line); border-radius: 12px; box-shadow: var(--af-shadow); padding: 6px; min-width: 200px; }
.af-user .dropdown-menu a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--af-ink-2); }
.af-user .dropdown-menu a:hover { background: var(--af-paper); color: var(--af-ink); }
.af-burger { display: none; border: 1.5px solid var(--af-line); background: var(--af-paper-2); border-radius: 10px; width: 42px; height: 42px; font-size: 20px; cursor: pointer; color: var(--af-ink); }
.af-mobile { display: none; border-top: 1px solid var(--af-line); background: var(--af-paper-2); padding: 14px 24px 20px; max-height: calc(100vh - 60px); overflow-y: auto; }
.af-mobile.open { display: block; animation: af-drawer 0.22s ease; }
@keyframes af-drawer { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.af-mobile-user { display: flex; align-items: center; gap: 12px; padding: 4px 0 14px; margin-bottom: 6px; border-bottom: 1px solid var(--af-line); }
.af-mobile-user img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--af-line); flex: none; }
.af-mobile-user b { display: block; font-family: var(--af-display); font-size: 16px; color: var(--af-ink); margin-bottom: 3px; }
.af-mobile-user .af-credit { font-size: 12px; padding: 3px 8px; }
.af-mobile-links { display: flex; flex-direction: column; }
.af-mobile-links a { display: block; padding: 13px 2px; font-weight: 600; font-size: 16px; color: var(--af-ink-2); border-bottom: 1px solid var(--af-line); }
.af-mobile-links a:last-child { border-bottom: 0; }
.af-mobile-links a:active, .af-mobile-links a.on { color: var(--af-molten); }
.af-mobile-lang { margin-top: 12px; }
.af-mobile-lang .lang-box { display: inline-block; border: 1.5px solid var(--af-line); border-radius: 10px; padding: 8px 14px; }
.af-mobile-lang .lang-box-btn .text { font-size: 15px; }
.af-mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.af-mobile-cta .af-btn { width: 100%; justify-content: center; padding: 12px 14px; font-size: 15px; }
.af-mobile-cta .af-mobile-logout { grid-column: 1 / -1; }
@media (max-width: 1080px) {
  .af-links,
  .af-nav-cta .af-btn,
  .af-nav-cta .af-credit,
  .af-nav-cta .af-user,
  .af-nav-cta .lang-box { display: none; }
  .af-burger { display: inline-flex; align-items: center; justify-content: center; }
}
.af-brand { flex: none; }
.af-nav-cta { flex: none; }

/* hero */
.af-hero { padding: 72px 0 40px; overflow: hidden; }
.af-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 960px) { .af-hero-grid { grid-template-columns: 1fr; } }
.af-hero h1 em { font-style: normal; color: var(--af-molten); }
.af-hero .af-lede { font-size: 19px; margin: 22px 0 30px; max-width: 54ch; }
.af-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.af-hero-cta small { color: var(--af-muted); font-size: 13px; width: 100%; }
.af-refinery { position: relative; }
.af-styles { display: flex; gap: 6px; margin-bottom: 14px; align-items: center; flex-wrap: wrap; }
.af-styles .l { font-size: 12px; color: var(--af-muted); font-family: var(--af-mono); letter-spacing: 0.1em; text-transform: uppercase; margin-right: 6px; }
.af-chip { border: 1px solid var(--af-line); background: var(--af-paper-2); color: var(--af-ink-2); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; user-select: none; }
.af-chip.on { background: var(--af-ink); color: var(--af-paper); border-color: var(--af-ink); }
.af-kit { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 58px; gap: 10px; }
.af-ad { border-radius: 8px; position: relative; overflow: hidden; color: #fff; padding: 7%; display: flex; flex-direction: column; justify-content: flex-end; container-type: inline-size; box-shadow: 0 10px 24px rgba(15,18,38,0.18); background: var(--bg1); transition: background .5s; animation: af-rise .7s cubic-bezier(.2,.8,.2,1) both; }
.af-ad:nth-child(1) { grid-column: span 3; grid-row: span 5; animation-delay: .05s; }
.af-ad:nth-child(2) { grid-column: span 2; grid-row: span 3; animation-delay: .15s; }
.af-ad:nth-child(3) { grid-column: span 1; grid-row: span 5; animation-delay: .25s; }
.af-ad:nth-child(4) { grid-column: span 2; grid-row: span 2; animation-delay: .35s; }
.af-ad:nth-child(5) { grid-column: span 3; grid-row: span 1; animation-delay: .45s; }
.af-ad:nth-child(6) { grid-column: span 3; grid-row: span 2; animation-delay: .55s; }
@keyframes af-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.af-ad .prod { position: absolute; right: 8%; top: 10%; width: 30%; aspect-ratio: 3/4; border-radius: 6px; background: var(--prod); box-shadow: 0 12px 24px rgba(0,0,0,0.35); transition: background .5s; }
.af-ad .logo { position: absolute; left: 7%; top: 8%; font-family: var(--af-display); font-weight: 700; font-size: 5.5cqw; letter-spacing: 0.08em; opacity: 0.9; }
.af-ad .hl { font-family: var(--af-display); font-weight: 700; line-height: 1; letter-spacing: -0.02em; max-width: 62%; font-size: 10cqw; }
.af-ad .sub { font-size: 5.5cqw; opacity: 0.85; margin-top: 3%; max-width: 62%; }
.af-ad .cta { display: inline-block; margin-top: 5%; background: #fff; color: #1A1A2E; font-weight: 800; padding: 2.5% 6%; border-radius: 999px; font-size: 5.5cqw; }
.af-ad .tag { position: absolute; right: 6px; bottom: 6px; font-family: var(--af-mono); font-size: 10px; background: rgba(0,0,0,0.45); padding: 2px 6px; border-radius: 4px; opacity: 0; transition: opacity .2s; }
.af-ad:hover .tag { opacity: 1; }
.af-ad.tall .prod { width: 60%; right: 20%; top: 12%; }
.af-ad.tall .hl, .af-ad.tall .sub { max-width: 100%; }
.af-ad.tall .hl { font-size: 15cqw; }
.af-ad.tall .sub { font-size: 8cqw; }
.af-ad.tall .cta { font-size: 8cqw; }
.af-ad.wide { flex-direction: row; align-items: center; justify-content: space-between; padding: 2% 4%; }
.af-ad.wide .prod, .af-ad.wide .sub, .af-ad.wide .logo { display: none; }
.af-ad.wide .hl { font-size: 4.2cqw; max-width: 70%; }
.af-ad.wide .cta { margin: 0; font-size: 3cqw; padding: 1.2% 3%; white-space: nowrap; }
.af-ad.square .hl { font-size: 11cqw; }
.af-ad.video::after { content: "\25B6"; position: absolute; left: 50%; top: 45%; transform: translate(-50%,-50%); width: 18%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; font-size: 7cqw; }
.af-refinery[data-style="photo"] { --bg1: linear-gradient(135deg, #1A1F3D 0%, #2E4BFF 100%); --prod: linear-gradient(160deg, #FFD59E, #FF6A2B 60%, #8C3A12); }
.af-refinery[data-style="luxury"] { --bg1: linear-gradient(135deg, #0B0B0F 0%, #3A2A12 100%); --prod: linear-gradient(160deg, #F6E2A3, #C9A24B 60%, #6B5220); }
.af-refinery[data-style="retail"] { --bg1: linear-gradient(135deg, #FF6A2B 0%, #FFB020 100%); --prod: linear-gradient(160deg, #FFFFFF, #E8ECFF 60%, #2E4BFF); }
.af-refinery[data-style="minimal"] { --bg1: linear-gradient(135deg, #E9ECF3 0%, #CBD1E3 100%); --prod: linear-gradient(160deg, #FFD59E, #FF6A2B 60%, #8C3A12); }
.af-refinery[data-style="minimal"] .af-ad { color: #0F1226; }
.af-refinery[data-style="minimal"] .af-ad .cta { background: #0F1226; color: #fff; }
@media (prefers-reduced-motion: reduce) { .af-ad { animation: none; } }

/* stat band */
.af-band { border-top: 1px solid var(--af-line); border-bottom: 1px solid var(--af-line); padding: 22px 0; }
.af-band .af-row { display: flex; gap: 32px; flex-wrap: wrap; justify-content: space-between; }
.af-band .s { display: flex; flex-direction: column; }
.af-band b { font-family: var(--af-display); font-size: 26px; letter-spacing: -0.02em; color: var(--af-ink); }
.af-band span { font-size: 13px; color: var(--af-muted); }

/* how */
.af-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
@media (max-width: 860px) { .af-how { grid-template-columns: 1fr; } }
.af-how .c { background: var(--af-paper-2); border: 1px solid var(--af-line); border-radius: 16px; padding: 24px; }
.af-how .n { font-family: var(--af-mono); color: var(--af-molten); font-size: 13px; letter-spacing: 0.1em; margin-bottom: 14px; display: block; }
.af-how h3 { margin-bottom: 8px; }
.af-how p { font-size: 15px; margin: 0; }
.af-how .vis { height: 120px; border-radius: 10px; background: var(--af-paper); border: 1px solid var(--af-line); margin-bottom: 18px; display: flex; align-items: center; justify-content: center; padding: 14px; gap: 8px; overflow: hidden; }
.af-how .vis .field { flex: 1; height: 12px; background: var(--af-line); border-radius: 6px; }
.af-how .vis .field.short { flex: 0.5; }
.af-how .vis .mini { border-radius: 4px; background: linear-gradient(135deg,#1A1F3D,#2E4BFF); flex: none; }
.af-how .vis .txt { font-family: var(--af-display); font-weight: 700; color: var(--af-ink); font-size: 22px; border-bottom: 2px solid var(--af-molten); padding-bottom: 2px; }
.af-how .vis .cursor { width: 2px; height: 26px; background: var(--af-molten); animation: af-blink 1s steps(1) infinite; }
@keyframes af-blink { 50% { opacity: 0; } }

/* why (dark) */
.af-why { background: var(--af-deep); color: var(--af-deep-ink); }
.af-why h2, .af-why h3 { color: var(--af-deep-ink); }
.af-why p { color: rgba(244,245,251,0.78); }
.af-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .af-why-grid { grid-template-columns: 1fr; } }
.af-why ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.af-why li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 16px; color: rgba(244,245,251,0.85); }
.af-why li b { color: var(--af-deep-ink); display: block; }
.af-why li i { width: 22px; height: 22px; border-radius: 50%; background: var(--af-molten); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; color: #fff; margin-top: 3px; }
.af-compare { background: var(--af-deep-2); border: 1px solid rgba(244,245,251,0.12); border-radius: 16px; padding: 20px; display: grid; gap: 14px; }
.af-compare .r { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; font-size: 14px; }
.af-compare .r .k { font-family: var(--af-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(244,245,251,0.55); }
.af-compare .layer { border-radius: 8px; padding: 12px 14px; border: 1px dashed rgba(244,245,251,0.25); color: var(--af-deep-ink); }
.af-compare .layer.scene { background: linear-gradient(135deg,#1A1F3D,#2E4BFF); border-style: solid; border-color: transparent; color: #fff; }
.af-compare .layer.text { font-family: var(--af-display); font-weight: 700; font-size: 18px; }
.af-compare .layer.brand { display: flex; gap: 8px; align-items: center; }
.af-compare .sw { width: 18px; height: 18px; border-radius: 5px; display: inline-block; }

/* formats */
.af-formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 36px; }
.af-fcol h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--af-muted); margin-bottom: 10px; font-family: var(--af-body); font-weight: 800; }
.af-fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.af-fcol li { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; padding: 8px 10px; background: var(--af-paper-2); border: 1px solid var(--af-line); border-radius: 8px; color: var(--af-ink); }
.af-fcol li span:last-child { font-family: var(--af-mono); font-size: 12px; color: var(--af-muted); white-space: nowrap; }

/* audiences */
.af-aud { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
@media (max-width: 860px) { .af-aud { grid-template-columns: 1fr; } }
.af-aud .c { border-radius: 16px; padding: 28px; background: var(--af-paper-2); border: 1px solid var(--af-line); }
.af-aud .c.alt { background: var(--af-cobalt-soft); border-color: transparent; }
.af-aud h3 { font-size: 24px; margin-bottom: 8px; }
.af-aud ul { margin: 12px 0 0; padding-left: 18px; color: var(--af-ink-2); font-size: 15px; }
.af-aud li { margin-bottom: 4px; }

/* pricing */
.af-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
@media (max-width: 860px) { .af-plans { grid-template-columns: 1fr; } }
.af-plan { background: var(--af-paper-2); border: 1px solid var(--af-line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.af-plan.hot { border-color: var(--af-molten); box-shadow: var(--af-shadow); }
.af-plan .nm { font-family: var(--af-display); font-weight: 700; font-size: 20px; color: var(--af-ink); }
.af-plan .pr { font-family: var(--af-display); font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--af-ink); }
.af-plan .pr small { font-size: 15px; color: var(--af-muted); font-family: var(--af-body); letter-spacing: 0; font-weight: 500; }
.af-plan .pr .yearly { display: none; }
.af-plans.yearly .af-plan .pr .monthly { display: none; }
.af-plans.yearly .af-plan .pr .yearly { display: inline; }
.af-plan ul { margin: 6px 0 12px; padding-left: 18px; color: var(--af-ink-2); font-size: 15px; }
.af-plan li { margin-bottom: 4px; }
.af-plan .af-btn { margin-top: auto; justify-content: center; }
.af-toggle { display: inline-flex; gap: 6px; background: var(--af-paper-2); border: 1px solid var(--af-line); border-radius: 999px; padding: 4px; margin-top: 18px; }
.af-toggle span { padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--af-muted); }
.af-toggle span.on { background: var(--af-ink); color: var(--af-paper); }

/* faq */
.af-faq { display: grid; gap: 10px; margin-top: 30px; max-width: 800px; }
.af-faq details { background: var(--af-paper-2); border: 1px solid var(--af-line); border-radius: 12px; padding: 16px 20px; }
.af-faq summary { cursor: pointer; font-weight: 700; font-family: var(--af-display); font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--af-ink); }
.af-faq summary::-webkit-details-marker { display: none; }
.af-faq summary::after { content: "+"; color: var(--af-molten); font-size: 22px; }
.af-faq details[open] summary::after { content: "–"; }
.af-faq details p { margin: 10px 0 0; font-size: 15px; }

/* final cta */
.af-final { background: var(--af-deep); color: var(--af-deep-ink); text-align: center; padding: 88px 0; }
.af-final h2 { color: var(--af-deep-ink); margin-bottom: 14px; }
.af-final p { color: rgba(244,245,251,0.75); margin: 0 auto 26px; }

/* footer */
.af-foot { padding: 34px 0; border-top: 1px solid var(--af-line); font-size: 14px; color: var(--af-muted); background: var(--af-paper); width: 100%; }
.af-foot .af-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.af-foot .af-links { font-size: 14px; flex-wrap: wrap; gap: 18px; }
.af-foot .social { display: flex; gap: 10px; }
.af-foot .social a { width: 34px; height: 34px; border: 1px solid var(--af-line); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--af-ink-2); }

/* page hero (inner pages) */
.af-page-hero { padding: 64px 0 8px; }
.af-page-hero p { font-size: 18px; }

/* blog */
.af-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
@media (max-width: 900px) { .af-posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .af-posts { grid-template-columns: 1fr; } }
.af-post { background: var(--af-paper-2); border: 1px solid var(--af-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.af-post img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.af-post .b { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.af-post .d { font-family: var(--af-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--af-muted); }
.af-post h3 { font-size: 19px; line-height: 1.25; }
.af-post a.more { color: var(--af-cobalt); font-weight: 700; font-size: 14px; margin-top: auto; }
.af-empty { padding: 40px; border: 1px dashed var(--af-line); border-radius: 12px; color: var(--af-muted); text-align: center; margin-top: 30px; }
.af-pagination { margin-top: 30px; }

/* contact */
.af-contact { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; margin-top: 30px; }
@media (max-width: 860px) { .af-contact { grid-template-columns: 1fr; } }
.af-form { display: grid; gap: 14px; background: var(--af-paper-2); border: 1px solid var(--af-line); border-radius: 16px; padding: 26px; }
.af-form label { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--af-muted); display: block; margin-bottom: 6px; }
.af-form input, .af-form textarea { width: 100%; border: 1.5px solid var(--af-line); border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--af-ink); background: var(--af-paper); }
.af-form input:focus, .af-form textarea:focus { outline: none; border-color: var(--af-cobalt); }
.af-form textarea { min-height: 140px; resize: vertical; }
.af-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .af-form .two { grid-template-columns: 1fr; } }
.af-info { display: grid; gap: 18px; font-size: 16px; align-content: start; }
.af-info b { display: block; font-family: var(--af-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--af-muted); margin-bottom: 2px; }
.af-info a { color: var(--af-cobalt); }

/* fixes after first live review */
.af h2 { margin-bottom: 14px; }
.af h2 + p, .af h1 + p { margin-top: 4px; }
.af ul { list-style: none; }
.af-aud ul, .af-plan ul { list-style: disc; }
.af-aud li, .af-plan li { display: list-item; }
.af-body .scroll-top { display: none !important; }
.af-nav .language-select, .af-nav select { font-family: var(--af-body); font-size: 14px; }

/* scale-up after live review: the page read too small on large screens */
.af { font-size: 17px; }
.af p { font-size: 17px; }
.af-wrap { max-width: 1320px; padding: 0 28px; }
.af h1 { font-size: clamp(44px, 6.6vw, 88px); }
.af h2 { font-size: clamp(34px, 4.4vw, 54px); }
.af h3 { font-size: 22px; }
.af-eyebrow { font-size: 13px; }
.af-btn { font-size: 17px; padding: 16px 26px; }
.af-nav { height: 78px; }
.af-brand { font-size: 27px; }
.af-brand i { width: 30px; height: 30px; }
.af-links { font-size: 16.5px; gap: 30px; }
.af-nav-cta .af-btn { padding: 12px 20px; font-size: 16px; }
.af-hero { padding: 88px 0 48px; }
.af-hero .af-lede { font-size: 21px; max-width: 52ch; }
.af-hero-cta small { font-size: 14px; }
.af-kit { grid-auto-rows: 66px; gap: 12px; }
.af-chip { font-size: 14px; padding: 7px 14px; }
.af-band { padding: 30px 0; }
.af-band b { font-size: 34px; }
.af-band span { font-size: 15px; }
.af-how .c { padding: 28px; }
.af-how p { font-size: 16.5px; }
.af-how .vis { height: 140px; }
.af-why li { font-size: 17px; }
.af-compare .r { font-size: 15px; }
.af-compare .layer.text { font-size: 20px; }
.af-fcol li { font-size: 16px; padding: 10px 12px; }
.af-fcol li span:last-child { font-size: 13px; }
.af-fcol h3 { font-size: 14px; }
.af-aud h3 { font-size: 26px; }
.af-aud ul, .af-plan ul { font-size: 16.5px; }
.af-plan .pr { font-size: 50px; }
.af-plan .nm { font-size: 22px; }
.af-faq summary { font-size: 19px; }
.af-faq details p { font-size: 16.5px; }
.af-faq { max-width: 900px; }
.af-final { padding: 100px 0; }
.af-foot { font-size: 15px; }
@media (max-width: 640px) {
  .af { font-size: 16px; }
  .af p { font-size: 16px; }
  .af-wrap { padding: 0 20px; }
  .af-kit { grid-auto-rows: 44px; gap: 8px; }
  .af-band .af-row { gap: 18px; }
  .af-band b { font-size: 26px; }
  .af-nav { height: 62px; gap: 12px; }
  .af-brand { font-size: 22px; gap: 8px; }
  .af-brand img { height: 30px; }
  .af-brand i { width: 27px; height: 27px; }
  .af-burger { width: 42px; height: 42px; font-size: 20px; }
  .af-mobile { max-height: calc(100vh - 62px); padding: 14px 20px 20px; }
}

/* Hero: real ads made by the studio */
.af-samples-head { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.af-samples-head .l { font-size: 12px; color: var(--af-muted); font-family: var(--af-mono); letter-spacing: 0.1em; text-transform: uppercase; margin-right: 6px; }
.af-samples-grid { display: grid; grid-template-columns: 5fr 3fr; grid-template-areas: "a b" "c d"; gap: 12px; align-items: start; }
.af-sample { margin: 0; position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 12px 28px rgba(15,18,38,0.18); background: var(--af-paper-2); transition: opacity .3s, transform .3s; animation: af-rise .7s cubic-bezier(.2,.8,.2,1) both; }
.af-sample img { width: 100%; height: auto; display: block; }
.af-sample.a { grid-area: a; animation-delay: .05s; }
.af-sample.b { grid-area: b; animation-delay: .15s; }
.af-sample.d { grid-area: d; animation-delay: .45s; }
.af-sample.c { grid-area: c; animation-delay: .25s; }
.af-sample.d { grid-area: d; animation-delay: .35s; }
.af-sample figcaption { position: absolute; left: 8px; bottom: 8px; font-family: var(--af-mono); font-size: 10px; color: #fff; background: rgba(15,18,38,0.65); padding: 3px 7px; border-radius: 5px; opacity: 0; transition: opacity .2s; }
.af-sample:hover figcaption { opacity: 1; }
.af-sample.dim { opacity: 0.18; transform: scale(0.98); }

/* Video section */
.af-video-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.af-video-grid.page { grid-template-columns: 1fr 1.2fr; }
@media (max-width: 900px) { .af-video-grid, .af-video-grid.page { grid-template-columns: 1fr; } }
.af-video-list { list-style: none; margin: 18px 0 26px; padding: 0; display: grid; gap: 10px; font-size: 16px; color: var(--af-ink-2); }
.af-video-list li b { color: var(--af-ink); margin-right: 6px; }
.af-video-samples { display: grid; gap: 18px; }
.af-video-sample { margin: 0; background: var(--af-paper-2); border: 1px solid var(--af-line); border-radius: 16px; overflow: hidden; box-shadow: var(--af-shadow); }
.af-video-sample video { width: 100%; aspect-ratio: 16/9; display: block; background: #000; }
.af-video-sample figcaption { padding: 12px 16px; font-size: 14px; color: var(--af-ink-2); }
.af-video-sample figcaption b { color: var(--af-ink); display: block; margin-bottom: 2px; }
.af-video-placeholder { padding: 40px; text-align: center; color: var(--af-muted); }

/* ---- Examples / showcase page ---- */
.af-showcase .af-sc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin: 40px 0 18px; }
.af-showcase .af-sc-head.mt { margin-top: 64px; }
.af-showcase .af-sc-head h3 { font-family: var(--af-display); font-size: 22px; letter-spacing: -0.01em; color: var(--af-ink); }
.af-showcase .af-sc-head span { color: var(--af-muted); font-size: 14px; max-width: 60ch; }
.af-sc-board { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.af-sc-item { margin: 0; width: 100%; border: 1px solid var(--af-line); border-radius: 14px; overflow: hidden; background: var(--af-paper-2); box-shadow: var(--af-shadow); }
.af-sc-item img { display: block; width: 100%; height: auto; object-fit: contain; background: #fff; }
.af-sc-item figcaption { padding: 9px 14px; font-family: var(--af-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--af-muted); border-top: 1px solid var(--af-line); }
.af-sc-video { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 28px; align-items: center; margin-top: 8px; }
.af-sc-video video { width: 100%; border-radius: 16px; background: #000; box-shadow: var(--af-shadow); aspect-ratio: 9 / 16; object-fit: cover; }
.af-sc-video-txt h4 { font-family: var(--af-display); font-size: 22px; letter-spacing: -0.01em; margin-bottom: 10px; color: var(--af-ink); }
@media (max-width: 900px) {
  .af-sc-video { grid-template-columns: 1fr; }
  .af-sc-video video { max-width: 300px; }
}
@media (max-width: 560px) {
  .af-sc-item { max-width: 100% !important; }
}
.af-sc-anim video { display: block; width: 100%; height: auto; object-fit: contain; background: #fff; }
.af-sc-anim { position: relative; }
.af-sc-anim::after { content: "GIF"; position: absolute; top: 8px; right: 8px; background: var(--af-molten); color: #fff; font-family: var(--af-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; padding: 3px 7px; border-radius: 6px; }
