:root {
  --bg: #102223;
  --bg-dark: #0b1819;
  --text: #cfe9e6;
  --muted: #8fb0ad;
  --white: #ffffff;
  --teal: #0f8a83;
  --teal-hover: #0b6f69;
  --teal-bright: #2fd0c4;
  --amber: #f6b73c;
  --line: rgba(207, 233, 230, .14);
  --card: rgba(255, 255, 255, .035);
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-bright); }
a:hover { color: var(--white); }
h1, h2, h3 { color: var(--white); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.35rem; }
p, li { text-wrap: pretty; }
strong { color: var(--white); }

.wrap { width: min(1120px, 100% - 48px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 48px); margin: 0 auto; }

/* Header and footer */
.site-head { border-bottom: 1px solid var(--line); background: var(--bg-dark); position: relative; z-index: 2; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { color: var(--white); text-decoration: none; font-weight: 700; font-size: 1.45rem; letter-spacing: -.02em; }
.brand span { color: var(--amber); }
.site-head nav a { color: var(--text); text-decoration: none; margin-left: 24px; font-size: .95rem; }
.site-head nav a:hover, .site-head nav a[aria-current] { color: var(--white); }
.site-foot { background: var(--bg-dark); border-top: 1px solid var(--line); padding: 40px 0; font-size: .9rem; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; }
.site-foot a { color: var(--muted); margin-right: 18px; }
.site-foot a:hover { color: var(--white); }

/* Sections */
section { padding: 96px 0; position: relative; }
.dark { background: var(--bg-dark); }
.center { text-align: center; }
.lead { font-size: 1.2rem; max-width: 46em; margin: 0 auto 1em; }

/* Buttons and pills */
.btn { display: inline-block; background: var(--teal); color: var(--white); text-decoration: none; border-radius: 12px; padding: 0 28px; line-height: 48px; font-weight: 500; }
.btn:hover { background: var(--teal-hover); color: var(--white); }
.btn.ghost { background: transparent; border: 1px solid rgba(207, 233, 230, .35); line-height: 46px; color: var(--text); }
.btn.ghost:hover { border-color: var(--teal-bright); color: var(--white); }
.buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.pill { display: inline-block; background: var(--bg); color: var(--amber); font-weight: 600; border: 1px solid rgba(246, 183, 60, .45); border-radius: 999px; padding: 6px 16px; }

/* Home: app cards */
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 48px; }
.app { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
a.app:hover { border-color: rgba(47, 208, 196, .5); color: var(--text); }
.app img { width: 72px; height: 72px; margin-bottom: 18px; }
.app h3 { margin-bottom: .3em; }
.app .meta { margin-top: auto; padding-top: 16px; color: var(--muted); font-size: .95rem; }
.app .meta b { color: var(--amber); font-weight: 600; }
.app.soon { border-style: dashed; }
.app .glyph { width: 72px; height: 72px; border-radius: 18px; margin-bottom: 18px; background: linear-gradient(135deg, #1f4a4a, #0f8a83); display: grid; place-items: center; color: var(--white); font-weight: 700; font-size: 1.6rem; }

/* Product page */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero .wordmark { width: min(420px, 80%); margin: 0 auto 28px; }
.hero .shot { margin: 56px auto 0; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.flip > :first-child { order: 2; }
.feature h2 { font-size: 1.7rem; }
.shot-wrap { display: flex; justify-content: center; }
.ba { background: var(--card); border: 1px solid rgba(47, 208, 196, .2); border-radius: 16px; padding: 22px 26px; font: 1.05rem/1.6 var(--mono); }
.ba .row { display: flex; gap: 18px; align-items: baseline; }
.ba .row + .row { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.ba .lab { flex: 0 0 86px; font: .75rem var(--sans); text-transform: uppercase; letter-spacing: .08em; color: #6f8f8c; }
.typo { color: var(--amber); text-decoration: underline wavy rgba(246, 183, 60, .85); text-underline-offset: 5px; }
.fix { color: var(--teal-bright); text-shadow: 0 0 14px rgba(47, 208, 196, .45); }
.kbd { display: inline-block; border: 1px solid rgba(207, 233, 230, .35); border-bottom-width: 2px; border-radius: 6px; padding: 0 8px; font-size: .9em; color: var(--white); }
.card { max-width: 460px; margin: 32px auto 0; background: var(--card); border: 1px solid rgba(47, 208, 196, .3); border-radius: 20px; padding: 34px 36px; text-align: left; }
.price { font-size: 3.2rem; font-weight: 700; color: var(--white); line-height: 1; }
.card ul { margin: 22px 0 0; padding-left: 1.2em; }
.card li { margin: 6px 0; }
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; color: var(--white); font-size: 1.1rem; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--teal-bright); }
details[open] summary::after { content: "\2212"; }
details p { margin: 12px 0 0; }

/* Legal pages */
.legal { padding: 72px 0 96px; }
.legal h1 { font-size: 2.6rem; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.legal .updated { color: var(--muted); font-size: .9rem; }

@media (max-width: 800px) {
  section { padding: 64px 0; }
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip > :first-child { order: 0; }
  .site-head nav a { margin-left: 16px; }
  .ba .lab { flex-basis: 64px; }
}
