/* HomeEd London site. Colours from ios/HomeEdLondon/Assets.xcassets (BrandGreen, BrandSurface, CardSurface). No web fonts, scripts or trackers (ADR-0076). */
:root {
  color-scheme: light dark;
  --bg: #ffffff; --fg: #1c211e; --muted: #56605a; --line: #dfe6e2;
  --brand: #1f5a47; --brand-surface: #e2f2ec; --card: #f3f8f6;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #141713; --fg: #eef1ec; --muted: #a8b2ab; --line: #2f352c;
    --brand: #82c59e; --brand-surface: #353c2d; --card: #252821; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg);
  font: 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
a { color: var(--brand); text-underline-offset: .15em; }
a:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 42rem; margin: 0 auto; padding: 0 1rem; }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: .9rem; padding-bottom: .9rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--fg); text-decoration: none; font-weight: 600; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
header.site nav a { margin-left: 1.1rem; text-decoration: none; font-weight: 500; }
header.site nav a[aria-current="page"] { text-decoration: underline; }
main { padding: 2.5rem 0 3rem; }
h1 { font-family: "New York", "Iowan Old Style", Georgia, serif; font-size: clamp(2rem, 6vw, 2.6rem); line-height: 1.15; margin: 0 0 .75rem; letter-spacing: -.01em; }
h2 { font-size: 1.2rem; margin: 2.25rem 0 .5rem; }
.lede { font-size: 1.2rem; color: var(--muted); margin-top: 0; }
.updated { color: var(--muted); font-size: .95rem; }
.hero { background: var(--brand-surface); border-radius: 20px; padding: 2rem 1.5rem; margin-bottom: 2rem; }
.hero img { width: 72px; height: 72px; border-radius: 16px; display: block; margin-bottom: 1rem; }
.points { list-style: none; padding: 0; display: grid; gap: .75rem; }
.points li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem; }
.points strong { display: block; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer.site .wrap { padding-top: 1.25rem; padding-bottom: 2rem; }
footer.site a { margin-right: 1rem; }

/* Home page */
.hero { background: linear-gradient(180deg, var(--brand-surface), var(--bg)); padding: 2.5rem 0 1rem; margin: -2.5rem 0 0; border-radius: 0; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero .app-icon { width: 80px; height: 80px; border-radius: 18px; margin: 0 0 1.25rem; box-shadow: 0 6px 18px rgba(31, 90, 71, .18); }
.eyebrow { color: var(--brand); font-weight: 600; font-size: .95rem; letter-spacing: .02em; margin: 0 0 .5rem; }
.badge { display: inline-block; background: var(--brand); color: var(--bg); font-weight: 600; font-size: .95rem; padding: .5rem 1rem; border-radius: 999px; margin-top: .5rem; }
.phones { position: relative; height: 470px; max-width: 360px; margin: 0 auto; width: 100%; }
.phone { position: absolute; margin: 0; width: 200px; aspect-ratio: 300 / 650; background: #101311; padding: 7px; border-radius: 34px; box-shadow: 0 18px 40px rgba(0, 0, 0, .22); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; display: block; }
.phone.front { left: 0; top: 30px; z-index: 2; }
.phone.back { right: 0; top: 0; transform: rotate(4deg); opacity: .96; }
.venues { padding: 2.5rem 0 .5rem; }
.venues h2 { text-align: center; margin: 0 0 1.25rem; font-family: "New York", "Iowan Old Style", Georgia, serif; font-size: 1.45rem; }
.icon-strip { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.icon-strip img { width: 64px; height: 64px; border-radius: 16px; display: block; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.features { padding: 1.5rem 0 0; }
.features .points li { border-left: 4px solid var(--brand); }
.help { text-align: center; margin-top: 2rem; }
@media (min-width: 760px) {
  .wrap { max-width: 60rem; }
  main .wrap.narrow, main > .wrap { max-width: 42rem; }
  .hero { padding: 4rem 0 2rem; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
  .phones { height: 540px; }
  .phone { width: 230px; }
  .icon-strip img { width: 72px; height: 72px; }
  .features .points { grid-template-columns: 1fr 1fr; }
}
