/* getward.ie: Wardie's look (the desktop app and the Portal), KnowAll AI brand. Mobile first. */

@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/mulish-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/mulish-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/mulish-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/mulish-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/playfair-display-latin-700-normal.woff2) format('woff2'); }

:root {
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --night: #020817;
  --slate: #1e293b;
  --slate-2: #0f172a;
  --lime: #9dff0a;
  --text: #f8fafc;
  --soft: #cbd5e1;
  --dim: #94a3b8;
  --line: rgba(148, 163, 184, 0.14);
  --line-2: rgba(148, 163, 184, 0.24);
  --green-text: #86efac;
  --radius: 14px;
  --wrap: 1180px;
  --pad: 20px;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--night); scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  background: radial-gradient(1100px 600px at 75% -180px, rgba(34, 197, 94, 0.09), transparent 70%), var(--night);
  color: var(--text);
  font: 400 16px/1.6 'Mulish', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-text); }
strong { font-weight: 700; color: var(--text); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.muted { color: var(--dim); }
.skip { position: absolute; left: -999px; top: 10px; z-index: 50; background: var(--green); color: var(--night); padding: 10px 16px; border-radius: 10px; font-weight: 800; text-decoration: none; }
.skip:focus { left: 10px; color: var(--night); }

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
p, li { text-wrap: pretty; }
h3 { font-size: 19px; line-height: 1.25; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* ------------------------------------------------------------ Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  background: var(--green); color: var(--night); border: 1px solid var(--green);
  font-weight: 800; font-size: 16px; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.button:hover { background: #4ade80; border-color: #4ade80; color: var(--night); }
.button .icon { width: 18px; height: 18px; flex: none; }
.button-small { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.button-small .icon { width: 16px; height: 16px; }
.button-agent { background: transparent; color: var(--text); border-color: rgba(157, 255, 10, 0.5); }
.button-agent:hover { background: rgba(157, 255, 10, 0.08); border-color: var(--lime); color: var(--text); }
.button-agent-solid { background: var(--lime); border-color: var(--lime); color: var(--night); }
.button-agent-solid:hover { background: #b8ff4d; border-color: #b8ff4d; }
.button-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.button-ghost:hover { background: var(--slate); border-color: var(--line-2); color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions .button { flex: 1 1 100%; }

/* ------------------------------------------------------------ Top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(2, 8, 23, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar-inner { height: 64px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand-shield { width: 28px; height: 28px; }
.brand-name { font: 700 22px/1 'Playfair Display', Georgia, serif; }
.nav { display: none; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
/* Sign in: the Wardie Portal, the signed-in part of this site (it talks straight to your own Microsoft 365). */
.signin { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); font-size: 14px; font-weight: 700; text-decoration: none; }
.signin:hover { border-color: var(--green); color: var(--green); }

/* ------------------------------------------------------------ Hero */
.hero { padding: 44px 0 28px; }
.hero-grid { display: grid; gap: 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--soft); background: rgba(30, 41, 59, 0.6); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); flex: none; }
.hero h1 { font-size: clamp(36px, 9vw, 64px); margin-bottom: 20px; }
.lead { font-size: 18px; color: var(--soft); max-width: 36em; margin-bottom: 28px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--dim); }

.hero-visual { position: relative; display: grid; grid-template-columns: 1fr 0.56fr; align-items: end; gap: 0; padding: 8px 0 84px; }
.glow { position: absolute; inset: 10% 5% 20%; background: radial-gradient(closest-side, rgba(34, 197, 94, 0.22), transparent); filter: blur(10px); z-index: 0; }
.shot { position: relative; z-index: 1; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(2, 8, 23, 0.6); }
.shot-desktop { border-top: 3px solid var(--red); }
.shot-phone { margin-left: -14%; margin-bottom: -52px; border-radius: 26px; border: 6px solid #111827; outline: 1px solid var(--line-2); }
.shields { position: absolute; z-index: 2; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; gap: 6px; background: rgba(15, 23, 42, 0.92); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 10px; font-size: 13px; font-weight: 700; color: var(--soft); white-space: nowrap; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8); }
.shields li { display: flex; align-items: center; gap: 6px; padding: 0 6px; white-space: nowrap; }
.shield { width: 18px; height: 18px; flex: none; max-width: none; }
.icon, .tick, .cross, .gh, .brand-shield { flex: none; max-width: none; }
.shield.green { color: var(--green); }
.shield.amber { color: var(--amber); }
.shield.red { color: var(--red); }

.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.platforms li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; background: rgba(30, 41, 59, 0.45); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 6px; }
.platforms .muted { font-weight: 400; font-size: 14px; }
.status { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); border: 1px dashed var(--line-2); border-radius: 999px; padding: 3px 8px; }
.status-on { color: var(--green-text); background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.35); }

/* ------------------------------------------------------------ Sections */
.section { padding: 72px 0; }
.section-alt { background: linear-gradient(180deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.25)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 36px; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.kicker-agent { color: var(--lime); }
.section h2, .closing h2 { font-size: clamp(30px, 6.5vw, 44px); margin-bottom: 14px; }
.section-lead { font-size: 18px; color: var(--soft); }
.footnote { margin-top: 24px; color: var(--dim); font-size: 15px; max-width: 60em; }

.card { background: rgba(30, 41, 59, 0.55); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--soft); }

/* How it works */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step { position: relative; padding-top: 22px; }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.35); color: var(--green-text); font: 700 20px/1 'Playfair Display', Georgia, serif; margin-bottom: 16px; }

/* Screenshots */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery-item img { border-radius: 14px; border: 1px solid var(--line-2); background: var(--slate-2); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.8); }
.gallery-item figcaption { margin-top: 12px; font-size: 14px; color: var(--dim); }
.gallery-item figcaption strong { color: var(--soft); }
.tray { margin-top: 40px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.tray img { border-radius: 10px; border: 1px solid var(--line-2); width: 100%; max-width: 600px; }
.tray figcaption { color: var(--dim); font-size: 15px; max-width: 36em; }

/* Organisations */
.portal-shot { margin-bottom: 32px; }
.portal-shot img { border-radius: 14px; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 80px -30px rgba(34, 197, 94, 0.25); }
.portal-shot figcaption { margin-top: 12px; font-size: 14px; color: var(--dim); text-align: center; }
.features { display: grid; gap: 16px; }
.feature h3 { font-size: 18px; }

/* Privacy */
.privacy-grid { display: grid; gap: 16px; }
.ticks, .crosses { display: grid; gap: 12px; margin-top: 6px; }
.ticks li, .crosses li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--soft); }
.tick, .cross { width: 22px; height: 22px; padding: 3px; border-radius: 50%; margin-top: 2px; }
.tick { color: var(--green); background: rgba(34, 197, 94, 0.12); }
.cross { color: #fca5a5; background: rgba(239, 68, 68, 0.12); }
.promises { display: grid; gap: 12px; margin-top: 28px; }
.promises li { color: var(--soft); padding-left: 16px; border-left: 2px solid var(--green); }

/* Your tenant, your control */
#your-tenant .ticks li > span, #your-tenant .crosses li > span { color: var(--soft); }
#your-tenant .ticks strong, #your-tenant .crosses strong { color: var(--text); }
.perm-title { font-size: 22px; margin: 48px 0 16px; }
.perm-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(30, 41, 59, 0.35); }
.perm-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.perm-table th, .perm-table td { text-align: left; vertical-align: top; padding: 14px 18px; border-top: 1px solid var(--line); }
.perm-table thead th { border-top: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); background: rgba(15, 23, 42, 0.6); }
.perm-table tbody th { font-weight: 700; color: var(--text); width: 26%; }
.perm-table td { color: var(--soft); }
.perm-table code, .footnote code { font: 600 13.5px ui-monospace, 'SFMono-Regular', Menlo, monospace; color: var(--green-text); overflow-wrap: anywhere; }
.promises a { color: var(--green-text); }
@media (max-width: 759px) {
  .perm-table thead { display: none; }
  .perm-table tr { display: block; padding: 14px 16px; border-top: 1px solid var(--line); }
  .perm-table tbody tr:first-child { border-top: 0; }
  .perm-table th, .perm-table td { display: block; width: auto; padding: 4px 0; border: 0; }
  .perm-table tbody th { width: auto; padding-bottom: 6px; }
  .perm-table td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin: 6px 0 2px; }
}

/* Agent */
.agent { position: relative; background: var(--night); padding-top: 0; padding-bottom: 0;
  border-top: 1px solid rgba(157, 255, 10, 0.2); border-bottom: 1px solid rgba(157, 255, 10, 0.2); }
/* He is the backdrop, Sergeant Sammie style: on phones a band across the top with the copy
   beneath; on wide screens he fills the section and the copy sits on the dark left side. */
.agent-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 92svh; }
.agent-bg { position: absolute; inset: 0; z-index: -1; margin: 0; pointer-events: none; }
.agent-bg img { position: absolute; top: 0; left: 0; width: 100%; height: 56svh; object-fit: cover; object-position: 64% 40%; }
.agent-vignette { position: absolute; inset: 0; background: radial-gradient(125% 105% at 70% 45%, transparent 30%, rgba(2, 8, 23, 0.9) 100%); }
.agent-scrim { position: absolute; inset: 0; background: linear-gradient(to top, #020817 0%, #020817 44%, rgba(2, 8, 23, 0.85) 56%, rgba(2, 8, 23, 0.35) 78%, rgba(2, 8, 23, 0.15) 100%); }
.agent-hero-inner { position: relative; width: 100%; padding-top: 50svh; padding-bottom: 56px; }
.agent-copy { max-width: 38rem; }
.agent .section-lead { margin-bottom: 28px; }
.agent-list { display: grid; gap: 20px; margin-bottom: 28px; }
.agent-list li { padding-left: 18px; border-left: 2px solid rgba(157, 255, 10, 0.55); }
.agent-list h3 { font-size: 19px; margin-bottom: 4px; }
.agent-list p { color: var(--soft); }
.agent-terms { color: var(--soft); background: rgba(30, 41, 59, 0.55); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 24px; }
.agent-contact { margin-top: 14px; color: var(--dim); font-size: 15px; }
.agent-contact a { color: var(--lime); }
.agent-contact a:hover { color: #c6ff70; }

/* Cyber Essentials */
.controls { display: grid; gap: 14px; }
.control h3 { font-size: 18px; }

/* Open source */
.oss { display: grid; gap: 20px; align-items: center; }
.oss-mark { width: 52px; height: 52px; color: var(--text); }
.oss .section-lead { max-width: 40em; }
.oss h2 { margin-bottom: 8px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: rgba(30, 41, 59, 0.55); border: 1px solid var(--line); border-radius: 12px; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; font-size: 17px; position: relative; border-radius: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--green-text); }
.faq details p { padding: 0 20px 20px; color: var(--soft); max-width: 48em; }

/* Closing */
.closing { padding: 80px 0; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(600px 300px at 50% 100%, rgba(34, 197, 94, 0.1), transparent 70%); }
.closing-inner { display: grid; justify-items: center; gap: 8px; }
.closing-shield { width: 56px; height: 56px; margin-bottom: 12px; filter: drop-shadow(0 0 24px rgba(34, 197, 94, 0.45)); }
.closing h2 { margin-bottom: 24px; }
.actions-center { justify-content: center; width: 100%; }

/* ------------------------------------------------------------ Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 28px; font-size: 15px; }
.footer-inner { display: grid; gap: 28px; }
.footer-brand .muted { margin-top: 8px; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-links a, .built-by { color: var(--soft); text-decoration: none; }
.footer-links a:hover, .built-by:hover { color: var(--text); text-decoration: underline; }
.footer-credits { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.built-by { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.built-by img { width: 56px; height: auto; }
.gh { width: 22px; height: 22px; }
.footer-base { margin-top: 28px; color: var(--dim); font-size: 14px; }
.footer-base p { padding-top: 20px; border-top: 1px solid var(--line); }

/* ------------------------------------------------------------ Larger screens */
@media (min-width: 560px) {
  .actions .button { flex: 0 0 auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .features, .controls { grid-template-columns: repeat(2, 1fr); }
  .privacy-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  :root { --pad: 32px; }
  .nav { display: flex; gap: 4px; margin-left: 8px; }
  .nav a { color: var(--soft); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
  .nav a:hover { color: var(--text); background: rgba(30, 41, 59, 0.6); }
  .hero { padding: 72px 0 36px; }
  .hero-grid { grid-template-columns: 1.12fr 1fr; align-items: center; gap: 48px; }
  .hero-visual { padding-left: 12px; }
  .section { padding: 104px 0; }
  .section.agent { padding-top: 0; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .features { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .controls { grid-template-columns: repeat(5, 1fr); }
  .oss { grid-template-columns: auto 1fr auto; gap: 28px; }
  .faq-wrap { display: grid; grid-template-columns: 0.8fr 2fr; gap: 48px; align-items: start; }
  .faq-wrap .section-head { margin-bottom: 0; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer-credits { grid-column: 1 / -1; }
}

@media (min-width: 1100px) {
  .agent-hero { align-items: center; min-height: min(92svh, 920px); }
  .agent-bg img { height: 100%; object-position: 72% 40%; }
  .agent-scrim { background: linear-gradient(to right, #020817 0%, rgba(2, 8, 23, 0.95) 32%, rgba(2, 8, 23, 0.75) 50%, rgba(2, 8, 23, 0.2) 72%, transparent 92%), linear-gradient(to top, #020817 0%, transparent 18%); }
  .agent-hero-inner { padding-top: 72px; padding-bottom: 72px; }
  .agent-copy { max-width: 34rem; }
  .portal-shot { margin-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.agent-list a { color: var(--lime); }
