/* ==================== Design Tokens ==================== */
:root {
  --color-bg: #FAF6F1;
  --color-bg-alt: #F4F2F8;
  --color-card: #FFFFFF;
  --color-text: #14110F;
  --color-text-soft: #6B6660;
  --color-text-muted: #9B968F;
  --color-line: #E8E2D7;
  --color-tan: #C9A77A;
  --color-tan-deep: #B3824B;
  --color-tan-darker: #8C6034;
  --color-cta: #E5BE82;
  --color-cta-soft: #F2D9B0;
  --shadow-card: 0 1px 0 rgba(0,0,0,0.02), 0 12px 40px -12px rgba(20,17,15,0.08);
  --shadow-pill: 0 4px 24px rgba(20,17,15,0.06);
  --radius-card: 24px;
  --radius-pill: 999px;
  --container: 1200px;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Playfair Display', 'Times New Roman', serif;
}

/* ==================== Reset / Base ==================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
em { font-style: italic; font-family: var(--font-serif); font-weight: 500; }

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

/* ==================== Section Headings ==================== */
.section-eyebrow {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.section-eyebrow em { font-style: italic; }
.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.18;
  margin: 0 0 56px;
}
.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
}

/* ==================== Header ==================== */
.site-header {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 24px;
}
.header-pill {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 8px 12px 8px 24px;
  box-shadow: var(--shadow-pill);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-icon { width: 26px; height: 22px; }
.logo-text {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, var(--color-tan-deep) 0%, var(--color-tan-darker) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.primary-nav { flex: 1; display: flex; justify-content: center; }
.primary-nav > ul { display: flex; gap: 8px; }
.primary-nav .has-dropdown { position: relative; }
.nav-trigger {
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: var(--radius-pill);
  transition: background 0.15s;
}
.nav-trigger:hover { background: rgba(20,17,15,0.04); }
.caret { font-size: 10px; opacity: 0.6; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  min-width: 160px;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(20,17,15,0.12);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
}
.dropdown li a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--color-text);
}
.dropdown li a:hover { background: var(--color-bg); }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.header-subscribe {
  display: flex;
  align-items: center;
  background: var(--color-bg);
  border-radius: var(--radius-pill);
  padding: 4px;
  flex-shrink: 0;
}
.header-subscribe input {
  background: transparent;
  border: none;
  outline: none;
  padding: 8px 14px;
  font-size: 14px;
  width: 200px;
  color: var(--color-text);
}
.header-subscribe input::placeholder { color: var(--color-text-soft); }
.header-subscribe button {
  background: var(--color-tan-deep);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
}
.header-subscribe button:hover { background: var(--color-tan-darker); }

.mobile-menu-toggle { display: none; padding: 10px; }
.mobile-menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--color-text);
  margin: 5px 0; border-radius: 2px;
}

/* ==================== Hero ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #fff;
  isolation: isolate;
}
.hero picture { position: absolute; inset: 0; }
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-mask {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(0,0,0,0.40) 0%, rgba(0,0,0,0.22) 45%, rgba(0,0,0,0) 75%),
    linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.0) 60%, rgba(250,246,241,0.10) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
  max-width: 960px;
}
.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.94);
  color: var(--color-text);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.pill-tag svg { color: var(--color-tan-deep); }
.hero-title {
  font-size: clamp(36px, 6.4vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.30);
  white-space: normal;
}
.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
}
.hero-title .hero-brand {
  display: inline;
  letter-spacing: -0.01em;
  margin-right: 0.12em;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  background: none;
}
.hero-sub {
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 400;
  margin: 0 0 36px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.30);
  opacity: 0.95;
}
.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-cta);
  color: #2a1d09;
  padding: 8px 8px 8px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(229,190,130,0.45);
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta-pill:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(229,190,130,0.55); }
.cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--color-tan-deep);
  font-size: 16px;
}

/* ==================== Features ==================== */
.features {
  background: var(--color-bg);
  padding: 110px 0 90px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--color-card);
  border-radius: var(--radius-card);
  padding: 32px 32px 36px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(232,226,215,0.6);
  display: flex;
  flex-direction: column;
}
.feature-media {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #ECEAE5;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-media img,
.feature-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #ECEAE5;
}
.feature-media--product { background: linear-gradient(180deg, #FFF8EE 0%, #F6EEDF 100%); }
.feature-media--product img { object-fit: contain; padding: 18px; }
.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}
.feature-card p {
  font-size: 14px;
  color: var(--color-text-soft);
  margin: 0;
  line-height: 1.6;
}

/* ==================== How It Works ==================== */
.how {
  background: var(--color-bg);
  padding: 70px 0 110px;
}
.how-connector {
  position: relative;
  height: 50px;
  margin: -16px auto 0;
  max-width: 880px;
  pointer-events: none;
}
.how-connector svg { width: 100%; height: 100%; display: block; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: -10px;
}
.how-card { position: relative; padding-top: 28px; }
.how-num {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 48px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--color-text-soft);
  box-shadow: 0 6px 16px rgba(20,17,15,0.06);
  z-index: 2;
}
.how-card-inner {
  background: var(--color-card);
  border: 1px solid rgba(232,226,215,0.6);
  border-radius: var(--radius-card);
  padding: 56px 28px 32px;
  box-shadow: var(--shadow-card);
  height: 100%;
}
.how-media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 24px;
  background: #FAF7F2;
}
.how-media img,
.how-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  background: #FAF7F2;
}
.how-media--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #FFF8EE 0%, #F6EEDF 100%);
  border: 1px dashed rgba(201,167,122,0.3);
}
.device-mock {
  width: 80%; max-width: 220px;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  font-size: 12px;
  color: var(--color-text-soft);
}
.device-mock-bar { display: flex; gap: 4px; margin-bottom: 8px; }
.device-mock-bar span {
  width: 8px; height: 8px; border-radius: 50%;
  background: #E5DED1;
}
.device-mock-bar span:first-child { background: #FF8484; }
.device-mock-bar span:nth-child(2) { background: #FFD27A; }
.device-mock-bar span:nth-child(3) { background: #88D08B; }
.device-mock-body { padding: 16px 4px; text-align: center; font-weight: 500; }
.device-mock--cloud .cloud-toggle {
  display: flex; align-items: center; gap: 6px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 10px;
}
.device-mock--cloud .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-tan-deep); }
.device-mock--cloud .cloud-body {
  background: #F7F4ED; border-radius: 8px;
  padding: 10px; font-size: 11px;
  margin-bottom: 12px;
}
.device-mock--cloud .cloud-confirm {
  background: #FFD27A; color: #6B3D17;
  text-align: center; padding: 6px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.how-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.005em;
  min-height: 2.8em;
}
.how-card p {
  font-size: 14px;
  color: var(--color-text-soft);
  margin: 0;
  line-height: 1.6;
}

/* ==================== Hardware ==================== */
.hardware {
  background: var(--color-bg);
  padding: 100px 0 70px;
  text-align: center;
}
.hardware .section-title { margin-bottom: 32px; }
.cta-dark {
  display: inline-block;
  background: #14110F;
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
}
.cta-dark:hover { background: #2A2622; }
.hardware-photo {
  margin: 56px auto 0;
  max-width: 1100px;
  border-radius: 24px;
  overflow: hidden;
}
.hardware-photo img { width: 100%; height: auto; display: block; }

/* ==================== Image+Text Interleave ==================== */
.interleave {
  background: var(--color-bg);
  padding: 80px 0 100px;
}
.interleave-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.interleave-row:last-child { margin-bottom: 0; }
.interleave-text { padding: 0 32px; }
.interleave-text h3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.interleave-text p {
  font-size: 15px;
  color: var(--color-text-soft);
  margin: 0;
  line-height: 1.6;
}
.interleave-image {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #ECEAE5;
}
.interleave-image img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.interleave-row--reverse .interleave-image img { object-position: right center; }
.interleave-row--reverse .interleave-image { order: -1; }

/* ==================== Testimonial ==================== */
.testimonial {
  background: var(--color-bg-alt);
  padding: 100px 0 110px;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.quote-card {
  background: var(--color-card);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.quote-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.quote-card .role {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}
.quote-card .stars {
  font-size: 14px;
  color: #F2B23E;
  letter-spacing: 1px;
}
.quote-card .stars .half {
  display: inline-block;
  width: 7px; overflow: hidden;
  vertical-align: bottom;
}
.quote-card blockquote {
  margin: 0 0 auto;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-soft);
}
.quote-card footer {
  margin-top: 20px;
  font-size: 13px;
  color: var(--color-text-soft);
}
.quote-card footer strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}
.quote-card--video {
  padding: 0;
  overflow: hidden;
  background: #1E1B19;
}
.quote-card--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
  border-radius: 18px;
}

/* ==================== Email CTA ==================== */
.email-cta {
  background: var(--color-bg);
  padding: 50px 0 90px;
}
.cta-card {
  background: url('../images/68bafc43d6453067019494a693b820f2.png') center/cover no-repeat,
              linear-gradient(180deg, #FFF4DA 0%, #FFE4B0 100%);
  border-radius: 28px;
  padding: 80px 24px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  line-height: 1.2;
}
.cta-card h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
}
.cta-card p {
  font-size: 14px;
  color: var(--color-text-soft);
  margin: 0 0 28px;
}
.cta-form {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.cta-form input {
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 18px;
  font-size: 14px;
  width: 240px;
}
.cta-form button {
  background: #14110F;
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
}
.cta-form button:hover { background: #2A2622; }

/* ==================== Footer ==================== */
.site-footer {
  background: linear-gradient(180deg, #FFF6E1 0%, #FFE3A8 100%);
  position: relative;
  padding-top: 70px;
  overflow: hidden;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 48px;
  padding-bottom: 36px;
}
.footer-brand .logo--footer { margin-bottom: 18px; }
.footer-slogan {
  font-size: 13px;
  color: var(--color-text-soft);
  max-width: 320px;
  line-height: 1.5;
  margin: 0 0 24px;
}
.social {
  display: flex;
  gap: 10px;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  background: #fff;
  border-radius: 50%;
  color: var(--color-text);
  transition: transform 0.15s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.social a:hover { transform: scale(1.1); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 14px;
}
.footer-col li {
  margin-bottom: 8px;
}
.footer-col a {
  font-size: 14px;
  color: var(--color-text);
  opacity: 0.85;
  transition: opacity 0.15s;
}
.footer-col a:hover { opacity: 1; }
.footer-bottom {
  padding: 22px 32px;
  text-align: right;
  font-size: 13px;
  color: var(--color-text-soft);
}
.footer-watermark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 8px;
  padding: 0 32px;
  overflow: hidden;
}
.footer-watermark img {
  height: clamp(80px, 14vw, 180px);
  width: auto;
}
.footer-watermark span {
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, var(--color-tan-deep) 0%, var(--color-tan-darker) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  line-height: 1;
}

/* ==================== Responsive ==================== */
@media (max-width: 1100px) {
  .header-pill { gap: 16px; padding: 8px 8px 8px 20px; }
  .header-subscribe input { width: 140px; }
  .feature-grid { gap: 16px; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .container { padding: 0 24px; }
  .header-pill { gap: 8px; }
  .primary-nav, .header-subscribe { display: none; }
  .mobile-menu-toggle { display: block; margin-left: auto; }
  .header-pill { justify-content: space-between; }

  .hero-inner { padding: 140px 16px 60px; }
  .hero-title { font-size: clamp(32px, 9vw, 56px); }

  .feature-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; gap: 16px; }
  .how-connector { display: none; }
  .interleave-row { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
  .interleave-row--reverse .interleave-image { order: 0; }
  .interleave-text { padding: 0; }

  .testimonial-grid { grid-template-columns: 1fr; }
  .quote-card { min-height: auto; }
  .quote-card--video video { min-height: 240px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .footer-bottom { text-align: center; }
}
