/* Variant: Devices — laptop with a website and a phone with a CRM, drawn in CSS; green accent.
   Hero markup in src/variants/devices; the rest is shared content. Light only. */

:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --muted: #edf0f2;
  --ink: #121a1f;
  --ink-2: #4f625b;
  --line: #e0e5e8;
  --accent: #0b7a3e;
  --accent-ink: #ffffff;
  --accent-soft: #dcf3e5;
  --green-soft: #dcf3e5;
  --amber-soft: #fbf0d6;
  --night: #141a1f;
  --night-2: #20282f;

  --bright: #22c55e;
  --ui-accent: #16a34a;
  --ui-img: #e3f6ea;
  --ui-tint-a: #d3f0de;
  --ui-tint-b: #def0fb;
  --ui-tint-c: #fdf0d2;
  --device: #1b1f23;

  color-scheme: light;
}

.dv-hero__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 3vw, 2rem);
}
@media (min-width: 64em) { .dv-hero__inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.dv-title { font-size: clamp(2.75rem, 5.4vw, 5.25rem); line-height: 0.98; letter-spacing: -0.05em; }
.dv-hero .hero__lead { margin-top: 1.5rem; }
.dv-hero .hero__actions { margin-top: 2rem; }

.dv-scene { position: relative; height: clamp(20rem, 40vw, 32rem); }

.dv-laptop { position: absolute; left: 0; top: 6%; width: 84%; }
.dv-laptop__screen {
  aspect-ratio: 16 / 10;
  padding: 12px;
  border-radius: 18px 18px 6px 6px;
  background: var(--device);
  box-shadow: 0 40px 70px -40px rgba(16, 32, 27, 0.6);
}
.dv-ui { height: 100%; aspect-ratio: auto; border-radius: 8px; }
.dv-laptop__base {
  position: relative;
  height: 16px;
  margin: 0 -7%;
  border-radius: 2px 2px 18px 18px;
  background: linear-gradient(#e2e6ea, #b8bfc6);
  box-shadow: 0 16px 30px -18px rgba(16, 32, 27, 0.5);
}
.dv-laptop__base::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 16%;
  height: 6px;
  translate: -50% 0;
  border-radius: 0 0 8px 8px;
  background: #a9b0b8;
}

.dv-web { flex: 1; display: flex; flex-direction: column; padding: 14px 18px 18px; }
.dv-web__nav { display: flex; justify-content: space-between; align-items: center; }
.dv-web__nav > .sk { width: 16%; height: 9px; background: var(--ui-strong); }
.dv-web__links { display: flex; gap: 8px; }
.dv-web__links .sk { width: 30px; }
.dv-web__hero { display: flex; flex-direction: column; gap: 8px; padding: 8% 0 6%; }
.dv-web__hero .sk--h { width: 55%; height: 16px; }
.dv-web__hero .sk--btn { width: 20%; }
.dv-web__cards { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dv-web__cards span { border-radius: 8px; background: var(--ui-img); }

.dv-phone {
  position: absolute;
  right: 2%;
  bottom: 0;
  width: 29%;
  aspect-ratio: 9 / 19;
  padding: 9px;
  border-radius: 34px;
  background: var(--device);
  box-shadow: 0 40px 60px -30px rgba(16, 32, 27, 0.6);
}
.dv-phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 26px; background: #ffffff; }
.dv-phone__notch { position: absolute; left: 50%; top: 8px; width: 34%; height: 14px; translate: -50% 0; border-radius: 999px; background: var(--device); }
.dv-phone__head { display: flex; flex-direction: column; gap: 10px; padding: 34px 14px 6px; }
.dv-phone__head .sk--h { width: 60%; height: 12px; }
.dv-phone .ui__body { padding: 4px 14px; gap: 0; }
.dv-phone .row { grid-template-columns: 20px 1fr 30px; gap: 8px; }
.dv-phone .av { width: 20px; height: 20px; }

.dv-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 24px -12px rgba(16, 32, 27, 0.4);
  font-size: 0.875rem;
  font-weight: 600;
}
.dv-badge::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--bright); }
.dv-badge--1 { left: -2%; top: 0; }
.dv-badge--2 { right: -2%; top: 30%; }
@media (prefers-reduced-motion: no-preference) {
  .dv-badge { animation: dv-float 6s ease-in-out infinite; }
  .dv-badge--2 { animation-delay: -3s; }
  @keyframes dv-float { 50% { translate: 0 -8px; } }
}

/* Shared sections */
.tile--dark .focus strong { color: #6ee7a0; }
.steps li::before { background: var(--accent); }
.ticks li::before { border-color: var(--bright); }
.faq summary::after { background: var(--accent-soft); color: var(--accent); }
.product__link { color: var(--accent); }
.phscale__ticks { color: var(--ink-2); }
