/* vionixsignage.com: the homepage and the privacy policy. The product's colours (brand/README.md): ink, off-white, amber. */
:root {
  color-scheme: dark;
  --ink: #101114;
  --panel: #191b20;
  --line: #2a2d35;
  --text: #eef0f3;
  --muted: #a3a9b4;
  --amber: #fbbf24;
  --wide: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

a { color: var(--amber); }
a:hover { color: #fcd34d; }
img { max-width: 100%; height: auto; display: block; }

.bar, .foot, .wrap { width: min(var(--wide), 100% - 40px); margin: 0 auto; }

/* Header */
.bar { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand img { height: 30px; width: auto; }
.signin { color: var(--text); text-decoration: none; font-weight: 600; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; }
.signin:hover { color: var(--text); border-color: var(--muted); }

/* Buttons */
.btn { display: inline-block; padding: 13px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.btn-main { background: var(--amber); color: var(--ink); }
.btn-main:hover { background: #fcd34d; color: var(--ink); }
.btn-plain { color: var(--text); border: 1px solid var(--line); }
.btn-plain:hover { color: var(--text); border-color: var(--muted); }

/* Hero */
.hero { display: grid; gap: 40px; align-items: center; padding: 36px 0 64px; }
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 18px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-tv { margin: 0; }
.tv { position: relative; padding-bottom: 26px; }
.tv-screen { border: 10px solid #000; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px #34373f, 0 24px 60px rgba(0, 0, 0, 0.55); }
.tv::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 34%; height: 14px; transform: translateX(-50%); background: #1f2128; border-radius: 0 0 8px 8px; }
.caption { color: var(--muted); font-size: 0.9rem; text-align: center; margin: 12px 0 0; }

/* Sections */
section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 12px; }
.intro { color: var(--muted); margin: 0 0 36px; max-width: 40em; }

.row { display: grid; gap: 28px; align-items: center; margin-bottom: 56px; }
.row:last-child { margin-bottom: 0; }
.row h3 { font-size: 1.35rem; margin: 0 0 8px; }
.row p { color: var(--muted); margin: 0; }
.shot { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--ink); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); }

.grid { display: grid; gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.card h3 { font-size: 1.1rem; margin: 0 0 6px; }
.card p { color: var(--muted); margin: 0; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px 22px 22px 70px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 22px; top: 20px; width: 32px; height: 32px; border-radius: 50%; background: var(--amber); color: var(--ink); font-weight: 800; display: grid; place-items: center; }
.steps h3 { font-size: 1.1rem; margin: 0 0 4px; }
.steps p { color: var(--muted); margin: 0; }

.needs { margin: 0; padding-left: 1.2em; color: var(--muted); }
.needs li { margin-bottom: 6px; }
.needs strong { color: var(--text); }

.cta { text-align: center; }
.cta .intro { margin-left: auto; margin-right: auto; }
.cta .actions { justify-content: center; }

/* Footer */
.foot { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }

/* The privacy policy and other plain pages */
.policy { width: min(720px, 100% - 40px); margin: 0 auto; padding: 24px 0 64px; }
.policy h1 { font-size: clamp(1.9rem, 4.6vw, 2.6rem); line-height: 1.15; margin: 0 0 6px; }
.policy h2 { font-size: 1.35rem; margin: 40px 0 10px; }
.policy h3 { font-size: 1.05rem; margin: 24px 0 6px; }
.policy p, .policy li { color: #d6d9df; }
.policy ul { padding-left: 1.2em; }
.policy li { margin-bottom: 8px; }
.muted { color: var(--muted) !important; }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1.15fr; gap: 56px; padding: 56px 0 88px; }
  .row { grid-template-columns: 1fr 1.25fr; gap: 56px; }
  .row.flip > :first-child { order: 2; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 70px 24px 24px; }
  .steps li::before { top: 24px; left: 24px; }
}
