/* Siv's own website (sivsites.co.uk) - brand: #8B5CF6 / #5B21B6 / #0B0B0F / #A1A1AA / white,
   Montserrat headings, Inter body (self-hosted, see fonts/). */
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url(fonts/montserrat-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url(fonts/montserrat-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600 800; font-display: swap; src: url(fonts/inter-latin-600-normal.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #0B0B0F; --band: #111118; --card: #16161F; --line: #272735; --text: #F4F4F5; --muted: #A1A1AA;
  --purple: #8B5CF6; --purple-dark: #5B21B6; --link: #C4B5FD; --ok: #6FD69A; --ok-bg: #0F2A1C; --err: #FF8F8F; --err-bg: #3A1418;
  --head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--body); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.block { padding: 64px 16px; }
.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 0; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Buttons */
.btn { display: inline-block; background: var(--purple); color: #fff; font: 600 1rem/1 var(--body); padding: 14px 22px; border-radius: 10px; border: 2px solid var(--purple);
  text-decoration: none; cursor: pointer; text-align: center; transition: background .15s, border-color .15s; }
.btn:hover, .btn:focus-visible { background: var(--purple-dark); border-color: var(--purple-dark); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover, .btn.ghost:focus-visible { border-color: var(--purple); background: transparent; }
.btn.small { padding: 9px 14px; font-size: .9rem; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(11, 11, 15, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.top nav { display: flex; align-items: center; gap: 18px; }
.top nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; }
.top nav a:not(.btn):hover { color: var(--text); }
@media (max-width: 720px) { .top nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: 56px 0 40px; background: radial-gradient(900px 420px at 15% 0%, rgba(139, 92, 246, .22), transparent 70%); }
.hero-in { display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.3rem); letter-spacing: -.01em; }
.hero h1 span { display: block; color: var(--purple); }
.lead { font-size: 1.15rem; color: #D4D4D8; max-width: 38em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.hero-phone { justify-self: center; width: min(280px, 72vw); border: 8px solid #1F1F2A; border-radius: 34px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(91, 33, 182, .35); aspect-ratio: 1 / 2; }
.hero-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (min-width: 880px) { .hero-in { grid-template-columns: 1.4fr 1fr; } .hero { padding: 80px 0 64px; } }

/* How it works */
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 20px 20px 70px; position: relative; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--purple);
  color: #fff; font: 700 1rem/34px var(--head); text-align: center; }
.steps strong { display: block; font-family: var(--head); font-size: 1.1rem; margin-bottom: 4px; }
.steps span { color: var(--muted); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Features */
.features { display: grid; gap: 16px; margin-top: 24px; }
.features > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; border-top: 3px solid var(--purple); }
.features p { color: var(--muted); margin: 0; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); } }

/* Examples */
.examples { display: grid; gap: 20px; margin-top: 24px; grid-template-columns: 1fr; }
.example { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); }
.example img { border-radius: var(--r); border: 1px solid var(--line); aspect-ratio: 1 / 1.25; object-fit: cover; object-position: top; transition: transform .2s, border-color .2s; }
.example:hover img { transform: translateY(-3px); border-color: var(--purple); }
.example strong { font-family: var(--head); margin-top: 6px; }
.example span { color: var(--muted); font-size: .95rem; }
@media (min-width: 560px) { .examples { grid-template-columns: repeat(3, 1fr); } }

/* Prices */
.plans { display: grid; gap: 16px; margin-top: 24px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; position: relative; }
.plan.best { border: 2px solid var(--purple); box-shadow: 0 16px 50px rgba(139, 92, 246, .18); }
.plan .badge { position: absolute; top: -12px; left: 24px; background: var(--purple); color: #fff; font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; }
.plan .price { margin: 4px 0 12px; color: var(--muted); }
.plan .price strong { font: 700 2.4rem/1 var(--head); color: var(--text); margin-right: 4px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.plan li { padding: 6px 0 6px 26px; position: relative; border-top: 1px solid var(--line); }
.plan li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 10px; height: 6px; border-left: 2px solid var(--purple); border-bottom: 2px solid var(--purple); transform: rotate(-45deg); }
.small-print { margin-top: 24px; color: var(--muted); font-size: .95rem; }
.small-print strong { color: var(--text); }
@media (min-width: 880px) { .plans { grid-template-columns: repeat(3, 1fr); } }

/* FAQ */
.faq { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin: 10px 0; }
.faq summary { cursor: pointer; padding: 16px 44px 16px 18px; font-weight: 600; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 1.4rem; color: var(--purple); }
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 18px 16px; margin: 0; color: #D4D4D8; }

/* Contact form */
.form { display: grid; gap: 14px; margin-top: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; }
.form small { color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea { font: inherit; color: var(--text); background: #0F0F16; border: 1px solid var(--line); border-radius: 10px; padding: 12px; width: 100%; min-width: 0; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--purple); outline: none; box-shadow: 0 0 0 3px rgba(139, 92, 246, .3); }
.form .two { display: grid; gap: 14px; }
@media (min-width: 600px) { .form .two { grid-template-columns: 1fr 1fr; } }
.form label.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.form label.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--purple); }
.form .btn { justify-self: start; min-width: 160px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { padding: 14px 16px; border-radius: 10px; }
.note.ok { background: var(--ok-bg); color: var(--ok); }
.note.err { background: var(--err-bg); color: var(--err); }

/* Privacy page */
.prose h1 { font-size: 2rem; }
.prose h2 { font-size: 1.25rem; margin-top: 1.6em; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
