:root {
  --bg: #f2efe6;
  --bg-strong: #e6dcc8;
  --surface: rgba(255, 252, 245, 0.82);
  --surface-strong: #faf5ea;
  --text: #1f261d;
  --muted: #5e6854;
  --line: rgba(36, 47, 30, 0.12);
  --accent: #476d33;
  --accent-soft: #d8e7c5;
  --accent-strong: #27481a;
  --shadow: 0 24px 80px rgba(44, 51, 31, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(151, 182, 108, 0.28), transparent 32%),
    radial-gradient(circle at 85% 10%, rgba(222, 202, 154, 0.55), transparent 28%),
    linear-gradient(180deg, #f6f2e9 0%, #efe7d6 100%);
  font-family: "Instrument Sans", sans-serif;
}

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

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 64px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(250, 245, 234, 0.75);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(40, 46, 29, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, #eff6d6, transparent 34%),
    linear-gradient(180deg, #7ead52 0%, #31591f 100%);
  box-shadow: 0 0 0 6px rgba(126, 173, 82, 0.14);
}

.site-nav {
  display: inline-flex;
  gap: 24px;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #f7f8f2;
  background: linear-gradient(135deg, #30571f 0%, #5f8b42 100%);
  box-shadow: 0 12px 28px rgba(54, 91, 33, 0.24);
}

.button-secondary,
.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 84px 0 54px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.remote-copy h2,
.contact-card h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.5rem, 8vw, 6.4rem);
}

.hero-text,
.feature-strip p,
.step-card p,
.remote-copy p,
.remote-card p,
.contact-card p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 56ch;
  margin: 20px 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.hero-notes li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-card {
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -28px 18px auto auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(143, 179, 98, 0.24);
  filter: blur(12px);
}

.device-panel {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(44, 57, 36, 0.12);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 252, 244, 0.94) 0%, rgba(243, 236, 221, 0.96) 100%);
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.status-value {
  color: var(--muted);
  font-size: 0.95rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.metric-card,
.step-card,
.remote-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.75);
}

.metric-card-accent {
  background: linear-gradient(180deg, #405e2c 0%, #2f4721 100%);
  color: #f7faef;
}

.metric-card-accent .metric-caption,
.metric-card-accent .metric-label {
  color: rgba(247, 250, 239, 0.78);
}

.metric-label,
.metric-caption,
.step-number {
  display: block;
  color: var(--muted);
}

.metric-card strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.timeline {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.55);
}

.timeline-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  align-items: center;
  color: var(--muted);
}

.timeline-row + .timeline-row {
  margin-top: 12px;
}

.timeline-bar {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-soft) 0%, rgba(71, 109, 51, 0.88) 100%);
}

.timeline-bar-short {
  width: 42%;
}

.timeline-bar-mid {
  width: 61%;
}

.timeline-bar-long {
  width: 84%;
}

.feature-strip,
.split-section,
.remote-section,
.contact-section {
  margin-top: 32px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-strip article,
.contact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 50px rgba(53, 61, 38, 0.08);
}

.feature-strip h2,
.step-card h3,
.remote-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.feature-strip p {
  margin: 12px 0 0;
}

.split-section {
  padding: 26px;
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(229, 220, 197, 0.56) 0%, rgba(246, 241, 229, 0.82) 100%);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: end;
}

.section-heading h2,
.remote-copy h2,
.contact-card h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.steps-grid,
.remote-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.step-number {
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 700;
}

.step-card p,
.remote-card p {
  margin-bottom: 0;
}

.remote-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: start;
}

.remote-copy,
.remote-card {
  background: rgba(255, 250, 242, 0.78);
}

.remote-copy {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 34px;
}

.remote-cards {
  margin-top: 0;
}

.contact-section {
  padding-top: 6px;
}

.contact-card {
  display: grid;
  gap: 12px;
  background:
    radial-gradient(circle at top right, rgba(164, 198, 121, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.86) 0%, rgba(241, 232, 213, 0.96) 100%);
}

.signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.signup-form input {
  min-width: 260px;
  flex: 1 1 320px;
  padding: 14px 16px;
  border: 1px solid rgba(34, 46, 29, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  outline: none;
}

.signup-form input:focus {
  border-color: rgba(71, 109, 51, 0.5);
  box-shadow: 0 0 0 4px rgba(88, 135, 58, 0.12);
}

.form-note {
  margin: 0;
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero,
  .section-heading,
  .remote-section,
  .feature-strip,
  .steps-grid,
  .remote-cards {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 12ch;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 24px;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 16vw, 4.4rem);
  }

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

  .timeline-row {
    grid-template-columns: 52px 1fr;
  }

  .timeline-row span:last-child {
    grid-column: 2;
  }

  .feature-strip article,
  .device-panel,
  .split-section,
  .remote-copy,
  .remote-card,
  .contact-card {
    padding: 20px;
  }
}
