body { overflow-x: hidden; }
.nav, .hero, .demo, .features, .animals-head, .install, .foot { max-width: 1180px; margin-left: auto; margin-right: auto; padding-left: 28px; padding-right: 28px; }

.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font: 560 20px/1 var(--serif); letter-spacing: -.01em; text-decoration: none; }
.brand .mark { width: 28px; height: 28px; color: var(--green); }
.nav nav { display: flex; align-items: center; gap: 26px; font-size: 14.5px; }
.nav nav a:not(.btn) { color: var(--ink-2); text-decoration: none; }
.nav nav a:not(.btn):hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--green); color: var(--green-ink); font-weight: 600; font-size: 15px; text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 6px 18px color-mix(in srgb, var(--green) 28%, transparent);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 10px 24px color-mix(in srgb, var(--green) 34%, transparent); }
.btn.small { height: 36px; padding: 0 16px; font-size: 13.5px; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }

.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
h1 { margin-top: 18px; font: 460 clamp(46px, 7vw, 92px)/.98 var(--serif); letter-spacing: -.035em; font-variation-settings: "opsz" 144; }
h1 span { color: var(--green); }
h2 { font: 480 clamp(30px, 4vw, 46px)/1.08 var(--serif); letter-spacing: -.025em; font-variation-settings: "opsz" 120; text-wrap: balance; }
h3 { font: 600 16px/1.3 var(--sans); }
.lede { margin-top: 22px; max-width: 32em; font-size: 19px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 80px; }
.hero-shot { position: relative; height: 560px; }
.hero-shot .tile { position: absolute; border-radius: 18px; overflow: hidden; box-shadow: 0 2px 4px rgba(40,25,10,.08), 0 24px 60px rgba(40,25,10,.18); background: var(--line); }
.hero-shot .tile quokka-blocker { border-radius: 18px; }

/* Demo */
.demo { padding-top: 40px; padding-bottom: 90px; }
.demo-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.seg.big button { padding: 8px 18px; font-size: 14px; }
.browser { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 2px 6px rgba(40,25,10,.06), 0 30px 80px rgba(40,25,10,.16); border: 1px solid var(--line); }
.chrome { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; background: #f1ede7; border-bottom: 1px solid #e4ddd3; }
.chrome i { width: 11px; height: 11px; border-radius: 50%; background: #d8d0c5; }
.chrome span { margin-left: 14px; padding: 4px 14px; border-radius: 8px; background: #fff; font-size: 12px; color: #8a8077; }
.page-mock { padding: 22px 26px 30px; background: #fff; }
.page-mock .cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; margin-top: 22px; }
.page-mock .side { display: flex; flex-direction: column; gap: 22px; }
.article .kicker { width: 90px; height: 10px; border-radius: 5px; background: #c9e0d6; margin-bottom: 14px; }
.article .t { height: 26px; border-radius: 6px; background: #ece6dd; margin-bottom: 10px; }
.article .t.short { width: 60%; margin-bottom: 22px; }
.article .p { height: 11px; border-radius: 6px; background: #f3efe9; margin-bottom: 11px; }
.article .p.s { width: 70%; }
.article .slot { margin: 22px 0; }
.slot { position: relative; overflow: hidden; border-radius: 4px; }
.fake-ad {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center;
  background: repeating-linear-gradient(45deg, #ff2d55 0 18px, #ff9f0a 18px 36px); color: #fff; font-family: Arial, Helvetica, sans-serif; padding: 8px;
}
.fake-ad b { font-size: clamp(16px, 4vw, 38px); font-weight: 900; text-shadow: 2px 2px 0 #000; }
.fake-ad i { font-style: normal; background: #ffe600; color: #000; font-weight: 800; padding: 6px 10px; border-radius: 4px; font-size: 14px; }
.demo-note { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); text-align: center; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; padding-top: 60px; padding-bottom: 90px; border-top: 1px solid var(--line); }
.ficon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-size: 19px; margin-bottom: 18px; }
.feature p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }

/* Animals marquee */
.animals { padding-bottom: 100px; }
.animals-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 34px; }
.animals-head p { color: var(--ink-2); font-size: 16px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; gap: 16px; width: max-content; animation: slide 120s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } .marquee { overflow-x: auto; } }
.pic { position: relative; flex: none; width: 260px; height: 320px; border-radius: 16px; overflow: hidden; background: var(--line); }
.pic.wide { width: 420px; }
.pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; background: linear-gradient(to top, rgba(12,9,7,.6), transparent); }
.pic b { display: block; font: 500 19px/1.1 var(--serif); }
.pic span { font-size: 11.5px; opacity: .8; }

/* Install */
.install { padding-top: 70px; padding-bottom: 80px; border-top: 1px solid var(--line); }
.install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.how { padding: 28px 30px; border-radius: 18px; background: var(--raised); box-shadow: var(--shadow); }
.how ol { margin: 18px 0 0 20px; display: flex; flex-direction: column; gap: 14px; color: var(--ink-2); }
.how li { padding-left: 4px; }
.how code { font: 500 13px ui-monospace, Menlo, monospace; background: var(--line-2); padding: 2px 6px; border-radius: 5px; color: var(--ink); }
.small-print { margin-top: 16px; font-size: 13px; color: var(--ink-3); }

.foot { padding-top: 34px; padding-bottom: 60px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13.5px; display: flex; flex-direction: column; gap: 12px; }
.foot .brand { font-size: 17px; color: var(--ink); }
.foot a { color: var(--ink-2); }

@media (max-width: 900px) {
  .hero, .animals-head, .install-grid { grid-template-columns: 1fr; }
  .hero-shot { height: 420px; }
  .features { grid-template-columns: 1fr 1fr; }
  .page-mock .cols { grid-template-columns: 1fr; }
  .page-mock .side { display: none; }
  .nav nav a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .nav, .hero, .demo, .features, .animals-head, .install, .foot { padding-left: 16px; padding-right: 16px; }
}
