:root{
  --bg:#070A12;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.65);
  --shadow: 0 20px 60px rgba(0,0,0,.45);

  --green:#23d10d;
  --pink:#ff3fb4;
  --purple:#a871ff;
  --gold:#f0c56a;
  --blue:#63b4ff;

  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.9}

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

#bg{position:fixed; inset:0; width:100%; height:100%; z-index:-3}
.vignette{
  position:fixed; inset:0; z-index:-2; pointer-events:none;
  background:
    radial-gradient(1200px 600px at 20% 20%, rgba(35,209,13,.10), transparent 60%),
    radial-gradient(900px 500px at 85% 25%, rgba(255,63,180,.10), transparent 55%),
    radial-gradient(700px 500px at 70% 80%, rgba(168,113,255,.10), transparent 55%),
    radial-gradient(1000px 700px at 30% 85%, rgba(99,180,255,.08), transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,.10), rgba(0,0,0,.62));
}

/* Screenshot-friendly watermark */
.watermark{
  position:fixed; inset:0; z-index:-1; pointer-events:none;
  opacity:.28; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='260'%3E%3Cdefs%3E%3Cpattern id='p' width='520' height='260' patternUnits='userSpaceOnUse'%3E%3Crect width='520' height='260' fill='transparent'/%3E%3Cg transform='rotate(-18 260 130)'%3E%3Ctext x='10' y='90' font-family='Manrope,Arial' font-size='18' font-weight='800' fill='rgba(255,255,255,0.16)' letter-spacing='2'%3EEYRIES %E2%80%A2 AUTHENTICATED %E2%80%A2 eyries.co.uk%3C/text%3E%3Ctext x='10' y='150' font-family='Manrope,Arial' font-size='14' font-weight='700' fill='rgba(35,209,13,0.18)' letter-spacing='3'%3ETLS1.3 %E2%80%A2 SHA-256 %E2%80%A2 OAuth2 %E2%80%A2 JWT%3C/text%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23p)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

.container{width:min(1120px, calc(100% - 40px)); margin:0 auto}

.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(7,10,18,.62);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.header__inner{display:flex; align-items:center; justify-content:space-between; padding:12px 0; gap:16px}

.brand{display:flex; align-items:center; gap:12px}
.brand__logo{
  width:40px; height:40px; object-fit:contain;
  border-radius:12px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10); padding:6px;
}
.brand__text{display:flex; align-items:baseline; gap:6px; line-height:1}
.brand__name{color:var(--green); font-weight:900}
.brand__group{color:rgba(255,255,255,.88); font-weight:900}

.nav{display:flex; align-items:center; gap:12px; position:relative}
.nav__toggle{
  display:none;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  border-radius:12px;
  padding:10px 12px;
  color:var(--text);
}
.nav__bars{width:20px; height:2px; background:var(--text); display:block; position:relative}
.nav__bars::before,.nav__bars::after{content:""; position:absolute; left:0; right:0; height:2px; background:var(--text)}
.nav__bars::before{top:-6px}
.nav__bars::after{top:6px}
.nav__menu{display:flex; align-items:center; gap:18px}
.nav__link{font-weight:700; font-size:14px; color:rgba(255,255,255,.78)}
.nav__link:hover{color:rgba(255,255,255,.95)}
.nav__cta{
  font-weight:900; font-size:14px;
  padding:10px 14px; border-radius:999px;
  background:rgba(35,209,13,.14);
  border:1px solid rgba(35,209,13,.35);
}

.hero{padding:72px 0 24px}
.hero__grid{display:grid; grid-template-columns: 1.2fr .9fr; gap:28px; align-items:start}
.pill{
  display:inline-flex; gap:8px; align-items:center;
  padding:8px 12px; border-radius:999px;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.10);
  font-weight:700; color:rgba(255,255,255,.78); margin:0 0 16px;
}
.hero__title{
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02; margin:0 0 14px; letter-spacing:-.8px;
}
.grad{
  background: linear-gradient(90deg, var(--green), #b6ff8d, var(--pink), var(--purple));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero__sub{margin:0 0 20px; color:rgba(255,255,255,.76); font-size:16px; line-height:1.65; max-width: 62ch}
.hero__actions{display:flex; gap:12px; flex-wrap:wrap; margin-bottom:18px}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  border-radius:999px; padding:12px 16px; font-weight:900;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:var(--text);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{transform: translateY(-1px); background:rgba(255,255,255,.08)}
.btn--primary{
  background: linear-gradient(180deg, rgba(35,209,13,.30), rgba(35,209,13,.14));
  border-color: rgba(35,209,13,.45);
  box-shadow: 0 10px 30px rgba(35,209,13,.12);
}
.btn--ghost{background:rgba(255,255,255,.04)}

.hero__stats{display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; margin-top: 18px}
.stat{padding:12px 12px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.10); border-radius:14px}
.stat__kpi{font-weight:900}
.stat__label{font-size:12px; color:rgba(255,255,255,.66); margin-top:4px}

.hero__panel{position:relative}
.glass{
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.glass__top{
  display:flex; align-items:center; gap:8px;
  padding:10px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
}
.dot{width:10px;height:10px;border-radius:999px; opacity:.9}
.dot.red{background:#ff5b5b}
.dot.yellow{background:#ffcc4a}
.dot.green{background:#2de56a}
.glass__title{margin-left:6px; font-weight:900; font-size:13px; color:rgba(255,255,255,.78)}
.glass__body{padding:14px}
.tag{
  display:inline-block;
  margin: 6px 6px 0 0;
  padding:8px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  font-size:12px;
  font-weight:800;
  color:rgba(255,255,255,.78);
}
.divider{height:1px; background: rgba(255,255,255,.12); margin:14px 0}
.quote p{margin:0 0 8px}
.muted{color:var(--muted)}
.floating{display:flex; gap:10px; flex-wrap:wrap; margin-top: 12px}
.chip{
  padding:10px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  font-weight:900;
  font-size:12px;
  color:rgba(255,255,255,.72);
}

.section{padding:64px 0}
.section__head{margin-bottom: 18px; display:grid; gap:8px}
.section__head h2{margin:0; font-size: clamp(26px, 3.2vw, 38px); letter-spacing:-.4px}
.section__head p{margin:0; color:rgba(255,255,255,.72); max-width: 72ch; line-height:1.65}

.grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; margin-top: 18px}
.card{
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  padding:18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.card:hover{transform: translateY(-2px); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06)}
.card h3{margin:0 0 8px}
.card p{margin:0 0 10px; color:rgba(255,255,255,.72); line-height:1.65}
.card ul{margin:0; padding-left:18px; color:rgba(255,255,255,.70)}
.card li{margin:6px 0}
.grid--ai{grid-template-columns: repeat(3, 1fr)}
.card--ai .mini{margin-top:10px; font-size:13px}

.badge{
  display:inline-flex; align-items:center;
  padding:6px 10px; border-radius:999px;
  font-size:12px; font-weight:900; letter-spacing:.2px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  margin-bottom: 10px;
}
.badge.pink{border-color:rgba(255,63,180,.45); background:rgba(255,63,180,.10)}
.badge.purple{border-color:rgba(168,113,255,.45); background:rgba(168,113,255,.10)}
.badge.green{border-color:rgba(35,209,13,.45); background:rgba(35,209,13,.10)}
.badge.blue{border-color:rgba(99,180,255,.45); background:rgba(99,180,255,.10)}
.badge.gold{border-color:rgba(240,197,106,.45); background:rgba(240,197,106,.10)}
.badge.slate{border-color:rgba(255,255,255,.20); background:rgba(255,255,255,.06)}

.split{display:grid; grid-template-columns: 1.2fr .8fr; gap:18px; align-items:start}
.panel{
  border-radius: var(--radius);
  padding:18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
}
.checks{margin:10px 0 0; padding-left:18px; color:rgba(255,255,255,.74)}
.checks li{margin:10px 0}
.callout{
  margin-top:14px;
  padding:12px 12px;
  border-radius:14px;
  background: rgba(35,209,13,.08);
  border:1px solid rgba(35,209,13,.22);
}

/* Offices */
.office-grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; margin-top: 18px}
.office__hours{
  display:flex; justify-content:space-between; gap:10px;
  padding:10px 12px; border-radius:14px; margin: 12px 0 12px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
}
.office__hours .k{font-weight:900}
.office__hours .v{color:rgba(255,255,255,.72); font-weight:800}
.map{border-radius: 16px; overflow:hidden; border:1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.18); height: 220px}
.map iframe{width:100%; height:100%; border:0; filter: saturate(0.9) contrast(1.05) brightness(0.95)}

.contact{
  display:grid; grid-template-columns: 1fr 1fr; gap:18px; align-items:start;
  padding:20px; border-radius: 22px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
}
.contact__meta{margin-top:14px; display:grid; gap:8px; color:rgba(255,255,255,.74)}

.trust{margin-top:14px; display:flex; gap:10px; flex-wrap:wrap}
.trust__item{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(255,255,255,.74);
  font-weight:900;
  font-size:12px;
}
.pulse{
  width:10px; height:10px; border-radius:999px;
  background: rgba(35,209,13,.85);
  box-shadow: 0 0 18px rgba(35,209,13,.35);
}

.form{display:grid; gap:14px}
.fine{font-size:12px; margin:0}

/* ===== Premium form (FIXED spacing + NO label overlap) */
.field{position:relative}

.field input,
.field textarea,
.field select{
  width:100%;
  /* BIG FIX: extra top padding so capitals never touch label */
  padding: 34px 16px 16px;
  min-height: 64px;

  border-radius: 18px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
  color: var(--text);

  font-weight: 800;
  font-size: 15px;
  letter-spacing: .3px;
  line-height: 1.25;

  outline:none;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.field textarea{
  min-height: 150px;
  resize: vertical;
  padding-top: 34px;
}

.field input:focus,
.field textarea:focus,
.field select:focus{
  border-color: rgba(35,209,13,.55);
  box-shadow: 0 0 0 4px rgba(35,209,13,.12), 0 10px 30px rgba(35,209,13,.10);
  background: rgba(0,0,0,.26);
}

/* Base label position (kept high + away from typed text) */
.field label{
  position:absolute;
  left:16px;
  top:14px;
  color: rgba(255,255,255,.62);
  font-weight: 800;
  font-size: 12px;
  letter-spacing:.3px;
  pointer-events:none;
  transition: transform .12s ease, opacity .12s ease, top .12s ease;
}

/* Lift label further for focus/filled (gives even more headroom) */
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label{
  top: 10px;
  transform: translateY(-10px) scale(.86);
  opacity: .95;
}

/* Select: always top label (select has no placeholder-shown) */
.label--select{
  top: 10px;
  left: 16px;
  transform: translateY(-10px) scale(.86);
  opacity: .92;
}

/* Select needs extra top space for label (clean separation) */
.field select{
  padding: 38px 16px 16px;
  appearance:none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,.65) 50%),
    linear-gradient(135deg, rgba(255,255,255,.65) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* Button loading */
.btn--send{position:relative; width:100%; padding:14px 16px}
.btn__spinner{
  width:16px; height:16px;
  border-radius:999px;
  border:2px solid rgba(255,255,255,.18);
  border-top-color: rgba(255,255,255,.85);
  display:none;
  animation: spin .7s linear infinite;
}
.is-sending .btn__text{opacity:.75}
.is-sending .btn__spinner{display:inline-block}
@keyframes spin { to { transform: rotate(360deg); } }

.form-status{
  min-height: 22px;
  font-weight:900;
  font-size:12px;
  letter-spacing:.2px;
}
.form-status.ok{color: rgba(35,209,13,.95)}
.form-status.err{color: rgba(255,120,120,.95)}

.footer{
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  padding:18px 0 8px; color:rgba(255,255,255,.60);
}
.footer__links{display:flex; gap:14px}
.footer__links a{color:rgba(255,255,255,.60)}
.footer__links a:hover{color:rgba(255,255,255,.86)}

@media (max-width: 920px){
  .hero__grid{grid-template-columns: 1fr}
  .split{grid-template-columns: 1fr}
  .grid{grid-template-columns: 1fr}
  .grid--ai{grid-template-columns: 1fr}
  .contact{grid-template-columns: 1fr}
  .hero__stats{grid-template-columns: 1fr}
  .office-grid{grid-template-columns: 1fr}
  .map{height: 240px}
}

@media (max-width: 760px){
  .nav__toggle{display:inline-flex}
  .nav__menu{
    display:none;
    position:absolute;
    right:0;
    top:54px;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding:12px;
    width:min(340px, calc(100vw - 40px));
    background: rgba(7,10,18,.92);
    border:1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .nav__menu.is-open{display:flex}
  .nav__cta{text-align:center}
}

.formStatus{
  margin-top:14px;
  padding:12px 14px;
  border-radius:14px;
  font-weight:700;
  font-size:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.85);
}

.formStatus[data-type="ok"]{
  border-color: rgba(34,197,94,.35);
  background: rgba(34,197,94,.10);
}

.formStatus[data-type="err"]{
  border-color: rgba(239,68,68,.35);
  background: rgba(239,68,68,.10);
}


