:root {
  --font: 'Inter', sans-serif;
  --bg: #fdfdfd;
  --text: #333;
  --primary: #B2C9E1;
  --secondary: #e2e8f0;
  --accent: #F7D5C4;
  --radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: none;
}

body::after {
  content: "";
  display: block;
  height: 2rem;
}

main {
  flex: 1; /* Pushes footer to the bottom if content is short */
}

main h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

main h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

main p {
  margin-bottom: 1rem;
  color: var(--text);
}

main ul {
  margin-bottom: 1rem;
  padding-left: 1.2rem;
}

main ul li {
  margin-bottom: 0.5rem;
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  background: linear-gradient(to bottom, #f6fbff, #C8D6E5);
  background-repeat: no-repeat;
  background-size: cover;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 1.8rem 1.5rem;
}

.site-header {
  padding: 0.2rem 0;
  border-bottom: 1.5px solid #d8dee9; /* soft muted grey-blue */
  background-color: var(--bg); /* ensures white-ish background if needed */
}

.nav-container {
  width: 100%;
  max-width: 750px;         /* stop expanding beyond this */
  padding: 0 1rem;          /* space on smaller screens */
  margin: 0 auto;           /* center horizontally */
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;       /* no horizontal padding here anymore */
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  white-space: nowrap;   /* prevent text from breaking mid-word */
  padding: 0.25rem 0.5rem;
  transition: transform 0.2s ease;
  display: inline-block; /* necessary for transform to work */
}

.nav a:hover {
  transform: scale(1.05);
}

.nav a.beacon-button {
  color: var(--primary);             /* from .beacon-blue */
  padding: 0 1rem;
  border: none;
  border-radius: 9999px;             /* fully rounded button */
  font-weight: 600;
  font-size: 1.6rem;                 /* from .beacon-blue */
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.nav a.beacon-button:hover {
  background-color: #D4E6F5;
  transform: scale(1.05);            /* from .beacon-blue:hover */
}

.nav a.beacon-button:active {
  background-color: #C0D8EE;
}

.hero {
  text-align: center;
  padding: 2rem 0;
}

.hero h1 {
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.logo {
  max-width: 160px;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-bottom: 1.4rem;
  transform: scale(2.0); /* visually enlarges the logo */
  transform-origin: center;
}

.subtitle {
  font-size: 3rem;
  line-height: 3rem;
  margin-top: 31px;
  margin-bottom: 9px;
  text-align: center;
  letter-spacing: -1px;
  font-weight: 600;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 2rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

button {
  border: none;
  background: none;
  font-family: var(--font);
  font-size: 1rem;
  cursor: pointer;
}

button.btn.primary {
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.primary {
  background-color: var(--primary);
  color: white;
}

.secondary {
  background-color: var(--secondary);
  color: var(--text);
}

.screenshot {
  margin-top: 2rem;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #888;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto 3rem auto; /* center horizontally with auto left/right margins */
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  background-color: white;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn.primary {
  align-self: flex-start;
}

.contact-page main h1,
.contact-page main p {
  text-align: center;
}

.info {
  text-align: center;
  padding: 0.5rem 0;
}
.info h2 {
  font-size: 1.4rem;
  margin-bottom: 2rem;
}
.info-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.info-features li {
  font-size: 1.2rem;
  margin: 0.3rem 0;       /* reduce vertical spacing */
  line-height: 1.2;        /* reduce line height */
}

.hero-info .btn.primary {
  padding: 0.75rem 1.5rem;
}

.centered-button {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem; /* optional, if you want breathing room above the next section */
}

.btn.primary:hover {
  background-color: #2e7ac7;
}

.app-store-badge {
  width: 160px;
  height: auto;
  transition: transform 0.2s ease;
}

.app-store-badge:hover {
  transform: scale(1.1);
}

.nav .app-download-button {
  background-color: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav .app-download-button:hover {
  background-color: #2e7ac7;
  transform: scale(1.05);
}

.footer-links {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #888;
  transition: color 0.2s ease;
}

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