:root {
  --bg: #f3efe8;
  --bg-deep: #e9ddce;
  --ink: #153f3f;
  --ink-soft: #355b5f;
  --teal: #1a5e63;
  --teal-dark: #11383b;
  --charcoal: #2a2a2a;
  --copper: #b87444;
  --white: #ffffff;
  --border: rgba(17, 56, 59, 0.14);
  --shadow: 0 18px 45px rgba(17, 56, 59, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #153f3f;
  background-color: #f3efe8;
  background-image:
    linear-gradient(rgba(243, 239, 232, 0.78), rgba(243, 239, 232, 0.84)),
    url("./images/yarn_background.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
}

img {
  max-width: 100%;
}

.section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 16px auto 0;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(17, 56, 59, 0.08);
}
.accent {
  color: #c97a40;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}
.signup-form-embed {
  margin-top: 1.5rem;
}

.signup-form-embed form {
  max-width: 100%;
}

.signup-form-embed input,
.signup-form-embed button {
  font-family: 'Inter', sans-serif;
  border-radius: 999px;
}

.signup-form-embed button {
  font-weight: 700;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  min-width: 220px;
}

.logo {
  display: block;
  width: 84px;
  height: 84px;
  object-fit: contain;
  margin: 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-text span {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.1rem, 2.8vw, 3rem);
  line-height: 1;
  font-weight: 600;
  color: var(--copper);
}

.tagline {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.3;
  max-width: 260px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  flex: 0 1 auto;
}

.nav-links a {
  color: var(--teal-dark);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.discord-link {
  padding: 0.85rem 1.2rem;
  background: rgba(26, 94, 99, 0.1);
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 5.5rem 0 3rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--copper);
  margin: 0 0 0.8rem;
}

h1, h2, h3 {
  margin-top: 0;
  color: var(--teal-dark);
}

h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  line-height: 0.98;
  margin-bottom: 1rem;
}

h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.hero-text,
.section-copy,
.story-card p,
.signup-box p,
.feature-card p,
.mockup-card li,
.site-footer p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.launch-note {
  margin-top: 1rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  box-shadow: 0 12px 24px rgba(17, 56, 59, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.76);
  color: var(--teal-dark);
  border: 1px solid var(--border);
}

.btn-full {
  width: 100%;
}

.hero-card,
.story-card,
.signup-box {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mockup-card {
  border-radius: var(--radius);
  padding: 2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(233,221,206,0.88));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.mockup-label {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  color: var(--teal-dark);
  margin-top: 0;
}

.mockup-card ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.intro,
.features,
.story,
.signup {
  padding: 2rem 0 1.5rem;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 1rem;
}

.narrow {
  max-width: 760px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.45rem;
  box-shadow: 0 10px 24px rgba(17, 56, 59, 0.07);
}

.feature-card span {
  font-size: 1.5rem;
  display: inline-block;
  margin-bottom: 0.65rem;
}

.story-card {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
}

.discord-card {
  background: linear-gradient(180deg, rgba(233,221,206,0.8), rgba(255,255,255,0.95));
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.signup-box {
  border-radius: calc(var(--radius) + 6px);
  padding: 2rem;
  text-align: center;
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.signup-form input {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 56, 59, 0.18);
  background: rgba(255,255,255,0.92);
  font: inherit;
  color: var(--charcoal);
}

.signup-form input:focus {
  outline: 2px solid rgba(26, 94, 99, 0.2);
  border-color: var(--teal);
}

.form-note {
  font-size: 0.95rem;
  margin-top: 0.85rem;
}

.site-footer {
  padding: 2rem 1rem 3rem;
  text-align: center;
}

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

@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 24px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
  }

  .logo {
    width: 74px;
    height: 74px;
  }

  .brand-text span {
    font-size: 2.3rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    margin-top: 0;
    width: 100%;
    border-radius: 0 0 24px 24px;
    padding: 1rem;
  }

  .logo {
    width: 64px;
    height: 64px;
  }

  .brand-text span {
    font-size: 1.9rem;
  }

  .tagline {
    font-size: 0.9rem;
    max-width: 220px;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .nav-links a,
  .discord-link {
    width: 100%;
    text-align: center;
  }
}
.resource-links {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.resource-btn {
  background: #1a5e63;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s ease;
}

.resource-btn:hover {
  background: #11383b;
}

.resource-btn.secondary {
  background: transparent;
  border: 1px solid #1a5e63;
  color: #1a5e63;
}

.resource-btn.secondary:hover {
  background: #1a5e63;
  color: #ffffff;
}

  .brand {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .logo {
    width: 56px;
    height: 56px;
  }

  .brand-text span {
    font-size: 1.7rem;
  }
.fiber {
  color: var(--teal-dark);
}

.vault {
  color: var(--copper);
}
  .tagline {
    font-size: 0.9rem;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .nav-links a,
  .discord-link {
    text-align: center;
    width: 100%;
  }

  .section {
    width: min(1120px, calc(100% - 1.25rem));
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }