:root {
  --bg: #f5f1eb;
  --bg-strong: #efe7df;
  --surface: #fffdfb;
  --surface-alt: #f0e7df;
  --text: black;
  --muted: black;
  --line: rgba(27, 36, 43, 0.12);
  --accent: #d75a2a;
  --accent-dark: #a93f1c;
  --accent-soft: #f4d8cc;
  --shadow: 0 18px 42px rgba(17, 24, 32, 0.08);
  --radius: 18px;
  --container: min(1120px, calc(100% - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

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

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
  border: 2px solid transparent;
}

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

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(215, 90, 42, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-dark);
}

.button-secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2rem;
  align-items: center;
}

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

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.lead {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  font-size: 1.12rem;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  color: var(--muted);
  font-weight: 600;
}

.hero-meta li {
  position: relative;
  padding-left: 1.25rem;
}

.hero-meta li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.panel-card,
.step-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel-card {
  padding: 1.5rem;
}

.panel-label {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.panel-card h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.panel-card ul {
  margin: 0;
  padding-left: 1.3rem;
  color: var(--muted);
}

.device-visual {
  position: relative;
  min-height: 220px;
  background: linear-gradient(180deg, #f6eee8, #f2efe9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.device-box {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  width: 170px;
  height: 120px;
  border-radius: 20px;
  background: #1f2b34;
  border: 3px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.device-screen {
  width: 110px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(90deg, #d75a2a 0%, #f6aa78 100%);
  box-shadow: 0 0 28px rgba(215, 90, 42, 0.45);
}

.signal-wave {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(215, 90, 42, 0.22);
  inset: auto auto 2.5rem 2.5rem;
  display: block;
}

.wave-one {
  width: 170px;
  height: 170px;
}

.wave-two {
  width: 240px;
  height: 240px;
  inset: auto auto 1rem 1rem;
}

.info-section {
  padding: 4rem 0;
}

.alt-section {
  background: rgba(240, 231, 223, 0.7);
}

.section-heading {
  margin-bottom: 1.8rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.step-card {
  padding: 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 800;
  margin-bottom: 1rem;
}

.feature-list ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text);
  display: grid;
  gap: 0.8rem;
}

.intro-copy {
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.trust-copy {
  color: var(--muted);
  display: grid;
  gap: 0.8rem;
}

.guide-link {
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.guide-link a {
  color: var(--accent-dark);
  font-weight: 700;
}

.guide-hero {
  padding-bottom: 1rem;
}

.guide-steps {
  margin: 0;
  padding-left: 1.5rem;
  display: grid;
  gap: 1.6rem;
}

.guide-steps li {
  padding-left: 0.4rem;
}

.guide-steps h3 {
  margin-bottom: 0.4rem;
}

.guide-steps p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  background: #171f27;
  color: #f2efe9;
  padding: 2.5rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-title {
  margin: 0 0 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 239, 233, 0.7);
  font-size: 0.75rem;
  font-weight: 700;
}

.site-footer h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  align-items: center;
}

.footer-links a {
  color: #f2efe9;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

.signal-dialog {
  width: min(40rem, calc(100% - 2rem));
  padding: 2rem;
  padding-bottom: 4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.signal-dialog::backdrop {
  background: rgba(17, 24, 32, 0.55);
}

.signal-dialog form {
  display: flex;
  justify-content: flex-end;
}

.signal-dialog-close {
  /*padding: 0.3rem 0.5rem;*/
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
}

.signal-dialog code {
  font-weight: bold;
}

.signal-dialog h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.5rem, 5vw, 2rem);
}

.signal-dialog p:last-child {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 780px) {
  .nav-wrap {
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem 0;
  }

  .brand {
    width: 100%;
    text-align: center;
  }

  .site-nav {
    order: 3;
    width: 100%;
  }

  .site-nav ul {
    justify-content: center;
  }

  .hero {
    padding-top: 3.2rem;
  }

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

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .footer-wrap {
    align-items: start;
  }
}
