:root {
  --white: #ffffff;
  --cream: #f7f4ed;
  --soft-green: #dfe9e2;
  --panel: #f8f7f3;
  --panel-secondary: #f1efe8;
  --charcoal: #232b2c;
  --text-primary: #263031;
  --text-dark: #1f2937;
  --text-body: #5a6667;
  --text-muted: #6f7977;
  --border-light: #e4e1d8;
  --border-secondary: #d7d9d3;
  --teal-accent: #3a907a;
  --teal-deep: #2f7865;
  --purple-accent: #8e44ad;
  --blue-primary: #2f7ae5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(223, 233, 226, 0.65), transparent 30%),
    linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
  color: var(--text-primary);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.topbar {
  border-bottom: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

.topbar-inner,
.page-shell,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  color: var(--text-primary);
}

.wordmark-icon {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  object-fit: cover;
  border: 1px solid rgba(35, 43, 44, 0.08);
}

.topbar-status {
  color: var(--text-muted);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.page-shell {
  padding: 36px 0 56px;
}

.hero {
  display: grid;
  gap: 40px;
  align-items: center;
  padding: 54px 0 32px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-deep);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.03em;
  font-family: Iowan Old Style, Palatino, "Book Antiqua", Georgia, serif;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
  color: var(--text-primary);
}

.subcopy {
  margin: 18px 0 0;
  max-width: 42rem;
  color: var(--text-body);
  font-size: clamp(1rem, 2.3vw, 1.15rem);
}

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

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
}

.cta-primary {
  background: var(--blue-primary);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(47, 122, 229, 0.18);
}

.cta-secondary {
  border: 1px solid var(--border-secondary);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.device-frame {
  width: min(100%, 390px);
  padding: 16px;
  border: 1px solid var(--border-light);
  border-radius: 36px;
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-secondary) 100%);
  box-shadow: 0 24px 60px rgba(35, 43, 44, 0.08);
}

.app-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 1px solid rgba(31, 41, 55, 0.05);
}

.support-strip {
  margin-top: 34px;
  padding: 34px 0 0;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.support-strip h2 {
  max-width: 20ch;
  margin: 0 auto;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1.12;
  color: var(--text-primary);
}

.feature-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  text-align: left;
}

.feature-tile {
  padding: 18px;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(58, 144, 122, 0.1);
  color: var(--teal-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.feature-tile h3 {
  margin: 14px 0 6px;
  font-size: 1.02rem;
  color: var(--text-dark);
}

.feature-tile p {
  margin: 0;
  color: var(--text-body);
  font-size: 0.95rem;
}

.site-footer {
  padding: 0 0 28px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

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

.footer-links a:hover {
  color: var(--text-dark);
}

@media (min-width: 860px) {
  .topbar-inner,
  .page-shell,
  .footer-inner {
    width: min(1180px, calc(100% - 64px));
  }

  .page-shell {
    padding-top: 54px;
    padding-bottom: 72px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
    gap: 48px;
    min-height: calc(100vh - 180px);
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
