/* UnitLet — marketing site.
   Palette is steel blue rather than the storage yard's green: same company,
   different product, and a visitor who knows one should not think they have
   landed on the other. Values mirror the product's own stylesheet so the site
   and the app agree. */
:root {
  --brand: #23486b;
  --brand-dark: #17324b;
  --bg: #f3f6f9;
  --card: #fff;
  --text: #16202b;
  --muted: #5c6b7a;
  --border: #d8e0e8;
  --accent: #2d6fa8;
  /* Used only for money being lost — an empty unit, an overdue quarter. One
     warm colour, spent sparingly, or it stops meaning anything. */
  /* 5.6:1 on --warm-bg. The first pick was #b5541a, which measured 4.45 and so
     failed AA for body text by a whisker — invisible by eye, and exactly the
     kind of thing that only shows up when you actually compute it. */
  --warm: #9e4712;
  --warm-bg: #fdf1e8;
}
html.dark {
  /* --brand carries white button text, so it stays deep enough to pass contrast
     rather than going pale: #35699a measures 5.8:1 against white, where the
     lighter #3d7ab5 managed only 4.52 — over the AA line but with no margin. */
  --brand: #35699a;
  --brand-dark: #2f6494;
  --bg: #0f151c;
  --card: #0a0f14;
  --text: #dfe6ed;
  --muted: #93a2b1;
  --border: #222d38;
  --accent: #74b3e6;
  --warm: #e08a4d;
  --warm-bg: #241708;
  /* Renders native scrollbars, autofill, dropdowns and the caret dark. */
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--card);
  line-height: 1.55;
}
/* height:auto keeps the intrinsic width/height attributes — which reserve space
   and stop the layout jumping as images load — from squashing the aspect. */
img { max-width: 100%; height: auto; display: block; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.12; margin: 0.4rem 0 1rem; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 1.4rem; text-align: center; letter-spacing: -0.01em; }
h3 { margin: 0.4rem 0; font-size: 1.05rem; }
a { color: var(--accent); }
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.2rem; }
.narrow { max-width: 44rem; }
.hidden { display: none; }
.center { text-align: center; }
.muted { color: var(--muted); }

.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  border: 1px solid var(--border); border-radius: 10px;
  padding: 0.65rem 1.2rem; font: inherit; color: var(--text); background: var(--card);
}
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.btn.primary:hover { background: var(--brand-dark); }
.btn.big { padding: 0.85rem 1.6rem; font-size: 1.05rem; }

/* Nav */
.nav { position: sticky; top: 0; background: rgba(255,255,255,0.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border); z-index: 10; }
html.dark .nav { background: rgba(10,15,20,0.94); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 0.6rem; padding-bottom: 0.6rem; }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1.1rem; color: var(--brand); text-decoration: none; }
html.dark .brand { color: var(--text); }
.brand svg { width: 26px; height: 26px; }
.brand.small { font-size: 0.95rem; }
@media (max-width: 640px) { .nav .brand span { display: none; } }

/* Sun/moon toggle */
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0; cursor: pointer;
  background: var(--card); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px;
}
.icon-btn svg { width: 20px; height: 20px; transition: transform 0.35s ease; }
.icon-btn:hover svg { transform: rotate(35deg); }
.icon-btn .moon { display: none; }
html.dark .icon-btn .sun { display: none; }
html.dark .icon-btn .moon { display: block; }

/* Hero */
.hero { background: var(--bg); border-bottom: 1px solid var(--border); padding: 3.4rem 0 3rem; }
.hero .wrap { max-width: 52rem; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--brand); background: var(--card);
  border: 1px solid var(--border); border-radius: 999px; padding: 0.3rem 0.85rem;
}
html.dark .eyebrow { color: var(--accent); }
.lede { font-size: clamp(1.02rem, 2vw, 1.2rem); color: var(--muted); margin: 0 auto 1.6rem; max-width: 40rem; }
.hero-cta { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 1rem; font-size: 0.9rem; color: var(--muted); }

/* The mixed-use strip — the argument the whole site rests on */
.mix { padding: 3rem 0 1rem; }
.mix-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; }
.mix-card { border: 1px solid var(--border); border-radius: 12px; padding: 1.1rem; background: var(--card); }
.mix-card h3 { margin-top: 0; }
.mix-card p { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.94rem; }
.mix-card .tag { font-size: 0.78rem; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: 0.04em; }
html.dark .mix-card .tag { color: var(--accent); }

/* Sections */
section { padding: 3rem 0; }
section.alt { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sub { text-align: center; color: var(--muted); max-width: 42rem; margin: -0.8rem auto 2rem; }

/* Feature grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.4rem; }
.feature h3 { display: flex; align-items: center; gap: 0.5rem; }
.feature svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
html.dark .feature svg { color: var(--accent); }
.feature p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.95rem; }

/* The money box */
.money {
  border: 1px solid var(--border); border-left: 4px solid var(--warm);
  background: var(--warm-bg); border-radius: 10px; padding: 1.1rem 1.3rem; margin: 0 auto; max-width: 44rem;
}
.money strong { color: var(--warm); }

/* How it works */
.steps { counter-reset: step; display: grid; gap: 1.1rem; max-width: 44rem; margin: 0 auto; }
.step { display: flex; gap: 0.9rem; align-items: flex-start; }
.step::before {
  counter-increment: step; content: counter(step);
  flex: none; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
}
.step p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.95rem; }

/* Pricing */
.price-card {
  max-width: 26rem; margin: 0 auto; border: 2px solid var(--brand); border-radius: 14px;
  padding: 1.8rem; text-align: center; background: var(--card);
}
.price { font-size: 2.6rem; font-weight: 700; margin: 0.4rem 0 0; letter-spacing: -0.02em; }
.price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.price-list { list-style: none; padding: 0; margin: 1.2rem 0; text-align: left; }
.price-list li { padding: 0.32rem 0 0.32rem 1.6rem; position: relative; font-size: 0.95rem; }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
html.dark .price-list li::before { color: var(--accent); }

/* FAQ */
.faq-list { max-width: 44rem; margin: 0 auto; }
details { border: 1px solid var(--border); border-radius: 10px; padding: 0.85rem 1.1rem; margin-bottom: 0.7rem; background: var(--card); }
details[open] { border-color: var(--brand); }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 0.7rem 0 0; color: var(--muted); font-size: 0.95rem; }

/* Waitlist */
.waitlist-form { display: flex; gap: 0.6rem; max-width: 30rem; margin: 1.2rem auto 0; flex-wrap: wrap; }
.waitlist-form input {
  flex: 1 1 14rem; padding: 0.7rem 0.9rem; font: inherit;
  border: 1px solid var(--border); border-radius: 10px; background: var(--card); color: var(--text);
}
.waitlist-form input:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 2.2rem 0; background: var(--bg); }
.foot-inner { display: grid; gap: 0.55rem; text-align: center; }
.foot-inner .brand { justify-content: center; }
.foot-links a { margin: 0 0.3rem; }
.fine { font-size: 0.82rem; color: var(--muted); margin: 0.4rem 0 0; }

/* Legal pages */
.legal { max-width: 44rem; margin: 0 auto; padding: 2.5rem 1.2rem 3rem; }
.legal h1 { text-align: left; }
.legal h2 { text-align: left; font-size: 1.25rem; margin: 2rem 0 0.6rem; }
.legal p, .legal li { color: var(--text); }
.legal .updated { color: var(--muted); font-size: 0.9rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.93rem; }
.legal th, .legal td { border: 1px solid var(--border); padding: 0.5rem 0.65rem; text-align: left; vertical-align: top; }
.legal th { background: var(--bg); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
