/* The public site. Its own stylesheet — the app's is built for a dense
   working screen, and this is a page somebody reads once. */

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
:root{
  color-scheme: light;
  /* The brand sheet, verbatim: Midnight is the ink, Blue the accent, Light the
     ground, and Cyan and Purple are the two ends of the mark's gradient. */
  --midnight:#081736; --blue:#2563EB; --cyan:#22D3EE;
  --purple:#7C3AED; --slate:#94A3B8; --light:#F1F5F9;

  --paper:#F1F5F9; --surface:#FFFFFF; --surface-2:#F8FAFC;
  --ink:#081736; --ink-2:#334155; --muted:#64748B; --faint:#94A3B8;
  --line:#E2E8F0; --line-2:#CBD5E1;
  --accent:#2563EB; --accent-2:#1D4ED8; --accent-soft:#EFF4FF;
  --pos:#0F7A54; --pos-soft:#DFF3EA;
  --neg:#B03F26; --neg-soft:#FAE5DE;
  --warn:#8A6A15; --warn-soft:#F4EAD3;
  --shadow:0 1px 2px rgba(8,23,54,.05), 0 10px 30px -18px rgba(8,23,54,.30);
}
/* Deliberately light only. The app follows the viewer's theme because people
   live in it all day; the shop window is one considered look, and the logo is
   drawn for this ground. */

body{
  background:var(--paper); color:var(--ink);
  font-family:Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased;
}
a{color:var(--accent-2)} a:hover{color:var(--accent)}

/* ---------- the bar across the top ---------- */
.top{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:16px 28px; border-bottom:1px solid var(--line);
  background:var(--surface); position:sticky; top:0; z-index:10;
}
.wordmark{display:inline-flex; align-items:center; text-decoration:none; line-height:0}
.wordmark img{height:26px; width:auto; display:block}
.wordmark.small img{height:20px}
.corner{display:flex; gap:10px; align-items:center}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border:1px solid var(--line-2); background:var(--surface); color:var(--ink);
  border-radius:9px; padding:8px 16px; font-size:14.5px; font-weight:700;
  text-decoration:none; cursor:pointer; font-family:inherit;
}
.btn:hover{border-color:var(--muted); background:var(--surface-2); color:var(--ink)}
.btn.primary{background:var(--accent); border-color:var(--accent); color:#FFFFFF}
.btn.primary:hover{background:var(--accent-2); border-color:var(--accent-2); color:#FFFFFF}
.btn.big{padding:12px 24px; font-size:16px; border-radius:10px}

/* ---------- the page itself ---------- */
main{max-width:1060px; margin:0 auto; padding:0 24px}
.hero{padding:72px 0 56px; max-width:720px}
.hero h1{font-size:clamp(32px,5vw,50px); line-height:1.1; letter-spacing:-.02em; margin:0 0 18px; font-weight:900}
.lede{font-size:18.5px; color:var(--ink-2); margin:0 0 26px}
.lede.narrow{max-width:640px}
.row{display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin:0 0 14px}
.fine{font-size:13px; color:var(--muted); margin:0}

.band{padding:44px 0; border-top:1px solid var(--line)}
.band.alt{background:var(--surface-2); border-radius:16px; padding:40px 32px; margin:0 -32px}
.band h2{font-size:25px; letter-spacing:-.015em; margin:0 0 26px; font-weight:900}

.grid2,.grid3{display:grid; gap:22px}
.grid3{grid-template-columns:repeat(3,1fr)}
.grid2{grid-template-columns:repeat(2,1fr)}
.feat h3{font-size:16.5px; margin:0 0 7px; font-weight:700}
.feat p{margin:0; color:var(--ink-2); font-size:15px}

.faq{display:grid; grid-template-columns:repeat(2,1fr); gap:24px}
.faq h3{font-size:16px; margin:0 0 6px; font-weight:700}
.faq p{margin:0; color:var(--ink-2); font-size:15px}

/* ---------- the enquiry form ---------- */
.enq{background:var(--surface); border:1px solid var(--line); border-radius:14px;
  padding:24px; box-shadow:var(--shadow); max-width:720px; display:grid; gap:14px}
.two{display:grid; grid-template-columns:repeat(2,1fr); gap:14px}
label.f{display:flex; flex-direction:column; gap:5px; font-size:13px; color:var(--muted); font-weight:700}
.enq input,.enq textarea{
  background:var(--surface); border:1px solid var(--line-2); border-radius:8px;
  padding:10px 12px; font-size:15.5px; width:100%; color:var(--ink); font-family:inherit;
}
.enq textarea{resize:vertical; line-height:1.5}
.enq input::placeholder,.enq textarea::placeholder{color:var(--faint); opacity:1}
.enq input:focus,.enq textarea:focus{outline:2px solid var(--accent); outline-offset:1px; border-color:var(--accent)}
.trap{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden}

.ok{background:var(--pos-soft); color:var(--pos); border-radius:12px; padding:18px 22px; max-width:720px}
.ok p{margin:6px 0 0; font-size:15px}
.bad{background:var(--neg-soft); color:var(--neg); border-radius:10px; padding:12px 16px;
  max-width:720px; margin:0 0 14px; font-size:14.5px}

/* ---------- the legal pages ---------- */
.legal{max-width:760px; padding:44px 0 20px}
.legal h1{font-size:33px; letter-spacing:-.02em; margin:0 0 6px; font-weight:900}
.legal .when{color:var(--muted); font-size:13.5px; margin:0 0 28px}
.legal h2{font-size:20px; margin:34px 0 10px; font-weight:900; letter-spacing:-.01em}
.legal h3{font-size:16px; margin:22px 0 6px; font-weight:700}
.legal p,.legal li{color:var(--ink-2); font-size:15.5px}
.legal ul{padding-left:22px} .legal li{margin:5px 0}
.legal table{width:100%; border-collapse:collapse; margin:14px 0; font-size:14.5px}
.legal th,.legal td{text-align:left; padding:9px 12px 9px 0; border-bottom:1px solid var(--line);
  vertical-align:top; color:var(--ink-2)}
.legal th{color:var(--ink); font-weight:700; white-space:nowrap}
mark.todo{background:var(--warn-soft); color:var(--warn); padding:1px 6px; border-radius:5px;
  font-weight:700; font-size:.92em}
.reviewnote{background:var(--warn-soft); color:var(--warn); border-radius:10px;
  padding:14px 18px; margin:0 0 26px; font-size:14.5px; line-height:1.55}
.reviewnote strong{display:block; margin-bottom:3px}
.reviewnote code{font-family:ui-monospace, SFMono-Regular, Menlo, monospace; font-size:13px}

/* ---------- the strip along the bottom ---------- */
/* Midnight, like the band at the foot of the brand sheet, so the mark sits on
   the ground it was drawn for. */
.foot{margin-top:56px; background:var(--midnight); color:#CBD5E1;
  border-top:3px solid transparent;
  border-image:linear-gradient(90deg, var(--cyan), var(--blue), var(--purple)) 1}
.footin{max-width:1060px; margin:0 auto; padding:34px 24px 20px;
  display:flex; justify-content:space-between; gap:28px; flex-wrap:wrap}
.foot .fine{color:#94A3B8}
.footnav{display:flex; gap:20px; flex-wrap:wrap; align-items:flex-start}
.footnav a{font-size:14px; text-decoration:none; color:#CBD5E1}
.footnav a:hover{color:#FFFFFF}
.bottom{max-width:1060px; margin:0 auto; padding:0 24px 30px}
.foot .bottom a{color:#CBD5E1}
.foot .bottom a:hover{color:#FFFFFF}
.foot .wordmark.small img{height:24px}

@media (max-width: 860px){
  .grid3{grid-template-columns:1fr 1fr}
}
@media (max-width: 660px){
  .top{padding:12px 16px}
  main{padding:0 16px}
  .band.alt{margin:0 -16px; padding:32px 16px; border-radius:0}
  .grid3,.grid2,.faq,.two{grid-template-columns:1fr}
  .hero{padding:44px 0 34px}
  .btn.big{width:100%}
}

/* ---------- pricing ---------- */
.pricing{display:grid; grid-template-columns:minmax(300px,380px) 1fr; gap:34px; align-items:start}
.plan{
  background:var(--surface); border:1px solid var(--line); border-radius:14px;
  padding:26px 26px 22px; box-shadow:var(--shadow); position:relative; overflow:hidden;
}
/* one stripe of the logo's own gradient, and nothing else shouting */
.plan::before{
  content:""; position:absolute; inset:0 0 auto 0; height:4px;
  background:linear-gradient(90deg, var(--accent), var(--cyan));
}
.planlabel{
  font-size:12px; text-transform:uppercase; letter-spacing:.11em; font-weight:700;
  color:var(--muted); margin:0 0 10px;
}
.amount{
  margin:0 0 4px; font-size:54px; line-height:1; font-weight:900; letter-spacing:-.03em;
  color:var(--ink); font-variant-numeric:tabular-nums;
}
.amount .cur{font-size:30px; vertical-align:top; line-height:1.5; margin-right:2px; font-weight:700}
.amount .per{font-size:15px; font-weight:400; color:var(--muted); margin-left:9px; letter-spacing:0}
.planline{margin:0 0 18px; color:var(--ink-2); font-size:14.5px}
.ticks{list-style:none; padding:0; margin:0 0 18px; display:grid; gap:9px}
.ticks li{position:relative; padding-left:26px; font-size:14.5px; color:var(--ink-2); margin:0}
.ticks li::before{
  content:"✓"; position:absolute; left:0; top:-1px; color:var(--accent);
  font-weight:700; font-size:15px;
}
.planfine{margin:0; padding-top:16px; border-top:1px solid var(--line);
  font-size:13px; color:var(--muted)}
.enqhead{font-family:inherit; font-size:20px; font-weight:900; margin:0 0 8px; letter-spacing:-.015em}
.enqwrap .enq{max-width:none}

@media (max-width: 860px){
  .pricing{grid-template-columns:1fr}
}

/* the sticky bar must not sit on top of whatever you jumped to */
[id]{scroll-margin-top:86px}

/* ---------- three versions ---------- */
.plans{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; align-items:stretch;
  margin:26px 0 30px}
.plans .plan{display:flex; flex-direction:column; padding:26px 24px 22px}
/* the one most people want stands slightly proud, without shouting */
.plans .plan.best{border-color:var(--accent); box-shadow:0 2px 6px rgba(37,99,235,.10),
  0 22px 44px -28px rgba(8,23,54,.45)}
.plan .flag{position:absolute; top:0; right:0; margin:0;
  background:var(--accent); color:#fff; font-size:11px; font-weight:700;
  letter-spacing:.04em; padding:4px 11px; border-radius:0 0 0 10px}
.plan .planfor{margin:0 0 20px; font-size:14px; color:var(--muted); flex:1}
.btn.wide{width:100%; justify-content:center}

/* ---------- the comparison ---------- */
.tablewrap{overflow-x:auto; -webkit-overflow-scrolling:touch;
  border:1px solid var(--line); border-radius:14px; background:var(--surface)}
table.compare{width:100%; border-collapse:collapse; font-size:14.5px; min-width:560px}
table.compare th, table.compare td{padding:12px 14px; text-align:left}
table.compare thead th{
  font-size:13px; font-weight:800; color:var(--ink); background:var(--surface-2);
  border-bottom:2px solid var(--line); white-space:nowrap;
}
table.compare thead th:first-child{
  font-size:11px; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); font-weight:700;
}
table.compare thead th .cost{display:block; font-size:12px; font-weight:500; color:var(--muted)}
table.compare tbody th{font-weight:500; color:var(--ink-2); border-bottom:1px solid var(--line)}
table.compare tbody td{
  border-bottom:1px solid var(--line); text-align:center; width:104px; vertical-align:middle;
}
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td{border-bottom:0}
table.compare tbody tr:nth-child(even) th, table.compare tbody tr:nth-child(even) td{
  background:var(--surface-2);
}
.compare .yes{color:var(--accent); font-weight:700; font-size:17px}
.compare .no{color:var(--faint); font-size:17px}
.compare .part{font-size:12.5px; color:var(--muted)}
.fine.centred{text-align:center; margin-top:16px}

/* ---------- screenshots ---------- */
.shot{margin:0; padding:0}
.shot img{
  display:block; width:100%; height:auto; border-radius:12px;
  border:1px solid var(--line); box-shadow:0 20px 45px -28px rgba(8,23,54,.5);
}
.shot figcaption{margin-top:10px; font-size:13.5px; color:var(--muted)}
.shot.wide{max-width:1060px; margin:0 auto; padding:0 24px}
.two-up{display:grid; grid-template-columns:1fr 1fr; gap:34px; align-items:center}
.two-up .feat{margin-bottom:18px}
.two-up .feat:last-child{margin-bottom:0}
.lede.narrow{max-width:640px}

@media (max-width: 900px){
  .plans{grid-template-columns:1fr; max-width:420px; margin-inline:auto}
  .two-up, .two-up.flip{grid-template-columns:1fr}
  .two-up.flip figure{order:2}
  .shot.wide{padding:0}
}
