/* Coformia marketing — Nord-aligned surfaces shared across pages */
:root {
  --accent-formulane: #3E7C7A;
  --accent-qualane: #4C6E96;
  --accent-countin: #4E7A35;
  --surface-panel: #FFFFFF;
  --surface-muted: #F4F5F7;
  --shadow-app: 0 18px 50px -24px rgba(46, 52, 64, 0.35);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface-panel: #353C4A;
    --surface-muted: #2B303B;
    --shadow-app: 0 22px 56px -20px rgba(0, 0, 0, 0.55);
  }
}
:root[data-theme="dark"] {
  --surface-panel: #353C4A;
  --surface-muted: #2B303B;
  --shadow-app: 0 22px 56px -20px rgba(0, 0, 0, 0.55);
}

.section-label {
  font-family: "IBM Plex Sans Condensed", var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--link);
  margin-bottom: 12px;
}

.app-stage {
  margin: 28px auto 0;
  max-width: 1180px;
  height: min(760px, 82vh);
  min-height: 520px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-muted);
  box-shadow: var(--shadow-app);
}
.app-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.app-stage.story-wb {
  min-height: 560px;
  height: min(680px, 78vh);
}

#look {
  padding-top: 56px;
  padding-bottom: 48px;
}

.demos {
  padding: 72px 0 88px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg2) 40%, var(--bg));
}
.demos h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.demos .sub {
  font-size: 18px;
  color: var(--soft);
  max-width: 52ch;
  margin-top: 14px;
  line-height: 1.45;
}
.demo-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 28px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-panel);
}
.demo-tabs button {
  font: 600 14px var(--font);
  border: 0;
  background: transparent;
  color: var(--soft);
  padding: 10px 18px;
  border-radius: 7px;
  cursor: pointer;
}
.demo-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--bg);
}
.demo-tabs button[data-product="formulane"][aria-selected="true"],
.demo-tabs button[data-product="qualane"][aria-selected="true"] {
  background: var(--blue);
  color: #fff;
}
.demo-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 14px;
  color: var(--soft);
}
.demo-foot a {
  font-weight: 600;
}

.countin-preview {
  margin-top: 32px;
  max-width: 420px;
  margin-inline: auto;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-panel);
  overflow: hidden;
  box-shadow: var(--shadow-app);
}
.countin-preview header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-muted);
  font-size: 13px;
  font-weight: 600;
}
.countin-preview .badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 980px;
  background: color-mix(in srgb, var(--accent-countin) 18%, transparent);
  color: var(--accent-countin);
}
.countin-preview ul {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.countin-preview li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  font-size: 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.countin-preview li:last-child {
  border-bottom: 0;
}
.countin-preview li span:last-child {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.countin-preview .avatars {
  display: flex;
  padding: 12px 16px 4px;
  gap: 4px;
  flex-wrap: wrap;
}
.countin-preview .avatars i {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-muted);
  color: var(--ink);
  border: 1px solid var(--line);
}
.countin-preview .avatars i.new {
  background: color-mix(in srgb, var(--accent-countin) 22%, var(--surface-muted));
  border-color: color-mix(in srgb, var(--accent-countin) 40%, var(--line));
}

.product-hero-mark {
  color: var(--ink);
}

.contact-form {
  max-width: 480px;
  margin: 20px auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 560px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--soft);
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--surface-panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
}
.contact-form textarea {
  min-height: 72px;
  resize: vertical;
}
.contact-form .hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}
.contact-form .turnstile-wrap {
  display: flex;
  justify-content: center;
  margin: 4px 0 8px;
  min-height: 65px;
}
.contact-form button[type="submit"] {
  margin-top: 4px;
  align-self: center;
  font-size: 16px;
}
.form-status {
  min-height: 1.4em;
  font-size: 15px;
  color: var(--soft);
  text-align: center;
}
