/* PSLNest website. Colours taken from the logo. No external fonts or scripts. */
:root {
  --navy: #08294D;
  --navy-2: #0d3561;
  --green: #6DC047;
  --green-dark: #3f7f24;
  --white: #F8F8F8;
  --ink: #16202b;
  --muted: #4d5b6a;
  --line: #dde3ea;
  --soft: #f1f4f7;
  --radius: 10px;
  --wrap: 1120px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--navy); }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: background .15s, border-color .15s; }
.btn-small { padding: 8px 14px; font-size: .95rem; }
.btn-primary { background: var(--green); color: var(--navy); }
.btn-primary:hover { background: #7fcd5b; }
.btn-ghost { border-color: rgba(248,248,248,.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% 0%, var(--navy-2), var(--navy)); color: var(--white); padding: 88px 0 96px; }
.hero h1 { color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 1.25rem; color: #d7e0ea; max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-note { font-size: .92rem; color: #aebccb; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--green); margin-bottom: 18px; }
.eyebrow.dark { color: var(--green-dark); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

.hero-shot { margin: 0; background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 24px 48px rgba(0,0,0,.35); }
.hero-shot img { width: 100%; height: auto; border-radius: 6px; }
.hero-shot figcaption { color: var(--muted); font-size: .85rem; padding: 10px 4px 2px; }

/* Sections */
.intro { padding: 64px 0 8px; font-size: 1.15rem; color: var(--muted); }
.intro p:first-child { color: var(--ink); }
.section { padding: 80px 0; }
.section.alt { background: var(--soft); }
.section-lead { color: var(--muted); margin-top: -.25em; }

.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps p { color: var(--muted); margin: 0; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 14px; }

.features { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.features li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius); padding: 20px 22px; }
.features p { color: var(--muted); margin: 0; }

.sub-heading { font-size: 1.25rem; margin: 48px 0 0; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.detail-card { background: var(--navy); color: #d7e0ea; border-radius: var(--radius); padding: 26px 28px; }
.detail-card h3 { color: #fff; }
.detail-card p { margin: 0; }

.uses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.use-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.tags { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: #eef6ea; color: var(--navy); border: 1px solid #cfe6c3; border-radius: 999px; padding: 5px 12px; font-size: .92rem; font-weight: 500; }

.beta-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 44px; background: #fff; }
.beta-box p { color: var(--muted); }
.facts { margin: 0; display: grid; gap: 12px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; }

.email { font-size: 1.4rem; font-weight: 600; }

/* Footer */
.site-footer { background: var(--navy); color: #b9c6d3; padding: 32px 0; font-size: .92rem; }
.site-footer a { color: var(--white); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer-row p { margin: 0; }
.footer-row p:last-child { margin-left: auto; }
.brand.small { color: #fff; font-size: 1rem; }

/* Plain text pages */
.page { padding: 64px 0 80px; }
.page h2 { font-size: 1.3rem; margin-top: 1.6em; }
.page p, .page li { color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid, .beta-box, .uses-grid, .detail-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .header-row .btn { margin-left: auto; }
}
@media (max-width: 560px) {
  .steps, .features { grid-template-columns: 1fr; }
  .beta-box { padding: 28px 22px; }
  .footer-row p:last-child { margin-left: 0; }
  .header-row .btn-small { font-size: .85rem; padding: 7px 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
