/* trybudd.com: the Budd browser site and its password page. Landing page rules: one typeface (Geist, Geist Mono for
   the code field), Tailwind type steps, spacing 2/4/8/12/16/24/32/40/48/64/80/96, radii 4/6/8/12/16/24/full, flat
   backgrounds (the hero heading is the one text gradient), motion on cubic-bezier(0.22,1,0.36,1). */

:root {
  --bg: #ffffff;
  --surface: #f6f6f3;
  --surface-2: #ececE7;
  --raised: #ffffff;
  --text: #111111;
  --muted: #5c5c5c;
  --line: rgba(17, 17, 17, 0.1);
  --line-strong: rgba(17, 17, 17, 0.2);
  --accent: #1d7a39;
  --accent-hover: #17672f;
  --accent-ink: #ffffff;
  --accent-soft: rgba(29, 122, 57, 0.1);
  --danger: #b42318;
  --ok: #1d7a39;
  --nav-bg: rgba(255, 255, 255, 0.72);
  --head-from: #000000;
  --head-to: #666666;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.04), 0 24px 64px rgba(0, 0, 0, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --muted-word: rgba(17, 17, 17, 0.3);
  --window: #fbfbfa;
  --window-side: #f3f3f1;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --glass-line: rgba(255, 255, 255, 0.7);
  --glass-shine: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  --wash-1: #f5b98d;
  --wash-2: #f3d58a;
  --wash-3: #b9a3ef;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #181818;
    --surface: #1f1f1f;
    --surface-2: #272727;
    --raised: #272727;
    --text: #ededed;
    --muted: #a3a3a3;
    --line: rgba(237, 237, 237, 0.1);
    --line-strong: rgba(237, 237, 237, 0.2);
    --accent: #5cc878;
    --accent-hover: #74d48c;
    --accent-ink: #000000;
    --accent-soft: rgba(92, 200, 120, 0.14);
    --danger: #ff8a7a;
    --ok: #5cc878;
    --nav-bg: rgba(31, 31, 31, 0.72);
    --head-from: #ffffff;
    --head-to: #9b9b9b;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 24px 64px rgba(0, 0, 0, 0.5);
    --muted-word: rgba(237, 237, 237, 0.3);
    --window: #1f1f1f;
    --window-side: #181818;
    --glass: rgba(60, 60, 60, 0.45);
    --glass-strong: rgba(60, 60, 60, 0.62);
    --glass-line: rgba(255, 255, 255, 0.12);
    --glass-shine: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    --wash-1: #8a4a24;
    --wash-2: #7a6524;
    --wash-3: #4b3a8a;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 24px;
  text-wrap: pretty;
}
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 600; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: absolute; left: 16px; top: -64px; z-index: 50;
  background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px;
  transition: transform 300ms var(--ease);
}
.skip:focus { transform: translateY(80px); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.i { width: 20px; height: 20px; fill: currentColor; flex: none; }
/* Line icons (24-unit grid): a stroke in the text colour, round ends. */
.i--line { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 16px; line-height: 24px; font-weight: 600;
  padding: 8px 12px; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  transition: background-color 300ms var(--ease), transform 300ms var(--ease), opacity 300ms var(--ease);
  text-decoration: none; white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn--small { font-size: 14px; line-height: 20px; padding: 8px 12px; border-radius: 8px; }
.btn--small .i { width: 16px; height: 16px; }
.btn--large { padding: 12px 24px; border-radius: 16px; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover:not(:disabled) { background: var(--accent-hover); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover:not(:disabled) { background: var(--surface-2); }

.eyebrow { font-size: 14px; line-height: 20px; color: var(--muted); font-weight: 500; margin-bottom: 16px; }

/* Footer */
.footer {
  max-width: 1120px; margin: 0 auto; padding: 32px 16px 48px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  font-size: 14px; line-height: 20px; color: var(--muted);
}
.footer p { max-width: 680px; }
.footer nav { display: flex; gap: 16px; }

/* Budd in a colour: the artwork is green (140°), each colour is a hue rotation of it. */
.budd { display: block; width: 100%; height: auto; }
.hue-green { filter: none; }
.hue-teal { filter: hue-rotate(52deg); }
.hue-blue { filter: hue-rotate(99deg); }
.hue-purple { filter: hue-rotate(160deg); }
.hue-pink { filter: hue-rotate(195deg); }
.hue-orange { filter: hue-rotate(-87deg); }

/* ------------------------------------------------------------------------------------------------------------- */
/* Site */

.nav {
  position: sticky; top: 16px; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: fit-content; min-width: min(640px, calc(100% - 32px));
  margin: 16px auto 0; padding: 8px 8px 8px 16px;
  background: var(--nav-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 16px;
}
.nav__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 18px; line-height: 28px; text-decoration: none; }
.nav__brand img { width: 28px; height: auto; }
.nav__links { display: flex; gap: 24px; font-size: 14px; line-height: 20px; }
.nav__links a { text-decoration: none; color: var(--muted); transition: color 300ms var(--ease); }
.nav__links a:hover { color: var(--text); }

.site main { max-width: 1120px; margin: 0 auto; padding: 0 16px; overflow-x: clip; }

.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 64px 0 48px; }
.hero__wave { width: 112px; aspect-ratio: 360 / 319; margin-bottom: 24px; }
.hero__title {
  max-width: 680px; font-size: 60px; line-height: 1; letter-spacing: -0.02em; font-weight: 600;
  background: linear-gradient(90deg, var(--head-from), var(--head-to));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { max-width: 680px; margin-top: 24px; font-size: 18px; line-height: 28px; color: var(--muted); }
.hero__actions { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero__meta { font-size: 14px; line-height: 20px; color: var(--muted); }
.proof { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--muted); }
.proof__dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--accent); }

/* The browser window, drawn in HTML so it stays sharp and follows light and dark: Liquid Glass chrome and panels over
   a soft colour wash, like the app on macOS 26. */
.window {
  position: relative; isolation: isolate;
  margin: 0 auto; max-width: 1040px; border-radius: 16px; overflow: hidden;
  background: var(--window); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  text-align: left; font-size: 14px; line-height: 20px;
}
.window__wash { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.window__wash i { position: absolute; border-radius: 9999px; filter: blur(80px); opacity: 0.55; }
.window__wash i:nth-child(1) { width: 55%; aspect-ratio: 1; left: 22%; top: -30%; background: var(--wash-1); }
.window__wash i:nth-child(2) { width: 45%; aspect-ratio: 1; right: -10%; bottom: -30%; background: var(--wash-2); }
.window__wash i:nth-child(3) { width: 35%; aspect-ratio: 1; left: -8%; bottom: -20%; background: var(--wash-3); }

.b-chrome {
  display: flex; flex-direction: column; gap: 8px; padding: 10px 12px 8px;
  background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: var(--glass-shine), inset 0 -1px 0 var(--line);
}
.b-toolbar { display: flex; align-items: center; gap: 4px; min-height: 36px; }
.b-lights { display: flex; gap: 8px; padding: 0 12px 0 4px; }
.b-lights i { width: 12px; height: 12px; border-radius: 9999px; background: #ff5f57; }
.b-lights i:nth-child(2) { background: #febc2e; }
.b-lights i:nth-child(3) { background: #28c840; }
.b-tool { width: 32px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: var(--text); flex: none; }
.b-tool .i { width: 18px; height: 18px; }
.b-tool--dim { opacity: 0.4; }
.b-address {
  flex: 1 1 auto; max-width: 560px; height: 32px; margin: 0 auto; padding: 0 12px;
  display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0;
  font-size: 13px; line-height: 18px; color: var(--muted); white-space: nowrap; overflow: hidden;
  border-radius: 10px; background: var(--glass-strong); border: 1px solid var(--glass-line);
  box-shadow: var(--glass-shine), 0 2px 8px rgba(0, 0, 0, 0.05);
}
.b-address .i { width: 16px; height: 16px; }
.b-address span { overflow: hidden; text-overflow: ellipsis; }
.b-tabs { display: flex; gap: 6px; }
.b-tab {
  flex: 1 1 0; min-width: 0; max-width: 220px; height: 30px; padding: 0 12px;
  display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; color: var(--muted);
  border-radius: 8px; border: 1px solid transparent;
}
.b-tab > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-tab.is-on {
  background: var(--glass-strong); border-color: var(--glass-line); color: var(--text); font-weight: 500;
  box-shadow: var(--glass-shine), 0 2px 8px rgba(0, 0, 0, 0.06);
}
.b-tab--pinned { flex: 0 0 36px; padding: 0; justify-content: center; }
.b-fav { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.fav-green { background: #3f9a5a; }
.fav-teal { background: #3f9f9a; }
.fav-blue { background: #3f6fb0; }
.fav-purple { background: #7a4fb5; }
.fav-pink { background: #b54f8c; }
.fav-orange { background: #c2702c; }
.fav-grey { background: #8a8a8a; }
.fav-start { background: linear-gradient(135deg, var(--wash-1), var(--wash-3)); }

.b-body { display: grid; grid-template-columns: 224px minmax(0, 1fr); min-height: 460px; }
.b-side {
  margin: 8px; padding: 8px; border-radius: 16px; display: flex; flex-direction: column; gap: 2px;
  font-size: 13px; line-height: 18px;
  background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid var(--glass-line); box-shadow: var(--glass-shine);
}
.b-side__row { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 8px; font-weight: 500; }
.b-side__row .i { width: 16px; height: 16px; color: var(--accent); }
.b-side__row.is-on { background: var(--glass-strong); box-shadow: var(--glass-shine); }
.b-side__label { margin: 14px 10px 4px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted); }
.b-side__item { display: flex; align-items: center; gap: 10px; padding: 4px 10px 4px 20px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-side__item .i { width: 14px; height: 14px; color: var(--muted); }

.b-page { padding: 28px 32px 24px; min-width: 0; }
.b-h { display: block; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.b-start > .b-h:not(:first-child) { margin-top: 24px; }
.b-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 12px; }
.b-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; font-size: 11px; line-height: 14px; color: var(--muted); text-align: center; }
.b-tile > span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-tile i {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  font-style: normal; font-weight: 600; font-size: 20px; line-height: 1; color: #ffffff;
  border: 1px solid var(--glass-line); box-shadow: var(--glass-shine), 0 4px 12px rgba(0, 0, 0, 0.08);
}
.b-tiles--small { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
.b-tiles--small i { width: 44px; height: 44px; border-radius: 12px; font-size: 16px; }
.b-reads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.b-read {
  display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 12px 14px; border-radius: 12px;
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: var(--glass-shine), 0 4px 16px rgba(0, 0, 0, 0.06);
}
.b-read b { font-size: 13px; line-height: 18px; font-weight: 600; }
.b-read small { font-size: 12px; line-height: 16px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Tagline reveal */
.tagline { padding: 96px 0; display: flex; justify-content: center; }
.tagline__text { max-width: 760px; font-size: 48px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; text-align: center; }
.tagline__text .w { color: var(--muted-word); transition: color 600ms var(--ease); }
.tagline__text .w.on { color: var(--text); }

/* Sections */
.section { padding: 80px 0; }
.section__head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section__head h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.01em; }
.section__head p { margin-top: 16px; font-size: 18px; line-height: 28px; color: var(--muted); }

.features, .specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature, .spec { padding: 24px; border-radius: 24px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.spec { background: var(--surface); }
.feature__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 8px; }
.feature h3, .spec h3 { font-size: 18px; line-height: 28px; }
.feature p, .spec p { font-size: 14px; line-height: 20px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; margin-bottom: 16px; }
.step h3 { font-size: 18px; line-height: 28px; }
.step p { margin-top: 8px; color: var(--muted); }

.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.trust h3 { font-size: 16px; line-height: 24px; display: flex; align-items: center; gap: 8px; }
.trust h3 .i { color: var(--accent); }
.trust p { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--muted); }

.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-radius: 16px; border: 1px solid var(--line); padding: 16px 24px; }
.faq details + details { margin-top: 12px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); transition: transform 300ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--muted); }

.closing { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 64px 0 96px; }
.closing img { width: 96px; }
.closing h2 { font-size: 36px; line-height: 40px; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; transition: opacity 300ms linear; }
  .tagline__text .w { transition: none; }
}

@media (max-width: 860px) {
  .hero__title { font-size: 48px; }
  .tagline__text { font-size: 36px; line-height: 40px; }
  .features, .specs, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__links { display: none; }
  .nav { min-width: calc(100% - 32px); }
  .b-tabs .b-tab:nth-child(n + 6) { display: none; }
}
@media (max-width: 640px) {
  .b-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .b-side { display: none; }
  .b-page { padding: 20px 16px; }
  .b-tool--sm, .b-tabs .b-tab:nth-child(n + 5) { display: none; }
  .b-reads { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .hero { padding-top: 48px; }
  .proof__dot { display: none; }
  .hero__title { font-size: 36px; line-height: 40px; }
  .hero__sub { font-size: 16px; line-height: 24px; }
  .tagline { padding: 64px 0; }
  .tagline__text { font-size: 30px; line-height: 36px; }
  .section { padding: 64px 0; }
  .section__head h2, .closing h2 { font-size: 30px; line-height: 36px; }
  .features, .specs, .steps, .trust { grid-template-columns: minmax(0, 1fr); }
  .faq details { padding: 16px; }
}

/* Privacy and terms */
.legal { max-width: 680px; margin: 0 auto; padding: 64px 16px; }
.legal h1 { font-size: 36px; line-height: 40px; letter-spacing: -0.01em; }
.legal .lead { margin-top: 16px; font-size: 18px; line-height: 28px; color: var(--muted); }
.legal h2 { font-size: 20px; line-height: 28px; margin-top: 40px; margin-bottom: 12px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 24px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.legal strong { color: var(--text); font-weight: 600; }
