@font-face {
  font-family: "Bogue";
  src: url("/assets/bogue-semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fffaf4;
  --cream-2: #f8f2e9;
  --sage-panel: #efefe3;
  --sage-soft: #f2f3e9;
  --green: #314a34;
  --green-soft: #48664b;
  --line: #e7e1d7;
  --muted: #6e7366;
  --orange: #df7f49;
  --yellow: #f4be3f;
  --teal: #3f8f72;
  --danger: #9f523a;
  --radius: 22px;
  --shadow: 0 16px 26px rgba(49, 74, 52, 0.12);
  --brand-mark-offset: 0.08em;
  --brand-text-offset: -0.03em;
  color: var(--green);
  background: var(--cream);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--green);
  overflow-x: hidden;
}

body,
button,
input {
  font: inherit;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

main {
  overflow-x: hidden;
}

.site-header {
  min-height: 118px;
  padding: 28px clamp(32px, 4.7vw, 58px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--green);
  font-family: "Bogue", Georgia, serif;
  font-size: clamp(40px, 4vw, 62px);
  line-height: 1;
}

.brand span {
  display: block;
  transform: translateY(var(--brand-text-offset));
}

.brand-small {
  font-size: 32px;
}

.brand-mark {
  width: clamp(48px, 4.25vw, 60px);
  height: clamp(48px, 4.25vw, 60px);
  flex: 0 0 auto;
  object-fit: contain;
  transform: translateY(var(--brand-mark-offset));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 56px;
  font-size: 18px;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
}

.button,
.ghost-button {
  border-radius: 14px;
  min-height: 54px;
  padding: 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.button {
  background: var(--green);
  color: #fffaf4;
  box-shadow: none;
}

.button-small {
  min-height: 48px;
  padding-inline: 36px;
}

.ghost-button {
  color: var(--muted);
  background: transparent;
  border: 3px solid var(--line);
}

.ghost-button svg {
  width: 24px;
  height: 24px;
}

.section-line {
  border-bottom: 1px solid var(--line);
}

.hero {
  padding: 34px clamp(32px, 4.9vw, 64px) 57px;
  display: grid;
  grid-template-columns: minmax(370px, 0.92fr) minmax(620px, 1.28fr);
  align-items: center;
  gap: clamp(34px, 5vw, 78px);
}

.hero-copy {
  max-width: 540px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
.join-panel h2,
.legal-hero h1 {
  font-family: "Bogue", Georgia, serif;
  font-weight: 600;
  color: var(--green-soft);
}

h1 {
  font-size: clamp(48px, 4.5vw, 62px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy p {
  margin-top: 26px;
  max-width: 520px;
  font-size: 22px;
  line-height: 1.26;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-flow {
  min-width: 0;
  width: min(676px, calc(100% + 50px));
  margin-right: -46px;
  justify-self: end;
  display: grid;
  grid-template-columns: 1fr 22px 1fr 22px 1fr;
  align-items: start;
  gap: 0;
}

.flow-step {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-label {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 36px;
  font-family: "Bogue", Georgia, serif;
  font-size: 20px;
  line-height: 1;
  color: var(--green);
}

.step-label span {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 3px solid var(--line);
  display: grid;
  place-items: center;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  line-height: 1;
  background: var(--cream);
}

.prompt-card,
.post-card,
.moment-image {
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.prompt-card {
  min-height: 305px;
  width: 100%;
  padding: 24px;
  border: 3px solid var(--line);
  background: linear-gradient(155deg, #fffdf7 0%, #f8f4ed 74%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.prompt-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 42px;
  padding: 10px;
  border-radius: 999px;
  background: var(--sage-panel);
}

.prompt-card strong {
  font-family: "Bogue", Georgia, serif;
  font-size: 32px;
  line-height: 0.96;
}

.moment-image {
  width: 100%;
  height: 305px;
  aspect-ratio: auto;
  object-fit: cover;
}

.post-card {
  background: #fffdf7;
  border: 1px solid #e8ece0;
  width: 100%;
  height: 305px;
  padding: 14px;
  font-size: 12px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.post-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-head strong {
  display: block;
  font-size: 11px;
}

.post-head span {
  color: #677462;
  font-size: 10px;
}

.post-head > span:last-child {
  margin-left: auto;
  color: var(--green);
}

.mini-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--sage-panel);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.mini-avatar img {
  width: 19px;
  height: 19px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.34);
}

.post-card h3 {
  margin-top: 16px;
  font-family: "Bogue", Georgia, serif;
  font-size: 17px;
}

.post-card > img {
  width: 100%;
  height: 118px;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 14px;
}

.post-card p {
  margin-top: 12px;
  font-size: 11px;
}

.post-meta {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  color: var(--green-soft);
}

.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.post-meta svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.connector {
  height: 2px;
  background: var(--green);
  opacity: 0.7;
  margin-top: 198px;
}

.how {
  padding: 34px clamp(32px, 4.9vw, 64px) 38px;
}

.categories {
  padding: 34px clamp(32px, 4.9vw, 64px) 58px;
}

.how h2,
.categories h2 {
  text-align: center;
  text-transform: uppercase;
  font-size: 22px;
  letter-spacing: 0;
}

.how-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(300px, 350px) minmax(380px, 420px) minmax(290px, 330px);
  justify-content: space-between;
  gap: 0;
}

.how-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 24px;
}

.circle-icon {
  width: 90px;
  height: 90px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--sage-panel);
}

.circle-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.how-item span {
  font-weight: 800;
}

.category-card h3 {
  margin-top: 0;
  font-family: "Bogue", Georgia, serif;
  font-size: 26px;
  line-height: 1;
}

.how-item h3 {
  margin-top: 8px;
  font-family: "Bogue", Georgia, serif;
  font-size: 25px;
  line-height: 1;
}

.category-card p {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.25;
}

.how-item p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.23;
}

.category-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 6vw, 82px);
}

.category-card {
  min-height: 144px;
  padding: 28px 32px;
  border-radius: 16px;
  background: var(--sage-panel);
  display: flex;
  align-items: center;
  gap: 32px;
}

.category-card img {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
}

.join-panel {
  margin: 74px clamp(20px, 6vw, 80px) 36px;
  padding: 52px clamp(30px, 6vw, 92px);
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--sage-panel);
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 440px);
  align-items: center;
  gap: clamp(40px, 7vw, 86px);
}

.join-copy,
.join-form {
  position: relative;
  z-index: 1;
}

.join-panel h2 {
  font-size: clamp(34px, 3vw, 44px);
  line-height: 1.05;
}

.join-copy p:not(.eyebrow) {
  margin-top: 16px;
  font-size: 19px;
  line-height: 1.35;
}

.eyebrow {
  margin-bottom: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
}

.join-form {
  display: grid;
  gap: 12px;
}

.join-form label:not(.consent-row) {
  font-weight: 800;
}

.join-form input[type="tel"] {
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  border: 2px solid var(--line);
  background: #fffaf4;
  color: var(--green);
  padding: 0 18px;
  outline: none;
}

.join-form input[type="tel"]:focus {
  border-color: var(--green-soft);
}

.consent-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  line-height: 1.35;
}

.consent-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  margin-top: 2px;
}

.fine-print,
.form-status {
  color: #596456;
  font-size: 13px;
  line-height: 1.35;
}

.form-status {
  min-height: 18px;
  font-weight: 800;
}

.leaf {
  position: absolute;
  z-index: 0;
  opacity: 1;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
}

.leaf-left {
  width: 162px;
  height: 432px;
  left: -70px;
  top: -70px;
  background-image: url("/assets/leaf-left.png");
}

.leaf-right {
  width: 222px;
  height: 326px;
  right: -80px;
  top: 22px;
  background-image: url("/assets/leaf-right.png");
}

.site-footer {
  padding: 32px clamp(24px, 4.9vw, 64px) 44px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}

.site-footer p {
  margin-top: 10px;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px 28px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(var(--brand-text-offset));
}

.legal-hero,
.legal-content {
  width: min(940px, calc(100% - 48px));
  margin: 0 auto;
}

.legal-hero {
  padding: 68px 0 34px;
}

.legal-hero h1 {
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1.04;
}

.legal-hero p {
  margin-top: 18px;
  max-width: 720px;
  font-size: 19px;
  line-height: 1.45;
}

.legal-content {
  padding: 22px 0 86px;
  display: grid;
  gap: 24px;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  background: rgba(255, 250, 244, 0.82);
}

.legal-card h2 {
  font-family: "Bogue", Georgia, serif;
  font-size: 30px;
  margin-bottom: 12px;
}

.legal-card h3 {
  margin-top: 18px;
  font-size: 19px;
}

.legal-card p,
.legal-card li {
  line-height: 1.55;
  color: #314a34;
}

.legal-card p + p,
.legal-card ul + p {
  margin-top: 12px;
}

.legal-card ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

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

.support-item {
  padding: 24px;
  border-radius: 16px;
  background: var(--sage-panel);
}

.support-item h2 {
  font-family: "Bogue", Georgia, serif;
  font-size: 28px;
}

.support-item p {
  margin-top: 12px;
  line-height: 1.45;
}

@media (max-width: 960px) {
  .site-header {
    min-height: 102px;
    justify-content: center;
    padding: 28px 24px 24px;
  }

  .site-nav {
    display: none;
  }

  .brand {
    font-size: 36px;
    gap: 10px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding: 20px 32px 44px;
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  h1 {
    font-size: clamp(34px, 9.4vw, 39px);
    max-width: 100%;
  }

  .hero-copy p {
    margin-top: 12px;
    width: 100%;
    font-size: 16px;
    line-height: 1.22;
    overflow-wrap: break-word;
  }

  .hero-actions {
    margin-top: 18px;
    width: 100%;
    max-width: 100%;
    display: grid;
    gap: 10px;
  }

  .button,
  .ghost-button {
    min-height: 46px;
    width: 100%;
    border-radius: 14px;
  }

  .hero-flow {
    margin-top: 30px;
    width: 100%;
    max-width: 346px;
    margin-left: auto;
    margin-right: auto;
    transform: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    gap: 8px;
    align-items: end;
  }

  .connector {
    display: none;
  }

  .step-label {
    display: grid;
    gap: 4px;
    min-width: 0;
    text-align: center;
    font-size: 13px;
    line-height: 1.05;
  }

  .step-label span {
    width: 26px;
    height: 26px;
    border-width: 2px;
    justify-self: center;
    font-size: 14px;
  }

  .prompt-card {
    min-height: 195px;
    width: 100%;
    padding: 12px 8px 14px;
    border-radius: 18px;
    min-width: 0;
  }

  .prompt-card img {
    width: 30px;
    height: 30px;
    padding: 6px;
    margin-bottom: 42px;
  }

  .prompt-card strong {
    font-size: 16px;
    line-height: 0.96;
  }

  .moment-image {
    width: 100%;
    height: 195px;
    aspect-ratio: auto;
    border-radius: 18px;
  }

  .post-card {
    width: 100%;
    height: 195px;
    padding: 8px;
    border-radius: 14px;
    font-size: 9px;
    overflow: hidden;
  }

  .post-head {
    gap: 5px;
  }

  .post-head > div {
    min-width: 0;
  }

  .mini-avatar {
    width: 20px;
    height: 20px;
  }

  .mini-avatar img {
    width: 14px;
    height: 14px;
  }

  .post-head strong {
    font-size: 8px;
  }

  .post-head span {
    font-size: 7px;
  }

  .post-card h3 {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .post-card > img {
    height: 66px;
    margin-top: 8px;
    border-radius: 8px;
  }

  .post-card p,
  .post-meta {
    display: none;
  }

  .how {
    padding: 30px 20px 32px;
  }

  .categories {
    padding: 30px 20px 44px;
  }

  .how h2,
  .categories h2 {
    font-size: 16px;
  }

  .how-grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    max-width: 336px;
    margin-left: auto;
    margin-right: auto;
  }

  .how-item {
    grid-template-columns: 74px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    min-width: 0;
  }

  .how-item:not(:last-child) > div:last-child {
    border-bottom: 2px solid var(--line);
    padding-bottom: 18px;
  }

  .how-item > div,
  .category-card > div {
    min-width: 0;
  }

  .circle-icon {
    width: 60px;
    height: 60px;
  }

  .circle-icon img {
    width: 32px;
    height: 32px;
  }

  .category-card h3 {
    font-size: 22px;
  }

  .category-card p {
    font-size: 14px;
  }

  .how-item span {
    display: inline-block;
    width: 30px;
    vertical-align: baseline;
  }

  .how-item h3 {
    display: inline;
    margin-top: 0;
    font-size: 17px;
    line-height: 1;
  }

  .how-item p {
    margin-top: 7px;
    margin-left: 30px;
    width: calc(100% - 30px);
    font-size: 13px;
    line-height: 1.22;
  }

  .category-grid {
    margin-top: 30px;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    max-width: 336px;
    margin-left: auto;
    margin-right: auto;
  }

  .category-card {
    min-height: 110px;
    padding: 24px 28px;
    border-radius: 14px;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 24px;
  }

  .category-card img {
    width: 56px;
    height: 56px;
  }

  .join-panel {
    margin: 64px 20px 28px;
    width: auto;
    max-width: none;
    padding: 32px 28px;
    grid-template-columns: 1fr;
    gap: 24px;
    border-radius: 14px;
  }

  .join-panel h2 {
    font-size: 30px;
  }

  .join-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .leaf-left {
    display: none;
  }

  .leaf-right {
    width: 104px;
    height: 153px;
    right: -34px;
    top: auto;
    bottom: 18px;
  }

  .site-footer {
    display: grid;
    align-items: start;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer nav {
    display: grid;
    justify-content: start;
    align-items: start;
    gap: 12px;
    transform: none;
  }

  .legal-hero,
  .legal-content {
    width: min(100% - 40px, 760px);
  }

  .legal-hero {
    padding-top: 46px;
  }

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

@media (max-width: 420px) {
  .hero {
    padding-left: 32px;
    padding-right: 32px;
  }

  .prompt-card {
    min-height: 195px;
  }

  .hero-flow {
    max-width: 346px;
  }
}
