:root {
  --forest: #173f35;
  --forest-deep: #071d1b;
  --moss: #5e7650;
  --paper: #fff8ed;
  --paper-deep: #f2e1c2;
  --amber: #f7c56b;
  --copper: #7b3f2a;
  --berry: #b84a62;
  --ink: #17211d;
  --muted: #59645d;
  --line: #e0cfad;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(7, 29, 27, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 18px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--forest-deep);
  background: var(--amber);
  font-weight: 900;
}

.skip-link:focus {
  top: 18px;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px max(24px, calc((100vw - 1180px) / 2));
  color: var(--paper);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
}

.brand img,
.footer-brand img {
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(7, 29, 27, 0.18);
}

.brand span,
.footer-brand span {
  font-size: 1.1rem;
}

.header-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 1px solid rgba(255, 248, 237, 0.5);
  border-radius: 8px;
  background: rgba(7, 29, 27, 0.28);
  text-decoration: none;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(7, 29, 27, 0.95) 0%, rgba(7, 29, 27, 0.72) 35%, rgba(7, 29, 27, 0.26) 68%, rgba(7, 29, 27, 0.12) 100%),
    linear-gradient(0deg, rgba(7, 29, 27, 0.36), rgba(7, 29, 27, 0.02) 45%),
    url("../images/cluecabin-hero.webp") center / cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 48px));
  padding: 138px 0 70px;
  margin-left: max(24px, calc((100vw - 1180px) / 2));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero h1 {
  color: var(--paper);
  font-size: 6rem;
}

.hero-copy {
  max-width: 690px;
  margin: 20px 0 0;
  color: rgba(255, 248, 237, 0.9);
  font-size: 1.28rem;
}

.signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) auto;
  align-items: end;
  gap: 12px;
  max-width: 900px;
  margin-top: 30px;
  padding: 16px;
  border: 1px solid rgba(255, 248, 237, 0.46);
  border-radius: 8px;
  background: rgba(255, 248, 237, 0.92);
  box-shadow: var(--shadow);
}

.signup-form label {
  display: grid;
  gap: 6px;
  color: var(--forest-deep);
  font-size: 0.82rem;
  font-weight: 900;
}

.signup-form input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

.signup-form input:focus {
  outline: 3px solid rgba(247, 197, 107, 0.58);
  outline-offset: 1px;
}

.signup-form button {
  min-height: 52px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  color: var(--forest-deep);
  background: var(--amber);
  box-shadow: 0 10px 24px rgba(123, 63, 42, 0.2);
  font-weight: 900;
  cursor: pointer;
}

.signup-form button:hover {
  transform: translateY(-1px);
}

.privacy-note,
.form-message {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-message {
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 800;
}

.form-message.success {
  color: var(--forest-deep);
  background: #e7efd8;
}

.form-message.error {
  color: #5f1b22;
  background: #f8d9de;
}

.honey-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.hero-trail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-trail span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 248, 237, 0.34);
  border-radius: 8px;
  color: rgba(255, 248, 237, 0.9);
  background: rgba(7, 29, 27, 0.3);
  font-size: 0.88rem;
  font-weight: 900;
}

.peek-link {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 8px 12px;
  border-radius: 8px;
  color: rgba(255, 248, 237, 0.9);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 900;
}

.inside-section,
.promise-section {
  padding: 78px max(24px, calc((100vw - 1180px) / 2));
}

.inside-section {
  background:
    linear-gradient(180deg, #fff8ed 0%, #f6ead5 100%);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-heading .eyebrow,
.promise-section .eyebrow {
  color: var(--berry);
}

.section-heading h2,
.promise-section h2 {
  font-size: 3rem;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(23, 33, 29, 0.14);
}

.feature-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-card div {
  padding: 20px;
}

.feature-card h3 {
  font-size: 1.35rem;
}

.feature-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.promise-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  background: var(--forest);
  color: var(--paper);
}

.promise-section h2 {
  color: var(--paper);
}

.promise-list {
  display: grid;
  gap: 16px;
}

.promise-list p {
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 248, 237, 0.22);
  color: rgba(255, 248, 237, 0.82);
}

.promise-list strong {
  color: var(--amber);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(24px, calc((100vw - 1180px) / 2));
  color: var(--paper);
  background: var(--forest-deep);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 248, 237, 0.72);
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: 4.4rem;
  }

  .signup-form,
  .feature-grid,
  .promise-section {
    grid-template-columns: 1fr;
  }

  .signup-form button {
    width: 100%;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .site-header {
    position: relative;
    padding: 16px;
    color: var(--forest-deep);
    background: var(--paper);
  }

  .header-link {
    color: var(--forest-deep);
    background: #f3e5cb;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(90deg, rgba(7, 29, 27, 0.94), rgba(7, 29, 27, 0.52)),
      url("../images/cluecabin-hero-small.webp") center / cover;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding: 56px 0 48px;
  }

  .hero h1 {
    font-size: 3.15rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .signup-form {
    padding: 12px;
  }

  .inside-section,
  .promise-section {
    padding: 56px 16px;
  }

  .section-heading h2,
  .promise-section h2 {
    font-size: 2.2rem;
  }

  .peek-link {
    display: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 16px;
  }
}
