/* Self-hosted SIL OFL fonts. Licences sit beside the files: Figtree-OFL.txt and Syne-OFL.txt. */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/fonts/figtree.woff2") format("woff2");
}

@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/syne.woff2") format("woff2");
}

:root {
  --bg: #eef2f6;
  --bg-alt: #e4ebf3;
  --surface: #f7f9fc;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #5b6b7c;
  --line: #c5d0dc;
  --primary: #1d4ed8;
  --primary-deep: #1e3a8a;
  --startup: #059669;
  --services: #2563eb;
  --tasks: #b45309;
  --env: #6d28d9;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --shell: min(1120px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(37, 99, 235, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(5, 150, 105, 0.12), transparent 50%),
    linear-gradient(180deg, #dbe5f0 0%, var(--bg) 28%, #f4f7fb 100%);
  line-height: 1.55;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }

a {
  color: var(--primary-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--primary); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus { left: 1rem; top: 1rem; }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.narrow { max-width: 720px; }
.centre { text-align: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(238, 242, 246, 0.82);
  border-bottom: 1px solid rgba(197, 208, 220, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.45rem;
  background:
    linear-gradient(145deg, #2563eb 0%, #1d4ed8 55%, #0f766e 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.2rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  align-items: center;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover { color: var(--primary); }

.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
}

.nav-cta:hover { background: var(--primary-deep); }

.hero {
  position: relative;
  overflow: clip;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.04), transparent 40%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 22px,
      rgba(29, 78, 216, 0.035) 22px,
      rgba(29, 78, 216, 0.035) 23px
    );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.brand-signal {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--ink);
}

.hero h1,
.section h2,
.prose h1 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  max-width: 18ch;
  color: var(--ink-soft);
  font-weight: 600;
}

.hero-lead,
.section-lead {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 42rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.65rem 1.2rem;
  border-radius: 0.7rem;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.28);
}

.btn-primary:hover { background: var(--primary-deep); color: #fff; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover { background: #fff; color: var(--ink); }

.hero-visual { min-width: 0; }

.shot-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.shot-frame--hero {
  transform: rotate(-1.2deg);
  animation: rise-in 700ms ease both;
}

.shot-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.85rem;
  background: #e8eef5;
  border-bottom: 1px solid var(--line);
}

.shot-chrome span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #94a3b8;
}

.shot-chrome span:nth-child(1) { background: #f87171; }
.shot-chrome span:nth-child(2) { background: #fbbf24; }
.shot-chrome span:nth-child(3) { background: #34d399; }

.shot-chrome strong {
  margin-left: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.shot-placeholder {
  min-height: 240px;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.35rem;
  padding: 2rem 1rem;
  background:
    linear-gradient(160deg, rgba(37, 99, 235, 0.08), rgba(5, 150, 105, 0.08)),
    repeating-linear-gradient(
      45deg,
      rgba(15, 23, 42, 0.03) 0 8px,
      transparent 8px 16px
    );
  color: var(--muted);
}

.shot-placeholder--tall { min-height: 280px; }

.shot-placeholder p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-soft);
}

.shot-placeholder span,
.shot-frame figcaption {
  font-size: 0.9rem;
}

.shot-frame figcaption {
  margin: 0;
  padding: 0.7rem 0.9rem 0.9rem;
  color: var(--muted);
}

.section {
  padding: clamp(3rem, 6vw, 4.75rem) 0;
}

.section--tight { padding-top: 0.5rem; }
.section--alt {
  background: rgba(255, 255, 255, 0.45);
  border-block: 1px solid rgba(197, 208, 220, 0.55);
}

.section h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.disclaimer {
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature {
  padding: 1.25rem 1.3rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-top: 3px solid var(--services);
}

.feature--startup { border-top-color: var(--startup); }
.feature--services { border-top-color: var(--services); }
.feature--tasks { border-top-color: var(--tasks); }
.feature--env { border-top-color: var(--env); }

.feature h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.feature p { margin: 0; color: var(--ink-soft); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.plain-list {
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.plain-list li { margin-bottom: 0.45rem; }

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.price-card {
  padding: 1.4rem 1.45rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.price-card--plus {
  background: linear-gradient(165deg, #eff6ff, #fff 55%);
  border-color: #93c5fd;
}

.price-card h3 {
  margin: 0;
  font-family: var(--font-display);
}

.price {
  margin: 0.35rem 0 1rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.price-card li { margin-bottom: 0.4rem; }

.price-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.muted { color: var(--muted); }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.faq p {
  margin: 0.65rem 0 0.2rem;
  color: var(--ink-soft);
}

.prose h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.prose h2 {
  margin: 1.8rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.03);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 70ch;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(-1.2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-1.2deg);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .feature-list,
  .shot-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 { max-width: none; }

  .site-nav a:not(.nav-cta) { display: none; }
}
