/* Social Machine product page: clean responsive layout, theme-synced phone artwork */
.sm-target-page {
  --sm-blue: #1db8df;
  --sm-pink: #f04b8a;
  --sm-purple: #8d79e9;
  --sm-ink: #10151f;
  --sm-copy: #5d6878;
  --sm-border: #dce2e9;
  --sm-surface: #ffffff;
  --sm-page: #ffffff;
  background: var(--sm-page);
}
html[data-theme="dark"] .sm-target-page {
  --sm-ink: #f5f7fa;
  --sm-copy: #9ba5b3;
  --sm-border: #28303b;
  --sm-surface: #151a21;
  --sm-page: #070c15;
}
.sm-target-page .site-header {
  background: color-mix(in srgb, var(--sm-page) 94%, transparent);
  border-bottom-color: var(--sm-border);
  backdrop-filter: blur(18px);
}
.sm-target-page .site-header.is-scrolled {
  background: color-mix(in srgb, var(--sm-page) 92%, transparent);
  border-color: var(--sm-border);
}
.sm-target-page .brand-copy strong,
.sm-target-page .main-nav a,
.sm-target-page .theme-toggle,
.sm-target-page .menu-toggle { color: var(--sm-ink); }
.sm-target-page .brand-copy small { color: var(--sm-copy); }
.sm-target-page .main-nav a { font-size: 14px; font-weight: 660; }
.sm-target-page .header-inner { min-height: 88px; }
.sm-target-page .sm-header-product { min-width: 132px; min-height: 48px; border-radius: 9px; }

.sm-target-hero {
  padding: 136px 0 72px;
  background:
    radial-gradient(circle at 82% 24%, color-mix(in srgb, var(--sm-blue) 9%, transparent), transparent 34%),
    var(--sm-page);
  overflow: hidden;
}
html[data-theme="dark"] .sm-target-hero {
  background:
    radial-gradient(circle at 82% 22%, rgba(29,184,223,.08), transparent 34%),
    linear-gradient(180deg, #050913 0%, #070c15 100%);
}
.sm-target-hero-grid {
  display: grid;
  grid-template-columns: minmax(340px,.88fr) minmax(520px,1.25fr);
  gap: 42px;
  align-items: center;
}
.sm-target-copy { max-width: 430px; }
.sm-target-badge {
  display: inline-flex;
  margin: 0 0 25px;
  padding: 7px 14px;
  border: 1px solid #cbd4df;
  border-radius: 999px;
  color: #3e4857;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}
html[data-theme="dark"] .sm-target-badge { border-color: var(--sm-border); color: var(--sm-copy); }
.sm-target-title { display: flex; align-items: center; gap: 17px; }
.sm-target-title img { width: 73px; height: 73px; object-fit: contain; }
.sm-target-title h1 {
  margin: 0;
  color: var(--sm-ink);
  font-size: clamp(58px,5.4vw,78px);
  line-height: .91;
  letter-spacing: -.065em;
}
.sm-target-tagline {
  margin: 23px 0 0;
  background: linear-gradient(90deg,var(--sm-blue),var(--sm-purple) 49%,var(--sm-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -.025em;
}
.sm-target-lead { margin: 22px 0 0; color: var(--sm-copy); font-size: 17px; line-height: 1.7; }
.sm-target-actions { display: flex; gap: 13px; margin-top: 30px; }
.sm-target-actions .button { min-height: 48px; }
.sm-target-status { display: flex; flex-wrap: wrap; gap: 11px 24px; margin-top: 27px; color: var(--sm-copy); font-size: 12px; }

.sm-target-hero-phones {
  position: relative;
  min-width: 0;
  width: 100%;
  aspect-ratio: 1044 / 868;
}
.sm-target-hero-phones img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 28px 50px rgba(0,0,0,.18));
  transition: opacity .25s ease;
}
.sm-image-swap .theme-dark { opacity: 0; pointer-events: none; }
html[data-theme="dark"] .sm-image-swap .theme-light { opacity: 0; pointer-events: none; }
html[data-theme="dark"] .sm-image-swap .theme-dark { opacity: 1; }
html[data-theme="light"] .sm-image-swap .theme-light { opacity: 1; }
html[data-theme="light"] .sm-image-swap .theme-dark { opacity: 0; pointer-events: none; }

.sm-target-features { padding: 46px 0 68px; background: var(--sm-page); }
.sm-target-section-title { margin: 0 0 28px; color: var(--sm-ink); text-align: center; font-size: 24px; letter-spacing: -.035em; }
.sm-target-feature-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; }
.sm-target-feature {
  min-height: 188px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--sm-border);
  border-radius: 16px;
  background: var(--sm-surface);
}
.sm-target-feature-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; font-size: 19px; font-weight: 900; }
.sm-target-feature-icon.is-cyan { color: #159dc1; background: #e6f8fd; border: 1px solid #aee8f6; }
.sm-target-feature-icon.is-pink { color: #e33d7b; background: #fff0f6; border: 1px solid #ffc1d8; }
.sm-target-feature-icon.is-purple { color: #7966dc; background: #f1efff; border: 1px solid #d4cdfc; }
.sm-target-feature-icon.is-tiktok { color: #fff; background: #050505; border-radius: 10px; }
.sm-target-feature h3 { margin: 25px 0 7px; color: var(--sm-ink); font-size: 17px; letter-spacing: -.025em; }
.sm-target-feature p { margin: 0; color: var(--sm-copy); font-size: 13px; line-height: 1.62; }

.sm-target-showcase-section { padding: 0 0 44px; background: var(--sm-page); }
.sm-target-showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.sm-target-showcase {
  min-height: 410px;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(190px,.78fr);
  align-items: center;
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--sm-border);
  border-radius: 18px;
  overflow: hidden;
}
.sm-target-showcase-calendar { background: linear-gradient(135deg,color-mix(in srgb,var(--sm-blue) 5%,var(--sm-surface)),var(--sm-surface)); }
.sm-target-showcase-login { background: linear-gradient(135deg,color-mix(in srgb,var(--sm-pink) 5%,var(--sm-surface)),var(--sm-surface)); }
.sm-target-showcase-copy { align-self: start; padding-top: 6px; }
.sm-target-eyebrow { margin: 0 0 15px; font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.is-cyan-text { color: var(--sm-blue); }
.is-pink-text { color: var(--sm-pink); }
.sm-target-showcase h2 { margin: 0; color: var(--sm-ink); font-size: 30px; line-height: 1.03; letter-spacing: -.045em; }
.sm-target-showcase-copy > p:not(.sm-target-eyebrow) { margin: 16px 0 0; color: var(--sm-copy); font-size: 13px; line-height: 1.65; }
.sm-target-checks { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; }
.sm-target-checks li { position: relative; padding-left: 28px; color: var(--sm-ink); font-size: 12px; line-height: 1.45; }
.sm-target-checks li::before { content: "✓"; position: absolute; left: 0; top: .05em; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 10px; font-weight: 900; }
.is-cyan-checks li::before { background: var(--sm-blue); }
.is-pink-checks li::before { background: var(--sm-pink); }
.sm-target-showcase-phone-wrap { align-self: center; display: grid; place-items: center; width: 100%; min-width: 0; }
.sm-target-phone {
  position: relative;
  width: 220px;
  padding: 8px;
  border: 1px solid #4a4a4a;
  border-radius: 42px;
  background: linear-gradient(145deg,#080808,#323232 50%,#080808);
  box-shadow: 0 25px 55px rgba(0,0,0,.22), inset 0 0 0 2px rgba(255,255,255,.07);
}
.sm-target-phone::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(255,255,255,.12); border-radius: 36px; pointer-events: none; }
.sm-target-notch { position: absolute; z-index: 3; top: 15px; left: 50%; width: 68px; height: 20px; border-radius: 14px; transform: translateX(-50%); background: #050505; }
.sm-target-screen { overflow: hidden; position: relative; aspect-ratio: 390/844; border-radius: 34px; background: #f7f9fc; }
html[data-theme="dark"] .sm-target-screen { background: #0b1017; }
.sm-target-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center top; }
.sm-target-showcase-phone { width: 182px; margin: 0; }

.sm-target-legal { background: var(--sm-page); padding: 0 0 28px; }
.sm-target-footer { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; border-top: 1px solid var(--sm-border); color: var(--sm-copy); }
.sm-target-footer-brand .brand-copy strong { color: var(--sm-ink); font-size: 12px; }
.sm-target-footer-links { display: flex; justify-content: center; gap: 52px; font-size: 11px; }
.sm-target-footer-links a:hover { color: var(--sm-ink); }
.sm-target-footer > small { font-size: 9px; }

@media (max-width: 1100px) {
  .sm-target-hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .sm-target-copy { max-width: 650px; }
  .sm-target-hero-phones { max-width: 840px; margin: 0 auto; }
  .sm-target-feature-grid { grid-template-columns: repeat(2,1fr); }
  .sm-target-showcase-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .sm-target-page .header-inner { min-height: 78px; grid-template-columns: auto auto auto; gap: 8px; }
  .sm-target-page .sm-header-product { display: none; }
  .sm-target-page .menu-toggle { grid-column: auto; }
  .sm-target-page .header-actions { grid-column: auto; }
  .sm-target-page .main-nav { inset: 78px 14px auto; }
  .sm-target-hero { padding: 112px 0 48px; }
  .sm-target-copy { max-width: none; }
  .sm-target-badge { font-size: 8px; }
  .sm-target-title { gap: 12px; }
  .sm-target-title img { width: 62px; height: 62px; }
  .sm-target-title h1 { font-size: clamp(53px,16vw,72px); }
  .sm-target-tagline { font-size: 22px; }
  .sm-target-lead { font-size: 16px; }
  .sm-target-actions { display: grid; grid-template-columns: 1fr; }
  .sm-target-actions .button { width: 100%; min-height: 54px; font-size: 15px; }
  .sm-target-status { display: grid; gap: 7px; font-size: 13px; }
  .sm-target-hero-phones { width: 112%; margin-left: -6%; margin-top: 10px; }
  .sm-target-features { padding: 34px 0 45px; }
  .sm-target-section-title { text-align: left; font-size: 28px; line-height: 1.12; }
  .sm-target-feature-grid { grid-template-columns: 1fr; }
  .sm-target-feature { min-height: 0; padding: 23px; }
  .sm-target-feature h3 { font-size: 21px; }
  .sm-target-feature p { font-size: 16px; }
  .sm-target-showcase-section { padding-bottom: 16px; }
  .sm-target-showcase-grid { gap: 16px; }
  .sm-target-showcase { display: flex; flex-direction: column; min-height: 0; gap: 28px; padding: 30px 22px; }
  .sm-target-showcase-copy { width: 100%; order: 1; }
  .sm-target-showcase h2 { font-size: 39px; }
  .sm-target-showcase-copy > p:not(.sm-target-eyebrow) { font-size: 16px; }
  .sm-target-checks li { font-size: 15px; }
  .sm-target-showcase-phone-wrap { width: 100%; order: 2; }
  .sm-target-showcase-phone { width: min(76vw,290px); margin: 0 auto; }
  .sm-target-footer { grid-template-columns: 1fr; justify-items: center; gap: 20px; padding-top: 28px; text-align: center; }
  .sm-target-footer-links { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px 32px; width: 100%; font-size: 14px; }
  .sm-target-footer > small { font-size: 11px; }
}


/* v0.8.6: exact-ratio lower device previews, no empty screen area */
.sm-target-showcase-phone {
  width: 220px;
  padding: 30px 8px 10px;
  border-radius: 34px;
}
.sm-target-showcase-phone .sm-target-notch {
  top: 8px;
  width: 62px;
  height: 15px;
}
.sm-target-showcase-calendar .sm-target-showcase-phone .sm-target-screen {
  aspect-ratio: 366 / 655;
  border-radius: 24px;
}
.sm-target-showcase-login .sm-target-showcase-phone .sm-target-screen {
  aspect-ratio: 390 / 630;
  border-radius: 24px;
}
.sm-target-showcase-phone .sm-target-screen img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}
.sm-target-showcase-phone-wrap {
  align-self: center;
}
@media (max-width: 720px) {
  .sm-target-showcase-phone {
    width: min(78vw, 300px);
    padding: 34px 9px 12px;
  }
  .sm-target-showcase-phone .sm-target-notch {
    top: 10px;
    width: 72px;
    height: 17px;
  }
}
