/* 
  Augmego landing page
  Intentional simplicity.
  No frameworks.
  No dark patterns.
*/

:root {
  color-scheme: light;
  --bg: #f6f1e7;
  --text: #1b1b1b;
  --muted: #5b5b5b;
  --accent: #c44b1d;
  --accent-contrast: #ffffff;
  --panel: #ffffff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  --radius: 20px;
  font-family: "Fraunces", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #fff4dc 0%, var(--bg) 55%);
  color: var(--text);
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 24px 96px;
  display: grid;
  gap: 64px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 18px;
  background: var(--panel);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.logo {
  display: block;
  height: 36px;
  width: auto;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 0.95rem;
}

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

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

.hero {
  display: grid;
  gap: 20px;
  padding: 48px;
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.eyebrow {
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  color: var(--muted);
}

h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin: 0;
}

.subhead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

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

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--text);
  text-decoration: none;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  color: var(--text);
  font-weight: 600;
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn.ghost {
  background: transparent;
  border-color: transparent;
}

.section {
  display: grid;
  gap: 12px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
}

.section h2 {
  margin: 0;
  font-size: 1.6rem;
}

.section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.form input {
  flex: 1 1 220px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #d4c7b7;
  font-family: "Inter", "Helvetica Neue", sans-serif;
}

.form button {
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  background: var(--text);
  color: #ffffff;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-weight: 600;
}

.hero {
  animation: fadeUp 500ms ease-out both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}


/* -----------------------------
   Mobile refinements
------------------------------ */

@media (max-width: 720px) {
  .page {
    gap: 48px;
  }

  .site-header {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 16px;
    text-align: center;
  }

  .brand {
    justify-content: center;
  }

  /* Mobile: hide primary navigation intentionally.
   Landing page is CTA-focused, not browse-focused. */
  .nav {
    display: none; /* hide nav on mobile */
  }

  .header-actions {
    width: 100%;
    justify-content: center;
  }

  .header-actions .btn {
    flex: 1;
    text-align: center;
  }

  .hero {
    padding: 32px 20px;
    text-align: center;
    justify-items: center;
  }

  h1 {
    font-size: clamp(2rem, 7vw, 2.6rem);
    line-height: 1.15;
    max-width: 14ch; /* prevents awkward wraps */
  }
  
  .section p,
  .subhead {
    max-width: 60ch;
  }


  .subhead {
    font-size: 1rem;
    max-width: 40ch;
  }

  .actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

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

  .section {
    padding: 24px 20px;
  }

  .section h2 {
    font-size: 1.4rem;
  }
}
