/* Marketing redesign preview — /main2 */

.site-main2 .m2-hero {
  padding: 120px 0 72px;
  position: relative;
  overflow: hidden;
}

.site-main2 .m2-hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 920px;
  height: 560px;
  background:
    radial-gradient(ellipse 70% 55% at 82% 12%, rgba(255, 240, 0, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 48% 40% at 10% 35%, rgba(28, 33, 40, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.site-main2 .m2-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: 48px;
  align-items: center;
}

.site-main2 .m2-hero__copy {
  position: relative;
  z-index: 1;
  animation: m2-fade-up 0.7s ease both;
}

.site-main2 .m2-hero__brand {
  display: inline-block;
  margin: 0 0 18px;
  padding: 10px 14px;
  background: #fff000;
  color: #000;
  font-family: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.site-main2 .m2-hero__brand .dot {
  color: #000;
}

.site-main2 .m2-hero__headline {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-primary);
}

.site-main2 .m2-hero__support {
  margin: 0 0 28px;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.site-main2 .m2-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-main2 .m2-hero__visual {
  position: relative;
  z-index: 1;
  animation: m2-fade-up 0.7s 0.12s ease both;
}

.site-main2 .m2-frame {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.site-main2 .m2-frame--compact {
  box-shadow: var(--shadow);
}

.site-main2 .m2-frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.site-main2 .m2-frame__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.site-main2 .m2-frame__dot:nth-child(1) { background: #c96a5a; opacity: 0.75; }
.site-main2 .m2-frame__dot:nth-child(2) { background: #d4a03d; opacity: 0.75; }
.site-main2 .m2-frame__dot:nth-child(3) { background: #4caf82; opacity: 0.75; }

.site-main2 .m2-frame__url {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.site-main2 .m2-frame__shot {
  display: block;
  width: 100%;
  height: auto;
}

/* Strip */
.site-main2 .m2-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}

.site-main2 .m2-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.site-main2 .m2-strip__item h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-main2 .m2-strip__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Sections */
.site-main2 .m2-section {
  padding: 88px 0;
}

.site-main2 .m2-section--alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.site-main2 .m2-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8200;
}

.site-main2 .m2-title {
  margin: 0 0 14px;
  max-width: 640px;
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.site-main2 .m2-desc {
  margin: 0 0 36px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.site-main2 .m2-inputs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
}

.site-main2 .m2-input {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.site-main2 .m2-input__mark {
  width: 28px;
  height: 4px;
  margin-bottom: 8px;
  background: #fff000;
}

.site-main2 .m2-input strong {
  font-size: 14px;
  font-weight: 700;
}

.site-main2 .m2-input span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-secondary);
}

/* Devices */
.site-main2 .m2-devices {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 0 0 18px;
  padding: 0;
}

.site-main2 .m2-device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 10px 14px;
  text-align: center;
}

.site-main2 .m2-device__logo {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
}

.site-main2 .m2-device__name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

.site-main2 .m2-devices__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
}

/* Analysis split */
.site-main2 .m2-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
}

.site-main2 .m2-split .m2-desc {
  margin-bottom: 24px;
}

.site-main2 .m2-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-main2 .m2-flow li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.site-main2 .m2-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  padding: 0 8px;
  background: #fff000;
  color: #000;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

/* Coach */
.site-main2 .m2-coach {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: start;
}

.site-main2 .m2-coach__panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.site-main2 .m2-coach__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.site-main2 .m2-coach__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  background: #fff000;
  color: #000;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.site-main2 .m2-coach__sub {
  font-size: 12px;
  color: var(--text-muted);
}

.site-main2 .m2-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 16px 20px;
}

.site-main2 .m2-chat__user,
.site-main2 .m2-chat__bot {
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.site-main2 .m2-chat__user {
  align-self: flex-end;
  background: #1c2128;
  color: #fff;
}

.site-main2 .m2-chat__bot {
  align-self: flex-start;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.site-main2 .m2-chat__bot p {
  margin: 0 0 10px;
}

.site-main2 .m2-chat__bot p:last-child {
  margin-bottom: 0;
}

.site-main2 .m2-chat__card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 10px;
  padding: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.site-main2 .m2-chat__card strong {
  font-size: 13px;
}

.site-main2 .m2-chat__card span {
  font-size: 12px;
  color: var(--text-secondary);
}

.site-main2 .m2-chat__cite {
  font-size: 12px !important;
  color: var(--text-muted) !important;
}

.site-main2 .m2-chat__cite a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-main2 .m2-coach__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.site-main2 .m2-coach__points li {
  padding: 16px 16px 16px 18px;
  border-left: 3px solid #fff000;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.site-main2 .m2-coach__points strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.site-main2 .m2-coach__points span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Messaging */
.site-main2 .m2-msg {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
}

.site-main2 .m2-msg__channels {
  display: grid;
  gap: 14px;
}

.site-main2 .m2-channel {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.site-main2 .m2-section--alt .m2-channel {
  background: var(--bg-elevated);
}

.site-main2 .m2-channel img {
  flex-shrink: 0;
  margin-top: 2px;
}

.site-main2 .m2-channel strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.site-main2 .m2-channel span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.site-main2 .m2-msg__note {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.site-main2 .m2-phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.site-main2 .m2-phone {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}

.site-main2 .m2-section--alt .m2-phone {
  background: #fafbfc;
}

.site-main2 .m2-phone__top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}

.site-main2 .m2-phone__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.site-main2 .m2-bubble {
  margin: 0;
  max-width: 94%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.45;
}

.site-main2 .m2-bubble--in {
  align-self: flex-start;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.site-main2 .m2-bubble--out {
  align-self: flex-end;
  background: #fff000;
  color: #000;
}

/* Steps */
.site-main2 .m2-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.site-main2 .m2-steps li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}

.site-main2 .m2-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 36px;
  padding: 4px 8px;
  margin-bottom: 4px;
  background: #fff000;
  color: #000;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.site-main2 .m2-steps strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.site-main2 .m2-steps span:not(.m2-steps__num) {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Audience */
.site-main2 .m2-audience {
  display: grid;
  gap: 32px;
}

.site-main2 .m2-audience .m2-title {
  margin-bottom: 0;
}

.site-main2 .m2-audience__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.site-main2 .m2-audience__card {
  padding: 22px 20px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.site-main2 .m2-section--alt .m2-audience__card {
  background: var(--bg-elevated);
}

.site-main2 .m2-audience__card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.site-main2 .m2-audience__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* CTA */
.site-main2 .m2-cta {
  padding: 88px 0 100px;
}

.site-main2 .m2-cta__box {
  padding: 48px 40px;
  text-align: center;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background-image:
    linear-gradient(180deg, rgba(255, 240, 0, 0.18) 0%, rgba(255, 240, 0, 0) 42%),
    linear-gradient(#fff, #fff);
}

.site-main2 .m2-cta__box h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.2vw, 32px);
  letter-spacing: -0.02em;
}

.site-main2 .m2-cta__box > p {
  margin: 0 auto 24px;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.site-main2 .m2-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.site-main2 .m2-cta__trust {
  margin: 0 auto !important;
  max-width: 480px;
  font-size: 12px !important;
  color: var(--text-muted) !important;
}

@keyframes m2-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .site-main2 .m2-hero__copy,
  .site-main2 .m2-hero__visual {
    animation: none;
  }
}

@media (max-width: 1024px) {
  .site-main2 .m2-hero__grid,
  .site-main2 .m2-split,
  .site-main2 .m2-coach,
  .site-main2 .m2-msg {
    grid-template-columns: 1fr;
  }

  .site-main2 .m2-strip__grid,
  .site-main2 .m2-inputs,
  .site-main2 .m2-steps {
    grid-template-columns: 1fr 1fr;
  }

  .site-main2 .m2-devices {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .site-main2 .m2-hero {
    padding-top: 100px;
    padding-bottom: 56px;
  }

  .site-main2 .m2-section,
  .site-main2 .m2-cta {
    padding: 64px 0;
  }

  .site-main2 .m2-strip__grid,
  .site-main2 .m2-inputs,
  .site-main2 .m2-steps,
  .site-main2 .m2-phones,
  .site-main2 .m2-audience__cols {
    grid-template-columns: 1fr;
  }

  .site-main2 .m2-devices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 10px;
  }

  .site-main2 .m2-device {
    padding: 12px 6px 10px;
  }
}

  .site-main2 .m2-cta__box {
    padding: 36px 20px;
  }
}

@media (max-width: 480px) {
  .site-main2 .m2-hero__actions {
    flex-direction: column;
  }

  .site-main2 .m2-hero__actions .btn {
    width: 100%;
  }
}
