@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bg: #f8f5f1;
  --panel: #ffffff;
  --ink: #1e1a16;
  --muted: #5f564d;
  --accent: #7b4b22;
  --accent-2: #c27a46;
  --accent-3: #f1c27d;
  --border: #e7dfd5;
  --shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

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

body {
  margin: 0;
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Focus indicators for accessibility */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

img {
  max-width: 100%;
  display: block;
}

.shell {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 245, 241, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand-name {
  font-weight: 700;
}

.brand-sub {
  font-size: 13px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(123, 75, 34, 0.22);
}

.btn.primary:hover {
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}

.hero {
  padding: 40px 0 0px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
}

.hero-copy {
  max-width: 600px;
}

.hero-copy h1 {
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.1;
  margin: 0 0 40px;
}

.hero-copy .lede {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0 18px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.metric {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}

.metric-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.metric-value {
  font-weight: 700;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-frame {
  width: min(380px, 90vw);
  max-height: 480px;
  background: linear-gradient(180deg, #fff 0%, #f8f5f1 100%);
  border-radius: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.device-shot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.floating-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  width: 180px;
}

.floating-card img {
  width: 100%;
  display: block;
}

.card-top {
  top: 6%;
  right: -14%;
}

.card-bottom {
  bottom: 2%;
  left: -14%;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  margin: 8px 10px;
  border-radius: 12px;
  background: rgba(123, 75, 34, 0.08);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 700;
  color: var(--accent);
  font-size: 13px;
}

.section {
  padding: 56px 0;
}

.section#product {
  padding-top: 28px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
}

.eyebrow {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-size: 13px;
  margin: 0 0 8px;
}

.muted {
  color: var(--muted);
  margin: 6px 0 0;
}

.text-link {
  font-weight: 700;
  color: var(--accent);
}

.product-with-video {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: stretch;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 14px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
}

.pill-icon {
  background: var(--accent);
}

.pill-icon.alt {
  background: #2d6cdf;
}

.pill-icon.alt-2 {
  background: #f0a400;
}

.pill-icon.alt-3 {
  background: #2f9b7d;
}

.video-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.video-container {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.transcript {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  box-shadow: var(--shadow);
}

.transcript summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 600;
  color: var(--accent);
  list-style: none;
  user-select: none;
  transition: background 0.2s ease;
}

.transcript summary::-webkit-details-marker {
  display: none;
}

.transcript summary:hover {
  background: rgba(123, 75, 34, 0.04);
}

.transcript[open] summary {
  border-bottom: 1px solid var(--border);
}

.transcript-content {
  padding: 16px;
  line-height: 1.7;
  color: var(--ink);
  max-height: 400px;
  overflow-y: auto;
}

.transcript-content p {
  margin: 0 0 14px;
}

.transcript-content p:last-child {
  margin-bottom: 0;
}

.transcript-content em {
  color: var(--muted);
  font-style: italic;
}

.testimonials {
  background: linear-gradient(135deg, rgba(241, 194, 125, 0.05), rgba(123, 75, 34, 0.03));
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial-text {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.testimonial-author {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  margin: 0;
}

.gallery {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.shot {
  background: #fdfbf9;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.shot img {
  width: 100%;
  height: auto;
}

.shot figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 600;
}

.accessibility {
  background: linear-gradient(135deg, rgba(123, 75, 34, 0.06), rgba(241, 194, 125, 0.08));
}

.access-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  color: var(--ink);
  font-weight: 600;
}

.ticks li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.ticks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.access-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.cta {
  padding: 64px 0;
}

.cta-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

footer {
  border-top: 1px solid var(--border);
  padding: 18px 0 28px;
  background: #fff;
}

.footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
}

.footer-links {
  display: flex;
  gap: 12px;
  font-weight: 700;
  color: var(--muted);
}

.footnote {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
  z-index: 100;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .btn.primary:hover {
    transform: none;
  }
}

@media (max-width: 960px) {
  .header-row {
    grid-template-columns: auto auto;
    grid-template-areas:
      "brand actions"
      "nav nav";
  }

  .brand { grid-area: brand; }
  .nav-actions { grid-area: actions; justify-content: flex-end; }
  .nav-links { grid-area: nav; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    grid-area: actions;
  }

  .nav-actions {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-visual {
    margin-top: 8px;
  }

  .floating-card {
    display: none;
  }

  .section-header {
    flex-direction: column;
  }

  .access-grid {
    grid-template-columns: 1fr;
  }

  .cta-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-with-video {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .features {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}
