/* Kituwa Drop — cirrus theme
   Rethemed from the Kituwa design system layout `cirrus` (light, airy SaaS:
   pill controls, cloudy sky hero, calm spacing). Structure, responsive
   behaviour and the accessibility of the layout are kept; only the custom
   properties, copy and the app surfaces belong to Kituwa Drop. */

:root {
  --max: 1180px;
  --radius: 22px;
  --radius-sm: 12px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --bg: #eef5fc;
  --surface: #ffffff;
  --surface-2: #f5f8fc;
  --ink: #0e1116;
  --muted: #5b6472;
  --soft: #8a93a3;
  --line: #dfe7f0;
  --line-strong: #c9d8e8;
  --accent: #2e7def;
  --accent-ink: #ffffff;
  --accent-2: #ff7a3d;
  --success: #1f9d6b;
  --success-bg: #e8f7f0;
  --danger: #c22f4b;
  --danger-bg: #fdeef1;
  --warn: #8a5a00;
  --warn-bg: #fff6e3;
  --shadow: 0 30px 80px -34px rgba(14, 17, 22, .32), 0 2px 0 rgba(255, 255, 255, .6) inset;
  --focus: 0 0 0 3px rgba(46, 125, 239, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }

.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-tight { padding: 48px 0; }
.section.soft { background: #f3f8fd; }
.section.white { background: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  color: var(--muted);
  backdrop-filter: blur(10px);
}

.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 6.2vw, 84px);
  line-height: .98;
  letter-spacing: -.045em;
}
.display em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
}
.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 700;
}
.h3 { margin: 0; font-size: 20px; line-height: 1.25; letter-spacing: -.015em; font-weight: 600; }
.lede { margin: 0; max-width: 60ch; font-size: 18px; line-height: 1.6; color: var(--muted); }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.mx-auto { margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 14px 28px -18px rgba(14, 17, 22, .5); }
.btn-primary:hover { background: #1a1f28; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-danger { background: transparent; border-color: #efc3cd; color: var(--danger); }
.btn-danger:hover { background: var(--danger-bg); }
.btn-sm { padding: 9px 15px; font-size: 12.5px; }
.btn-wide { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }

/* ---- Network bar sits above everything, same origin ---------------------- */
kituwa-network { display: block; }

/* ---- Sky hero ------------------------------------------------------------ */
.sky {
  position: relative;
  overflow: hidden;
  padding-bottom: 190px;
  background:
    radial-gradient(58% 46% at 12% 24%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.65) 38%, transparent 72%),
    radial-gradient(48% 40% at 88% 18%, rgba(255,255,255,.9) 0%, rgba(255,255,255,.5) 42%, transparent 74%),
    radial-gradient(70% 50% at 50% 92%, rgba(255,255,255,.98) 0%, rgba(255,255,255,.7) 46%, transparent 78%),
    linear-gradient(180deg, #67b6ec 0%, #8dcbf3 32%, #cfe9fa 64%, #eef5fc 88%, #fff 100%);
}
.cloud {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,.85);
  filter: blur(22px); pointer-events: none;
}
.cloud.c1 { width: 420px; height: 180px; left: -120px; top: 120px; opacity: .75; }
.cloud.c2 { width: 560px; height: 220px; right: -180px; top: 40px; opacity: .65; }
.cloud.c3 { width: 380px; height: 160px; left: 30%; top: 340px; opacity: .5; }

.site-nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 0;
  color: var(--ink);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.brand .accent { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-links a { font-size: 14px; color: #303a4a; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .link { font-size: 14px; color: #303a4a; }
.nav-actions .btn { padding: 10px 18px; }

.hero { position: relative; text-align: center; padding: 56px 0 12px; }
.hero .pill { background: rgba(255,255,255,.55); border-color: rgba(14,17,22,.12); color: #303a4a; }
.hero .display { max-width: 22ch; margin-inline: auto; margin-top: 24px; }
.hero .display em { font-family: var(--font-serif); }
.hero .lede { max-width: 56ch; margin: 22px auto 0; color: #2b3847; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-note { margin-top: 16px; font-size: 12px; color: #3c4c5d; }
.hero .btn-ghost { background: rgba(255,255,255,.55); border-color: rgba(14,17,22,.14); backdrop-filter: blur(8px); }

/* ---- App card ------------------------------------------------------------ */
.app-wrap { position: relative; margin-top: -150px; z-index: 5; }
.app-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 12.5px;
  color: var(--muted);
}
.status-left { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--soft); }
.status-dot.ok { background: var(--success); box-shadow: 0 0 0 3px rgba(31,157,107,.14); }
.status-dot.down { background: var(--danger); box-shadow: 0 0 0 3px rgba(194,47,75,.14); }
.status-right { display: inline-flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.tabs {
  display: flex;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.tab-btn {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}
.tab-btn svg { width: 18px; height: 18px; }
.tab-btn:hover { color: var(--ink); }
.tab-btn.active {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 8px 20px -14px rgba(14,17,22,.4);
}

.panel { display: none; padding: 30px; }
.panel.active { display: block; }

.dropzone {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 40px 24px;
  text-align: center;
  background: var(--surface-2);
  transition: border-color .16s ease, background .16s ease;
  cursor: pointer;
}
.dropzone.dragover { border-color: var(--accent); background: #eef6ff; }
.dropzone-icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: #e8f2fe;
  display: grid; place-items: center;
  color: var(--accent);
}
.dropzone h3 { font-size: 18px; margin-bottom: 6px; letter-spacing: -.02em; }
.dropzone p { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.picker-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

.queue-box { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.queue-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--muted); background: var(--surface-2);
}
.queue-list { max-height: 220px; overflow-y: auto; }
.queue-item {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 16px; border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.queue-item:last-child { border-bottom: 0; }
.queue-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.queue-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); flex-shrink: 0; font-family: var(--font-mono); font-size: 11.5px; }
.rm-btn { background: none; border: 0; color: var(--soft); cursor: pointer; font-size: 18px; line-height: 1; padding: 2px 6px; border-radius: 6px; }
.rm-btn:hover { color: var(--danger); background: var(--danger-bg); }

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.opt-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.opt-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.opt-title { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.opt-desc { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

.ttl-pills { display: flex; gap: 6px; margin-top: 12px; }
.ttl-pill {
  flex: 1;
  padding: 9px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .16s ease;
}
.ttl-pill:hover { border-color: var(--line-strong); color: var(--ink); }
.ttl-pill.active { border-color: var(--ink); background: var(--ink); color: #fff; }

/* Switch — cirrus element (helpless-hound-45), recoloured to the theme */
.switch { position: relative; display: inline-block; width: 44px; height: 26px; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.slider {
  position: absolute; inset: 0; cursor: pointer;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: background .2s ease, border-color .2s ease;
}
.slider::before {
  content: "";
  position: absolute; height: 18px; width: 18px; left: 3px; top: 3px;
  background: #fff; border-radius: 50%;
  box-shadow: 0 1px 2px rgba(14,17,22,.12), 0 4px 8px -4px rgba(14,17,22,.18);
  transition: transform .2s cubic-bezier(.22,1,.36,1);
}
.switch input:checked + .slider { background: var(--ink); border-color: var(--ink); }
.switch input:checked + .slider::before { transform: translateX(18px); }
.switch input:focus-visible + .slider { box-shadow: var(--focus); }

.text-input {
  width: 100%;
  margin-top: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.text-input::placeholder { color: var(--soft); }
.text-input:focus { border-color: var(--accent); box-shadow: var(--focus); }

.send-row { margin-top: 24px; display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }

.progress-wrap { margin-top: 20px; padding: 16px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); }
.progress-top { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; font-weight: 600; margin-bottom: 10px; }
.progress-top span:last-child { font-family: var(--font-mono); }
.bar-bg { height: 8px; border-radius: 999px; background: #e3ecf6; overflow: hidden; }
.bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #5b9df5, #2e7def); border-radius: 999px; transition: width .2s ease; }

.code-card {
  margin-top: 24px;
  padding: 28px 24px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #f7fbff, #eef6ff);
  border: 1px solid #cfe3f8;
  text-align: center;
}
.code-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 12px;
}
.code-value {
  font-family: var(--font-mono);
  font-size: clamp(1.15rem, 3.2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 0 auto 16px;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  user-select: all;
}
.timer-banner {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--warn-bg); border: 1px solid #f0d9a8; color: var(--warn);
  font-weight: 600; font-size: 13px; margin-bottom: 18px;
}
.timer-banner .mono { font-variant-numeric: tabular-nums; }
.code-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

.receive-box { max-width: 560px; margin: 0 auto; }
.code-input-lg {
  width: 100%;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  text-align: center;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.code-input-lg::placeholder { color: var(--soft); font-size: .92rem; }
.code-input-lg:focus { border-color: var(--accent); box-shadow: var(--focus); }
.field-label { font-size: 12.5px; color: var(--muted); display: block; margin: 16px 0 2px; }

.alert { margin-top: 16px; padding: 13px 16px; border-radius: var(--radius-sm); font-size: 13.5px; line-height: 1.5; }
.alert.error { background: var(--danger-bg); border: 1px solid #f1c3cd; color: #8f1f35; }
.alert.success { background: var(--success-bg); border: 1px solid #b8e6d2; color: #14624a; }
.alert.info { background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }

.hidden { display: none !important; }

/* ---- Sections ------------------------------------------------------------ */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.section-head .lede { max-width: 48ch; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid > * { min-width: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 26px; box-shadow: 0 18px 40px -34px rgba(14,17,22,.35); }
.card p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.feature { display: flex; flex-direction: column; gap: 12px; }
.feature-icon {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line);
  color: var(--accent);
}
.feature-icon svg { width: 18px; height: 18px; }
.feature h3 { margin: 6px 0 0; font-size: 17px; letter-spacing: -.01em; font-weight: 600; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-copy .lede { margin-top: 20px; }
.split > * { min-width: 0; }
.checklist { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.checklist .ticks {
  flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 11px;
}
.checklist b { color: var(--ink); font-weight: 600; }

.life-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.life-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  box-shadow: 0 18px 40px -34px rgba(14,17,22,.35);
}
.life-card.featured { background: #0e1116; color: #fff; border-color: #0e1116; }
.life-name { font-size: 14px; font-weight: 600; }
.life-sub { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.life-card.featured .life-sub { color: rgba(255,255,255,.66); }
.life-time { font-family: var(--font-display); font-size: 52px; line-height: 1; letter-spacing: -.05em; margin: 22px 0 6px; }
.life-time small { font-family: var(--font-body); font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.life-card.featured .life-time small { color: rgba(255,255,255,.66); }
.life-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; font-size: 13.5px; color: var(--muted); }
.life-card.featured .life-list { color: rgba(255,255,255,.72); }
.life-list li::before { content: "✓"; margin-right: 8px; color: var(--accent); }
.life-card.featured .life-list li::before { color: #7fb6fb; }
.badge {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase;
  background: var(--accent); color: #fff; border-radius: 999px; padding: 4px 9px;
}

.cta-band {
  position: relative; overflow: hidden;
  border-radius: 26px; padding: 64px;
  background: #0e1116; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cta-band .h2 { max-width: 16ch; }
.cta-band .lede { color: rgba(255,255,255,.68); margin-top: 14px; }
.cta-band .hero-actions { margin-top: 0; justify-content: flex-end; }
.cta-band .btn-primary { background: var(--accent); color: #fff; }
.cta-band .btn-ghost { border-color: #3a4352; color: #fff; }

.site-footer { border-top: 1px solid var(--line); padding: 56px 0 34px; margin-top: 40px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .6fr); gap: 32px; }
.footer-brand p { max-width: 34ch; color: var(--muted); font-size: 13.5px; margin: 14px 0 0; }
.footer-col h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); font-family: var(--font-mono); font-weight: 500; }
.footer-col a { display: block; margin: 7px 0; font-size: 13.5px; color: var(--muted); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 44px; padding-top: 20px;
  font-size: 12px; color: var(--soft);
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* Compact tables on the operator and watchdog pages */
.table-ish td, .table-ish th { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-ish tr:last-child td { border-bottom: 0; }
.table-ish th { font-weight: 500; }
.check-state {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.check-state .status-dot { width: 7px; height: 7px; }
.check-warn .status-dot { background: var(--warn); box-shadow: 0 0 0 3px rgba(138, 90, 0, .12); }
.check-fail .status-dot { background: var(--danger); box-shadow: 0 0 0 3px rgba(194, 47, 75, .12); }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px;
  border: 1px solid var(--line-strong);
}
.skip-link:focus { left: 16px; }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .life-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 44px; }
  .cta-band .hero-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sky { padding-bottom: 170px; }
  .app-wrap { margin-top: -140px; }
  .cloud.c3 { display: none; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .display { font-size: clamp(36px, 11.6vw, 52px); }
  .h2 { font-size: 30px; }
  .hero { padding-top: 34px; }
  .hero .display { max-width: 100%; }
  .hero .lede { font-size: 16px; }
  .sky { padding-bottom: 150px; }
  .app-wrap { margin-top: -124px; }
  .grid-3, .grid-2, .life-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .panel { padding: 20px; }
  .tab-btn { padding: 12px 10px; font-size: 14px; }
  .dropzone { padding: 30px 16px; }
  .cta-band { padding: 30px; border-radius: 20px; }
  .site-nav { gap: 12px; }
  .nav-actions .link { display: none; }
  .nav-actions .btn { padding: 9px 14px; font-size: 13px; }
  .brand { font-size: 17px; }
  .code-value { font-size: 1.05rem; padding: 14px 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .code-actions .btn, .picker-row .btn, .send-row .btn { width: 100%; }
  .send-row { justify-content: stretch; }
  .status-right { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

@media (max-width: 640px) { .hero-break { display: none; } }
