:root {
  --ink: #142238;
  --deep: #0d1b2f;
  --teal: #0c7774;
  --teal-dark: #0b4c4c;
  --coral: #e8512f;
  --gold: #d6a354;
  --sun: #f3c45f;
  --paper: #fff8ef;
  --mist: #ecf7f4;
  --white: #ffffff;
  --line: rgba(20, 34, 56, 0.16);
  --shadow: 0 20px 60px rgba(13, 27, 47, 0.18);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1.1rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2.5rem);
  color: var(--white);
  background: linear-gradient(180deg, rgba(13, 27, 47, 0.92), rgba(13, 27, 47, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  color: var(--deep);
  background: var(--sun);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav a {
  opacity: 0.86;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
}

.hero {
  position: relative;
  display: grid;
  min-height: 86svh;
  padding: 7.4rem 1.25rem 5rem;
  overflow: hidden;
  color: var(--white);
  background-image: url("assets/journal-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 27, 47, 0.94), rgba(13, 27, 47, 0.58) 48%, rgba(13, 27, 47, 0.22)),
    radial-gradient(circle at 74% 34%, rgba(243, 196, 95, 0.28), rgba(243, 196, 95, 0) 32%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.eyebrow,
.kicker,
.case-label {
  margin: 0 0 0.8rem;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sun);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.45rem, 7vw, 5.4rem);
  font-weight: 900;
  max-width: 11ch;
  margin-inline: auto;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  max-width: 12ch;
  margin-bottom: 1.4rem;
  color: var(--deep);
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  color: var(--deep);
  margin-bottom: 0.8rem;
}

.hero-copy {
  max-width: 660px;
  margin: 1.5rem auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.8vw, 1.26rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.9rem 1.25rem;
  border-radius: 8px;
  border: 2px solid transparent;
  font-weight: 900;
  line-height: 1.15;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 14px 34px rgba(232, 81, 47, 0.32);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #d84222;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
}

.trust-note {
  margin: 1.2rem auto 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.section-pad {
  padding: clamp(4rem, 8vw, 7rem) 1.25rem;
}

.container {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.narrow {
  max-width: 780px;
}

.intro {
  background:
    linear-gradient(120deg, rgba(236, 247, 244, 0.85), rgba(255, 248, 239, 0.95)),
    var(--paper);
}

.intro h2 {
  max-width: 13ch;
}

.intro p,
.method p,
.founder-copy p,
.signup p {
  font-size: 1.07rem;
}

.story-section {
  background: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 14ch;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.story-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.story-card.featured {
  background: var(--white);
  box-shadow: var(--shadow);
}

.story-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.story-body {
  padding: clamp(1.2rem, 3vw, 2rem);
}

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

.image-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  align-items: stretch;
  background: var(--deep);
  color: var(--white);
}

.image-band-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 6rem);
}

.image-band-copy h2 {
  color: var(--white);
  max-width: 11ch;
}

.image-band-copy p {
  color: rgba(255, 255, 255, 0.84);
}

.image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.image-pair img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.principle-list {
  display: grid;
  gap: 0.85rem;
}

.principle {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.principle span {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font-weight: 900;
}

.principle h3 {
  margin-bottom: 0.25rem;
}

.principle p {
  margin: 0;
}

.founder {
  background: linear-gradient(135deg, var(--mist), var(--white));
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.founder-photo {
  overflow: hidden;
  border-radius: 8px;
  background: var(--deep);
  box-shadow: var(--shadow);
}

.founder-photo img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
}

.founder-copy h2 {
  max-width: 13ch;
}

.signup {
  color: var(--white);
  background:
    radial-gradient(circle at 18% 12%, rgba(243, 196, 95, 0.2), transparent 28%),
    linear-gradient(135deg, var(--teal-dark), var(--deep));
}

.signup h2 {
  color: var(--white);
  max-width: 12ch;
}

.signup .kicker {
  color: var(--sun);
}

.signup-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(300px, 0.82fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.signup-form {
  display: grid;
  gap: 0.8rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.signup-form label {
  font-size: 0.88rem;
  font-weight: 900;
}

.signup-form input {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.85rem 1rem;
  border: 2px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.signup-form input:focus {
  outline: none;
  border-color: var(--sun);
}

.signup-form .button {
  width: 100%;
  margin-top: 0.4rem;
  cursor: pointer;
  font: inherit;
}

.form-note {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.84rem;
  line-height: 1.55;
}

.site-footer {
  padding: 1.4rem 1.25rem;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1rem;
  color: rgba(20, 34, 56, 0.72);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--coral);
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 88svh;
    padding-top: 6.4rem;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(13, 27, 47, 0.92), rgba(13, 27, 47, 0.66)),
      radial-gradient(circle at 70% 26%, rgba(243, 196, 95, 0.22), rgba(243, 196, 95, 0) 36%);
  }

  .section-heading,
  .story-grid,
  .image-band,
  .two-column,
  .founder-grid,
  .signup-inner {
    grid-template-columns: 1fr;
  }

  .image-pair img {
    min-height: 260px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .hero {
    background-position: 62% center;
  }

  h1 {
    font-size: clamp(2.3rem, 13vw, 3.5rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .image-pair {
    grid-template-columns: 1fr;
  }

  .principle {
    grid-template-columns: 1fr;
  }
}
