@import url("/brand-tokens.css");

/* Isolated marketing surface for the Creator Desk Chrome extension. */
.extension-page {
  --ext-ink: var(--vid-ink);
  --ext-muted: var(--vid-muted);
  --ext-purple: var(--vid-accent);
  --ext-purple-deep: var(--vid-accent-strong);
  --ext-border: var(--vid-line);
  background: #f8f8f5;
  color: var(--ext-ink);
}
.extension-page .header nav a[aria-current="page"] { color: var(--ext-purple); }
.extension-page :where(a,summary):focus-visible { outline: 3px solid var(--ext-purple); outline-offset: 5px; }
.extension-page h1, .extension-page h2, .extension-page h3 { letter-spacing: -.055em; }
.extension-page h1 em, .extension-page h2 em { color: var(--ext-purple); font-style: normal; }
.ext-hero {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  column-gap: 52px;
  padding: 74px 0 114px;
}
.ext-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f0ebff;
  color: #5741b7;
  border: 1px solid #ddd2fa;
  padding: 10px 15px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ext-pill-dot { width: 7px; height: 7px; border-radius: 50%; background: #8067e9; box-shadow: 0 0 0 4px #dfd4ff; }
.ext-hero h1 {
  font-size: clamp(48px, 5.7vw, 76px);
  line-height: 1.045;
  font-weight: 860;
  margin: 27px 0 24px;
  max-width: 600px;
}
.ext-hero-lead { font-size: 18px; color: var(--ext-muted); line-height: 1.8; max-width: 510px; margin: 0; }
.ext-hero .actions { margin-top: 32px; }
.ext-hero-note { font-size: 12px; line-height: 1.7; color: #777481; margin: 22px 0 0; }
.ext-hero-note strong { color: #5a536e; }
.ext-visual { position: relative; min-width: 0; padding: 27px 5px 46px 21px; }
.ext-visual::before {
  content: "";
  position: absolute;
  width: 89%;
  aspect-ratio: 1;
  right: 0;
  top: -5%;
  border-radius: 50%;
  background: radial-gradient(circle, #eee7ff 0, #f2e7fd 43%, transparent 70%);
  z-index: 0;
}
.ext-browser {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4dfea;
  border-radius: 23px;
  box-shadow: 0 32px 80px #2d245b23, 0 5px 20px #1b163c0f;
  transform: rotate(1deg);
}
.ext-browser-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 45px;
  border-bottom: 1px solid #ece9ef;
  padding: 0 18px;
  background: #fbfafc;
}
.ext-window-dots { display: flex; gap: 5px; flex: none; }
.ext-window-dots i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #d9d6df; }
.ext-window-dots i:first-child { background: #f5ae9e; }
.ext-window-dots i:nth-child(2) { background: #f8d48c; }
.ext-window-dots i:nth-child(3) { background: #a9dbc5; }
.ext-url { flex: 1; height: 24px; background: #f1eff4; border: 1px solid #ece9ef; border-radius: 7px; color: #aaa5b1; padding: 5px 10px; font: 600 10px/1.3 var(--vid-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ext-browser-body { display: grid; grid-template-columns: .98fr 1fr; min-height: 405px; }
.ext-video {
  padding: 18px 16px;
  min-width: 0;
  background: #fff;
}
.ext-video-thumb {
  height: 171px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(137deg, #43308e, #8668dd 57%, #d9b9ff);
}
.ext-video-thumb::before { content: ""; position: absolute; width: 174px; height: 174px; border: 28px solid #ffffff26; border-radius: 46px; transform: rotate(24deg); top: -88px; right: -45px; }
.ext-video-thumb::after { content: ""; position: absolute; width: 95px; height: 95px; background: #ffdfb8; border-radius: 23px; transform: rotate(-19deg); top: 79px; left: 43px; box-shadow: 75px -49px 0 -17px #c5f1e5; }
.ext-video-play { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 47px; height: 47px; border-radius: 50%; background: #ffffffee; color: #6650bc; font-size: 18px; padding-left: 3px; box-shadow: 0 7px 24px #17083933; }
.ext-video-timeline { position: absolute; z-index: 2; bottom: 10px; left: 12px; right: 12px; height: 4px; background: #ffffff80; border-radius: 4px; }
.ext-video-timeline span { display: block; width: 38%; height: 100%; border-radius: 4px; background: #fff; }
.ext-video-title { margin: 18px 0 12px; font-size: 14px; font-weight: 800; line-height: 1.45; }
.ext-video-meta { display: flex; align-items: center; gap: 8px; color: #aaa6b0; font-size: 10px; font-weight: 600; }
.ext-avatar { width: 25px; height: 25px; border-radius: 50%; background: linear-gradient(130deg,#eadcff,#6f56c4); }
.ext-fake-line { height: 8px; border-radius: 10px; background: #f0eef2; margin-top: 17px; width: 93%; }
.ext-fake-line.short { width: 67%; margin-top: 9px; }
.ext-sidepanel { border-left: 1px solid #e9e4f2; background: #fdfcff; padding: 18px; min-width: 0; }
.ext-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; }
.ext-panel-brand { display: flex; gap: 7px; align-items: center; font-size: 13px; font-weight: 850; }
.ext-panel-mark { border-radius: 8px; background: #231b36; color: #fff; padding: 6px; line-height: 1; font-size: 11px; }
.ext-panel-tiny { color: #93899d; font-size: 9px; font-weight: 700; white-space: nowrap; }
.ext-panel-kicker { margin: 22px 0 5px; color: #8e76d5; font-size: 9px; font-weight: 850; letter-spacing: .11em; }
.ext-panel-heading { margin: 0 0 13px; font-size: 17px; letter-spacing: -.04em; }
.ext-saved {
  background: #f0ebff;
  border: 1px solid #e2d9ff;
  padding: 13px;
  border-radius: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.ext-saved-icon { flex: none; display: grid; place-items: center; background: #7557dc; color: #fff; width: 32px; height: 32px; border-radius: 10px; font-size: 16px; }
.ext-saved strong, .ext-saved small { display: block; }
.ext-saved strong { font-size: 11px; letter-spacing: -.015em; }
.ext-saved small { margin-top: 4px; color: #78699f; font-size: 9px; }
.ext-note { display: flex; gap: 10px; align-items: flex-start; border: 1px solid #eee9f3; border-radius: 11px; background: #fff; margin-top: 10px; padding: 12px; }
.ext-time { border-radius: 6px; padding: 6px; color: #6f51ce; background: #f3efff; font-size: 9px; font-weight: 850; white-space: nowrap; }
.ext-note p { margin: 0; font-size: 10px; line-height: 1.5; color: #524b62; }
.ext-panel-bottom { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; color: #9a93a6; font-size: 9px; font-weight: 700; }
.ext-float {
  position: absolute;
  z-index: 3;
  right: -20px;
  bottom: 7px;
  padding: 14px 17px;
  border: 1px solid #e6dff6;
  border-radius: 14px;
  background: #ffffffee;
  box-shadow: 0 15px 45px #33215b1c;
  display: flex; align-items: center; gap: 11px;
}
.ext-float-symbol { width: 35px; height: 35px; border-radius: 11px; display: grid; place-items: center; font-size: 20px; color: #268c72; background: #e1f7ee; }
.ext-float strong, .ext-float small { display: block; }
.ext-float strong { font-size: 12px; }
.ext-float small { font-size: 10px; margin-top: 4px; color: #898391; }
.ext-visual-caption { position: relative; margin: 19px 0 0; font-size: 11px; color: #a19aa9; text-align: center; }

.ext-trust-bar { border-top: 1px solid #eae7e4; border-bottom: 1px solid #eae7e4; }
.ext-trust-inner { display: grid; grid-template-columns: repeat(3,1fr); padding: 24px 0; gap: 24px; }
.ext-trust-item { display: flex; gap: 12px; align-items: center; font-size: 12px; font-weight: 750; color: #5c5765; }
.ext-trust-item b { font-size: 16px; color: var(--ext-purple); }
.ext-section { padding-top: 108px; padding-bottom: 20px; }
.ext-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 32px; }
.ext-section-heading h2 { margin: 11px 0 0; max-width: 640px; font-size: clamp(36px, 4.2vw, 54px); line-height: 1.12; font-weight: 850; }
.ext-section-copy { max-width: 390px; font-size: 14px; line-height: 1.75; color: var(--ext-muted); margin: 0 0 4px; }
.ext-kicker { margin: 0; color: var(--ext-purple); font-size: 11px; letter-spacing: .13em; font-weight: 850; text-transform: uppercase; }
.ext-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.ext-feature { padding: 27px; border: 1px solid #e9e6e4; border-radius: 21px; min-height: 256px; background: #fff; }
.ext-feature:nth-child(1) { background: #f0ebff; border-color: #e4dcf9; }
.ext-feature:nth-child(5) { background: #f3f8f5; border-color: #dfeee4; }
.ext-feature-icon { display: grid; place-items: center; font-size: 21px; font-weight: 700; width: 46px; height: 46px; border-radius: 14px; background: #f0e9ff; color: #7153da; }
.ext-feature:nth-child(1) .ext-feature-icon { background: #fff; }
.ext-feature:nth-child(5) .ext-feature-icon { background: #fff; color: #23866b; }
.ext-feature h3 { margin: 25px 0 10px; font-size: 20px; }
.ext-feature p { font-size: 13px; line-height: 1.75; color: #777380; margin: 0; }
.ext-flow {
  background: #222033;
  border-radius: 28px;
  padding: 46px 50px;
  color: #fff;
  margin-top: 86px;
  overflow: hidden;
  position: relative;
}
.ext-flow::after { content: ""; position: absolute; width: 270px; height: 270px; border: 1px solid #ffffff25; border-radius: 50%; right: -80px; top: -120px; box-shadow: 0 0 0 60px #ffffff05, 0 0 0 120px #ffffff04; pointer-events: none; }
.ext-flow-title { font-size: clamp(32px,3.5vw,45px); max-width: 630px; margin: 12px 0 35px; }
.ext-flow .ext-kicker { color: #b5a1ff; }
.ext-flow-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; position: relative; z-index: 1; }
.ext-flow-step { border-top: 1px solid #ffffff3a; padding-top: 18px; }
.ext-flow-step span { color: #b9a5ff; font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.ext-flow-step h3 { font-size: 19px; margin: 18px 0 8px; }
.ext-flow-step p { color: #c9c5d5; line-height: 1.75; font-size: 13px; margin: 0; }

.ext-permissions { padding: 112px 0 95px; }
.ext-permission-layout { display: grid; grid-template-columns: .65fr 1.35fr; align-items: start; gap: 75px; }
.ext-permission-intro h2 { font-size: clamp(37px,4.1vw,51px); line-height: 1.12; margin: 14px 0 18px; }
.ext-permission-intro p:not(.ext-kicker) { color: var(--ext-muted); font-size: 14px; line-height: 1.85; margin: 0; }
.ext-privacy-stamp { display: flex; gap: 12px; border-radius: 16px; background: #f0ebff; margin-top: 29px; padding: 17px; border: 1px solid #e3dafa; color: #574a78; font-size: 12px; line-height: 1.7; }
.ext-privacy-stamp b { display: block; color: #453273; font-size: 13px; margin-bottom: 2px; }
.ext-privacy-stamp-icon { color: #6f52d4; font-size: 22px; flex: none; line-height: 1.2; }
.ext-permission-table { background: #fff; border: 1px solid #e8e5e6; border-radius: 21px; overflow: hidden; }
.ext-permission-head { display: grid; grid-template-columns: 1fr 1.1fr; background: #f4f1fa; color: #746a86; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; padding: 16px 23px; }
.ext-permission-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 15px; border-top: 1px solid #f0edef; padding: 20px 23px; align-items: start; }
.ext-permission-name { font-size: 13px; font-weight: 800; line-height: 1.5; overflow-wrap: anywhere; }
.ext-permission-name code { font: 750 12px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; color: #443b56; }
.ext-permission-desc { margin: 6px 0 0; color: #94909d; font-size: 11px; line-height: 1.6; }
.ext-permission-use { font-size: 12px; line-height: 1.7; color: #66616d; }
.ext-tag { display: inline-flex; font-size: 9px; letter-spacing: .045em; padding: 3px 7px; background: #e9f5ef; border-radius: 7px; color: #267854; font-weight: 800; white-space: nowrap; vertical-align: middle; }
.ext-tag.optional { background: #f3edff; color: #7956cd; }
.ext-privacy-footnote { font-size: 12px; line-height: 1.7; color: #77717f; margin: 15px 2px 0; }
.ext-data-boundary { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.ext-boundary { border: 1px solid #e9e6e5; border-radius: 17px; padding: 20px; background: #fff; }
.ext-boundary b { font-size: 13px; }
.ext-boundary p { font-size: 12px; line-height: 1.7; color: #777381; margin: 9px 0 0; }
.ext-boundary.local { background: #f5f0ff; border-color: #e6def8; }

.ext-faq { padding: 22px 0 114px; }
.ext-faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 75px; align-items: start; }
.ext-faq h2 { font-size: clamp(36px,4vw,50px); margin: 12px 0; }
.ext-faq-intro { color: var(--ext-muted); line-height: 1.75; font-size: 14px; }
.ext-faq-items { border-top: 1px solid #ddd9dc; }
.ext-faq-items details { border-bottom: 1px solid #ddd9dc; padding: 23px 0; }
.ext-faq-items summary { display: flex; cursor: pointer; list-style: none; align-items: center; justify-content: space-between; gap: 18px; color: #2a2731; font-size: 15px; font-weight: 780; }
.ext-faq-items summary::-webkit-details-marker { display:none; }
.ext-faq-items summary::after { content: "+"; width: 27px; height: 27px; flex: none; border: 1px solid #dcd7e4; border-radius: 50%; display: grid; place-items: center; font-weight: 500; color: #6d5a9e; font-size: 19px; }
.ext-faq-items details[open] summary::after { content: "−"; }
.ext-faq-items details p { margin: 14px 42px 0 0; color: #77717d; font-size: 13px; line-height: 1.8; }
.ext-endcap { border-radius: 28px; margin-bottom: 90px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 43px 48px; background: #eeeaff; border: 1px solid #e3dcf9; }
.ext-endcap h2 { margin: 9px 0 0; font-size: clamp(30px,3.6vw,42px); }
.ext-endcap p:not(.ext-kicker) { margin: 12px 0 0; color: #615977; font-size: 14px; }
.ext-endcap .btn { flex: none; }
.ext-footer-meta { font-size: 11px; color: #938f98; }

@media (max-width: 1050px) {
  .ext-hero { gap: 20px; }
  .ext-hero h1 { font-size: 56px; }
  .ext-browser-body { min-height: 360px; }
  .ext-video-thumb { height: 139px; }
  .ext-feature { padding: 22px; }
  .ext-permission-layout, .ext-faq-layout { gap: 35px; }
}
@media (max-width: 820px) {
  .ext-hero { display: flex; flex-direction: column; align-items: stretch; padding: 48px 0 72px; gap: 38px; }
  .ext-hero h1 { max-width: 640px; font-size: clamp(46px, 8vw, 69px); }
  .ext-visual { max-width: 640px; width: 100%; padding: 12px 14px 47px 0; margin: 0 auto; }
  .ext-browser-body { min-height: 410px; }
  .ext-video-thumb { height: 170px; }
  .ext-trust-inner { gap: 16px; }
  .ext-section { padding-top: 79px; }
  .ext-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ext-permission-layout, .ext-faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .ext-permissions { padding: 82px 0 70px; }
  .ext-privacy-stamp { max-width: 510px; }
  .ext-faq { padding-bottom: 80px; }
}
@media (max-width: 600px) {
  .ext-hero h1 { font-size: clamp(43px, 10vw, 58px); }
  .ext-hero-lead { font-size: 16px; }
  .ext-visual { padding: 8px 4px 20px; }
  .ext-browser { transform: none; border-radius: 16px; }
  .ext-browser-toolbar { padding: 0 12px; }
  .ext-browser-body { min-height: 328px; }
  .ext-video { padding: 11px 9px; }
  .ext-video-thumb { height: 128px; }
  .ext-video-thumb::after { transform: scale(.7) rotate(-19deg); left: 4px; top: 50px; }
  .ext-video-title { font-size: 11px; margin-top: 12px; }
  .ext-sidepanel { padding: 12px 9px; }
  .ext-panel-brand { font-size: 11px; }
  .ext-panel-tiny { display: none; }
  .ext-panel-heading { font-size: 14px; }
  .ext-panel-kicker { margin-top: 17px; }
  .ext-saved { padding: 10px 8px; gap: 7px; }
  .ext-saved-icon { width: 25px; height: 25px; font-size: 12px; }
  .ext-note { padding: 9px 7px; gap: 6px; }
  .ext-time { padding: 4px; font-size: 8px; }
  .ext-float { position: relative; right: auto; bottom: auto; width: max-content; max-width: 95%; margin: -18px 8px 0 auto; }
  .ext-trust-inner { grid-template-columns: 1fr; gap: 13px; padding: 19px 0; }
  .ext-section-heading { display: block; }
  .ext-section-copy { margin-top: 13px; }
  .ext-feature-grid { grid-template-columns: 1fr; }
  .ext-feature { min-height: 0; padding: 23px; }
  .ext-feature h3 { margin-top: 16px; }
  .ext-flow { padding: 32px 26px; margin-top: 65px; }
  .ext-flow-steps { grid-template-columns: 1fr; gap: 25px; }
  .ext-permission-head { display: none; }
  .ext-permission-row { grid-template-columns: 1fr; gap: 8px; padding: 17px; }
  .ext-data-boundary { grid-template-columns: 1fr; }
  .ext-faq-items details { padding: 21px 0; }
  .ext-faq-items summary { font-size: 14px; }
  .ext-endcap { flex-direction: column; align-items: stretch; padding: 30px 24px; margin-bottom: 65px; }
  .ext-endcap .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ext-browser { transform: none; }
}
