/* Bunno Studio — page layout.
   Transcribed from the Claude Design prototype's inline styles into named
   classes. Values follow the handoff spec exactly; the <600px tier at the
   bottom is an addition (the spec only defines the 900px breakpoint, which
   still leaves 48-56px gutters on a phone). */

/* — nav — */
.m-nav {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 48px;
  border-bottom: 2px solid var(--color-divider);
}
.m-nav .brand {
  font-family: var(--font-heading); font-weight: 800; font-size: 18px;
  margin-right: auto; color: inherit; text-decoration: none;
}
.m-nav a { color: inherit; text-decoration: none; font-size: 14px; }
.m-nav a:hover { color: var(--color-accent); }
.m-nav .btn-primary:hover { color: var(--color-bg); }

/* — shared bits — */
.kick {
  display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-accent-700); font-feature-settings: "tnum" 1;
}
.disp {
  font-family: var(--font-heading); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.04; margin: 0 0 0 -.05em;
}

/* — two-column shell — */
.two { display: grid; grid-template-columns: 320px minmax(0, 1fr); min-height: 760px; }

/* — sidebar — */
.side { border-right: 2px solid var(--color-divider); padding: 40px 0; }
.side-kick { padding: 0 32px 20px; }
.idx-list { display: flex; flex-direction: column; }
.idx {
  display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: center;
  padding: 16px 32px;
  border: 0; border-bottom: 1px solid var(--color-divider);
  color: var(--color-text); text-decoration: none; cursor: pointer;
  background: none; width: 100%; text-align: left; font: inherit;
}
.idx:hover { background: color-mix(in srgb, var(--color-text) 5%, transparent); }
.idx:first-child { border-top: 1px solid var(--color-divider); }
.idx .dot { width: 10px; height: 10px; background: transparent; }
.idx[aria-current="page"] .dot { background: var(--color-accent); }
.idx .name { font-family: var(--font-heading); font-weight: 400; font-size: 17px; }
.idx[aria-current="page"] .name { font-weight: 800; }
.idx .plat { font-size: 12px; color: var(--color-neutral-700); }
.side-contact { padding: 40px 32px 0; }
.side-contact p { font-size: 14px; line-height: 24px; margin: 0 0 16px; color: var(--color-neutral-800); }
.side-contact .kick { margin-bottom: 12px; }

/* — detail — */
.main { padding: 48px 56px 64px; min-width: 0; }
.app-head { display: flex; gap: 24px; align-items: flex-start; }
.ico {
  width: 64px; height: 64px; flex: none;
  background: var(--color-neutral-300); border: 2px solid var(--color-text);
  display: grid; place-items: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 22px;
  overflow: hidden;
}
.ico img { width: 100%; height: 100%; object-fit: cover; }
/* A real icon supplies its own artwork edge to edge — drop the placeholder fill so
   nothing shows through, but keep the design's 2px rule around it. */
.ico-img { background: none; }
.app-title { font-size: 48px; }
.plats { display: flex; gap: 6px; margin-top: 14px; }
.tagline { font-size: 17px; line-height: 28px; max-width: 56ch; margin: 32px 0 0; }
.stores { display: flex; gap: 12px; margin-top: 24px; align-items: center; flex-wrap: wrap; }
.store-badge { display: inline-flex; }
.store-badge img { display: block; height: 40px; width: auto; }
.store-badge.is-unset { opacity: .45; cursor: not-allowed; }

/* Platform glyphs. The source PNGs are black-on-transparent, so they are used as
   masks rather than images — that way the mark takes the tag's own text color
   instead of sitting as raw black on the accent tint. */
.tag { gap: 5px; }
/* Scoped to the platform row so the design system's .tag stays at its documented
   11px everywhere else. */
.plats .tag { font-size: 13px; padding: 4px 11px; gap: 6px; }
.glyph {
  display: inline-block; width: 1.15em; height: 1.15em;
  background: currentColor;
  -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat;
}
.glyph-ios { -webkit-mask-image: url(/ios.png); mask-image: url(/ios.png); }
.glyph-android { -webkit-mask-image: url(/android.png); mask-image: url(/android.png); }
.rule { height: 2px; background: var(--color-divider); margin: 48px 0 40px; border: 0; }

/* — screenshots — */
.shots {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px; margin-top: 20px; max-width: 760px;
}
.shot {
  position: relative; width: 100%; aspect-ratio: 9 / 19.5;
  background: var(--color-surface); border: 2px solid var(--color-text);
}
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shots figcaption { font-size: 12px; margin-top: 8px; color: var(--color-neutral-700); }
.shot-empty {
  position: absolute; inset: 0; display: grid; place-items: center;
  padding: 8px; text-align: center;
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--color-neutral-600);
}

/* — privacy — */
.policy-date { font-size: 13px; color: var(--color-neutral-700); margin: 12px 0 28px; }
.policy {
  display: grid; grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px 48px; max-width: 760px;
}
.policy h3 { font-size: 16px; margin: 0; }
.policy p { font-size: 15px; line-height: 26px; margin: 0; color: var(--color-neutral-800); }

/* — footer — */
.foot {
  border-top: 2px solid var(--color-divider);
  display: flex; gap: 28px; padding: 24px 48px;
  font-size: 13px; color: var(--color-neutral-700);
}
.foot a { color: inherit; }

/* — responsive — */
@media (max-width: 900px) {
  .two { grid-template-columns: 1fr; min-height: 0; }
  .side { border-right: 0; border-bottom: 2px solid var(--color-divider); }
  .shots { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .m-nav { padding: 14px 20px; gap: 16px; }
  .side-kick, .idx, .side-contact { padding-inline: 20px; }
  .main { padding: 32px 20px 48px; }
  .app-title { font-size: 34px; }
  .policy { grid-template-columns: 1fr; gap: 8px 0; }
  .policy h3 { margin-top: 16px; }
  .policy > h3:first-child { margin-top: 0; }
  .foot { padding: 20px; flex-wrap: wrap; gap: 12px 20px; }
}
