:root {
  --page: #e8e8e8;
  --sheet: #f0f0f0;
  --ink: #34455e;       /* slate headline/body */
  --ink-soft: #a3adbd;  /* muted slate */
  --line: #dadde3;
  --hl: #c9f68f;        /* marker green */
  --white: #fff;
  --side-w: 330px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--page);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; }
svg { display: block; }
.emoji { font-size: 1.15em; }

/* ---------- Layout ---------- */
.layout { display: flex; min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; align-self: flex-start;
  width: var(--side-w); height: 100vh; flex: none;
  padding: 24px 24px 20px; display: flex; flex-direction: column;
  overflow-y: auto; scrollbar-width: none;
}
.sidebar::-webkit-scrollbar { display: none; }
.main { flex: 1; min-width: 0; padding: 56px 28px 28px 20px; }
.sheet {
  background: var(--sheet); border-radius: 56px;
  box-shadow: 0 10px 40px rgba(60,70,90,.08);
  padding: 70px 0 20px; overflow: hidden;
}
.col { width: min(720px, 86%); margin-inline: auto; }
.block { margin-top: 110px; }

/* ---------- Sidebar ---------- */
.side-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.brand .mark { width: 40px; height: 40px; }
.word { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 2rem; letter-spacing: .5px; line-height: 1; }
.menu-btn { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; }
.menu-btn span { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }
.side-nav { margin-top: 22px; display: flex; flex-direction: column; gap: 6px; }
.nav-item {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 999px;
  font-size: 1.05rem; font-weight: 500; transition: background .25s, box-shadow .25s;
}
.nav-item svg { width: 22px; height: 22px; flex: none; }
.nav-item .arrow { margin-left: auto; opacity: 0; color: var(--ink-soft); transition: opacity .2s; }
.nav-item:hover { background: rgba(255,255,255,.55); }
.nav-item.active { background: var(--white); box-shadow: 0 10px 28px rgba(60,70,90,.12); }
.nav-item.active .arrow { opacity: 1; }
.nav-item.disabled { opacity: .55; pointer-events: none; }
.soon { margin-left: auto; font-style: normal; font-size: .82rem; background: #e3e5ea; padding: 5px 12px; border-radius: 10px; }
.side-label { margin: 34px 0 10px 18px; font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-soft); }
.side-label b { color: var(--ink); }
.side-link { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 999px; font-weight: 500; font-size: 1.05rem; transition: background .2s; }
.side-link:hover { background: rgba(255,255,255,.55); }
.tg { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #3aa0f0; }
.tg svg { width: 16px; height: 16px; }
.tg.sm { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { padding-top: 40px; }
.eyebrow { font-size: .95rem; font-weight: 600; letter-spacing: .03em; color: var(--ink-soft); margin-bottom: 36px; }
.eyebrow b { color: var(--ink); }
h1 { font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.05em; }
h1 .d { color: var(--ink); }
h1 .m { color: var(--ink-soft); }
.app-icon {
  display: inline-grid; place-items: center; vertical-align: -.1em;
  width: 1.15em; height: 1.15em; margin: 0 .08em; border-radius: .28em;
  background: linear-gradient(145deg, #62d96b, #b8f55b); box-shadow: 0 6px 18px rgba(80,160,60,.25);
  color: #1b4d2a;
}
.app-icon svg { width: .78em; height: .78em; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.pill-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 24px 38px; border-radius: 999px;
  background: #f9f9f9; font-weight: 500; font-size: 1.15rem;
  box-shadow: 0 14px 30px rgba(60,70,90,.12), 0 2px 4px rgba(60,70,90,.05);
  transition: transform .25s, box-shadow .25s;
}
.pill-btn:hover { transform: translateY(-3px); box-shadow: 0 20px 36px rgba(60,70,90,.16); }

/* ---------- Video ---------- */
.video-card {
  width: min(1080px, 90%); margin: 90px auto 0; background: #fcfcfc; border-radius: 56px; padding: 14px 14px 16px;
  box-shadow: 0 30px 50px -20px rgba(60,70,90,.3), 0 14px 0 -4px #d3d9e4;
}
.video-screen { position: relative; border-radius: 44px; overflow: hidden; aspect-ratio: 16/9; background: linear-gradient(#78c3fb, #cfeaff 55%, #b8e6a0 56%); }
.video-screen::after { content: ''; position: absolute; inset: auto 0 0 0; height: 44%; background:
  repeating-linear-gradient(100deg, #2f7d2a 0 3px, #4ea63a 3px 7px); border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
.video-art { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 18px; color: rgba(255,255,255,.85); }
.video-art .big-mark { width: clamp(70px, 14vw, 180px); height: clamp(70px, 14vw, 180px); }
.big-word { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: clamp(3rem, 12vw, 9rem); line-height: .9; }
.play-big { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 96px; height: 96px; border-radius: 50%;
  background: rgba(255,255,255,.4); backdrop-filter: blur(10px); color: #fff; display: grid; place-items: center; transition: transform .2s, opacity .3s; }
.play-big:hover { transform: translate(-50%,-50%) scale(1.07); }
.play-big svg { width: 44px; height: 44px; margin-left: 4px; }
.playing .play-big { opacity: 0; pointer-events: none; }
.video-bar { display: flex; align-items: center; gap: 12px; padding: 16px 16px 4px; }
.vbtn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; background: #fff; font-weight: 500; font-size: 1.05rem; box-shadow: 0 8px 20px rgba(60,70,90,.1); }
.vbtn svg { width: 20px; height: 20px; }
.vbtn.icon { padding: 16px 32px; }
.spacer { flex: 1; }

/* ---------- Text blocks ---------- */
.story { margin-top: 90px; font-size: clamp(1.25rem, 2.1vw, 1.7rem); line-height: 1.6; letter-spacing: -0.02em; }
.story .gap { margin-top: 2.4em; }
.hand { font-family: 'Caveat', cursive; font-size: 1.25em; font-weight: 600; }
mark { background: linear-gradient(100deg, transparent 0 1%, var(--hl) 2% 98%, transparent 99%); color: inherit; padding: 2px 8px; margin: 0 -4px; border-radius: 4px; transform: rotate(-.4deg); display: inline; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.store { display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: .4em; color: #fff; font-size: .8em; font-weight: 700; vertical-align: middle; margin-left: 6px; box-shadow: 0 6px 12px rgba(60,70,90,.18); }
.store.ios { background: linear-gradient(#4fb2ff, #1c6cf0); }
.store.gp { background: #fff; color: #18a84f; }

.divider { display: flex; align-items: center; gap: 22px; color: var(--ink-soft); font-size: .95rem; font-weight: 600; letter-spacing: .03em; margin-bottom: 70px; width: 100%; }
.wide .divider { margin-bottom: 20px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.block > .divider, .col > .divider { width: calc(100% + 14%); margin-left: -7%; }
.lead { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.5; }
.lead.sm { font-size: clamp(1.3rem, 2.4vw, 1.9rem); margin-top: 56px; }
.lead.faded { color: var(--ink-soft); }
.dash { margin-top: 50px; font-size: clamp(1.3rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; line-height: 2; }
.dash li::before { content: '- '; }

/* Letter tiles */
.tiles { display: inline-flex; flex-wrap: wrap; gap: 10px; vertical-align: middle; margin-left: 6px; }
.tiles i {
  font-style: normal; display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: .5em; background: #fafafa; font-size: .85em; font-weight: 500;
  box-shadow: 0 12px 20px rgba(60,70,90,.14), inset 0 -2px 0 #e4e6ea;
  transform: rotate(var(--r)) translateY(20px) scale(.9); opacity: 0; transition: transform .6s cubic-bezier(.3,1.5,.5,1), opacity .5s; transition-delay: calc(var(--i) * 60ms);
}
.tiles.in i { transform: rotate(var(--r)); opacity: 1; }

.inline-brand { display: inline-flex; align-items: center; gap: 8px; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.15em; vertical-align: middle; }
.inline-brand .mark, .mark.inline { width: 1.4em; height: 1.4em; display: inline-block; vertical-align: middle; }
.mark { color: var(--ink); }

/* ---------- Polaroids ---------- */
.polaroids {
  margin: 90px auto 0; width: min(640px, 100%); position: relative; left: 50%; transform: translateX(-50%);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 34px; max-width: 640px;
}
.pol { position: relative; background: #fff; padding: 12px 12px 0; border-radius: 6px; box-shadow: 0 14px 28px rgba(60,70,90,.18); transition: transform .35s; }
.pol:hover { transform: rotate(0) scale(1.04) !important; z-index: 5; }
.pol .img { aspect-ratio: 1/1.1; background: linear-gradient(160deg, var(--a), var(--b)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--ink); overflow: hidden; }
.pol .img b { font-size: 1.1rem; background: rgba(255,255,255,.7); padding: 6px 16px; border-radius: 999px; }
.pol .img.txt { text-align: center; font-weight: 800; font-size: 1.7rem; line-height: 1; letter-spacing: -0.03em; }
.pol .img.wide strong { font-family: 'Barlow Condensed'; font-weight: 800; font-size: 1.7rem; }
.pol .img .mark { width: 55%; height: 55%; color: #1f6f2b; }
.pol .eight { font-size: 8rem; line-height: 1; color: #2f7d2a; }
.dotbtn { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; font-size: 1.6rem; box-shadow: 0 6px 12px rgba(0,0,0,.12); }
.pol figcaption { font-family: 'Caveat', cursive; font-size: 1.6rem; font-weight: 600; padding: 8px 6px 12px; text-align: center; }
.p1 { transform: rotate(-3deg); } .p2 { transform: rotate(2deg) translateY(-14px); }
.p3 { transform: rotate(-1.5deg); } .p4 { transform: rotate(2.5deg) translateY(-6px); }
.pol i { position: absolute; z-index: 3; }
.pin { top: -14px; right: 22px; width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 8px 8px rgba(0,0,0,.25), inset -4px -4px 6px rgba(0,0,0,.25), inset 3px 3px 5px rgba(255,255,255,.5); }
.pin.red { background: #d9322f; } .pin.green { background: #5cc83c; left: 40%; right: auto; }
.clip { top: -26px; left: 16px; width: 22px; height: 52px; border: 3px solid #9aa0aa; border-radius: 12px; transform: rotate(14deg); }
.clip.alt { left: auto; right: 14px; }
.tape { top: -16px; left: -26px; width: 100px; height: 30px; background: rgba(240,224,170,.9); transform: rotate(-10deg); box-shadow: 0 2px 4px rgba(0,0,0,.08); }
.nail { top: -8px; left: 14px; width: 40px; height: 6px; background: #555; border-radius: 3px; transform: rotate(-35deg); }

/* ---------- Service cards (grid paper) ---------- */
.cards { margin-top: 56px; display: grid; gap: 18px; }
.gcard {
  padding: 28px 30px; border-radius: 22px; border: 1px solid #e4e6ea;
  background-color: #f4f4f4; background-image: linear-gradient(#e9ebee 1px, transparent 1px), linear-gradient(90deg, #e9ebee 1px, transparent 1px); background-size: 20px 20px;
  transition: transform .3s, box-shadow .3s;
}
.gcard:hover { transform: translateY(-4px); box-shadow: 0 18px 30px rgba(60,70,90,.12); }
.gcard h3 { font-size: 1.8rem; font-weight: 500; letter-spacing: -0.03em; }
.gcard p { color: var(--ink-soft); margin-top: 4px; font-size: 1.05rem; }

/* ---------- Carousel ---------- */
.carousel { margin-top: 40px; overflow: hidden; padding: 20px 7% 36px; cursor: grab; outline: none; user-select: none; }
.carousel.dragging { cursor: grabbing; }
.track { display: flex; gap: 22px; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.carousel.dragging .track { transition: none; }
.pcard {
  flex: 0 0 min(340px, 72vw); height: 440px; border-radius: 40px; padding: 26px; background: linear-gradient(160deg, var(--a), var(--b)); color: #fff; position: relative;
  display: flex; flex-direction: column; justify-content: flex-end; box-shadow: 0 24px 40px -14px rgba(60,70,90,.35); border: 10px solid #fcfcfc;
  opacity: .55; transform: scale(.94); transition: opacity .4s, transform .4s;
}
.pcard.active { opacity: 1; transform: scale(1); }
.pcard span { position: absolute; top: 20px; left: 20px; background: rgba(255,255,255,.85); color: var(--ink); padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.pcard h3 { font-size: 2.2rem; letter-spacing: -0.04em; }
.pcard p { opacity: .95; }
.ctrl { display: flex; align-items: center; gap: 12px; }
.ctrl button { width: 54px; height: 54px; border-radius: 50%; background: #fafafa; box-shadow: 0 8px 18px rgba(60,70,90,.12); font-size: 1.2rem; }
.ctrl small, .note { color: var(--ink-soft); margin-left: 8px; }
.note { margin: 24px 0 0; font-size: .9rem; }

/* ---------- Quote / Pricing / Final ---------- */
.who { margin-top: 26px; font-weight: 600; }
.who span { color: var(--ink-soft); font-weight: 400; margin-left: 8px; }
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); width: calc(100% + 14%); margin-left: -7%; }
.plan { background: #fafafa; border-radius: 32px; padding: 30px; box-shadow: 0 14px 30px rgba(60,70,90,.1); }
.plan.featured { background: var(--ink); color: #fff; transform: translateY(-10px); }
.plan h3 { font-size: 1.4rem; letter-spacing: -0.03em; }
.price { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.04em; margin: 8px 0 18px; }
.plan li { padding: 6px 0; color: inherit; opacity: .8; }
.plan li::before { content: '✓  '; color: #58b83c; font-weight: 700; }
.final { text-align: left; }
.final h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.05em; line-height: 1.05; margin-top: 60px; }
.hl { background: linear-gradient(100deg, transparent 0 1%, var(--hl) 2% 98%, transparent 99%); padding: 0 10px; margin: 0 -10px; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; width: min(720px, 86%); margin: 120px auto 20px; color: var(--ink-soft); font-size: .92rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s, transform .8s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .layout { flex-direction: column; }
  .sidebar { position: sticky; top: 0; z-index: 40; width: 100%; height: auto; max-height: 100vh; background: var(--page); padding: 14px 18px; }
  .side-body { display: none; padding-bottom: 20px; }
  .sidebar.open .side-body { display: block; }
  .main { padding: 8px 10px 14px; }
  .sheet { border-radius: 34px; padding-top: 40px; }
  .video-card, .video-screen { border-radius: 30px; }
  .video-card { padding: 8px; }
  .vbtn { padding: 12px 16px; }
  .pill-btn { padding: 18px 26px; }
  .polaroids { width: 100%; left: 0; transform: none; gap: 34px 18px; }
  .pcard-big { grid-template-columns: 1fr; }
  .block > .divider, .col > .divider, .plans { width: 100%; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Project card image (from admin) ---------- */
.pcard { overflow: hidden; }
.pcard .pimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45), transparent 55%); pointer-events: none; }
.pcard > * { position: relative; z-index: 1; }
.pcard > .pimg { position: absolute; z-index: 0; }
.pcard > span { position: absolute; z-index: 2; }

/* ---------- Pricing (tabs + card) ---------- */
.pricing { margin-top: -30px; padding: 0 5%; }
.tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.tab { padding: 16px 28px; border-radius: 999px; font-size: 1.05rem; font-weight: 500; transition: background .25s, box-shadow .25s; }
.tab:hover { background: rgba(255,255,255,.55); }
.tab.active { background: #fafafa; box-shadow: 0 14px 28px rgba(60,70,90,.14); }
.pcard-big { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 34px; background: #fafafa; border-radius: 44px; padding: 34px; box-shadow: 0 20px 40px rgba(60,70,90,.08); max-width: 1000px; margin: 0 auto; }
.pc-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.pc-head h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 2rem; letter-spacing: -.01em; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; color: var(--ink); background: #fff; }
.chip svg { width: 16px; height: 16px; color: var(--ink-soft); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; margin-bottom: 12px; background: #f1f1f2; border-radius: 22px; font-size: 1.05rem; }
.row b { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.25rem; }
.toggle-row { cursor: pointer; position: relative; }
.toggle-row small { display: block; margin-top: 6px; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--ink-soft); }
.toggle-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch { position: relative; flex: none; width: 52px; height: 28px; border-radius: 999px; background: #dcdde1; transition: background .25s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .25s; }
.toggle-row input:checked ~ .switch { background: #58b83c; }
.toggle-row input:checked ~ .switch::after { transform: translateX(24px); }
.toggle-row input:focus-visible ~ .switch { outline: 2px solid var(--ink); outline-offset: 2px; }
.checks { margin-top: 22px; }
.checks li { padding: 9px 0; font-size: 1.05rem; }
.checks li::before { content: '✓'; margin-right: 14px; color: var(--ink-soft); }
.pc-preview { position: relative; min-height: 270px; border-radius: 30px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(150deg, var(--a), var(--b)); overflow: hidden; transition: background .4s; }
.pc-preview::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,.12) 0 14px, transparent 14px 28px); }
.pc-brand { position: relative; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 2.2rem; color: rgba(255,255,255,.55); }
.pc-bottom { position: relative; color: var(--ink); }
.pc-bottom p { font-family: ui-monospace, Menlo, monospace; letter-spacing: .35em; font-weight: 700; font-size: .95rem; color: rgba(30,60,140,.8); }
.pc-bottom strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 4rem; line-height: 1; color: #1f5fd8; }
.pc-btns { display: flex; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.pill-btn.sm { padding: 18px 26px; font-size: 1.05rem; }
.pill-btn.dark { background: var(--ink); color: #fff; }
.pricing .note { margin: 24px 0 0; width: 100%; text-align: center; }

@media (max-width: 960px) {
  .pricing { padding: 0 10px; margin-top: -20px; }
  .pcard-big { grid-template-columns: minmax(0, 1fr); padding: 20px; border-radius: 30px; gap: 22px; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 22px; }
  .tab { padding: 14px 10px; font-size: .98rem; background: rgba(255,255,255,.55); }
  .tab.active { background: #fff; }
  .pc-head h3 { font-size: 1.7rem; }
  .row { padding: 14px 16px; font-size: .98rem; border-radius: 18px; }
  .pc-preview { min-height: 200px; border-radius: 24px; padding: 18px; }
  .pc-brand { font-size: 1.8rem; }
  .pc-bottom p { letter-spacing: .2em; font-size: .8rem; }
  .pc-bottom strong { font-size: 3.2rem; }
  .pc-btns .pill-btn { flex: 1 1 100%; justify-content: center; }
}
