/* Mobile App — 03 Brief builder */

.cw-mobile-app-brief {
  background: #eae7e1;
  color: #141210;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  --cw-ma-edge: clamp(12px, 1.5vw, 24px);
  --cw-ma-pad-x: clamp(12px, 1.25vw, 18px);
}

.cw-mobile-app-brief__inner {
  box-sizing: border-box;
  width: min(1580px, calc(100vw - 2 * var(--cw-ma-edge)));
  max-width: calc(100vw - 2 * var(--cw-ma-edge));
  margin-inline: auto;
  padding: clamp(64px, 8vw, 104px) var(--cw-ma-pad-x) clamp(64px, 8vw, 104px);
}

.cw-mobile-app-brief__head {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 12px;
}

.cw-mobile-app-brief__head-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
}

.cw-mobile-app-brief__eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #b5361a;
}

.cw-mobile-app-brief__title {
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.cw-mobile-app-brief__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #c8391a;
  letter-spacing: -0.01em;
}

.cw-mobile-app-brief__lead {
  margin: 0;
  max-width: 520px;
  font-size: 15.5px;
  line-height: 1.6;
  color: #4a423b;
}

.cw-mobile-app-brief__stats {
  display: flex;
  gap: 0;
  align-items: stretch;
}

.cw-mobile-app-brief__stat {
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cw-mobile-app-brief__stat--border {
  border-left: 1px solid rgba(20, 18, 16, 0.15);
}

.cw-mobile-app-brief__stat-value {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.cw-mobile-app-brief__stat-label {
  font-size: 13px;
  color: #5a524a;
}

.cw-mobile-app-brief__mount {
  padding-top: 28px;
}

.cw-mobile-app-brief__panel {
  border-radius: 30px;
  background: radial-gradient(700px 400px at 50% 0%, rgba(255, 85, 39, 0.12), transparent 70%), #171411;
  color: #eae7e1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 0;
  overflow: hidden;
  box-shadow: 0 50px 100px -50px rgba(20, 18, 16, 0.7);
}

.cw-mobile-app-brief__col {
  padding: clamp(22px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cw-mobile-app-brief__col--controls {
  border-right: 1px solid rgba(234, 231, 225, 0.07);
}

.cw-mobile-app-brief__col--phone {
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 45%, rgba(212, 245, 60, 0.08), transparent 60%);
  border-right: 1px solid rgba(234, 231, 225, 0.07);
}

.cw-mobile-app-brief__step {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cw-mobile-app-brief__step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cw-mobile-app-brief__step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(234, 231, 225, 0.6);
}

.cw-mobile-app-brief__step-num {
  color: #ff7a50;
}

.cw-mobile-app-brief__feat-count {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #d4f53c;
}

.cw-mobile-app-brief__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cw-mobile-app-brief__chip {
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(234, 231, 225, 0.16);
  background: transparent;
  color: rgba(234, 231, 225, 0.82);
  font: 500 13px 'Inter', sans-serif;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.cw-mobile-app-brief__chip.is-on {
  border-color: #ff5527;
  background: rgba(255, 85, 39, 0.16);
  color: #ffb199;
}

.cw-mobile-app-brief__chip:hover {
  border-color: #ff5527;
}

.cw-mobile-app-brief__phone {
  position: relative;
  width: 262px;
  height: 540px;
  border-radius: 44px;
  background: #0b0a09;
  padding: 10px;
  box-sizing: border-box;
  box-shadow: 0 0 0 1px rgba(234, 231, 225, 0.12), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}

.cw-mobile-app-brief__phone-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 35px;
  overflow: hidden;
  background: #f6f3ee;
  color: #141210;
  display: flex;
  flex-direction: column;
}

.cw-mobile-app-brief__phone-status {
  height: 36px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-size: 11px;
  font-weight: 600;
}

.cw-mobile-app-brief__phone-notch {
  width: 70px;
  height: 20px;
  border-radius: 12px;
  background: #0b0a09;
}

.cw-mobile-app-brief__phone-hero {
  padding: 6px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.4s;
}

.cw-mobile-app-brief__phone-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cw-mobile-app-brief__phone-plat {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.cw-mobile-app-brief__phone-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(20, 18, 16, 0.12);
}

.cw-mobile-app-brief__phone-title {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.cw-mobile-app-brief__phone-search {
  height: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 11px;
  color: rgba(20, 18, 16, 0.55);
}

.cw-mobile-app-brief__phone-body {
  flex: 1;
  overflow: hidden;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cw-mobile-app-brief__mod {
  flex: none;
  border-radius: 14px;
  background: #fff;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 16px -10px rgba(20, 18, 16, 0.3);
  animation: cw-mobile-app-brief-fade 0.4s ease-out both;
}

@keyframes cw-mobile-app-brief-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-mobile-app-brief__mod-ab {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  color: #141210;
}

.cw-mobile-app-brief__mod-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cw-mobile-app-brief__mod-label {
  font-size: 12px;
  font-weight: 600;
}

.cw-mobile-app-brief__mod-bar {
  height: 5px;
  border-radius: 3px;
  background: rgba(20, 18, 16, 0.1);
}

.cw-mobile-app-brief__mod-bar span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: rgba(20, 18, 16, 0.22);
}

.cw-mobile-app-brief__phone-empty {
  margin: auto;
  text-align: center;
  font-size: 12px;
  color: rgba(20, 18, 16, 0.5);
  line-height: 1.4;
}

.cw-mobile-app-brief__phone-nav {
  height: 52px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid rgba(20, 18, 16, 0.08);
  background: #fff;
}

.cw-mobile-app-brief__phone-nav span {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(20, 18, 16, 0.14);
}

.cw-mobile-app-brief__phone-nav span:first-child {
  background: #e0431c;
}

.cw-mobile-app-brief__meter {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.cw-mobile-app-brief__meter span {
  height: 6px;
  border-radius: 3px;
  background: rgba(234, 231, 225, 0.1);
  transition: background 0.3s;
}

.cw-mobile-app-brief__plan-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  align-items: center;
  font-size: 12.5px;
  color: rgba(234, 231, 225, 0.8);
}

.cw-mobile-app-brief__plan-track {
  height: 8px;
  border-radius: 4px;
  background: rgba(234, 231, 225, 0.08);
  overflow: hidden;
}

.cw-mobile-app-brief__plan-fill {
  display: block;
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(0.3, 0.7, 0.2, 1);
}

.cw-mobile-app-brief__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cw-mobile-app-brief__stack-tag {
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(234, 231, 225, 0.07);
  border: 1px solid rgba(234, 231, 225, 0.12);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
}

.cw-mobile-app-brief__model {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #d4f53c;
  color: #141210;
}

.cw-mobile-app-brief__model-kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
}

.cw-mobile-app-brief__model-name {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: 16px;
}

.cw-mobile-app-brief__actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cw-mobile-app-brief__send {
  flex: 1;
  min-width: 160px;
  height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #e0431c;
  color: #fff;
  font: 600 15px 'Inter', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cw-mobile-app-brief__send:hover {
  background: #c93a16;
}

.cw-mobile-app-brief__reset {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(234, 231, 225, 0.2);
  background: transparent;
  color: #eae7e1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cw-mobile-app-brief__reset:hover {
  border-color: #ff5527;
}

.cw-mobile-app-brief__cx-label {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #d4f53c;
}

@media (max-width: 720px) {
  .cw-mobile-app-brief__stats {
    flex-wrap: wrap;
  }

  .cw-mobile-app-brief__stat {
    padding: 12px 0;
  }

  .cw-mobile-app-brief__stat--border {
    border-left: 0;
    padding-top: 16px;
    border-top: 1px solid rgba(20, 18, 16, 0.15);
  }
}
