/* Ready Systems design system — modern boutique studio.
   One stylesheet, CSS variables, no framework. Dark base + vivid accent. */

:root {
  --bg: #0b0e1a;
  --bg-2: #11152a;
  --surface: #161b35;
  --surface-2: #1c2342;
  --border: #2a3157;
  --text: #eef1fb;
  --muted: #a7afd0;
  --muted-2: #7f88b3;
  --accent: #6c8cff;
  --accent-2: #b06cff;
  --accent-3: #36e0c4;
  --grad: linear-gradient(120deg, #6c8cff 0%, #b06cff 55%, #36e0c4 120%);
  --grad-soft: linear-gradient(120deg, rgba(108,140,255,.18), rgba(176,108,255,.14));
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --shadow: 0 24px 60px -24px rgba(0,0,0,.6);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container.narrow { max-width: 780px; }

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin: 0 0 .6em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }

/* Skip link */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200; }
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--display); font-weight: 600; font-size: .98rem;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .2s; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #0b0e1a; box-shadow: 0 10px 30px -10px rgba(108,140,255,.6); }
.btn-primary:hover { box-shadow: 0 16px 40px -12px rgba(176,108,255,.7); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); background: rgba(108,140,255,.08); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.4em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(11,14,26,.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; color: var(--text); font-size: 1.15rem; letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo-text strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); box-shadow: 0 6px 18px -6px var(--accent); position: relative; }
.logo-mark::after { content: ""; position: absolute; inset: 7px 7px auto auto; width: 8px; height: 8px; border-radius: 2px; background: var(--bg); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--muted); font-size: .95rem; font-weight: 500; }
.site-nav a:hover, .site-nav a.active { color: var(--text); text-decoration: none; }
.site-nav .btn { color: #0b0e1a; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* Hero */
.hero { position: relative; padding: clamp(60px, 11vw, 130px) 0 clamp(48px, 8vw, 96px); text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% 10% auto; height: 700px; background: radial-gradient(60% 60% at 50% 0, rgba(108,140,255,.30), transparent 70%), radial-gradient(40% 40% at 80% 10%, rgba(176,108,255,.22), transparent 70%), radial-gradient(40% 40% at 15% 20%, rgba(54,224,196,.16), transparent 70%); filter: blur(10px); z-index: 0; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; }
.hero-title { font-size: clamp(2.3rem, 6vw, 4.2rem); }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 720px; margin: 0 auto; }
.hero-lead strong { color: var(--text); }
.hero .cta-row { justify-content: center; }
.hero-note { margin-top: 1.6em; color: var(--muted-2); font-size: .9rem; }
.eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 600; color: var(--accent-3); margin: 0 0 1em; }

/* Page header (interior) */
.page-header { padding: clamp(48px, 8vw, 84px) 0 clamp(24px, 4vw, 40px); position: relative; }
.page-header::before { content: ""; position: absolute; inset: 0 0 auto; height: 320px; background: radial-gradient(50% 100% at 20% 0, rgba(108,140,255,.16), transparent 70%); pointer-events: none; }
.page-header .lead, .lead { font-size: 1.18rem; color: var(--muted); max-width: 720px; }
.updated { color: var(--muted-2); font-size: .85rem; margin-top: .4em; }

/* Generic block spacing */
.block { padding: clamp(36px, 6vw, 64px) 0; }
.section-head { max-width: 720px; margin: 0 0 2em; }
.section-head h2 { margin-bottom: .3em; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Proof bar */
.proof { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.proof-kicker { text-align: center; color: var(--muted-2); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.2em; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.proof-item { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: border-color .2s, transform .2s; }
.proof-item:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-3px); }
.proof-name { font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.proof-sector { color: var(--muted-2); font-size: .82rem; }
.proof-status { margin-top: 8px; font-family: var(--display); font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 3px 9px; border-radius: 999px; align-self: flex-start; }
.proof-status.is-live { color: var(--accent-3); background: rgba(54,224,196,.1); border: 1px solid rgba(54,224,196,.3); }
.proof-status.is-dev { color: #ffd27a; background: rgba(255,210,122,.08); border: 1px solid rgba(255,210,122,.28); }
.card-ext { display: inline-block; margin-left: 16px; color: var(--accent-3); }

/* Grids & cards */
.grid { display: grid; gap: 20px; }
.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .2s, border-color .2s, background .2s; position: relative; }
.feature-card:hover { transform: translateY(-4px); border-color: var(--accent); background: var(--surface-2); }
.grid-1 .feature-card { padding: 30px 32px; }
.feature-card h3 { font-size: 1.18rem; }
.feature-card p { color: var(--muted); margin-bottom: .6em; }
.tag { display: inline-block; font-family: var(--display); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-3); background: rgba(54,224,196,.1); border: 1px solid rgba(54,224,196,.25); padding: 4px 10px; border-radius: 999px; margin-bottom: 1em; }
.card-link { font-family: var(--display); font-weight: 600; font-size: .92rem; }
.ticks { list-style: none; padding: 0; margin: .6em 0 0; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: .5em; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--accent-3); border-bottom: 2px solid var(--accent-3); transform: rotate(-45deg); }

/* Prose */
.prose-block { padding: clamp(28px, 5vw, 52px) 0; }
.prose { font-size: 1.06rem; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--cad, var(--muted)); }
.prose p, .prose li { color: #cfd5ef; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--text); }
.answer-lead { font-size: 1.22rem; line-height: 1.6; color: var(--text) !important; border-left: 3px solid; border-image: var(--grad) 1; padding-left: 20px; }

/* Definition list (glossary) */
.glossary dt { font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin-top: 1.4em; color: var(--text); }
.glossary dd { margin: .3em 0 0; color: #cfd5ef; }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 18px; }
.step { display: flex; gap: 20px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; }
.step-num { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #0b0e1a; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.step h3 { margin-bottom: .2em; }
.step p { color: var(--muted); margin: 0; }
.step-meta { color: var(--accent-3) !important; font-size: .85rem; font-weight: 600; margin-top: .5em !important; }

/* Pricing */
.price-grid { align-items: stretch; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.price-card .btn { margin-top: auto; }
.price-featured { border-color: var(--accent); background: var(--grad-soft); box-shadow: var(--shadow); }
.price { font-family: var(--display); font-size: 2rem; font-weight: 700; margin: .2em 0 0; }
.cadence { color: var(--muted-2); font-size: .85rem; margin: 0 0 1em; }
.price-body { color: var(--muted); }
.price-card .ticks { margin-bottom: 1.6em; }
.footnote { text-align: center; color: var(--muted-2); font-size: .9rem; margin-top: 1.6em; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 460px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); }
th { font-family: var(--display); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-3); background: var(--bg-2); }
td { color: #cfd5ef; }
tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 22px; }
.faq-item summary { font-family: var(--display); font-weight: 600; font-size: 1.05rem; padding: 16px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--accent); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 18px; color: #cfd5ef; }

/* CTA panel */
.cta-panel { background: var(--grad-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(34px, 6vw, 60px); text-align: center; position: relative; overflow: hidden; }
.cta-panel::before { content: ""; position: absolute; inset: -50% 30% auto; height: 300px; background: radial-gradient(50% 100% at 50% 0, rgba(176,108,255,.25), transparent 70%); pointer-events: none; }
.cta-panel h2 { position: relative; }
.cta-panel p { color: var(--muted); max-width: 600px; margin: 0 auto 0; position: relative; }
.cta-panel .cta-row { justify-content: center; position: relative; }

/* Breadcrumbs */
.breadcrumbs { padding: 18px 0 0; font-size: .85rem; }
.breadcrumbs a { color: var(--muted-2); }
.breadcrumbs .sep { color: var(--muted-2); margin: 0 8px; }
.breadcrumbs [aria-current] { color: var(--muted); }

/* Forms */
.enquiry { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 4vw, 38px); display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--display); font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-family: var(--font); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(108,140,255,.2); }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted-2); margin: 0; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: var(--accent-3); }
.form-status.err { color: #ff7a92; }

/* Calculator */
.calc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 4vw, 38px); }
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 24px; }
.calc-grid label { display: grid; gap: 8px; font-family: var(--display); font-weight: 600; font-size: .9rem; }
.calc-grid input { padding: 12px 14px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-size: 1.05rem; }
.calc-grid input:focus { outline: none; border-color: var(--accent); }
.calc-result { text-align: center; padding: 24px; background: var(--grad-soft); border-radius: var(--radius); margin-bottom: 16px; }
.calc-figure { font-family: var(--display); font-size: clamp(2.4rem, 7vw, 3.4rem); font-weight: 700; margin: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc-label { color: var(--muted); margin: 0; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.calc-note { color: var(--muted-2); font-size: .9rem; }
.calc .btn { margin-top: 6px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 56px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--muted); max-width: 260px; margin: 14px 0 18px; }
.footer-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); margin-bottom: 1em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: .92rem; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: .85rem; }
.footer-bottom a { color: var(--muted-2); }

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; }
  .site-nav { position: fixed; inset: 70px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 10px 22px 22px; transform: translateY(-120%); transition: transform .28s ease; max-height: calc(100vh - 70px); overflow-y: auto; }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .site-nav .btn { margin-top: 14px; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
