/* Beavy Network — Customer Landing V1, Round 1 draft (ui-drafts only; not shipped).
   Mobile-first at 390px; desktop adapted at 900px+ and 1200px content width. */

:root {
  --charcoal: #252525;
  --red: #C8392B;
  --red-dark: #A82E22;
  --paper: #FAF9F7;
  --white: #FFFFFF;
  --border: #E8E4DF;
  --muted: #5A5A5A;
  --band: #F3EEE8;
  --grid: rgba(37, 37, 37, .035);
  --radius-card: 12px;
  --radius-btn: 10px;
  --font-ui: 'Noto Sans Thai', 'Sukhumvit Set', Tahoma, sans-serif;
  --font-display: 'Prompt', 'Noto Sans Thai', Tahoma, sans-serif;
  --font-hand: 'Sriracha', 'Noto Sans Thai', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  color: var(--charcoal);
  font: 400 17px/1.65 var(--font-ui);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
section[id], main { scroll-margin-top: 72px; }

.lp-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.lp-center { text-align: center; }
.lp-red { color: var(--red); }
.lp-nw { white-space: nowrap; }
.lp-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--white); padding: 10px 14px; border-radius: var(--radius-btn); }
.lp-skip:focus { top: 12px; }

/* Brand wordmark (text, Prompt Bold — official vector logo still to be supplied) */
.lp-brand { font: 700 28px/1 var(--font-display); color: var(--white); text-decoration: none; letter-spacing: -.5px; display: inline-flex; align-items: center; min-height: 44px; }
.lp-brand-b { color: var(--red); }
.lp-brand-dark { color: var(--charcoal); }

/* 01 Header */
.lp-header { position: sticky; top: 0; z-index: 30; background: var(--charcoal); color: var(--white); }
.lp-header-in { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.lp-nav { display: none; }
.lp-header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.lp-login { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; text-decoration: none; font-weight: 500; font-size: 15px; border-radius: var(--radius-btn); }
.lp-login svg { width: 20px; height: 20px; }
.lp-login:hover { background: rgba(255, 255, 255, .08); }
.lp-partner { display: none; }
.lp-menu-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--white); border: 0; border-radius: var(--radius-btn); cursor: pointer; }
.lp-menu-btn svg { width: 26px; height: 26px; }
.lp-menu-btn:hover { background: rgba(255, 255, 255, .08); }
.lp-menu { background: var(--charcoal); border-top: 1px solid rgba(255, 255, 255, .12); padding: 8px 0 16px; }
.lp-menu nav { display: flex; flex-direction: column; }
.lp-menu a { display: flex; align-items: center; min-height: 48px; text-decoration: none; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.lp-menu-label { margin-top: 14px; font-size: 13px; letter-spacing: .08em; color: rgba(255, 255, 255, .6); }

/* Buttons */
.lp-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; background: var(--red); color: var(--white); text-decoration: none; font: 600 18px/1.2 var(--font-ui); border-radius: var(--radius-btn); transition: background-color .15s; }
.lp-cta svg { width: 22px; height: 22px; flex: 0 0 auto; }
.lp-cta:hover { background: var(--red-dark); }
.lp-cta-block { display: flex; width: 100%; }

/* Type */
.lp-eyebrow { font: 600 13px/1.4 var(--font-ui); letter-spacing: .18em; color: var(--muted); margin-bottom: 8px; }
.lp-eyebrow-red { color: var(--red); }
.lp-h2 { font: 700 26px/1.35 var(--font-display); }
.lp-lead { color: var(--muted); margin-top: 8px; font-size: 16px; }
.lp-hand { font: 400 20px/1.35 var(--font-hand); color: var(--charcoal); }
.lp-hand span { white-space: nowrap; }

/* Asset slots — replaceable artwork containers */
.lp-slot { position: relative; border: 2px dashed #CFC8BF; border-radius: var(--radius-card); background: rgba(255, 255, 255, .55); display: flex; align-items: center; justify-content: center; text-align: center; }
.lp-slot-tag { font-size: 12px; line-height: 1.5; color: #8A8178; padding: 8px; }

/* 02 Hero */
.lp-hero { position: relative; padding: 28px 0 8px; overflow: hidden; }
.lp-hero-in { display: grid; gap: 20px; }
.lp-hero-title { font: 700 38px/1.25 var(--font-display); letter-spacing: -.3px; }
.lp-hero-sub { margin-top: 14px; font-size: 18px; color: #3A3A3A; max-width: 30em; }
.lp-hero-copy .lp-cta { margin-top: 22px; width: 100%; }
.lp-hero-note { margin-top: 10px; font-size: 14px; color: var(--muted); }
.lp-hero-art { position: relative; min-height: 320px; display: flex; align-items: center; justify-content: flex-end; padding: 20px 8px; }
.lp-hero-bg { position: absolute; inset: 0; border-radius: var(--radius-card); background: #EFE7DC url(assets/hero-background.jpg) 72% center / cover no-repeat; }
.lp-hero-mascot { position: relative; width: 50%; max-width: 230px; margin-top: 18px; filter: drop-shadow(0 6px 10px rgba(37, 37, 37, .10)); }
.lp-hero-hand { position: absolute; left: 12px; top: 50%; transform: translateY(-30%) rotate(-6deg); font-size: 16px; max-width: 44%; background: rgba(255, 255, 255, .86); padding: 5px 8px 7px; border-radius: 10px; }
.lp-hero-hand::after { content: ''; display: block; width: 70%; height: 3px; margin-top: 4px; background: var(--red); border-radius: 3px; transform: rotate(-2deg); }

@media (max-width: 380px) {
  .lp-hero-hand { font-size: 14px; left: 8px; }
  .lp-hero-mascot { width: 50%; }
}

/* Sections */
.lp-section { padding: 44px 0; }
.lp-trust { padding-bottom: 8px; }
.lp-how .lp-h2 { margin-bottom: 24px; }

/* 03 How it works */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-step { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 12px; }
.lp-step-art { height: 96px; border-radius: 10px; overflow: hidden; background: var(--band); }
.lp-step-art img { width: 100%; height: 100%; object-fit: cover; }
.lp-step:nth-child(2) .lp-step-art img { object-position: 62% center; }
.lp-step-no { font: 700 22px/1 var(--font-display); color: var(--red); display: block; margin-bottom: 4px; }
.lp-step h3 { font: 700 18px/1.4 var(--font-ui); }
.lp-step p { color: var(--muted); font-size: 15px; margin-top: 2px; }

/* 04 Benefits band */
.lp-band { background: var(--band); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.lp-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.lp-benefits li { display: flex; gap: 14px; align-items: flex-start; }
.lp-ico { width: 32px; height: 32px; color: var(--red); flex: 0 0 auto; margin-top: 2px; }
.lp-benefits h3 { font: 700 18px/1.4 var(--font-ui); }
.lp-benefits p { color: var(--muted); font-size: 15px; }

/* 05 Transparency */
.lp-trust-card { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px 20px; display: grid; gap: 14px; }
.lp-trust-ico { width: 44px; height: 44px; color: var(--red); }
.lp-trust-text p { margin-top: 8px; color: #3A3A3A; }
.lp-trust-hand { transform: rotate(-4deg); color: var(--charcoal); font-size: 18px; justify-self: end; text-align: right; }
.lp-trust-hand::after { content: ''; display: block; margin: 4px 0 0 auto; width: 80%; height: 3px; background: var(--red); border-radius: 3px; }
.lp-review-note { margin-top: 12px !important; font-size: 13px; line-height: 1.5; color: #8A5A00 !important; background: #FFF6DE; border: 1px dashed #E2C072; border-radius: 8px; padding: 8px 10px; }

/* 06 Product preview */
.lp-preview { position: relative; overflow: hidden; }
.lp-preview > .lp-wrap { position: relative; }
.lp-preview-bg { position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: url(assets/city-panorama.jpg) center bottom / cover no-repeat; opacity: .7; }
.lp-phones { display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 24px 16px 8px; margin: 0 -16px; scrollbar-width: none; scroll-padding: 0 16px; }
.lp-phones::-webkit-scrollbar { display: none; }
/* One phone in the middle, the next one peeking in from the side. */
.lp-phone { margin: 0; flex: 0 0 min(72%, 280px); scroll-snap-align: center; }
.lp-phone:first-child { margin-left: calc((100% - min(72%, 280px)) / 2 - 16px); }
.lp-phone:last-child { margin-right: calc((100% - min(72%, 280px)) / 2 - 16px); }
/* The screenshot's own ratio (1170 x 2532): never stretched, never cropped. */
.lp-phone-screen { aspect-ratio: 1170 / 2532; border-radius: 28px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 8px var(--charcoal), 0 12px 28px rgba(37, 37, 37, .16); margin: 8px; }
.lp-phone-screen img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lp-phone figcaption { text-align: center; margin-top: 18px; display: grid; gap: 2px; }
.lp-phone figcaption b { font-weight: 600; }
.lp-phone figcaption span { color: var(--red); margin-right: 4px; }
.lp-phone figcaption small { color: var(--muted); font-size: 14px; }
.lp-dots { display: flex; justify-content: center; gap: 4px; margin-top: 8px; }
.lp-dots button { width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lp-dots button::before { content: ''; width: 8px; height: 8px; border-radius: 4px; background: #CFC8BF; transition: width .2s, background-color .2s; }
.lp-dots button[aria-current="true"]::before { width: 22px; background: var(--red); }
.lp-preview-note { margin-top: 10px; font-size: 13px; color: var(--muted); }
.lp-dims { margin-top: 28px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 18px 20px; }
.lp-dims h3 { font: 700 17px/1.4 var(--font-ui); margin-bottom: 10px; }
.lp-dims ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.lp-dims li { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.lp-dims svg { width: 22px; height: 22px; color: var(--red); flex: 0 0 auto; }

/* 07 FAQ */
.lp-faq-in { display: grid; gap: 20px; }
.lp-faq-art { display: none; }
.lp-faq-list { display: grid; gap: 10px; }
.lp-faq details { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 18px; font-weight: 600; font-size: 17px; border-radius: var(--radius-card); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; flex: 0 0 auto; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--red); border: 1px solid var(--border); font: 600 20px/1 var(--font-ui); }
.lp-faq details[open] summary::after { content: '−'; }
.lp-faq-a { padding: 0 18px 16px; color: #3A3A3A; font-size: 16px; }

/* Final CTA */
.lp-final { background: var(--charcoal); color: var(--white); padding: 36px 0; }
.lp-final-in { display: grid; gap: 18px; text-align: center; }
.lp-final-title { font: 700 26px/1.35 var(--font-display); }
.lp-final p { color: rgba(255, 255, 255, .78); margin-top: 6px; }
.lp-final .lp-cta { width: 100%; }

/* Footer */
.lp-footer { background: var(--white); border-top: 1px solid var(--border); padding: 24px 0 32px; font-size: 15px; }
.lp-footer-in { display: grid; gap: 14px; }
.lp-footer-brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lp-footer-line { color: var(--muted); }
.lp-footer-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.lp-footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.lp-copy { color: var(--muted); font-size: 13px; }

/* Sticky CTA (mobile, after the hero CTA scrolls away) */
.lp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(250, 249, 247, .96); border-top: 1px solid var(--border); transform: translateY(110%); visibility: hidden; }
.lp-sticky.is-on { transform: none; visibility: visible; }
@media (prefers-reduced-motion: no-preference) {
  .lp-sticky { transition: transform .2s ease, visibility .2s; }
}
body.has-sticky { padding-bottom: 80px; }

/* ---------- Tablet / desktop ---------- */
@media (min-width: 640px) {
  .lp-wrap { padding: 0 24px; }
  .lp-phones { margin: 0 -24px; padding-left: 24px; padding-right: 24px; }
  .lp-phone { flex-basis: 44%; }
  .lp-phone:first-child, .lp-phone:last-child { margin-left: 0; margin-right: 0; }
  .lp-hero-copy .lp-cta, .lp-final .lp-cta { width: auto; }
}

@media (min-width: 900px) {
  body { font-size: 17px; }
  .lp-header-in { min-height: 68px; gap: 32px; }
  .lp-nav { display: flex; gap: 4px; margin-left: 32px; }
  .lp-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; text-decoration: none; font-size: 15px; border-radius: var(--radius-btn); color: rgba(255, 255, 255, .88); }
  .lp-nav a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
  .lp-header-actions { gap: 12px; }
  .lp-partner { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .7); border-radius: var(--radius-btn); text-decoration: none; font-size: 15px; font-weight: 500; }
  .lp-partner:hover { background: var(--white); color: var(--charcoal); }
  .lp-menu-btn, .lp-menu { display: none !important; }

  .lp-hero { padding: 0; border-bottom: 1px solid var(--border); }
  .lp-hero::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 64%; background: url(assets/hero-background.jpg) 40% center / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
  .lp-hero-in { position: relative; }
  .lp-hero-in { grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; min-height: 520px; }
  .lp-hero-copy { padding: 56px 0; }
  .lp-hero-title { font-size: 60px; line-height: 1.2; }
  .lp-hero-sub { font-size: 20px; margin-top: 18px; }
  .lp-hero-copy .lp-cta { margin-top: 30px; padding: 0 36px; font-size: 19px; }
  .lp-hero-art { align-self: stretch; min-height: 520px; justify-content: flex-start; padding: 40px 0; }
  .lp-hero-bg { display: none; }
  .lp-hero-mascot { width: min(320px, 50%); max-width: none; margin: 0 0 0 2%; }
  .lp-hero-hand { left: auto; right: 8px; top: auto; bottom: 150px; transform: rotate(-8deg); max-width: none; font-size: 21px; }

  .lp-section { padding: 64px 0; }
  .lp-trust { padding-bottom: 16px; }
  .lp-h2 { font-size: 32px; }
  .lp-how .lp-h2 { margin-bottom: 40px; }
  .lp-steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  @media (max-width: 1199px) { .lp-hero-hand { font-size: 18px; right: 0; bottom: 110px; } }
  .lp-step { grid-template-columns: 1fr; background: transparent; border: 0; padding: 0; position: relative; }
  .lp-step-art { height: auto; aspect-ratio: 3 / 2; border-radius: var(--radius-card); }
  .lp-step + .lp-step::before { content: ''; position: absolute; left: -32px; top: 25%; width: 24px; border-top: 2px dashed #B9B0A6; }
  .lp-step-no { font-size: 30px; }
  .lp-step h3 { font-size: 20px; }

  .lp-band { padding: 40px 0; }
  .lp-benefits { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .lp-benefits li + li { border-left: 1px solid var(--border); padding-left: 32px; }

  .lp-trust-card { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 32px 40px; }
  .lp-trust-ico { width: 56px; height: 56px; }
  .lp-trust-hand { font-size: 22px; max-width: 240px; }

  .lp-preview-bg { height: 46%; }
  .lp-phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; overflow: visible; margin: 0 auto; max-width: 900px; padding: 32px 0 0; }
  .lp-phone-screen { max-width: 260px; margin: 8px auto; }
  .lp-dots { display: none; }
  .lp-dims { max-width: 860px; margin: 36px auto 0; }
  .lp-dims ul { grid-template-columns: repeat(4, auto); justify-content: space-between; }

  .lp-faq-in { grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
  /* Shown only once its optional artwork is placed; the empty slot never reaches visitors. */
  .lp-faq-art:has(img) { display: flex; height: 180px; margin-top: 20px; }

  .lp-final { padding: 44px 0; }
  .lp-final-in { grid-template-columns: 1fr auto; text-align: left; align-items: center; }
  .lp-final-title { font-size: 32px; }

  .lp-footer-in { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
  .lp-footer-links { justify-content: center; }

  .lp-sticky { display: none; }
  body.has-sticky { padding-bottom: 0; }
}
