/* Brand guidelines + press kit (/brand). Editorial tokens from editorial.css. */
.bk-hero { padding: 150px 0 0; }
.bk-hero-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.bk-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(48px, 6.4vw, 92px); line-height: .98; letter-spacing: -.05em; color: var(--text-primary); max-width: 760px; }
.bk-hero-side p { font-size: 17px; line-height: 1.6; color: var(--text-secondary); max-width: 440px; }
.bk-download { margin-top: 20px; display: inline-flex; gap: 12px; align-items: center; padding: 13px 20px; border-radius: 999px; background: var(--text-primary); color: var(--bg-canvas); font-size: 15px; font-weight: 500; text-decoration: none; transition: opacity .15s; }
.bk-download:hover { opacity: .86; }
.bk-download span { font: 500 12px/1 var(--font-mono); opacity: .65; }

.bk-canvas { margin-top: 56px; border-radius: 22px; overflow: hidden; position: relative; }
.bk-canvas.dark { background: #0f0f10; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 40px 40px; }
.bk-construct { display: block; width: 100%; height: auto; }
.bk-construct .guides line { stroke: rgba(255, 94, 0, .38); stroke-width: 1; stroke-dasharray: 4 5; }
.bk-construct .labels text { font: 500 12px var(--font-mono); fill: rgba(249, 249, 248, .55); letter-spacing: .08em; text-transform: uppercase; }

.bk-row { padding: 96px 0; border-bottom: 1px solid var(--border-grid); }
.bk-row:first-of-type { border-top: 0; }
.bk-grid { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: 64px; align-items: start; }
.bk-text { position: sticky; top: 110px; }
.bk-text h2, .bk-text h3 { font-family: var(--font-display); font-weight: 500; font-size: 30px; letter-spacing: -.035em; line-height: 1.1; color: var(--text-primary); }
.bk-text h3 { font-size: 24px; }
.bk-text p { margin-top: 14px; font-size: 15.5px; line-height: 1.65; color: var(--text-secondary); }
.bk-text a, .bk-press-head a, .bk-facts a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.bk-tile { display: grid; place-items: center; height: 300px; border-radius: 18px; background: var(--bg-surface); border: 1px solid var(--border-grid); overflow: hidden; position: relative; }
.bk-tile.tall { height: 380px; }
.bk-tile.dark { background: #0f0f10; border-color: #0f0f10; }
.bk-tile.orange { background: #ff5e00; border-color: #ff5e00; }
.bk-tile.subtle { background: var(--bg-subtle); }
.bk-tile img.logo { height: 58px; width: auto; }
.bk-tile img.mark { height: 110px; width: auto; }
.bk-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bk-trio, .bk-avatars, .bk-type { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bk-trio .bk-tile, .bk-avatars .bk-tile { height: 240px; }

.bk-files { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--border-grid); }
.bk-files li { display: grid; grid-template-columns: 1fr auto 92px 80px; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border-grid); font-size: 14.5px; color: var(--text-primary); }
.bk-files.compact li { grid-template-columns: 1fr auto 72px; }
.bk-files em { font: 500 12px var(--font-mono); font-style: normal; color: var(--text-tertiary); }
.bk-files a, .bk-files button { justify-self: end; font: 500 13px var(--font-sans); color: var(--text-primary); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.bk-files button.done, .bk-copy-head button.done { color: var(--accent-primary); }

/* Clearance: the logo inside a dashed box, padding = orange block height (~0.24 of logo height). */
.bk-clear { position: relative; padding: 14px; outline: 1px dashed rgba(255, 94, 0, .7); background: repeating-linear-gradient(45deg, rgba(255, 94, 0, .07) 0 6px, transparent 6px 12px); }
.bk-clear img { display: block; position: relative; background: var(--bg-surface); }

/* Avatars */
.av { display: grid; place-items: center; }
.av.sq { width: 132px; height: 132px; border-radius: 30px; }
img.av.sq { display: block; }
.av.circle { width: 132px; height: 132px; border-radius: 50%; background: #0f0f10; }
.av.circle img { width: 74px; }
.av img { display: block; }
.bk-tile.subtle { grid-template-columns: auto auto; gap: 22px; align-content: center; justify-content: center; }
.av.small img { width: 72px; border-radius: 17px; }
.av.tiny img { width: 40px; border-radius: 10px; }

/* Naming */
.bk-avoid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bk-avoid div { padding: 26px 24px; border-radius: 16px; border: 1px solid var(--border-grid); background: var(--bg-surface); display: grid; gap: 10px; }
.bk-avoid b { font-family: var(--font-display); font-weight: 500; font-size: 28px; letter-spacing: -.03em; color: var(--text-tertiary); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: #e5484d; }
.bk-avoid span { font-size: 13.5px; color: var(--text-tertiary); }
.bk-avoid .ok { border-color: var(--text-primary); }
.bk-avoid .ok b { color: var(--text-primary); text-decoration: none; }
.bk-avoid .ok span { color: var(--text-primary); font-weight: 500; }
.bk-avoid .ok span::before { content: "✓ "; color: #23a26d; }

/* Color */
.bk-colors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sw { all: unset; box-sizing: border-box; cursor: pointer; height: 230px; border-radius: 18px; background: var(--c); color: var(--t); padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; transition: transform .15s; position: relative; }
.sw.small { height: 120px; }
.sw.line { border: 1px solid var(--border-grid); }
.sw:hover { transform: translateY(-2px); }
.sw b { font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -.02em; }
.sw span { font: 500 12.5px/1.5 var(--font-mono); opacity: .75; }
.sw::after { content: "Copy"; position: absolute; top: 18px; right: 20px; font: 500 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; opacity: 0; transition: opacity .15s; }
.sw:hover::after { opacity: .7; }
.sw.done::after { content: "Copied"; opacity: 1; }

/* Type */
.bk-tile.font { height: 280px; place-items: stretch; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; }
.bk-tile.font .aa { font-size: 104px; line-height: 1; letter-spacing: -.04em; color: var(--text-primary); }
.bk-tile.font b { display: block; font-size: 16px; color: var(--text-primary); font-weight: 600; }
.bk-tile.font small { display: block; margin-top: 4px; font-size: 13px; color: var(--text-tertiary); }

/* Don'ts */
.bk-donts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bk-donts figure { margin: 0; }
.bk-donts .bk-tile { height: 200px; }
.bk-donts img.logo { height: 40px; }
.bk-donts figcaption { margin-top: 10px; font-size: 14px; color: var(--text-primary); display: flex; gap: 8px; align-items: baseline; }
.bk-donts figcaption::before { content: "✕"; color: #e5484d; font-weight: 700; font-size: 12px; }
.bk-tile.busy { background: url(/assets/brand-kit/screens/appsium-04-apple-ads-thumb.webp) center / 260% no-repeat; }
.fake { display: flex; align-items: center; gap: 8px; font-family: Georgia, "Times New Roman", serif; font-size: 36px; font-style: italic; color: #0f0f10; }
.fake img { height: 40px; }

/* Press kit */
.bk-press { padding: 110px 0 120px; background: var(--bg-subtle); border-top: 1px solid var(--border-grid); }
.bk-press-head h2 { margin-top: 16px; font-family: var(--font-display); font-weight: 500; font-size: clamp(38px, 4.4vw, 60px); letter-spacing: -.045em; line-height: 1.02; color: var(--text-primary); }
.bk-press-head p { margin-top: 18px; max-width: 620px; font-size: 17px; line-height: 1.6; color: var(--text-secondary); }
.bk-facts { margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border-grid); border-radius: 18px; overflow: hidden; background: var(--bg-surface); }
.bk-facts > div { padding: 24px 26px; border-right: 1px solid var(--border-grid); border-bottom: 1px solid var(--border-grid); }
.bk-facts > div:nth-child(3n) { border-right: 0; }
.bk-facts > div:nth-last-child(-n+3) { border-bottom: 0; }
.bk-facts dt { font: 500 11.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-tertiary); }
.bk-facts dd { margin: 12px 0 0; font-size: 17px; line-height: 1.4; font-weight: 500; color: var(--text-primary); letter-spacing: -.01em; }
.bk-press-row { margin-top: 88px; }

.bk-copy { border: 1px solid var(--border-grid); border-radius: 16px; background: var(--bg-surface); overflow: hidden; }
.bk-copy + .bk-copy { margin-top: 14px; }
.bk-copy-head { display: flex; justify-content: space-between; align-items: center; padding: 11px 18px; border-bottom: 1px solid var(--border-grid); font: 500 11.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-tertiary); }
.bk-copy-head button { font: 500 13px/1 var(--font-sans); letter-spacing: 0; text-transform: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-grid); background: var(--bg-surface); color: var(--text-primary); cursor: pointer; }
.bk-copy-head button:hover { border-color: var(--text-primary); }
.bk-copy p { padding: 0 22px; font-size: 16px; line-height: 1.68; color: var(--text-primary); }
.bk-copy > p, .bk-copy > div > p:first-child { padding-top: 18px; }
.bk-copy > p, .bk-copy > div > p:last-child { padding-bottom: 20px; }
.bk-copy > div > p + p { margin-top: 12px; }
.bk-note { margin-top: 20px; font-size: 14.5px; line-height: 1.6; color: var(--text-secondary); }
.bk-note strong { color: var(--text-primary); }

.bk-video { width: 100%; display: block; border-radius: 18px; border: 1px solid var(--border-grid); background: #0f0f10; aspect-ratio: 16 / 9; }
.bk-shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.bk-shots a { display: block; text-decoration: none; }
.bk-shots img { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid var(--border-grid); transition: border-color .15s; }
.bk-shots a:hover img { border-color: var(--text-primary); }
.bk-shots span { display: flex; justify-content: space-between; margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--text-primary); }
.bk-shots span::after { content: "PNG ↓"; font: 500 12px/1.6 var(--font-mono); color: var(--text-tertiary); }

@media (max-width: 960px) {
  .bk-hero { padding-top: 120px; }
  .bk-hero-head, .bk-grid { grid-template-columns: 1fr; gap: 28px; }
  .bk-text { position: static; }
  .bk-row { padding: 64px 0; }
  .bk-pair, .bk-trio, .bk-avatars, .bk-type, .bk-colors, .bk-donts, .bk-avoid { grid-template-columns: 1fr 1fr; }
  .bk-shots { grid-template-columns: 1fr; }
  .bk-facts { grid-template-columns: 1fr 1fr; }
  .bk-facts > div:nth-child(3n) { border-right: 1px solid var(--border-grid); }
  .bk-facts > div:nth-child(2n) { border-right: 0; }
  .bk-facts > div:nth-last-child(-n+3) { border-bottom: 1px solid var(--border-grid); }
  .bk-facts > div:nth-last-child(-n+2) { border-bottom: 0; }
  .bk-files li { grid-template-columns: 1fr auto 80px; }
  .bk-files li > button, .bk-files li > i { display: none; }
  .bk-construct .labels text { font-size: 18px; }
}
@media (max-width: 560px) {
  .bk-pair, .bk-trio, .bk-avatars, .bk-type, .bk-colors, .bk-donts { grid-template-columns: 1fr; }
  .bk-avoid div { padding: 18px 16px; }
  .bk-avoid b { font-size: 21px; }
}
