:root{
    --bg: #10151C;
    --bg-alt: #141A22;
    --surface: #1A212B;
    --surface-2: #212A36;
    --border: #2A323D;
    --border-soft: #232B36;
    --text: #EDEFF2;
    --text-muted: #8B96A5;
    --text-dim: #5C6773;
    --accent: #4FD1C5;
    --accent-dim: #3AA89E;
    --accent-glow: rgba(79,209,197,0.14);
    --warm: #F2A65A;
    --warm-dim: #C98444;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius: 8px;
    --radius-sm: 5px;
    --container: 1180px;
  }

  *{ box-sizing:border-box; margin:0; padding:0; }
  html{ scroll-behavior:smooth; background:var(--bg); }
  body{
    background:var(--bg); color:var(--text); font-family:var(--font-body); line-height:1.5;
    -webkit-font-smoothing:antialiased; overflow-x:hidden;
  }
  section{ scroll-margin-top:76px; }
  img,svg{ display:block; max-width:100%; }
  a{ color:inherit; text-decoration:none; }
  ul{ list-style:none; }
  button{ font-family:inherit; cursor:pointer; }
  input,select,textarea{ font-family:inherit; }

  ::selection{ background:var(--accent); color:#0B1015; }
  :focus-visible{ outline:2px solid var(--accent); outline-offset:3px; border-radius:3px; }

  @media (prefers-reduced-motion: reduce){
    *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
  }

  .container{ max-width:var(--container); margin:0 auto; padding:0 32px; }

  .eyebrow{
    font-family:var(--font-mono); font-size:12.5px; letter-spacing:0.14em; text-transform:uppercase;
    color:var(--accent); display:flex; align-items:center; gap:10px; margin-bottom:18px;
  }
  .eyebrow::before{ content:""; width:16px; height:1px; background:var(--accent-dim); display:inline-block; }

  h1,h2,h3,h4{ font-family:var(--font-display); font-weight:600; letter-spacing:-0.01em; color:var(--text); }

  body{
    background-image:
      radial-gradient(ellipse 900px 500px at 15% -10%, rgba(79,209,197,0.09), transparent 60%),
      radial-gradient(ellipse 700px 500px at 100% 10%, rgba(242,166,90,0.06), transparent 55%);
    background-repeat:no-repeat;
  }

  /* ---------- Nav ---------- */
  .nav{ position:sticky; top:0; z-index:100; background:rgba(16,21,28,0.78); backdrop-filter:blur(10px); border-bottom:1px solid var(--border-soft); }
  .nav-inner{ display:flex; align-items:center; justify-content:space-between; height:72px; }
  .logo{ font-family:var(--font-mono); font-weight:600; font-size:16.5px; letter-spacing:0.02em; display:flex; align-items:center; gap:2px; }
  .logo .brace{ color:var(--text-dim); }
  .logo .cursor{ display:inline-block; width:8px; height:16px; background:var(--accent); margin-left:6px; animation:blink 1.1s step-end infinite; }
  @keyframes blink{ 50%{ opacity:0; } }

  .nav-links{ display:flex; align-items:center; gap:20px; }
  .nav-links a{ font-size:13px; color:var(--text-muted); transition:color .15s ease; white-space:nowrap; }
  .nav-links a:hover{ color:var(--text); }

  .btn{
    font-family:var(--font-body); font-weight:600; font-size:14.5px; padding:11px 20px;
    border-radius:var(--radius-sm); border:1px solid transparent;
    display:inline-flex; align-items:center; gap:8px;
    transition:transform .15s ease, background .15s ease, border-color .15s ease;
  }
  .btn:active{ transform:translateY(1px); }
  .btn-primary{ background:var(--accent); color:#0A1014; }
  .btn-primary:hover{ background:#5fdcd0; }
  .btn-ghost{ border-color:var(--border); color:var(--text); }
  .btn-ghost:hover{ border-color:var(--accent-dim); color:var(--accent); }
  .btn-block{ width:100%; justify-content:center; }

  /* ---------- Hero ---------- */
  .hero{ padding:96px 0 88px; }

  /* ========================================================== on demand === */
  /* This page asks for a written brief rather than a configuration, so its
     layout differs from the service pages: a rate card instead of a price
     slider, and a form that has to feel worth filling in. Everything is built
     from the same tokens as the rest of the site — no new colours, no icons
     fetched from anywhere. */

  .hero-grid{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center; }
  .hero h1{ font-size:clamp(32px, 4.4vw, 50px); line-height:1.1; margin-bottom:22px; }
  .hero h1 .hl{ color:var(--accent); }
  .hero p.lead{ font-size:17px; color:var(--text-muted); max-width:490px; margin-bottom:28px; }
  .hero-cta{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:28px; }
  .hero-badges{ display:flex; gap:10px; flex-wrap:wrap; }
  .hero-badge{
    font-family:var(--font-mono); font-size:11.5px; color:var(--text-muted);
    border:1px solid var(--border); border-radius:20px; padding:6px 12px;
    display:flex; align-items:center; gap:6px;
  }
  .hero-badge .dot{ width:6px; height:6px; border-radius:50%; background:var(--accent); }

  /* --- the brief, drawn as a document being written ------------------- */
  /* The other pages anchor their hero with a terminal or a browser. This is
     the equivalent for a page about describing a problem: a sheet with a few
     lines already filled in. Built from elements, not an image. */
  .brief-sheet{
    background:var(--surface); border:1px solid var(--border); border-radius:10px;
    overflow:hidden; box-shadow:0 20px 60px -20px rgba(0,0,0,0.5);
  }
  .brief-head{
    display:flex; align-items:center; gap:10px;
    padding:12px 16px; background:var(--surface-2);
    border-bottom:1px solid var(--border);
  }
  .brief-ref{
    font-family:var(--font-mono); font-size:11px; color:var(--text-dim);
    letter-spacing:.06em;
  }
  .brief-status{
    margin-left:auto; font-family:var(--font-mono); font-size:10.5px;
    color:var(--accent); border:1px solid var(--accent-dim);
    border-radius:20px; padding:3px 10px;
  }
  .brief-body{ padding:20px 22px 24px; }
  .brief-field{ margin-bottom:16px; }
  .brief-field:last-child{ margin-bottom:0; }
  .brief-label{
    font-family:var(--font-mono); font-size:9.5px; letter-spacing:.18em;
    text-transform:uppercase; color:var(--text-dim); margin-bottom:6px;
  }
  .brief-value{ font-size:13.5px; color:var(--text); line-height:1.6; }
  .brief-value.dim{ color:var(--text-muted); }
  .brief-line{ height:1px; background:var(--border-soft); margin:4px 0 0; }
  .brief-typing{
    display:inline-block; width:7px; height:15px; vertical-align:-2px;
    background:var(--accent); margin-left:2px; animation:briefBlink 1.1s step-end infinite;
  }
  @keyframes briefBlink{ 50%{ opacity:0; } }
  @media (prefers-reduced-motion: reduce){ .brief-typing{ animation:none; } }

  /* --- what we build, as a rate card --------------------------------- */
  /* A list rather than a grid of identical boxes: the prices and timelines
     line up in their own column, so they can be compared down the page
     instead of being hunted for inside each card. */
  .rate-card{
    border:1px solid var(--border); border-radius:var(--radius);
    background:var(--surface); overflow:hidden;
  }
  .rate-row{
    display:grid; grid-template-columns:1.6fr 1fr auto;
    gap:24px; align-items:start;
    padding:24px 26px; border-bottom:1px solid var(--border-soft);
  }
  .rate-row:last-child{ border-bottom:none; }
  .rate-row:hover{ background:var(--surface-2); }
  .rate-name{ font-family:var(--font-display); font-size:16px; margin-bottom:7px; }
  .rate-desc{ font-size:13.5px; color:var(--text-muted); line-height:1.65; }
  .rate-meta{ display:flex; flex-direction:column; gap:5px; padding-top:2px; }
  .rate-price{
    font-family:var(--font-mono); font-size:14px; color:var(--text);
    font-variant-numeric:tabular-nums;
  }
  .rate-time{ font-size:12px; color:var(--text-dim); }
  .rate-action{ padding-top:2px; }

  /* --- how it works --------------------------------------------------- */
  .steps{ display:grid; grid-template-columns:repeat(4, 1fr); gap:0; }
  .step{
    position:relative; padding:0 22px 0 0;
  }
  .step-num{
    font-family:var(--font-mono); font-size:11px; color:var(--accent);
    letter-spacing:.14em; margin-bottom:12px;
  }
  .step-rule{
    height:1px; background:var(--border); margin-bottom:18px; position:relative;
  }
  .step-rule::before{
    content:""; position:absolute; left:0; top:-3px;
    width:7px; height:7px; border-radius:50%; background:var(--accent);
  }
  .step h3{ font-family:var(--font-display); font-size:15px; margin-bottom:8px; }
  .step p{ font-size:13px; color:var(--text-muted); line-height:1.65; }

  /* --- the brief form -------------------------------------------------- */
  .brief-form{
    display:grid; grid-template-columns:1fr 300px; gap:44px; align-items:start;
  }
  .brief-form-main{
    background:var(--surface); border:1px solid var(--border);
    border-radius:var(--radius); padding:30px 32px;
  }
  fieldset.fs{ border:none; margin:0 0 26px; padding:0; }
  fieldset.fs:last-of-type{ margin-bottom:0; }
  fieldset.fs legend{
    font-family:var(--font-mono); font-size:10px; letter-spacing:.2em;
    text-transform:uppercase; color:var(--text-dim);
    padding:0 0 14px; width:100%; border-bottom:1px solid var(--border-soft);
    margin-bottom:18px;
  }
  .fld{ margin-bottom:18px; }
  .fld:last-child{ margin-bottom:0; }
  .fld > label{
    display:block; font-size:13px; color:var(--text); margin-bottom:7px;
  }
  .fld .sub{ font-size:12px; color:var(--text-dim); margin:-3px 0 8px; }
  .fld input[type="text"], .fld input[type="email"], .fld input[type="tel"],
  .fld input[type="url"], .fld select, .fld textarea{
    width:100%; padding:12px 14px; border-radius:var(--radius-sm);
    border:1px solid var(--border); background:var(--bg); color:var(--text);
    font-size:14px; line-height:1.5;
  }
  .fld textarea{ min-height:150px; resize:vertical; line-height:1.7; }
  .fld select{
    appearance:none; padding-right:38px;
    background-image:linear-gradient(45deg, transparent 50%, var(--text-dim) 50%),
                     linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
    background-position:calc(100% - 19px) 51%, calc(100% - 14px) 51%;
    background-size:5px 5px, 5px 5px; background-repeat:no-repeat;
  }
  .fld input:focus, .fld select:focus, .fld textarea:focus{
    outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-glow);
  }
  .fld .err{ color:#E5675A; font-size:12px; margin-top:6px; }
  .fld-pair{ display:grid; grid-template-columns:1fr 1fr; gap:0 18px; }

  /* The panel beside the form: what happens once it is sent. */
  .brief-aside{ position:sticky; top:96px; }
  .aside-card{
    border:1px solid var(--border); border-radius:var(--radius);
    padding:22px 22px 24px; background:var(--surface);
  }
  .aside-card h3{
    font-family:var(--font-display); font-size:15px; margin-bottom:14px;
  }
  .aside-list{ display:flex; flex-direction:column; gap:14px; }
  .aside-item{ display:flex; gap:12px; align-items:flex-start; }
  .aside-num{
    font-family:var(--font-mono); font-size:11px; color:var(--accent);
    min-width:16px; padding-top:2px;
  }
  .aside-item p{ font-size:13px; color:var(--text-muted); line-height:1.6; }
  .aside-note{
    margin-top:20px; padding-top:16px; border-top:1px solid var(--border-soft);
    font-size:12.5px; color:var(--text-dim); line-height:1.6;
  }

  .form-error{
    padding:13px 15px; border-radius:var(--radius-sm);
    background:rgba(229,103,90,.1); border:1px solid rgba(229,103,90,.3);
    color:#E5675A; font-size:13px; margin-bottom:20px;
  }

  /* --- confirmation ---------------------------------------------------- */
  .sent-wrap{ max-width:620px; }
  .sent-ref{
    font-family:var(--font-mono); font-size:13px; color:var(--accent);
    border:1px solid var(--accent-dim); border-radius:var(--radius-sm);
    padding:10px 16px; display:inline-block; margin:18px 0 26px;
  }

  @media (max-width:980px){
    .brief-form{ grid-template-columns:1fr; gap:28px; }
    .brief-aside{ position:static; }
    .steps{ grid-template-columns:repeat(2, 1fr); row-gap:32px; }
  }
  @media (max-width:820px){
    .hero-grid{ grid-template-columns:1fr; gap:38px; }
    .rate-row{ grid-template-columns:1fr; gap:12px; padding:22px 20px; }
    .rate-meta{ flex-direction:row; gap:16px; }
  }
  @media (max-width:600px){
    .steps{ grid-template-columns:1fr; }
    .step{ padding-right:0; }
    .fld-pair{ grid-template-columns:1fr; }
    .brief-form-main{ padding:24px 20px; }
  }

  /* Shared furniture — section headings, footer and the small button —
     taken verbatim from the existing page stylesheets so this page is
     identical to the rest of the site rather than a near miss. */

  .section-head{ max-width:620px; margin-bottom:56px; }
  .section-head h2{ font-size:clamp(26px,3vw,36px); margin-bottom:14px; }
  .section-head p{ color:var(--text-muted); font-size:15.5px; }

  /* A smaller button for use inside a row, where the standard one is too heavy. */
  .btn-sm{
    padding:8px 16px;
    font-size:12.5px;
  }


  /* The footer, taken whole from vps.css. Copying individual rules from it
     last time missed .footer-grid, so the columns stacked on this page
     and nowhere else. */
  .footer-grid{ display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:40px; margin-bottom:56px; }
  .footer-brand p{ color:var(--text-muted); font-size:13.5px; margin-top:14px; max-width:280px; }
  .footer-col h4{ font-size:12.5px; text-transform:uppercase; letter-spacing:0.08em; color:var(--text-dim); margin-bottom:16px; font-family:var(--font-mono); font-weight:500; }
  .footer-col a{ display:block; font-size:13.5px; color:var(--text-muted); padding:6px 0; }
  .footer-col a:hover{ color:var(--accent); }
  .footer-bottom{
    display:flex; justify-content:space-between; align-items:center;
    padding-top:28px; border-top:1px solid var(--border-soft);
    font-size:12.5px; color:var(--text-dim); flex-wrap:wrap; gap:12px;
  }


  @media (max-width:900px){
    .footer-grid{ grid-template-columns:1fr 1fr; }
  }
  @media (max-width:600px){
    .footer-grid{ grid-template-columns:1fr; gap:32px; }
  }


  /* Site chrome copied whole from vps.css. The first attempt took rules
     one at a time and missed .section and .footer-grid, which is why
     this page spaced and stacked differently from every other one. */
  .section{ padding:100px 0; }
  .cta-band{
    background:var(--surface); border:1px solid var(--border); border-radius:16px;
    padding:56px 48px; display:flex; justify-content:space-between; align-items:center;
    margin:0 32px; max-width:calc(var(--container) - 64px); margin:0 auto;
  }
  .cta-band h2{ font-size:26px; max-width:420px; }
  .cta-band p{ color:var(--text-muted); font-size:14px; margin-top:10px; max-width:420px; }

  }


  .hamburger{ display:none; }

  /* The navigation's small-screen behaviour, copied whole from vps.css.
     Taking rules from it individually left ``
     with nothing to switch it back on, so this page had no way to open
     the menu on a phone. */
  @media (max-width:1040px){
    .container{ padding:0 20px; }
    .nav-links{
      position:fixed; inset:72px 0 0 0; background:var(--bg);
      flex-direction:column; align-items:flex-start; padding:32px 24px; gap:4px;
      transform:translateX(100%); transition:transform .2s ease; z-index:99;
    }
    .nav-links.open{ transform:translateX(0); }
    .nav-links a{ padding:14px 0; width:100%; border-bottom:1px solid var(--border-soft); font-size:16px; }
    .nav-links .btn{ margin-top:16px; }
    .hamburger{
      display:flex; flex-direction:column; gap:5px; width:22px; z-index:101; background:none; border:none;
    }
    .hamburger span{ height:2px; width:100%; background:var(--text); border-radius:2px; }
    .plans-grid{ grid-template-columns:1fr; }
    .features-grid{ grid-template-columns:1fr; }
    .footer-grid{ grid-template-columns:1fr; gap:32px; }
    .cta-band{ padding:40px 28px; }
    .section{ padding:72px 0; }
    .hero{ padding:56px 0 64px; }
  }
