/* LifetimeGuides.com — brand landing
   Palette: Ink #181C20 · Paper #F7F4EF · Grey #9AA0A6 · Steel Blue #2F6690
   Type: Inter (UI/headings) · Source Serif 4 (body)
*/

:root {
  --ink: #181C20;
  --paper: #F7F4EF;
  --grey: #9AA0A6;
  --steel: #2F6690;
  --steel-hover: #255278;
  --focus-ring: rgba(47, 102, 144, 0.35);
  --max: 42rem;
  --wide: 64rem;
  --space: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 10vw, 6.5rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--steel);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--steel-hover);
}

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

/* —— Layout —— */
.wrap {
  width: min(100% - (var(--space) * 2), var(--wide));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - (var(--space) * 2), var(--max));
}

/* —— Header —— */
.site-header {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(24, 28, 32, 0.08);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo-link:hover {
  color: inherit;
}

.logo-link:focus-visible {
  border-radius: 4px;
}

.logo-img {
  height: clamp(2.25rem, 5vw, 2.75rem);
  width: auto;
}

/* —— Hero —— */
.hero {
  padding: var(--section-y) 0 clamp(2.5rem, 6vw, 4rem);
}

.hero__eyebrow {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 1.25rem;
}

.hero__title {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  max-width: 18ch;
}

.hero__lede {
  margin: 0;
  max-width: 36rem;
  color: var(--ink);
  font-size: clamp(1.125rem, 2.2vw, 1.25rem);
  line-height: 1.7;
}

.hero__points {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  max-width: 36rem;
}

.hero__points li {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
  padding-left: 1.25rem;
  position: relative;
  color: var(--ink);
}

.hero__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--steel);
}

/* —— Section divider —— */
.rule {
  border: 0;
  border-top: 1px solid rgba(24, 28, 32, 0.1);
  margin: 0;
}

/* —— Publishing —— */
.publishing {
  padding: var(--section-y) 0;
}

.section-label {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 1rem;
}

.publishing h2,
.signup h2 {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0 0 1.25rem;
}

.publishing p {
  margin: 0 0 1rem;
  max-width: 38rem;
}

.publishing p:last-child {
  margin-bottom: 0;
}

/* —— Signup —— */
.signup {
  padding: var(--section-y) 0;
  background: rgba(24, 28, 32, 0.03);
}

.signup__intro {
  margin: 0 0 2rem;
  max-width: 36rem;
}

.signup-form {
  max-width: 28rem;
}

.form-row {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 480px) {
  .form-row--split {
    grid-template-columns: 1fr 1.4fr;
  }
}

.field label {
  display: block;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.field .optional {
  font-weight: 400;
  color: var(--grey);
}

.field input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(24, 28, 32, 0.18);
  border-radius: 4px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input::placeholder {
  color: var(--grey);
}

.field input:hover {
  border-color: rgba(24, 28, 32, 0.35);
}

.field input:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 3px var(--focus-ring);
  outline: none;
}

.field input[aria-invalid="true"] {
  border-color: #a33;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.8rem 1.35rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background: var(--steel);
  color: #fff;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--steel-hover);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-note {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8125rem;
  color: var(--grey);
  margin: 1rem 0 0;
  line-height: 1.45;
}

.form-status {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  line-height: 1.45;
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 4px;
  display: none;
}

.form-status[data-visible="true"] {
  display: block;
}

.form-status--success {
  background: rgba(47, 102, 144, 0.1);
  color: var(--steel);
  border: 1px solid rgba(47, 102, 144, 0.25);
}

.form-status--error {
  background: rgba(160, 50, 50, 0.08);
  color: #7a2a2a;
  border: 1px solid rgba(160, 50, 50, 0.2);
}

.form-status--info {
  background: rgba(24, 28, 32, 0.05);
  color: var(--ink);
  border: 1px solid rgba(24, 28, 32, 0.1);
}

/* —— Footer —— */
.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(24, 28, 32, 0.08);
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

.footer-disclaimer {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--grey);
  margin: 0;
  max-width: 36rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
