:root {
  --green: #047a3f;
  --green-dark: #046a37;
  --ink: #111418;
  --muted: #5d6673;
  --line: #dde4dc;
  --cream: #f8fbf8;
  --cream-2: #edf4f0;
  --surface: rgba(255, 255, 255, 0.84);
  --shadow: 0 22px 70px rgba(33, 31, 24, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 82% 9%, rgba(20, 201, 107, 0.14), transparent 29rem),
    linear-gradient(135deg, #ffffff 0%, var(--cream) 46%, #eef5f2 100%);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.launch-ribbon {
  margin: 0.45rem auto 0;
  width: min(98vw, 1420px);
  border: 1px solid rgba(20, 201, 107, 0.28);
  border-radius: 999px;
  background: rgba(232, 249, 232, 0.74);
  color: #075c31;
  font-size: 0.94rem;
  font-weight: 700;
  text-align: center;
  padding: 0.46rem 1rem;
}

.site-header,
.section-shell,
.site-footer {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.4rem 0 1.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 2rem;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark,
.bolt-orb {
  display: block;
  flex: none;
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(20, 201, 107, 0.23));
}

.brand-mark img,
.bolt-orb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 2.6rem);
  font-weight: 650;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.1rem;
  text-decoration: none;
  color: #20252b;
}

.nav-links a:focus-visible,
.button:focus-visible,
.brand:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(20, 201, 107, 0.62);
  outline-offset: 4px;
  border-radius: 8px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 1.05fr);
  gap: clamp(2rem, 5vw, 4.2rem);
  align-items: center;
  min-height: 720px;
  padding: clamp(3rem, 7vw, 5.8rem) 0;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.35rem;
  font-size: 6.25rem;
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  font-size: 3.25rem;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.13rem;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.25rem;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 1.45rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.6rem;
  padding: 0.95rem 1.35rem;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #047a3f, #035c31);
  color: white;
  box-shadow: 0 16px 34px rgba(4, 122, 63, 0.28);
}

.button-secondary {
  border: 1px solid #29313a;
  background: rgba(255, 255, 255, 0.72);
  color: #15191f;
}

.github-mark {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
}

.manual-note {
  max-width: 33rem;
  color: #68717c;
  font-size: 0.98rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.app-panel-preview {
  position: relative;
  z-index: 3;
  width: min(86%, 540px);
  min-height: 420px;
  margin-left: auto;
  padding: clamp(1.2rem, 2.8vw, 2.05rem);
  border-radius: 36px;
  border: 1px solid rgba(18, 132, 226, 0.55);
  background:
    radial-gradient(circle at 80% 16%, rgba(25, 145, 255, 0.24), transparent 9rem),
    linear-gradient(180deg, #145781 0, #145781 16%, #5c6760 17%, #5b625b 100%);
  box-shadow:
    0 32px 42px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #f2f7fb;
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  line-height: 1.24;
}

.app-panel-preview strong {
  display: block;
  font-size: 1em;
  font-weight: 850;
  letter-spacing: 0;
}

.app-panel-preview small {
  display: block;
  margin-top: 0.24rem;
  color: rgba(232, 241, 247, 0.8);
  font-size: 0.82em;
  font-weight: 700;
}

.panel-header,
.panel-setting,
.panel-status,
.panel-metrics,
.panel-actions {
  display: flex;
  align-items: center;
}

.panel-header {
  gap: 0.85rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
}

.panel-header strong {
  font-size: 1.18em;
}

.panel-bolt {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #12f29a;
  color: #047a3f;
  font-weight: 950;
}

.panel-setting {
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.15rem;
}

.panel-setting-main {
  margin-top: 0;
}

.panel-toggle {
  position: relative;
  flex: none;
  width: 4.1rem;
  height: 2.05rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.panel-toggle::after {
  content: "";
  position: absolute;
  top: 0.23rem;
  left: 0.23rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: #e9eef0;
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.18);
}

.panel-toggle-on {
  background: #1187ff;
}

.panel-toggle-on::after {
  left: auto;
  right: 0.23rem;
  background: #d7e7fb;
}

.panel-status {
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: clamp(1.2rem, 2.6vw, 2rem);
}

.panel-dot {
  flex: none;
  width: 0.78rem;
  height: 0.78rem;
  margin-top: 0.18rem;
  border-radius: 50%;
  background: #36f0a5;
}

.panel-metrics {
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  margin-top: clamp(1.1rem, 2.5vw, 1.9rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(232, 241, 247, 0.72);
  font-weight: 800;
}

.panel-actions {
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: clamp(1.2rem, 3vw, 2.1rem);
}

.panel-actions span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.3rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  background: rgba(214, 230, 238, 0.16);
  color: rgba(246, 250, 252, 0.86);
  font-weight: 850;
}

.desk-scene {
  position: absolute;
  inset: auto 0 0 auto;
  z-index: 1;
  width: min(88%, 720px);
  height: 72%;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(20, 201, 107, 0.16), transparent 9rem),
    linear-gradient(165deg, rgba(255, 255, 255, 0.28), rgba(217, 232, 225, 0.58)),
    linear-gradient(0deg, #d6e2dd, #eff6f2);
  box-shadow: var(--shadow);
}

.desk-scene::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 39%;
  background: linear-gradient(90deg, #8d9c95, #d9e4de 42%, #9dafaa);
}

.laptop-edge {
  position: absolute;
  left: -7%;
  bottom: 2%;
  z-index: 2;
  width: 39%;
  height: 26%;
  border-radius: 12px;
  background: linear-gradient(160deg, #3a3b3f, #151619);
  transform: skewY(4deg);
  box-shadow: 18px 10px 30px rgba(0, 0, 0, 0.18);
}

.cable {
  position: absolute;
  left: 23%;
  bottom: 28%;
  z-index: 2;
  width: 34%;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e8eee9, #9fa9a5);
  transform: rotate(-2deg);
}

.notebook {
  position: absolute;
  right: 6%;
  bottom: 7%;
  z-index: 2;
  display: grid;
  gap: 0.45rem;
  width: min(260px, 36%);
  padding: 1.5rem 1.4rem;
  border-radius: 12px;
  background: #f6fbf7;
  color: #2f3b36;
  box-shadow: 0 16px 30px rgba(37, 55, 48, 0.12);
  transform: rotate(-5deg);
  font-family: ui-rounded, "SF Pro Rounded", ui-sans-serif, sans-serif;
}

.notebook span::after {
  content: "✓";
  float: right;
  color: var(--green-dark);
  font-weight: 900;
}

.use-cases,
.install,
.safety,
.final-cta {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.use-cases {
  text-align: center;
}

.use-cases h2 {
  max-width: 13ch;
  margin-inline: auto;
}

.case-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.2rem;
}

.case-grid article,
.trust-grid article,
.steps li {
  border: 1px solid rgba(33, 31, 24, 0.09);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 30px rgba(33, 31, 24, 0.06);
}

.case-grid article {
  padding: 1.55rem;
}

.case-icon {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  margin-inline: auto;
  object-fit: contain;
  filter: drop-shadow(0 9px 15px rgba(20, 201, 107, 0.18));
}

.case-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.case-grid p,
.trust-grid p,
.steps p,
.section-heading p,
.safety > div:first-child p,
.final-cta p,
.site-footer {
  color: var(--muted);
}

.section-heading {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 2rem 1.3rem 1.45rem;
  text-align: center;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-weight: 900;
}

.safety {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(1.8rem, 5vw, 4rem);
  align-items: start;
}

.trust-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 0;
}

.trust-grid article {
  padding: 1.35rem;
}

.final-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.6rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2rem;
  border: 1px solid rgba(20, 201, 107, 0.2);
  border-radius: 8px;
  background: rgba(237, 250, 235, 0.72);
}

.bolt-orb {
  width: 4.2rem;
  height: 4.2rem;
}

.final-cta h2 {
  max-width: 16ch;
  margin-bottom: 0.7rem;
  font-size: 2.35rem;
}

.final-cta .eyebrow {
  margin-bottom: 0.55rem;
}

.final-actions {
  justify-content: flex-end;
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(33, 31, 24, 0.1);
  font-size: 0.94rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
}

.download-page {
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
}

.download-main {
  display: grid;
  place-items: center;
  padding: clamp(2rem, 8vw, 6rem) 0;
}

.download-card {
  width: min(100%, 680px);
  padding: clamp(1.7rem, 5vw, 3.4rem);
  border: 1px solid rgba(20, 201, 107, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.download-card h1 {
  max-width: 12ch;
  font-size: clamp(3.15rem, 8vw, 5.2rem);
}

.download-status {
  margin: 1.5rem 0;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--green);
  background: var(--cream-2);
  color: #163222;
  font-weight: 750;
}

.download-card p:not(.eyebrow):not(.download-status) {
  max-width: 58ch;
  color: var(--muted);
}

.download-fallback {
  margin: 1.8rem 0 1.2rem;
}

.download-return {
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .button:hover {
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .safety,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2.2rem;
  }

  .brand {
    font-size: 1.75rem;
  }

  h1 {
    max-width: 11ch;
    font-size: 4.6rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .hero-lede {
    font-size: 1.14rem;
  }

  .final-cta h2 {
    font-size: 2.05rem;
  }

  .hero-visual {
    min-height: 440px;
  }

  .app-panel-preview {
    width: min(86%, 480px);
    min-height: 390px;
    margin-inline: auto;
  }

  .case-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .final-actions {
    justify-content: flex-start;
  }
}

@media (min-width: 981px) and (max-height: 780px) {
  .site-header {
    padding: 1.5rem 0 1rem;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0 3.2rem;
  }

  h1 {
    font-size: 5rem;
    line-height: 0.92;
  }

  .hero-lede {
    max-width: 30rem;
    font-size: 1.1rem;
  }

  .hero-actions {
    margin: 1.45rem 0 1rem;
  }

  .hero-visual {
    min-height: 400px;
  }

  .app-panel-preview {
    width: min(90%, 440px);
    min-height: 342px;
    border-radius: 28px;
  }

  .desk-scene {
    width: min(84%, 620px);
    height: 66%;
  }
}

@media (max-width: 680px) {
  .site-header,
  .section-shell,
  .site-footer {
    width: min(100% - 28px, 1280px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.85rem 1.1rem;
  }

  .launch-ribbon {
    border-radius: 0;
    margin-top: 0;
    width: 100%;
    font-size: 0.86rem;
  }

  .brand {
    font-size: 1.45rem;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-lede {
    font-size: 1.04rem;
  }

  .final-cta h2 {
    font-size: 1.9rem;
  }

  .hero-visual {
    min-height: 390px;
  }

  .app-panel-preview {
    width: min(100%, 420px);
    min-height: 360px;
    padding: 1rem;
    border-radius: 28px;
  }

  .panel-actions span {
    padding-inline: 0.72rem;
  }

  .desk-scene {
    width: 100%;
    height: 70%;
  }

  .notebook {
    width: 45%;
    font-size: 0.77rem;
  }

  .case-grid,
  .steps,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .final-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
