/* The hup pages' shared sheet, in the manner of an Apple app page: a light gray ground, large
   radii, short bold phrases, and the app's dark terminal in the films. The accent is the app's
   mint (Themes.swift's Expanse), deepened for text. The hup page itself adds home.css. */

:root {
  --bg: #f5f5f7;
  --card: #ffffff;
  --card-2: #fafafc;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --hair: rgba(0, 0, 0, 0.08);
  --mint: #5cd3c0;
  --mint-rgb: 92, 211, 192;
  /* the same hue, deep enough for text on the light ground (5.2:1) */
  --accent: #0b7466;
  --accent-soft: #e1f5f0;
  /* the app icon's red (#F32C32), a step deeper so the name reads as text on the gray ground (4.5:1) */
  --red: #d8262c;
  --cyan: #5cd3c0;
  --green: #1f9d68;
  --amber: #e2a23b;
  --night: #0c1016;
  --night-2: #141a23;
  --night-3: #1b222d;
  --night-line: #263040;
  --night-ink: #d8dee8;
  --night-muted: #8c96a6;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --r: 28px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; text-wrap: balance; }
.lede, .getit__panel > p, .compare-hero p, .privacy-hero p { text-wrap: balance; }
p { margin: 0; }
code, kbd { font-family: var(--mono); font-size: 0.86em; }
code { background: #ececf0; border-radius: 6px; padding: 0.1em 0.38em; color: var(--ink-2); }
kbd {
  display: inline-block;
  min-width: 1.75em;
  padding: 0.06em 0.42em;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 7px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  text-align: center;
  line-height: 1.45;
}

/* Symbols for <use>. Hidden without display: none, which would stop their gradients. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.wrap--wide { width: min(1200px, 100% - 32px); }

/* The one bar at the top: the site's monochrome mark and its pages, kept in view */

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 245, 247, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hair);
}
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 52px; }
.top__brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: 0.02em; }
/* the company's lockup (assets/logo.svg: its mark and the drawn "Greater Expanse"), in one color, the page's ink */
.top__brand .lockup { display: block; height: 22px; aspect-ratio: 228.42 / 26.7; background: currentColor;
  -webkit-mask: url(/assets/logo.svg) center / contain no-repeat; mask: url(/assets/logo.svg) center / contain no-repeat; }
.top__nav { display: flex; flex-wrap: wrap; gap: 2px; }
.top__nav a { color: var(--ink-2); text-decoration: none; font-size: 13px; padding: 5px 11px; border-radius: 999px; }
.top__nav a:hover { color: var(--ink); }
.top__nav { align-items: center; gap: 10px; }
.top__nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.top__nav .top__get { padding: 4px 13px; background: var(--ink); color: #fff; font-weight: 500; }
.top__nav .top__get:hover { background: #000; color: #fff; }

/* A narrow phone: the lockup's mark alone (it's at the left of assets/logo.svg), so that Docs,
   Compare and Download fit beside it on one line */
@media (max-width: 400px) {
  .top__brand .lockup { width: 17px; aspect-ratio: auto; -webkit-mask-size: auto 100%; mask-size: auto 100%; -webkit-mask-position: left center; mask-position: left center; }
}

/* Hero */

.hero { padding: 48px 0 0; text-align: center; }
.hero__icon { width: 112px; height: 112px; margin: 0 auto 16px; }
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.lede { max-width: 640px; margin: 18px auto 0; font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.4; color: var(--ink-2); }
/* the name in the lede, as the icon writes it: lowercase, bold, red */
.wordmark { font-weight: 700; color: var(--red); }

.get { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 30px; }
.get { align-items: flex-start; gap: 18px; }
.store { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.store p { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.store p svg { width: 17px; height: 17px; color: var(--ink-2); }
.store p b { color: var(--ink); font-weight: 600; }

/* The Mac download: a plain dark button at the App Store badge's height. */
.dl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 22px 0 16px;
  border: 1px solid #a6a6a6;
  border-radius: 12px;
  background: #000;
  color: #fff;
  text-decoration: none;
  text-align: left;
}
.dl svg { width: 26px; height: 26px; flex: none; }
.dl span { display: flex; flex-direction: column; font-size: 11.5px; line-height: 1.1; letter-spacing: 0.01em; }
.dl b { font: 600 21px/1.05 var(--display); letter-spacing: -0.01em; }
.dl:hover { background: #1d1d1f; }
.dl:focus-visible, .badge:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
/* Apple's App Store badge, unaltered, with clear space around it. */
.badge { display: inline-block; border-radius: 10px; line-height: 0; }
.badge img { height: 54px; width: auto; }

/* Films */

.stage {
  position: relative;
  margin: 52px 0 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--night);
  aspect-ratio: 16 / 9;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.85), 0 30px 70px -36px rgba(12, 16, 22, 0.7);
}
.stage__video { width: 100%; height: 100%; object-fit: cover; }
.stage__toggle, .stage__sound {
  position: absolute;
  bottom: 16px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(12, 16, 22, 0.62);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.stage__toggle { right: 16px; width: 40px; display: grid; place-items: center; }
.stage__toggle svg { width: 15px; height: 15px; fill: currentColor; }
.stage__sound { right: 64px; display: flex; align-items: center; gap: 8px; padding: 0 15px 0 12px; font: 600 14px/1 var(--sans); }
.stage__sound svg { width: 17px; height: 17px; fill: currentColor; }
.stage__sound.is-on span { display: none; }
.stage__sound.is-on { width: 40px; padding: 0; justify-content: center; }
.stage__toggle:focus-visible, .stage__sound:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.stage--tile { margin: 0; border-radius: 16px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.85); }
.stage--tile .stage__toggle { right: 12px; bottom: 12px; width: 34px; height: 34px; }

/* Works with */

.works { margin-top: 40px; text-align: center; }
.works__label { font-size: 14px; color: var(--muted); }
.marks { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 30px; }
.marks li { display: inline-flex; align-items: center; gap: 9px; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.marks svg { width: 26px; height: 26px; flex: none; }
.c-opencode { color: #211e1e; } .c-tailscale { color: #242424; } .c-linux { color: #1d1d1f; }
.c-fly { color: #7b4ae2; } .c-nono { color: #424245; } .c-ntfy { color: #317f6f; }
.places svg.c-fly { color: #7b4ae2; }
.screen .tabline { margin-bottom: 8px; }
.marks + .marks { margin-top: 14px; }

/* Section heads */

.section { padding: 104px 0 0; }
.head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.head h2 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; }

/* The bento of features */

.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.t {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px 30px 28px;
  border-radius: var(--r);
  background: var(--card);
  overflow: hidden;
}
.t--wide { grid-column: span 2; }
.t--full { grid-column: 1 / -1; }
.t h3 { font-size: 23px; line-height: 1.15; letter-spacing: -0.022em; font-weight: 700; }
.t p { margin-top: 8px; font-size: 16px; line-height: 1.45; color: var(--muted); }
.t p b { color: var(--ink); font-weight: 600; }
.glyph { width: 34px; height: 34px; margin-bottom: 16px; color: var(--accent); }
.t .viz { margin-top: auto; padding-top: 24px; }

.t--dark { background: var(--night); }
.t--dark h3 { color: #fff; }
.t--dark p { color: var(--night-muted); }
.t--dark .glyph { color: var(--cyan); }

/* Mac, iPad and iPhone, side by side */
.duo { display: grid; grid-template-columns: minmax(0, 1.25fr) auto minmax(0, 1fr) minmax(0, .5fr); align-items: end; gap: 14px; }
.duo__dev { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.duo__label { font-size: 13px; font-weight: 600; color: var(--night-muted); text-align: center; }
.screen {
  padding: 12px 14px 14px;
  border: 1px solid var(--night-line);
  border-radius: 12px;
  background: var(--night-2);
  font: 12.5px/1.55 var(--mono);
  color: var(--night-ink);
  min-height: 150px;
}
.screen--ipad { border-radius: 16px; border-width: 6px; border-color: #262b33; }
.screen--iphone { border-radius: 20px; border-width: 5px; border-color: #262b33; padding: 12px 10px 14px; min-height: 172px; font-size: 11px; }
.screen--iphone .tabpill { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: 10.5px; padding: 2px 8px; }
.screen p { margin: 0; color: var(--night-ink); font-size: inherit; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.screen .dim { color: var(--night-muted); }
.screen .ok { color: #3fb950; font-style: normal; }
.screen .sel { color: var(--cyan); font-weight: 600; }
.screen__bar { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.screen__bar > i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.screen__bar > i:nth-child(2) { background: #febc2e; }
.screen__bar > i:nth-child(3) { background: #28c840; margin-right: 6px; }
.duo__arrow { width: 36px; height: 36px; color: var(--cyan); align-self: center; }

.tabpill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border: 1px solid #33405a;
  border-radius: 999px;
  background: #1d2430;
  color: #e6ebf2;
  font: 600 11.5px/1.5 var(--sans);
  white-space: nowrap;
}
.spin {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  border: 1.6px solid var(--cyan);
  border-right-color: transparent;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }

/* Survives: a list of what a session lives through */
.survive { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.survive li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 9px;
  border-radius: 999px;
  background: var(--bg);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.survive li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.4 8.3l2.3 2.3 4.9-5' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Tabs, with a spinner on the busy one */
.tabs { display: flex; gap: 6px; padding: 8px; border-radius: 12px; background: var(--night); margin-bottom: 10px; }
.tabs .tabpill { border-color: #232b37; background: transparent; color: var(--night-muted); }
.tabs .tabpill.is-on { border-color: #33405a; background: #1d2430; color: #e6ebf2; }
.tabs .done { width: 7px; height: 7px; border-radius: 50%; background: #3fb950; }

/* A notification, on the Mac or a phone */
.banner {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(246, 246, 248, 0.96);
  border: 1px solid var(--hair);
  box-shadow: 0 10px 26px -14px rgba(0, 0, 0, 0.35);
  font-size: 13.5px;
  line-height: 1.35;
  text-align: left;
}
.banner__app { flex: none; width: 34px; height: 34px; }
.banner__app--ntfy { display: grid; place-items: center; border-radius: 9px; background: #317f6f; }
.banner__app--ntfy svg { width: 20px; height: 20px; color: #fff; }
.banner div { flex: 1; min-width: 0; }
.banner b, .banner span { display: block; }
.phone .banner b, .phone .banner span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.banner b { font-weight: 650; color: var(--ink); }
.banner span { color: var(--ink-2); }
.banner .dim { color: var(--muted); font-size: 12.5px; }
.banner time { flex: none; font-size: 12px; color: var(--muted); }
.phone { padding: 10px; border-radius: 24px; background: linear-gradient(160deg, #cfe3ec, #e9e2f2); }

/* A wide tile with its words beside the picture */
.t--split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: center; }
.t--split .viz { margin: 0; padding: 0; }
/* A project's tab: its panes as a template lays them out, two side by side and one below */
.screen--project { min-height: 0; }
.panes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.panes > div { min-width: 0; padding: 8px 12px 12px; border: 1px solid var(--night-line); border-radius: 8px; background: var(--night); }
.panes > div:last-child { grid-column: 1 / -1; }
.panes b { display: block; margin-bottom: 4px; font: 600 11px/1.5 var(--sans); color: var(--night-muted); }
.clips { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; }
.clips li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--bg); }
.clips svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--accent); }
.clips code { display: block; background: none; padding: 0; color: var(--ink); font-size: 12.5px; overflow-wrap: anywhere; }
.clips span { font-size: 12px; color: var(--muted); }

/* Places: machines and sandboxes, as New Tab On… lists them */
.places { list-style: none; margin: 0; padding: 6px; display: grid; gap: 2px; border-radius: 16px; background: var(--bg); }
.places li { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 11px; font-size: 14.5px; }
.places li:first-child { background: var(--card); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.places svg { flex: none; width: 22px; height: 22px; color: var(--ink-2); }
.places b { font-weight: 600; }
.places span { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.places span svg { width: 14px; height: 14px; }
.refuse { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--night); font: 12px/1.55 var(--mono); color: var(--night-ink); }
.refuse span { display: block; color: #ff7b72; }

/* Themes, each in its own colors, drawn as Settings ▸ Themes draws them (ThemePicker.swift): "Aa" in
   the text color, a >_ on the selection color, the cursor in the accent, and seven of the palette's
   colors. The colors are Themes.swift's. */
.swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
.swatches li { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); text-align: center; min-width: 0; }
.sw { display: flex; flex-direction: column; gap: 9px; padding: 10px 11px; border-radius: 11px; background: var(--bg-c); color: var(--fg-c);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-c) 15%, transparent), 0 1px 3px rgba(0, 0, 0, 0.12); text-align: left; overflow: hidden; }
.sw__top { display: flex; align-items: center; gap: 6px; }
.sw__top b { flex: 1; font: 400 21px/1 var(--display); }
.sw__top code { padding: 0 5px; height: 20px; border-radius: 5px; background: var(--sel-c); color: var(--fg-c); font: 800 11px/20px var(--mono); }
.sw__top u { width: 9px; height: 20px; border-radius: 2.5px; background: var(--ac-c); }
.sw__dots { display: flex; }
.sw__dots i { flex: none; width: 15px; height: 15px; margin-right: -4px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--bg-c); }
.sw__dots i:nth-child(1) { background: var(--p1); } .sw__dots i:nth-child(2) { background: var(--p2); }
.sw__dots i:nth-child(3) { background: var(--p3); } .sw__dots i:nth-child(4) { background: var(--p4); }
.sw__dots i:nth-child(5) { background: var(--p5); } .sw__dots i:nth-child(6) { background: var(--p6); }
.sw__dots i:nth-child(7) { background: var(--p7); }
.th--expanse { --bg-c: #0b1625; --fg-c: #96a3b3; --ac-c: #5cd3c0; --sel-c: #274c66; --p1: #f78166; --p2: #56d364; --p3: #c5a070; --p4: #89cff0; --p5: #db61a2; --p6: #2b7489; --p7: #ffffff; }
.th--nebula { --bg-c: #15112a; --fg-c: #c9c1e6; --ac-c: #f07fcf; --sel-c: #3a2f66; --p1: #ff6e8a; --p2: #7ae0a8; --p3: #f2cf7e; --p4: #8aa4ff; --p5: #d69cff; --p6: #6fd8e8; --p7: #c9c1e6; }
.th--redshift { --bg-c: #1c1114; --fg-c: #e2cfcb; --ac-c: #ff7a5c; --sel-c: #4a2a30; --p1: #f2665f; --p2: #a8c97f; --p3: #ebb867; --p4: #7fa6d6; --p5: #d987b5; --p6: #6fc2b8; --p7: #e2cfcb; }
.th--canopy { --bg-c: #0f1813; --fg-c: #c3d6c8; --ac-c: #a3e07a; --sel-c: #23402e; --p1: #e8756a; --p2: #8fd694; --p3: #dcc27a; --p4: #78aedb; --p5: #c796d9; --p6: #6ccfb8; --p7: #c3d6c8; }
.th--lantern { --bg-c: #17130e; --fg-c: #e0d2bc; --ac-c: #f5b54a; --sel-c: #45361f; --p1: #e86f55; --p2: #a9c46c; --p3: #edba55; --p4: #7ea2c8; --p5: #cf8fb0; --p6: #77bbaa; --p7: #e0d2bc; }
.th--graphite { --bg-c: #161718; --fg-c: #cdd0d4; --ac-c: #5ea8ff; --sel-c: #2f3a4a; --p1: #f26d6d; --p2: #7dcc8a; --p3: #e3c26b; --p4: #6ca6f0; --p5: #c38ce6; --p6: #5cc6d0; --p7: #cdd0d4; }
.th--daybreak { --bg-c: #ffffff; --fg-c: #1f2328; --ac-c: #12897a; --sel-c: #c8ddf7; --p1: #cf222e; --p2: #116329; --p3: #4d2d00; --p4: #0969da; --p5: #8250df; --p6: #1b7c83; --p7: #6e7781; }
.th--dune { --bg-c: #f8f1e4; --fg-c: #46392c; --ac-c: #c2562f; --sel-c: #ebd9bc; --p1: #b83a2e; --p2: #4f7a2a; --p3: #8a5d00; --p4: #2f64a8; --p5: #9a3f7a; --p6: #1f7a78; --p7: #8c7f70; }
.th--lilac { --bg-c: #f6f3fb; --fg-c: #3b3450; --ac-c: #7552c9; --sel-c: #e0d6f5; --p1: #c23a5a; --p2: #2f7d52; --p3: #8a6200; --p4: #3d5fc4; --p5: #8a44b8; --p6: #1f7f94; --p7: #7c7591; }

/* Memory, as two bars */
.bars { display: grid; gap: 14px; }
.bar { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 14px; color: var(--ink-2); }
.bar i { grid-column: 1 / -1; display: block; height: 12px; width: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--cyan)); }
.bar b { font-weight: 700; color: var(--ink); }
.bar--other i { background: #d2d2d7; }
/* 53 MB of 105 MB */
.bar--hup i { width: 50.5%; }
.bar--other b { color: var(--muted); font-weight: 600; }
.bars__note { font-size: 13px; color: var(--muted); }

/* Keys */
.keys { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.keys li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ink-2); }
.keys li > span { flex: none; display: inline-flex; gap: 3px; width: 86px; }
.keys kbd { font-size: 13px; }


/* Get it, with what it needs */

.getit { padding: 88px 0 88px; }
.getit__panel { padding: 56px 32px 40px; border-radius: var(--r); background: var(--card); text-align: center; }
.getit__icon { width: 88px; height: 88px; margin: 0 auto 16px; }
.getit h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
.getit__panel > p { max-width: 600px; margin: 12px auto 0; font-size: 18px; color: var(--muted); }
.specs { list-style: none; max-width: 720px; margin: 40px auto 0; padding: 28px 0 0; border-top: 1px solid var(--hair); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; text-align: left; }
.specs svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 10px; }
.specs b { display: block; font-size: 15px; font-weight: 650; }
.specs span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.more { margin-top: 28px; text-align: center; font-size: 16px; }
.more a { text-decoration: none; font-weight: 500; }
.more a:hover { text-decoration: underline; }

/* Footer */

.foot { border-top: 1px solid var(--hair); }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 22px 0 30px; font-size: 12.5px; color: var(--muted); }
.foot__brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 13px; }
.foot__brand .mark { width: 18px; height: 18px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.foot__links a { color: var(--ink-2); text-decoration: none; }
.foot__links a:hover, .foot__links a[aria-current="page"] { color: var(--ink); }
.foot__note { flex-basis: 100%; }

/* Compare page */

.compare-hero, .privacy-hero { padding: 64px 0 36px; text-align: center; }
.compare-hero h1, .privacy-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.06; letter-spacing: -0.033em; font-weight: 700; }
.compare-hero p, .privacy-hero p { max-width: 720px; margin: 16px auto 0; font-size: 18px; color: var(--ink-2); }
/* the way back to the hup page, above the title */
.compare-hero .back, .privacy-hero .back { margin: 0 auto 14px; font-size: 15px; font-weight: 600; }
.back a { text-decoration: none; }
.back a:hover { text-decoration: underline; }
/* The comparison: one card, the tools as columns (hup's shaded), plain rows, one mark a cell and a
   short note only where the answer needs one. Kept compact (2026-11-18, seven tools): close rows, and
   notes short enough for one line each where the card has its full width. */
.cmp-card { border-radius: 20px; background: var(--card); padding: 6px 14px 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.cmp th, .cmp td { padding: 10px 4px; text-align: center; vertical-align: top; }
.cmp thead th { padding: 14px 4px 10px; font-weight: 400; }
.cmp thead td, .cmp tbody th { width: 21%; }
.cmp tbody th { text-align: left; padding-left: 10px; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 20px; text-wrap: balance; }
.cmp tbody tr:not(.cmp__lab) > * { border-top: 1px solid #ececf0; }
.cmp__name { display: block; font-size: 16px; line-height: 24px; font-weight: 650; color: var(--ink); letter-spacing: -0.01em; }
.cmp__kind { display: block; margin-top: 1px; font-size: 12px; line-height: 15px; color: var(--muted); }
.cmp__note { display: block; margin-top: 4px; font-size: 12px; line-height: 15px; color: var(--muted); text-wrap: balance; }
.cmp__lab { display: none; }
.cmp .is-hup { background: #e6f6f2; }
.cmp thead .is-hup { border-radius: 14px 14px 0 0; }
.cmp tbody tr:last-child .is-hup { border-radius: 0 0 14px 14px; }
.cmp tbody .is-hup { border-top-color: #cbe9e2; }
/* The larger name sits on the same baseline as the others: same line box, raised by the 2px its size drops it. */
.cmp thead .is-hup .cmp__name { position: relative; top: -2px; font-size: 20px; font-weight: 700; color: var(--accent); }
.cmp .is-hup .cmp__note { color: var(--ink-2); }
.mk { display: block; width: 20px; height: 20px; margin: 0 auto; }
.mk--yes { color: var(--green); }
.mk--part { color: var(--amber); }
.mk--soon { color: #7d93ab; }
.mk--no { color: #c7c7cc; }
.cmp-key { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.cmp-key span { display: inline-flex; align-items: center; gap: 7px; }
.cmp-key .mk { width: 16px; height: 16px; margin: 0; }
.pairs {
  margin-left: 6px;
  padding: 1px 7px 2px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  vertical-align: 2px;
  white-space: nowrap;
}

.togethers { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.together { padding: 24px 28px; border-radius: 20px; background: var(--card); }
.together h3 { font-size: 18px; margin-bottom: 6px; }
.together p { font-size: 15.5px; color: var(--ink-2); }
.together code { overflow-wrap: anywhere; }
.matrix__note { margin-top: 18px; font-size: 13px; color: var(--muted); text-align: center; }
.compare { padding-bottom: 40px; }

/* Narrower screens */

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-auto-flow: dense; }
  .t--private { grid-column: auto; }
  .t--split { grid-template-columns: 1fr; }
}

/* The comparison, where seven columns beside a column of row titles would be too thin: each row's
   title gets a line of its own above its marks. */
@media (max-width: 900px) {
  .cmp-card { padding: 4px 8px 8px; }
  .cmp thead td, .cmp tbody th { display: none; }
  .cmp__lab { display: table-row; }
  .cmp__lab td { padding: 10px 8px 0; border-top: 1px solid #ececf0; text-align: left; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
  .cmp tbody tr:not(.cmp__lab) > * { border-top: 0; padding: 6px 3px 10px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .top__inner { height: 48px; gap: 12px; }
  .top__brand .lockup { height: 17px; }
  .cmp-card { padding: 2px 6px 6px; border-radius: 16px; }
  .cmp thead th { padding: 12px 1px 8px; }
  .cmp__name { font-size: 12.5px; line-height: 20px; letter-spacing: 0; overflow-wrap: anywhere; }
  .cmp thead .is-hup .cmp__name { font-size: 15px; }
  .cmp__kind, .cmp__note, .cmp .pairs { display: none; }
  .cmp tbody tr:not(.cmp__lab) > * { padding: 6px 1px 10px; }
  .top__nav { gap: 4px; }
  .top__nav a { padding: 5px 7px; font-size: 12.5px; }
  /* no room for a third link beside the lockup: the pages under /hup/ have a way back above their titles */
  .top__nav .top__home { display: none; }
  .hero { padding-top: 40px; }
  .hero__icon { width: 104px; height: 104px; }
  .get { gap: 12px; }
  .dl { height: 48px; padding: 0 18px 0 14px; border-radius: 10px; }
  .dl b { font-size: 19px; }
  .badge img { height: 48px; }
  .stage { margin-top: 36px; border-radius: 16px; }
  .stage__sound span { display: none; }
  .stage__sound { width: 40px; padding: 0; justify-content: center; }
  .marks { gap: 12px 20px; }
  .marks .sep { display: none; }
  .section { padding-top: 72px; }
  .bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .t--wide, .t--full { grid-column: auto; }
  .t { padding: 26px 22px 24px; border-radius: 22px; }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .duo__dev--phone { width: 46%; margin: 0 auto; }
  .screen--project { padding: 10px; font-size: 10.5px; }
  .panes > div { padding: 7px 8px 9px; }
  .duo__arrow { transform: rotate(90deg); margin: 0 auto; }
  .getit { padding: 72px 0 64px; }
  .getit__panel { padding: 40px 20px 30px; }
  .specs { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* Privacy: one white card of plain sections, and every value that hup can send. */
.policy { padding-bottom: 48px; }
.policy__card { max-width: 760px; margin: 0 auto; border-radius: 22px; background: var(--card); padding: 34px 40px 30px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.policy h2 { font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 600; margin: 30px 0 8px; }
.policy h2:first-child { margin-top: 0; }
.policy p { margin: 0 0 12px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.policy b { color: var(--ink); font-weight: 600; }
.policy .policy__date { margin: 16px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.sent { margin: 18px 0 6px; border: 1px solid var(--hair); border-radius: 14px; background: var(--card-2); }
.sent > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 13px 16px; font-size: 16px; font-weight: 600; color: var(--ink); }
.sent > summary::-webkit-details-marker { display: none; }
.sent > summary::before { content: ""; flex: none; width: 7px; height: 7px; margin: 0 2px 0 3px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); transition: transform 0.15s ease; }
.sent[open] > summary::before { transform: rotate(45deg) translate(-2px, -2px); }
.sent > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 14px; }
.sent__count { margin-left: auto; white-space: nowrap; font-size: 13px; font-weight: 500; color: var(--muted); }
.sent > :not(summary) { margin-inline: 16px; }
.policy .sent__intro { margin-top: 2px; font-size: 14.5px; }
.sent h3 { margin-top: 22px; font-size: 15px; font-weight: 600; }
.policy .sent__sub { margin: 2px 16px 10px; font-size: 13.5px; color: var(--muted); }
.sent__grid { list-style: none; padding: 0; margin-bottom: 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.sent__grid li { padding: 10px 12px 11px; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--hair); }
.sent__grid li > code { padding: 0; background: none; font-size: 13px; font-weight: 600; color: var(--ink); }
.policy .sent__grid p { margin: 3px 0 8px; font-size: 13.5px; line-height: 1.4; }
.vals { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); }
.vals code { padding: 1px 6px; font-size: 11.5px; border-radius: 6px; }
@media (max-width: 640px) {
  .policy__card { padding: 24px 20px 20px; border-radius: 18px; }
  .sent > :not(summary) { margin-inline: 12px; }
  .policy .sent__sub { margin-inline: 12px; }
}
