@import './styles/neleres-tokens.css';

* {
  box-sizing: border-box;
}

body {
  font-family: Inter, "Noto Sans", sans-serif;
  margin: 0;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: white;
}

header {
  align-items: center;
  border-bottom: 1px solid rgb(240 242 245);
  display: flex;
  padding: .75rem 2.5rem;
}

nav {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 16px;
  justify-content: flex-end;
}

nav a {
  color: rgb(17 20 24);
  line-height: 1.5;
  font-weight: 500;
  font-size: .875rem;
  text-decoration: none;
}

.btn-primary {
  min-width: 84px;
  max-width: 150px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  border: none;
  border-radius: var(--nel-radius-md, 10px);
  height: 2.5rem;
  padding: 0 1rem;
  background: var(--nel-tenant-primary, var(--nel-teal-700));
  color: var(--nel-tenant-on-primary, #fff);
  font-size: .875rem;
  font-weight: 600;
  transition: background var(--nel-dur-base, 200ms) var(--nel-ease, ease);
}

.btn-primary:hover {
  background: var(--nel-teal-800);
}

.content {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 1.25rem 2.5rem;
}

.layout-content {
  flex: 1;
  max-width: 960px;
  display: flex;
  flex-direction: column;
}

.hero-section {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0 2.5rem 2.5rem;
  margin: 1rem;
  color: white;
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 20, 50, 0.6)), url("images/home-hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: .5rem;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.25;
  margin: 0;
}

.hero-section h2 {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

.hero-section button {
  margin-top: .5rem;
  font-size: 1rem;
  padding: 1.5rem;
}

.features-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem 1rem;
}

.features-section h1 {
  font-size: 2.25rem;
  font-weight: 900;
  margin: 0;
  color: #111418;
}

.features-section p {
  font-size: 1rem;
  margin: 0;
  color: #111418;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding-top: 1rem;
}

.feature-card {
  display: flex;
  gap: 1rem;
}

.feature-card .icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.feature-card h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 .25rem;
  color: #111418;
}

.feature-card p {
  font-size: .875rem;
  margin: 0;
  color: #111418;
}

.cta-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 2.5rem 1rem;
  background: #f0f2f5;
  border-radius: .5rem;
}

.cta-text h1 {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 0 .5rem;
  color: #111418;
}

.cta-text p {
  font-size: 1rem;
  margin: 0;
  color: #111418;
}

.cta-form {
  display: flex;
  gap: 1rem;
}

.cta-form input {
  border: none;
  background: #fff;
  padding: .75rem 1rem;
  font-size: 1rem;
  border-radius: .5rem;
}

/* The hero CTA button carries .btn-primary for its visuals; this rule only
   relaxes the width cap so it can fill the form row. */
.cta-form button {
  max-width: 480px;
}

/* Anchored-column signup (NEL-ba82b96c): every step lives in one constant
   560px column — the heading, subtitle, and wizard share the same rail so
   the layout never jumps between steps. */
.signup-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem 6rem;
  font-family: var(--nel-font-sans, inherit);
}

.signup-section h1,
.signup-section .signup-sub,
.signup-section tenant-signup {
  width: 100%;
  max-width: 560px;
}

.signup-section h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 .25rem;
  color: var(--nel-ink);
}

.signup-section .signup-sub {
  margin: 0 0 1.5rem;
  font-size: .875rem;
  color: var(--nel-ink-3);
}

.site-footer {
  display: flex;
  justify-content: center;
  padding: 2.5rem 1.25rem;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.footer-links a {
  color: #111418;
  text-decoration: none;
  font-size: .875rem;
}

.footer-copy {
  font-size: .75rem;
  color: #6b7280;
  margin: 0;
}

.support-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 1rem;
}

.support-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 560px;
  margin-bottom: .5rem;
}

.support-header h1 {
  font-size: 2.25rem;
  font-weight: 900;
  margin: 0;
  color: #111418;
}

.support-header .lede {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  color: #4b5563;
}

.support-error {
  max-width: 560px;
  padding: .875rem 1.125rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: .5rem;
  color: #b91c1c;
  font-size: .875rem;
  line-height: 1.5;
}

.support-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 560px;
}

.support-field {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.support-field > span {
  font-size: .875rem;
  font-weight: 700;
  color: #111418;
}

.support-field > span em {
  font-weight: 400;
  font-style: normal;
  color: #6b7280;
}

.support-field input,
.support-field select,
.support-field textarea {
  font: inherit;
  color: #111418;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: .5rem;
  padding: .625rem .75rem;
  width: 100%;
}

.support-field textarea {
  resize: vertical;
  min-height: 7rem;
}

.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
  outline: none;
  border-color: var(--nel-tenant-primary, var(--nel-teal-700));
  box-shadow: 0 0 0 3px var(--nel-teal-100);
}

/* Honeypot: kept in the DOM for bots, removed from the visual + a11y flow. */
.support-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.support-note {
  max-width: 560px;
  padding: 1rem 1.25rem;
  background: #f0f2f5;
  border-radius: .5rem;
  font-size: .875rem;
  line-height: 1.5;
  color: #374151;
  margin: 0;
}

.support-submit {
  align-self: flex-start;
  cursor: pointer;
  border: none;
  border-radius: .5rem;
  padding: 0 1.5rem;
  height: 2.75rem;
  background: #0d80f2;
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
}

.support-success {
  max-width: 560px;
  padding: 1rem 1.25rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: .5rem;
  font-size: .875rem;
  color: #166534;
}

.support-success a {
  color: #0d80f2;
  font-weight: 700;
}

.legal-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1rem 3.5rem;
  color: #374151;
}

.legal-section h1 {
  font-size: 2.25rem;
  font-weight: 900;
  margin: 0 0 .5rem;
  color: #111418;
}

.legal-section .lede {
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0 0 .5rem;
  color: #4b5563;
}

.legal-section .legal-meta {
  font-size: .875rem;
  color: #6b7280;
  margin: 0 0 1.5rem;
}

.legal-section h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 2rem 0 .75rem;
  color: #111418;
}

.legal-section p,
.legal-section li {
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 1rem;
  color: #374151;
}

.legal-section ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-section li {
  margin: 0 0 .5rem;
}

.legal-section a {
  color: #0d80f2;
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-section code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .875em;
  background: #f0f2f5;
  padding: .1rem .35rem;
  border-radius: .25rem;
}

.placeholder-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: #f0f2f5;
  border-radius: .5rem;
  font-size: .875rem;
  line-height: 1.5;
  color: #374151;
}