/* BeaverDrop marketing site (matches app: thick strokes, hot pink accent) */

:root {
  --bg: #f7f7f7;
  --surface: #ffffff;
  --ink: #000000;
  --accent: #ff0066;
  --accent-dim: rgba(255, 0, 102, 0.15);
  --stroke: 3px solid var(--ink);
  --radius: 4px;
  --radius-lg: 6px;
  --max: 1120px;
  --shadow-hard: 6px 6px 0 var(--ink);
  --shadow-soft: 12px 12px 0 rgba(0, 0, 0, 0.12);
  --font-display: "Archivo Black", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-deco,
  .floaty,
  .marquee-inner {
    animation: none !important;
  }
  .brand:hover .brandIcon,
  .footerBrand:hover .brandIcon {
    transform: none !important;
  }
  .brand:hover .brandMark::before {
    transform: translate(5px, 5px) !important;
  }
  .footerBrand:hover .brandMark::before {
    transform: translate(4px, 4px) !important;
  }
  .brand:hover .brandMark,
  .footerBrand:hover .brandMark {
    filter: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: var(--ink);
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}

h1,
h2,
h3,
.kicker,
.brandText {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
}
.muted {
  color: #333;
}
.muted2 {
  color: #555;
}
.small {
  font-size: 13px;
}

/* ——— Header ——— */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 16px;
  background: var(--surface);
  border-bottom: var(--stroke);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

/* Stacked “shadow tile” behind the app icon — reads like the real icon treatment */
.brandMark {
  position: relative;
  display: block;
  flex-shrink: 0;
  line-height: 0;
  transition: filter 0.28s ease;
}

.brandMark::before {
  content: "";
  position: absolute;
  inset: 0;
  border: var(--stroke);
  border-radius: var(--radius-lg);
  background: var(--ink);
  transform: translate(5px, 5px);
  z-index: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.34, 1.35, 0.64, 1);
}

.brandIcon {
  position: relative;
  z-index: 1;
  display: block;
  width: 56px;
  height: 56px;
  border: var(--stroke);
  border-radius: var(--radius-lg);
  object-fit: cover;
  background: var(--surface);
  transition: transform 0.28s cubic-bezier(0.34, 1.35, 0.64, 1);
}

.brand:hover .brandMark {
  filter: drop-shadow(0 0 14px rgba(255, 0, 102, 0.32));
}

.brand:hover .brandIcon {
  transform: translate(-3px, -3px) rotate(-2.5deg);
}

.brand:hover .brandMark::before {
  transform: translate(8px, 8px);
}

.brandText {
  font-size: clamp(19px, 2.3vw, 24px);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 1;
}

/* Footer: still bold, slightly smaller mark so the column breathes */
.footerBrand .brandIcon {
  width: 48px;
  height: 48px;
}

.footerBrand .brandMark::before {
  transform: translate(4px, 4px);
}

.footerBrand:hover .brandMark::before {
  transform: translate(6px, 6px);
}

.footerBrand:hover .brandIcon {
  transform: translate(-2px, -2px) rotate(-2deg);
}

.footerBrand .brandText {
  font-size: clamp(17px, 2vw, 20px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-weight: 700;
  font-size: 14px;
}
.nav a {
  padding: 8px 12px;
  border-radius: var(--radius);
  border: 2px solid transparent;
}
.nav a:hover {
  border-color: var(--ink);
  background: var(--surface);
  color: var(--ink);
}
.navAppStore {
  border: var(--stroke) !important;
  background: var(--accent) !important;
  color: #fff !important;
  box-shadow: 4px 4px 0 var(--ink);
}
.navAppStore:hover {
  color: #fff !important;
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--ink);
}
.pill {
  border: var(--stroke) !important;
  background: var(--surface) !important;
}

.menuBtn {
  display: none;
  border: var(--stroke);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 10px 12px;
  cursor: pointer;
}
.menuBtn span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--ink);
  margin: 4px 0;
  border-radius: 1px;
}

main {
  display: block;
}

/* ——— Hero ——— */
.hero {
  padding: 48px 18px 32px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 23px,
      rgba(0, 0, 0, 0.06) 23px,
      rgba(0, 0, 0, 0.06) 24px
    ),
    repeating-linear-gradient(90deg, transparent, transparent 23px, rgba(0, 0, 0, 0.04) 23px, rgba(0, 0, 0, 0.04) 24px);
  opacity: 0.5;
  pointer-events: none;
}

.heroGrid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.kicker {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  padding: 8px 14px;
  border: var(--stroke);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-hard);
  margin-bottom: 12px;
}

.heroCopy h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  text-transform: uppercase;
}

.sub {
  margin: 0 0 20px;
  color: #222;
  max-width: 52ch;
  font-size: 17px;
}

.ctaRow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: var(--radius);
  border: var(--stroke);
  background: var(--surface);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  color: var(--ink);
}
.btn.primary {
  background: var(--accent);
  color: #fff;
}
.btn.ghost {
  background: var(--bg);
}

.appStoreHighlight {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  border: var(--stroke);
  background: var(--surface);
  box-shadow: var(--shadow-hard);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.appStoreHighlight:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
}
.appStoreHighlightTitle {
  font-family: var(--font-display);
  font-size: 15px;
  text-transform: uppercase;
}
.appStoreBadgeImg {
  display: block;
  height: 44px;
  width: auto;
}
.appStoreHighlightLarge .appStoreBadgeImg {
  height: 52px;
}

.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.badge {
  padding: 12px 14px;
  border: var(--stroke);
  border-radius: var(--radius);
  background: var(--surface);
  min-width: 120px;
  box-shadow: 3px 3px 0 var(--ink);
}
.badgeTop {
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
}
.badgeSub {
  font-size: 12px;
  color: #444;
  margin-top: 4px;
  font-weight: 600;
}

.fineprint {
  margin: 16px 0 0;
  font-size: 12px;
  color: #555;
}
.fineprint a {
  color: var(--accent);
  font-weight: 700;
}

/* Hero art */
.heroArt {
  display: flex;
  justify-content: center;
  align-items: center;
}
.heroCard {
  width: min(420px, 100%);
  border: var(--stroke);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 20px;
  box-shadow: var(--shadow-hard);
  position: relative;
}
.heroCard.floaty {
  animation: floaty 6s ease-in-out infinite;
}
.heroCardTop {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.chipDot {
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  border-radius: 1px;
}
.chipDot.pink {
  background: var(--accent);
}
.chipDot.yellow {
  background: #ffcc00;
}
.chipDot.cyan {
  background: #00e5ff;
}
.heroCardTitle {
  margin-left: 4px;
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
}

.marquee {
  border: var(--stroke);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 12px 0;
}
.marquee-inner {
  display: flex;
  gap: 48px;
  padding: 10px 0;
  white-space: nowrap;
  animation: marquee 18s linear infinite;
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.statGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.stat {
  border: var(--stroke);
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
  background: var(--accent-dim);
}
.statVal {
  font-family: var(--font-display);
  font-size: 22px;
}
.statLab {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #333;
}

.hero-deco {
  position: absolute;
  width: 80px;
  height: 80px;
  border: var(--stroke);
  background: var(--accent);
  border-radius: var(--radius);
  right: 5%;
  top: 18%;
  animation: floaty 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.hero-deco.b2 {
  width: 48px;
  height: 48px;
  left: 8%;
  bottom: 12%;
  top: auto;
  right: auto;
  background: #ffcc00;
  animation-delay: -2s;
}
@keyframes floaty {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(6px, -10px) rotate(4deg);
  }
}

/* ——— Sections ——— */
.section {
  padding: 48px 18px;
}
.section.alt {
  background: var(--surface);
  border-top: var(--stroke);
  border-bottom: var(--stroke);
}

.sectionHead {
  max-width: var(--max);
  margin: 0 auto 24px;
}
.sectionHead h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.5vw, 36px);
  text-transform: uppercase;
}
.sectionHead p {
  margin: 0;
  color: #333;
  max-width: 65ch;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 {
  transition-delay: 0.06s;
}
.stagger-2 {
  transition-delay: 0.12s;
}
.stagger-3 {
  transition-delay: 0.18s;
}

.cards {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  padding: 20px;
  border: var(--stroke);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}
.card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  text-transform: uppercase;
}
.card p {
  margin: 0;
  color: #333;
  font-size: 15px;
}

.pillRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  border-radius: 2px;
  background: var(--accent-dim);
}

/* Benefit list */
.benefits {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.benefit {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: var(--stroke);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: 4px 4px 0 var(--ink);
}
.benefitIcon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: var(--stroke);
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit h3 {
  margin: 0 0 6px;
  font-size: 17px;
  text-transform: uppercase;
}
.benefit p {
  margin: 0;
  color: #333;
  font-size: 15px;
}

.steps {
  max-width: var(--max);
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.steps li {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: var(--stroke);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 4px 4px 0 var(--ink);
}
.stepNum {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: var(--stroke);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  background: var(--accent);
  color: #fff;
}
.steps h3 {
  margin: 0 0 8px;
  font-size: 16px;
  text-transform: uppercase;
}
.steps p {
  margin: 0;
  color: #333;
  font-size: 14px;
}

/* Screenshots */
.shots {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.shot {
  border: var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #e8e8e8;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.shot > a {
  display: block;
  line-height: 0;
  background: #e8e8e8;
}
.shot:hover {
  transform: translate(-4px, -4px) rotate(-0.5deg);
  box-shadow: 10px 10px 0 var(--ink);
}
.shot figcaption {
  padding: 12px 14px;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  border-top: var(--stroke);
  background: var(--bg);
}
/* Full device frame — do not use object-fit: cover (it crops sides when ratios differ slightly). */
.shot img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top center;
}

/* Sample scenario */
.scenarioStory {
  max-width: var(--max);
  margin: 0 auto;
  border: var(--stroke);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  background: var(--surface);
  box-shadow: 4px 4px 0 var(--ink);
}
.scenarioStory h3 {
  margin: 20px 0 8px;
  font-size: 15px;
  text-transform: uppercase;
}
.scenarioStory h3:first-child {
  margin-top: 0;
}
.scenarioStory p,
.scenarioStory li {
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}
.scenarioStory ol {
  margin: 0;
  padding-left: 1.25em;
}
.scenarioStory li {
  margin-bottom: 10px;
}
.scenarioStory .muted {
  font-size: 14px;
}

/* Backup & exports */
.backupGrid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.backupCard {
  border: var(--stroke);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--surface);
  box-shadow: 4px 4px 0 var(--ink);
}
.backupCard h3 {
  margin: 0 0 12px;
  font-size: 16px;
  text-transform: uppercase;
}
.backupCard p {
  margin: 0 0 10px;
  color: #333;
  font-size: 14px;
  line-height: 1.55;
}
.backupCard ul {
  margin: 0;
  padding-left: 1.2em;
  color: #333;
  font-size: 14px;
  line-height: 1.55;
}
.backupCard li {
  margin-bottom: 6px;
}
.backupNote {
  max-width: var(--max);
  margin: 20px auto 0;
  padding: 14px 18px;
  border: 2px dashed #999;
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 13px;
  color: #444;
  line-height: 1.55;
}

@media (max-width: 680px) {
  .backupGrid {
    grid-template-columns: 1fr;
  }
}

/* Help strip */
.helpStrip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px;
  border: var(--stroke);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-hard);
}
.helpStrip h2 {
  margin: 0 0 6px;
  font-size: 22px;
  text-transform: uppercase;
}
.helpStrip p {
  margin: 0;
  opacity: 0.92;
  max-width: 48ch;
}

.faq {
  max-width: var(--max);
  margin: 16px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
details {
  border: var(--stroke);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 4px 16px 14px;
  box-shadow: 3px 3px 0 var(--ink);
}
details[open] {
  background: var(--bg);
}
summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 16px;
  text-transform: uppercase;
  padding: 12px 0 4px;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  float: right;
  font-weight: 900;
  color: var(--accent);
}
details[open] summary::after {
  content: "−";
}
details p {
  margin: 8px 0 0;
  color: #333;
  line-height: 1.65;
}
details a {
  color: var(--accent);
  font-weight: 700;
}

.ctaCard {
  max-width: var(--max);
  margin: 0 auto;
  border: var(--stroke);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--surface);
  box-shadow: var(--shadow-hard);
}
.ctaButtons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.downloadBanner {
  max-width: var(--max);
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
}
.downloadSectionIntro {
  text-align: center;
}
.downloadSectionIntro h2 {
  margin-bottom: 8px;
}

.darkBand {
  background: var(--ink);
  color: #fff;
  padding: 48px 18px;
  border-top: var(--stroke);
}
.darkBand .appStoreHighlight {
  background: var(--ink);
  border-color: #fff;
  box-shadow: 6px 6px 0 #fff;
}
.darkBand .appStoreHighlight:hover {
  box-shadow: 8px 8px 0 var(--accent);
}
.darkBand .appStoreHighlightTitle {
  color: #fff;
}

/* Footer */
.footer {
  padding: 36px 18px 28px;
  border-top: var(--stroke);
  background: var(--surface);
}
.footerGrid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}
.footerLinks {
  display: grid;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
}
.footerAppStore {
  color: var(--accent) !important;
  font-weight: 800;
}
.footerBottom {
  max-width: var(--max);
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 2px solid #ddd;
  font-size: 12px;
  color: #666;
}

/* Inner pages */
.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 18px 56px;
}
.page h1 {
  margin: 8px 0 12px;
  text-transform: uppercase;
}
.page p,
.page li {
  color: #333;
  line-height: 1.7;
}
.page .panel {
  margin-top: 18px;
  border: var(--stroke);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px 20px;
  box-shadow: 3px 3px 0 var(--ink);
}
.page .panel h2 {
  margin: 0 0 10px;
  font-size: 18px;
  text-transform: uppercase;
}
.page .panel p {
  margin: 0;
}
.page ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}

.toc {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.toc li {
  margin-bottom: 8px;
}
.toc a {
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
}

/* 404 */
.page .ctaRow {
  margin-top: 16px;
}

/* Responsive */
@media (max-width: 980px) {
  .heroGrid {
    grid-template-columns: 1fr;
  }
  .hero-deco {
    display: none;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .shots {
    grid-template-columns: repeat(2, 1fr);
  }
  .ctaCard {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .nav {
    display: none;
  }
  .menuBtn {
    display: inline-flex;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .shots {
    grid-template-columns: 1fr;
  }
  .statGrid {
    grid-template-columns: 1fr;
  }
  .footerGrid {
    grid-template-columns: 1fr;
  }
}

.nav.open {
  display: flex;
  position: absolute;
  top: 58px;
  right: 12px;
  left: 12px;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border: var(--stroke);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-hard);
}

.top {
  position: relative;
}
