/* BulkBuildr website.
   Design variance 7 / motion intensity 3 / visual density 3.
   Violet is the existing brand accent; screenshots carry the color and detail. */
:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f7f7fb;
  background: #0d0b16;
  --muted: #b5b1c4;
  --accent: #b394ff;
  --line: #2d283a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
a:focus-visible { outline: 3px solid #d2beff; outline-offset: 6px; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; z-index: 5; top: 12px; left: 16px; padding: 14px 20px; background: #f7f7fb; color: #0d0b16; transform: translateY(-150%); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.site-header { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 21px; font-weight: 800; letter-spacing: -.045em; white-space: nowrap; }
.brand-mark { display: block; flex: none; width: 38px; height: 38px; object-fit: contain; }
nav { display: flex; align-items: center; gap: 32px; }
.nav-link { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); transition: color 160ms; }
.nav-link:hover { color: #fff; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 54px; padding: 15px 24px; border: 1px solid transparent; border-radius: 12px; background: var(--accent); color: #160e29; font-size: 16px; font-weight: 750; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background 160ms, transform 160ms; }
.button:hover { background: #c4acff; transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button-small { min-height: 44px; padding: 12px 18px; font-size: 14px; gap: 16px; }
.link-arrow { font-size: 19px; line-height: 1; font-weight: 500; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-size: 15px; text-underline-offset: 5px; text-decoration-color: #726584; }
.text-link:hover { text-decoration-color: #f7f7fb; }

.hero { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 26px; padding-block: 36px 96px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin-bottom: 25px; color: var(--accent); font-size: 13px; font-weight: 700; line-height: 1.5; letter-spacing: .085em; text-transform: uppercase; }
h1 { font-size: clamp(42px, 4.55vw, 64px); font-weight: 800; line-height: 1.07; letter-spacing: -.055em; max-width: 650px; text-wrap: balance; }
.intro { max-width: 465px; margin-top: 26px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 32px; }
.hero-visual { position: relative; display: grid; place-items: center; padding-block: 16px; }
.hero-backdrop { position: absolute; inset: 12% 9% 9%; border: 1px solid #382a54; border-radius: 32px; background: #1c152c; transform: rotate(-7deg); }
.phone { position: relative; width: min(100%, 294px); overflow: hidden; border: 5px solid #292333; border-radius: 38px; background: #111; box-shadow: 0 30px 70px #05030970; }
.hero-phone { width: min(80%, 290px); transform: rotate(4deg); }

.binder-section { border-top: 1px solid var(--line); padding-block: 100px 112px; }
.section-intro { max-width: 645px; }
h2 { font-size: clamp(34px, 3.9vw, 52px); font-weight: 750; line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; }
.section-intro > p, .comp-copy > p:not(.eyebrow) { margin-top: 24px; max-width: 530px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.workflow { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 46px; }
.workflow-step { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #14111d; }
.workflow-step figcaption { padding: 32px 32px 0; }
h3 { font-size: 22px; line-height: 1.3; letter-spacing: -.025em; font-weight: 650; }
.workflow-step figcaption p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.screen-stage { display: grid; place-items: center; padding: 36px 28px 40px; }
.binder-step { background: #1a1426; border-color: #392b52; }
.workflow .phone { width: min(100%, 280px); }

.comp-section { padding-bottom: 112px; }
.comp-layout { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 80px; border-top: 1px solid var(--line); padding-top: 100px; }
.comp-copy .comp-note { padding-left: 20px; border-left: 2px solid #a987f0; color: #e0d8ed; font-size: 15px; }
.comp-visual { display: grid; justify-items: center; gap: 20px; }
.comp-visual figcaption { text-align: center; color: var(--muted); font-size: 12px; line-height: 1.6; }

.beta-section { padding: 76px 32px 80px; border: 1px solid #392b52; border-radius: 24px; background: #1c152c; text-align: center; }
.beta-section h2 { font-size: clamp(34px, 3.8vw, 50px); }
.beta-section p { margin-top: 20px; color: #c5bdd2; font-size: 17px; line-height: 1.65; }
.beta-section .button { margin-top: 30px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 152px; padding-block: 36px; }
.site-footer .brand { font-size: 18px; }
.site-footer .brand-mark { width: 32px; height: 32px; }
.site-footer p { color: var(--muted); font-size: 13px; }
.unavailable { padding-block: 80px 120px; }
.unavailable .intro { margin-bottom: 32px; }

.android-download { max-width: 960px; padding-block: 52px 100px; }
.android-download .intro { max-width: 610px; }
.android-release { margin-top: 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.android-availability { color: var(--muted); font-size: 17px; line-height: 1.65; }
.android-section { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.android-section h2 { font-size: clamp(30px, 3.4vw, 40px); }
.android-section > p, .android-steps p { margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 720px; }
.android-section a, .android-integrity a { text-underline-offset: 4px; }
.android-steps { padding-left: 28px; margin-block: 30px 0; }
.android-steps li { margin-top: 28px; padding-left: 10px; }
.android-steps li::marker { color: var(--accent); font-weight: 700; }
.android-steps h3 { font-size: 20px; }
.android-steps p { margin-top: 8px; }
.android-integrity { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.7; }
.android-integrity summary { cursor: pointer; color: #f7f7fb; }
.android-integrity p { margin-top: 16px; }
.android-integrity code { overflow-wrap: anywhere; }
.android-checksum { display: block; margin-top: 8px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: arrive 600ms ease-out both; }
  .hero-visual { animation: arrive 750ms 100ms ease-out both; }
  @keyframes arrive { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
}

@media (max-width: 1023px) {
  .wrap { width: calc(100% - 48px); }
  .hero { grid-template-columns: 1.2fr 1fr; gap: 24px; }
  h1 { font-size: clamp(42px, 5.25vw, 56px); }
  .desktop-break { display: none; }
  .hero-phone { width: 88%; }
  .comp-layout { gap: 40px; }
  nav { gap: 20px; }
}

@media (max-width: 767px) {
  html { scroll-padding-top: 24px; }
  .site-header { min-height: 84px; }
  .site-header .nav-link { display: none; }
  .brand { font-size: 20px; gap: 8px; }
  .button-small { padding-inline: 14px; gap: 10px; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-block: 36px 72px; }
  h1 { max-width: 600px; font-size: clamp(42px, 8.7vw, 62px); }
  .eyebrow { font-size: 12px; margin-bottom: 20px; }
  .intro { margin-top: 22px; max-width: 520px; font-size: 17px; line-height: 1.6; }
  .hero-actions { margin-top: 26px; gap: 10px 22px; }
  .hero-visual { width: min(100%, 390px); justify-self: center; padding: 18px 12px; }
  .hero-phone { width: min(82%, 290px); }
  .hero-backdrop { inset-inline: 8%; }
  .binder-section { padding-block: 64px 72px; }
  .workflow { grid-template-columns: 1fr; margin-top: 32px; gap: 20px; }
  .workflow-step figcaption { padding: 28px 24px 0; }
  .screen-stage { padding: 28px 24px 32px; }
  .section-intro > p, .comp-copy > p:not(.eyebrow) { font-size: 16px; }
  .comp-layout { grid-template-columns: 1fr; gap: 40px; padding-top: 64px; }
  .comp-section { padding-bottom: 72px; }
  .comp-visual .phone { width: min(100%, 294px); }
  .beta-section { padding: 52px 24px; }
  .beta-section p { font-size: 16px; }
  .site-footer { min-height: 124px; }
}

@media (max-width: 374px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { gap: 12px; }
  .site-header .brand { font-size: 17px; }
  .site-header .brand-mark { width: 30px; height: 30px; }
  .button-small { font-size: 13px; padding-inline: 12px; }
  .button-small .link-arrow { display: none; }
  h1 { font-size: 40px; }
  .hero { padding-top: 28px; }
  .hero-actions { column-gap: 18px; }
  .hero-actions .button { padding-inline: 20px; }
  .hero-actions .text-link { font-size: 14px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:hover, .button:active { transform: none; }
}
