/* Cloud Glass, the app's own system (DESIGN.md): the sky is the ground, glass
   holds what you read, blue is the only thing you can press. */
@font-face { font-family: "Jakarta"; src: url("/fonts/PlusJakartaSans-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/PlusJakartaSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/PlusJakartaSans-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --sky: #DDE3FA;
  --blush: #F7C6D9;
  --haze: #B9C8FF;
  --glass: rgb(255 255 255 / .62);
  --edge: rgb(255 255 255 / .95);
  --ink: #1F2547;
  --ink-soft: #3A4170;
  --action: #4766E0;
  --on-action: #FFFFFF;
  --shadow: rgb(71 102 224 / .14);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --sky: #12152E; --blush: #4A2850; --haze: #263479;
    --glass: rgb(255 255 255 / .07); --edge: rgb(255 255 255 / .16);
    --ink: #EEF0FF; --ink-soft: #B7BDE6; --action: #8EA2FF; --on-action: #12152E;
    --shadow: rgb(0 0 0 / .45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); font: 500 17px/1.6 "Jakarta", ui-sans-serif, system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(60rem 40rem at 90% -10%, var(--blush), transparent 70%),
    radial-gradient(60rem 45rem at -10% 70%, var(--haze), transparent 70%),
    var(--sky);
  background-attachment: fixed;
  padding-inline: 20px;
}
a { color: var(--action); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1080px; margin-inline: auto; }
.prose { max-width: 680px; margin-inline: auto; }

header.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -.01em; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 4px 14px var(--shadow); }
nav.links { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 700; font-size: 15px; }
nav.links a { color: var(--ink-soft); text-decoration: none; }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--ink); }

.hero { display: grid; gap: 28px; padding-block: 40px 24px; text-align: center; justify-items: center; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.05; letter-spacing: -.025em; margin: 0; font-weight: 800; text-wrap: balance; max-width: 15ch; }
.hero p.lede { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--ink-soft); margin: 0; max-width: 34rem; text-wrap: balance; }
.cta {
  display: inline-flex; align-items: center; gap: 10px; background: var(--action); color: var(--on-action);
  padding: 14px 24px; border-radius: 999px; font-weight: 800; text-decoration: none; box-shadow: 0 10px 24px var(--shadow);
}
.cta svg { width: 20px; height: 20px; fill: currentColor; }
.hero .art { border-radius: 28px; box-shadow: 0 24px 60px var(--shadow); margin-top: 8px; }
.small { font-size: 14px; color: var(--ink-soft); }

.glass {
  background: var(--glass); border: 1px solid var(--edge); border-radius: 26px; box-shadow: 0 12px 34px var(--shadow);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.features { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); padding-block: 48px; }
.features article { padding: 24px; }
.features h2 { font-size: 1.15rem; margin: 0 0 6px; font-weight: 800; letter-spacing: -.01em; }
.features p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.shots { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-bottom: 56px; }
.shots img { border-radius: 22px; box-shadow: 0 14px 40px var(--shadow); }

.doc { padding: 32px clamp(20px, 5vw, 48px); margin-block: 24px 48px; }
.doc h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 6px; font-weight: 800; }
.doc h2 { font-size: 1.2rem; margin: 2em 0 .4em; font-weight: 800; letter-spacing: -.01em; }
.doc h3 { font-size: 1.02rem; margin: 1.4em 0 .2em; font-weight: 700; }
.doc p, .doc li { color: var(--ink-soft); }
.doc strong { color: var(--ink); }
.doc ul { padding-left: 1.2em; }
.doc .meta { color: var(--ink-soft); font-size: 15px; margin-bottom: 1.6em; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin-block: 8px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--edge); }
.doc th { color: var(--ink); font-weight: 700; }
.doc td { color: var(--ink-soft); }
.table-scroll { overflow-x: auto; }

footer.bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 28px 40px; border-top: 1px solid var(--edge); font-size: 14px; color: var(--ink-soft); }
footer.bottom nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer.bottom a { color: var(--ink-soft); }

.promo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 72px); align-items: center; padding-block: clamp(24px, 6vw, 64px) 56px; }
.promo h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); line-height: 1.05; letter-spacing: -.025em; margin: 0 0 18px; font-weight: 800; text-wrap: balance; }
.promo .lede { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--ink-soft); margin: 0 0 28px; max-width: 32rem; }
.promo .facts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; color: var(--ink-soft); font-size: 16px; }
.promo .facts li { padding-left: 26px; position: relative; }
.promo .facts li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--glass); border: 2px solid var(--action); }
.promo .phone { width: min(100%, 360px); justify-self: center; border-radius: 34px; box-shadow: 0 30px 70px var(--shadow); }
@media (max-width: 760px) { .promo { grid-template-columns: 1fr; text-align: left; } }
