/* LasWood landing — palette pulled from App Store screenshots:
   forest green headline, cream ground, gold botanical accents, wood browns. */
:root {
  --green: #3a4a2e;
  --green-dark: #2e3b26;
  --cream: #f7f6f1;
  --cream-deep: #efede4;
  --gold: #d9cd8f;
  --brown: #a97b48;
  --ink: #26301f;
  --muted: #5c6653;
  --radius: 14px;
  --max: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { color: var(--green-dark); line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 800; letter-spacing: -0.01em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 246, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-deep);
}
.site-header nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--green-dark); text-decoration: none; }
.logo img { border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--green-dark); }
.nav-links .nav-cta {
  background: var(--green); color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 600;
}
.nav-links .nav-cta:hover { background: var(--green-dark); color: #fff; }
@media (max-width: 720px) { .nav-links > a:not(.nav-cta) { display: none; } }

/* Language switcher: a native <details> menu, so the static page needs no JS. */
.lang { position: relative; }
.lang summary { cursor: pointer; list-style: none; color: var(--muted); font-weight: 500; font-size: 0.95rem; padding-inline-end: 14px; position: relative; white-space: nowrap; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; position: absolute; inset-inline-end: 0; top: 50%; width: 6px; height: 6px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); }
.lang summary:hover { color: var(--green-dark); }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); z-index: 20; list-style: none; min-width: 180px; max-height: 60vh; overflow-y: auto; background: #fff; border: 1px solid var(--cream-deep); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(46, 59, 38, 0.16); padding: 6px; }
.lang li a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 0.92rem; }
.lang li a:hover { background: var(--cream); }
.lang li a[aria-current="page"] { color: var(--brown); font-weight: 600; }

/* Store badge */
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #111; color: #fff; text-decoration: none;
  padding: 10px 20px; border-radius: 12px; line-height: 1.15;
}
.store-badge:hover { background: #000; }
.store-badge small { display: block; font-size: 0.68rem; opacity: 0.85; }
.store-badge strong { font-size: 1.15rem; letter-spacing: 0.01em; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; padding-top: 24px; padding-bottom: 24px; }
.kicker { text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; font-size: 0.8rem; color: var(--brown); margin-bottom: 14px; }
.lede { font-size: 1.15rem; color: var(--muted); margin: 18px 0 26px; max-width: 34em; }
.hero-meta { margin-top: 14px; color: var(--muted); font-size: 0.88rem; }
.hero-visual { position: relative; margin: 0; max-width: 460px; justify-self: end; width: 100%; }
.hero-visual img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%;
  border-radius: 28px; box-shadow: 0 30px 70px rgba(46, 59, 38, 0.28);
}
/* Viewfinder corners over the board: the "camera is reading this" cue. */
.scan-frame {
  position: absolute; inset: 14% 20% 30% 14%; pointer-events: none;
  background:
    linear-gradient(var(--cream), var(--cream)) top left / 28px 3px no-repeat,
    linear-gradient(var(--cream), var(--cream)) top left / 3px 28px no-repeat,
    linear-gradient(var(--cream), var(--cream)) top right / 28px 3px no-repeat,
    linear-gradient(var(--cream), var(--cream)) top right / 3px 28px no-repeat,
    linear-gradient(var(--cream), var(--cream)) bottom left / 28px 3px no-repeat,
    linear-gradient(var(--cream), var(--cream)) bottom left / 3px 28px no-repeat,
    linear-gradient(var(--cream), var(--cream)) bottom right / 28px 3px no-repeat,
    linear-gradient(var(--cream), var(--cream)) bottom right / 3px 28px no-repeat;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}
.id-card {
  position: absolute; inset-inline-start: -44px; bottom: 36px; width: min(290px, 78%);
  background: rgba(255, 255, 255, 0.96); border: 1px solid var(--cream-deep); border-radius: 18px;
  padding: 16px 18px; box-shadow: 0 18px 44px rgba(46, 59, 38, 0.22); text-align: start;
  backdrop-filter: blur(8px);
}
.id-status {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--green);
}
.id-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4f9a4a; box-shadow: 0 0 0 4px rgba(79, 154, 74, 0.18); }
.id-name { display: block; font-size: 1.35rem; color: var(--green-dark); margin-top: 6px; line-height: 1.2; }
.id-latin { display: block; color: var(--muted); font-size: 0.92rem; }
.id-card dl { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--cream-deep); display: grid; gap: 8px; }
.id-card dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.86rem; }
.id-card dt { color: var(--muted); }
.id-card dd { margin: 0; font-weight: 600; color: var(--ink); text-align: end; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-copy .store-badge { margin: 0 auto; }
  .hero-visual { justify-self: center; max-width: 420px; }
  .id-card { inset-inline-start: 12px; bottom: 12px; width: auto; inset-inline-end: 12px; }
}

/* Sections */
section { padding: 96px 0; }
.section-lede { color: var(--muted); max-width: 40em; margin-top: 12px; font-size: 1.05rem; }
.features h2, .how h2, .gallery h2, .faq h2 { margin-bottom: 36px; max-width: 18em; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.pill-link {
  flex-shrink: 0; text-decoration: none; font-weight: 600; font-size: 0.92rem; color: var(--green-dark);
  border: 1px solid rgba(46, 59, 38, 0.18); border-radius: 999px; padding: 10px 18px; background: #fff;
  transition: background 0.15s ease, color 0.15s ease;
}
.pill-link:hover { background: var(--green-dark); color: var(--cream); }

/* Features: one photo-led tile plus three compact cards. */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento-lead {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch;
  background: var(--green-dark); color: var(--cream); border-radius: 24px; overflow: hidden;
}
.bento-lead img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.bento-lead div { padding: 44px; align-self: center; }
.bento-lead h3 { color: var(--cream); font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.01em; margin-bottom: 12px; }
.bento-lead p { color: rgba(247, 246, 241, 0.78); font-size: 1.02rem; }
.bento-card { background: #fff; border-radius: 20px; padding: 28px; border: 1px solid rgba(46, 59, 38, 0.07); }
.bento-icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--cream-deep); color: var(--green); margin-bottom: 18px;
}
.bento-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.bento-card p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; }
  .bento-lead { grid-template-columns: 1fr; }
  .bento-lead img { min-height: 0; aspect-ratio: 3 / 2; }
  .bento-lead div { padding: 28px; }
}

/* How it works */
.how { background: var(--green-dark); }
.how h2 { color: var(--cream); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative; padding: 28px; border-radius: 20px;
  background: rgba(247, 246, 241, 0.05); border: 1px solid rgba(247, 246, 241, 0.1);
}
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; font-size: 2.6rem; font-weight: 800;
  line-height: 1; letter-spacing: -0.03em; color: var(--gold); margin-bottom: 20px;
}
.steps h3 { color: var(--cream); font-size: 1.08rem; margin-bottom: 8px; }
.steps p { color: rgba(247, 246, 241, 0.72); font-size: 0.95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Gallery: full-bleed strip, swipeable on small screens. */
.gallery { padding-bottom: 72px; }
.shots {
  display: flex; gap: 20px; justify-content: center; padding: 8px 20px 28px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }
.shots img {
  width: 200px; flex-shrink: 0; scroll-snap-align: center; border-radius: 26px;
  box-shadow: 0 18px 40px rgba(46, 59, 38, 0.16);
}
.shots img:nth-child(even) { transform: translateY(24px); }
@media (max-width: 1120px) { .shots { justify-content: flex-start; } .shots img { width: 180px; } }

/* Guide cards */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.guide-card {
  background: #fff; border-radius: 20px; overflow: hidden; text-decoration: none;
  display: flex; flex-direction: column; border: 1px solid rgba(46, 59, 38, 0.07);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.guide-card:hover { box-shadow: 0 18px 40px rgba(46, 59, 38, 0.14); transform: translateY(-3px); }
.guide-card .card-thumb { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--cream-deep); }
.guide-card h3 { font-size: 1.05rem; padding: 18px 20px 0; }
.guide-card p {
  color: var(--muted); font-size: 0.9rem; padding: 8px 20px 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.read-more { color: var(--brown); font-weight: 600; font-size: 0.88rem; margin-top: auto; padding: 14px 20px 20px; }
@media (max-width: 720px) { .section-head { flex-direction: column; align-items: flex-start; } }

/* FAQ: heading column beside a divider list. */
.faq { background: #fff; }
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-layout h2 { position: sticky; top: 96px; }
.faq-item { border-bottom: 1px solid var(--cream-deep); }
.faq-item:first-child { border-top: 1px solid var(--cream-deep); }
.faq-item summary {
  cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 1.02rem; color: var(--green-dark);
  list-style: none; position: relative; padding-inline-end: 40px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; inset-inline-end: 6px; top: 50%; width: 9px; height: 9px;
  border: solid var(--brown); border-width: 0 2px 2px 0; transform: translateY(-75%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq-a { padding: 0 0 20px; color: var(--muted); }
.faq-a p { margin-bottom: 8px; }
@media (max-width: 860px) {
  .faq-layout { grid-template-columns: 1fr; gap: 8px; }
  .faq-layout h2 { position: static; }
}
/* Guide pages reuse FaqItem inside the article column. */
.article .faq-item summary { font-size: 1rem; }

/* Final CTA: dark photo panel. */
.cta-final { padding-top: 24px; }
.faq + .cta-final { padding-top: 96px; }
.cta-panel {
  border-radius: 28px; padding: clamp(40px, 7vw, 88px); color: var(--cream);
  background:
    linear-gradient(90deg, rgba(30, 38, 25, 0.25) 0%, rgba(30, 38, 25, 0.88) 55%),
    url(/assets/home/lumber-rack.jpg) center / cover, var(--green-dark);
  display: flex; flex-direction: column; align-items: flex-end; text-align: end;
}
.cta-panel h2 { color: var(--cream); font-size: clamp(1.8rem, 4.4vw, 2.8rem); max-width: 12em; }
.cta-panel p { color: rgba(247, 246, 241, 0.8); margin: 12px 0 28px; font-size: 1.08rem; }
.cta-panel .store-badge { background: var(--cream); color: var(--green-dark); }
.cta-panel .store-badge:hover { background: #fff; }
[dir="rtl"] .cta-panel { background:
    linear-gradient(270deg, rgba(30, 38, 25, 0.25) 0%, rgba(30, 38, 25, 0.88) 55%),
    url(/assets/home/lumber-rack.jpg) center / cover, var(--green-dark); }
@media (max-width: 720px) {
  .cta-panel { align-items: center; text-align: center; background:
    linear-gradient(180deg, rgba(30, 38, 25, 0.55), rgba(30, 38, 25, 0.9)),
    url(/assets/home/lumber-rack.jpg) center / cover, var(--green-dark); }
}

/* Footer */
.site-footer { background: var(--green-dark); color: rgba(247, 246, 241, 0.85); padding: 48px 0 24px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer h3 { color: var(--gold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.site-footer a { display: block; color: rgba(247, 246, 241, 0.85); text-decoration: none; margin-bottom: 8px; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }
.foot-brand { display: block; }
.foot-brand img { display: inline-block; vertical-align: middle; border-radius: 8px; margin-inline-end: 8px; }
.foot-brand strong { color: var(--cream); font-size: 1.05rem; vertical-align: middle; }
.foot-brand p { margin-top: 10px; font-size: 0.9rem; color: rgba(247, 246, 241, 0.7); }
.copyright { text-align: center; margin-top: 36px; font-size: 0.82rem; color: rgba(247, 246, 241, 0.55); }
@media (max-width: 720px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Article pages */
.page-top { padding-top: 40px; }
.page-top .section-lede { margin-bottom: 40px; }
.page-top h1 { margin-bottom: 4px; }
.article-page { background: var(--cream); }
.article { max-width: 720px; padding-top: 40px; padding-bottom: 72px; }
.breadcrumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs a { color: var(--muted); }
.article h1 { margin-bottom: 18px; }
.guide-hero {
  border-radius: 24px; box-shadow: 0 18px 40px rgba(46, 59, 38, 0.12); margin-bottom: 28px;
}
.article h2 { margin: 36px 0 14px; font-size: 1.45rem; }
.article p { margin-bottom: 16px; }
.article-intro { font-size: 1.12rem; color: var(--ink); }
.article ol, .article ul { margin: 0 0 16px; padding-inline-start: 22px; list-style: decimal; }
.article ul { list-style: disc; }
.article li { margin-bottom: 10px; }
.howto-steps { background: #fff; border: 1px solid var(--cream-deep); border-radius: var(--radius); padding: 20px 20px 12px; padding-inline-start: 42px; margin-bottom: 8px; }
.article figure { margin: 24px 0; }
.article figure img { width: min(300px, 100%); margin: 0 auto; border-radius: 20px; border: 1px solid var(--cream-deep); box-shadow: 0 10px 28px rgba(46, 59, 38, 0.14); }
.article figcaption { text-align: center; font-size: 0.85rem; color: var(--muted); margin-top: 10px; max-width: 30em; margin-left: auto; margin-right: auto; }
.cta-callout {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--gold); border-radius: var(--radius);
  padding: 20px; margin: 24px 0;
}
.cta-callout img { border-radius: 12px; flex-shrink: 0; }
.cta-callout p { margin-bottom: 12px; font-size: 0.95rem; }
.related { margin-top: 48px; }
