
:root {
  --bg: #ffffff;
  --card: #ffffff;
  --muted: #62696e;
  --accent: #df489a;
  --accent-2: #df489a;
  --accent-3: #0399d1;
  --text: #000000;
  --white: #ffffff;
  --soft-border: rgba(0, 0, 0, 0.08);
  --soft-surface: rgba(0, 0, 0, 0.04);
  --soft-accent: rgba(223, 72, 154, 0.12);
  --soft-accent-2: rgba(223, 72, 154, 0.12);
  --shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

@font-face {
  font-family: 'Sen';
  src: url('../fonts/Sen-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Sen';
  src: url('../fonts/Sen-Bold.ttf') format('truetype');
  font-weight: 600;
  font-style: bold;
}

@font-face {
  font-family: 'Sen';
  src: url('../fonts/Sen-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: bold;
}

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

html, body {
  height: 100%;
  margin: 0;
  font-family: Sen, "Sen";
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.alert-error, 
.alert-warning, 
.alert-success {
    margin-bottom: 14px;
}

.alert-error, 
.alert-warning, 
.alert-success {
    background: var(--accent);
    color: var(--white);
    border-radius: 14px;
    padding: 10px 12px;
    margin-bottom: 8px;
}

a,
a:visited {
  color: var(--accent-2);
}

a:hover,
a:focus {
  color: var(--accent);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: left;
  align-self: flex-start;
  gap: 0px;
}

.logo img {
  height: 70px;
  max-width: 100%;
}

nav {
  flex-shrink: 0;
  display: flex;
  align-items: right;
  flex-wrap: wrap;
}

/* Mobile nav toggle button */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--soft-border);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  box-sizing: border-box;
}


.top-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: end;
  align-items: flex-start;
  padding-top: 12px;
  padding-right: 60px;
}

.nav-column {
  min-width: 0;
  width: auto;
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-column a,
.nav-column button {
  display: block;
  margin: 0;
  text-decoration: none;
  color: var(--text);
  text-align: left;
  text-transform: uppercase;
  font-size: 14.5px;
  white-space: nowrap;
}

.nav-column a.is-active {
  font-weight: 800;
}

.nav-column form {
  margin: 0;
}


nav > a {
  color: var(--text);
  text-decoration: none;
  margin-left: 18px;
}

.hero {
  background: var(--card);
  padding: 28px;
  padding-left: 10px;
  margin-top: 18px;
}

h1 {
  margin: 0 0 8px 0;
  font-size: 28px;
}

p.lead {
  color: var(--muted);
  margin: 0 0 18px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.card {
  background: var(--card);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.card h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
}

.card-row {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.price {
  color: var(--accent);
  font-weight: 600;
}

.cta {
  display: inline-block;
  background: var(--accent);
  border: none;
  color: var(--white);
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 600;
  font-family: Sen, "Sen";
}

button.cta {
  cursor: pointer;
  border-radius: 999px;
}

.cta:hover,
.cta:focus {
  background: var(--accent);
  color: var(--white);
}

footer {
  margin-top: 36px;
  color: var(--muted);
  font-size: 13px;
  padding: 18px 0;
}

.badge {
  display: inline-block;
  background: var(--accent-3);
  padding: 6px 10px;
  color: var(--white);
  font-size: 13px;
  border-radius: 999px;
}

input[type='text'] {
  border: 1px solid var(--muted);
  border-radius: 14px;
}

input[type='textarea'] {
  border: 1px solid var(--muted);
  border-radius: 14px;
}

input[type='email'] {
  border: 1px solid var(--muted);
  border-radius: 14px;
}

input[type='password'] {
  border: 1px solid var(--muted);
  border-radius: 14px;
}

@media (max-width: 900px) {

  .container {
    padding: 18px;
  }
  .brand h2 {
    display: none;
  }
  
  header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  /* Remove bottom padding on header for mobile */
  header {
    padding-bottom: 0;
  }

  .top-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: visible;
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 4px;
    padding-right: 0;
  }

  .nav-column {
    min-width: 0;
    width: 100%;
    padding: 6px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .nav-column a,
  .nav-column button {
    font-size: 16px;
    width: 100%;
    text-align: center;
    display: block;
    padding: 10px 12px;
  }

  /* Hide the full menu behind a toggle on small screens */
  .mobile-nav-toggle {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 12px 14px;
    background: var(--card);
    border: 1px solid var(--soft-border);
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
  }

  /* Collapse nav by default on very small screens; reveal when .open */
  #top-nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 260ms ease-in-out;
  }

  #top-nav.open {
    max-height: 1000px; /* large enough to show the menu */
  }

  .top-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* Ensure landing/hero section sits flush under header on mobile */
  .hero,
  section .landing-hero {
    margin-top: 4px;
    padding-top: 4px;
  }

  /* Center the logo on mobile */
  .logo {
    align-self: center;
    justify-content: center;
  }

  .logo img {
    margin: 0 auto;
    display: block;
  }
}

/* Form / inputs */
input, textarea, select {
  background: var(--card);
  border: 1px solid var(--muted);
  color: var(--text);
  padding: 8px 10px;
  min-height: 36px;
  width: 100%;
  box-sizing: border-box;
}

label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}

.nav-link-button {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  margin-left: 18px;
  font: inherit;
  padding: 0;
}


@media (max-width: 900px) {
    .container {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    body, html {
        height: auto !important;
        overflow-y: auto !important;
        overflow-x: hidden;
    }
}