:root {
  --cream: #fff4df;
  --cream-soft: #fff9f0;
  --deep-teal: #083f43;
  --teal: #2d6f73;
  --teal-soft: #d9eeee;
  --orange: #ff6a2b;
  --orange-dark: #ff6a2b;
  --border: #fff8eb;
  --muted: #315b5d;
  --shadow: 0 18px 42px rgba(43, 33, 24, 0.14);
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--deep-teal);
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
}

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

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

.page-shell {
  width: min(100%, 1056px);
  margin: 0 auto;
  background:
    radial-gradient(circle at 75% 0%, rgba(255, 225, 196, 0.55), transparent 34%),
    linear-gradient(180deg, #fff4df 0%, #fff7e8 42%, #fffaf1 100%);
  box-shadow: 0 0 0 1px rgba(255, 248, 235, 0.92);
}

.hero {
  display: grid;
  gap: 22px;
  padding: 28px 22px 12px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 26px;
  transform: translateY(-8px);
}

.brand-lockup img {
  width: min(340px, 88vw);
  height: auto;
}

.brand-lockup strong {
  display: block;
  color: var(--teal);
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 900;
}

.brand-lockup small {
  display: block;
  margin-top: 4px;
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 800;
}

.case-mark {
  position: relative;
  width: 46px;
  height: 38px;
  display: inline-block;
  border-radius: 8px;
  background: var(--orange);
  box-shadow: inset 0 -4px 0 rgba(255, 106, 43, 0.22);
}

.case-mark::before {
  content: "";
  position: absolute;
  left: 14px;
  top: -10px;
  width: 18px;
  height: 12px;
  border: 5px solid var(--orange);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.case-mark::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 12px;
  width: 11px;
  height: 11px;
  background: #fff8ee;
  transform: rotate(45deg);
  clip-path: polygon(50% 0%, 66% 32%, 100% 38%, 75% 62%, 80% 96%, 50% 80%, 20% 96%, 25% 62%, 0 38%, 34% 32%);
}

.case-mark.large {
  width: 72px;
  height: 60px;
  border-radius: 13px;
  flex: 0 0 auto;
}

.case-mark.large::before {
  left: 21px;
  top: -15px;
  width: 30px;
  height: 18px;
  border-width: 7px;
}

.case-mark.large::after {
  left: 28px;
  top: 19px;
  width: 18px;
  height: 18px;
}

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

h1 {
  margin: -18px auto 0;
  color: var(--teal);
  font-size: clamp(1.07rem, 4.92vw, 1.51rem);
  line-height: 1.1;
  letter-spacing: 0;
  font-style: italic;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 4px auto 0;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 700;
}

.instagram-icon {
  width: 26px;
  height: 26px;
  background: currentColor;
  flex: 0 0 auto;
  mask: url("/assets/instagram.png") center / contain no-repeat;
  -webkit-mask: url("/assets/instagram.png") center / contain no-repeat;
}

.waitlist-form .instagram-link {
  grid-column: 1 / -1;
}

h2 {
  margin: 0;
  color: var(--deep-teal);
  font-size: clamp(1.45rem, 7vw, 2rem);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 600;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.42;
  font-weight: 400;
}

.hero-copy > p {
  max-width: 360px;
  margin-top: 18px;
  color: var(--deep-teal);
  font-size: 1.04rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 2px solid transparent;
  padding: 0 20px;
  font-size: 0.96rem;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}

.button:active {
  transform: scale(0.98);
}

.button-primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 12px 22px rgba(255, 106, 43, 0.24);
}

.button-primary:hover {
  background: var(--orange-dark);
}

.button-ghost {
  background: rgba(255, 249, 240, 0.7);
  border-color: var(--teal);
  color: var(--teal);
}

.hero-image {
  margin: 6px -22px 0;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  min-height: 270px;
  object-fit: cover;
  object-position: center;
}

.panel,
.waitlist-panel {
  position: relative;
  overflow: hidden;
  margin: 8px 12px;
  border: 7px solid rgba(255, 248, 235, 0.86);
  border-radius: 7px;
  background: linear-gradient(180deg, #fff4df 0%, #fff7e8 42%, #fffaf1 100%);
  box-shadow: 0 8px 18px rgba(43, 33, 24, 0.06);
}

.panel-copy {
  position: relative;
  z-index: 2;
  padding: 24px 24px 12px;
}

.panel h2 {
  font-size: clamp(1.25rem, 6.1vw, 1.75rem);
  line-height: 1.1;
  font-weight: 600;
}

.panel-copy p {
  max-width: 280px;
  margin-top: 14px;
  color: var(--deep-teal);
  font-size: 0.88rem;
  line-height: 1.36;
}

.panel img {
  width: 100%;
  object-fit: cover;
}

.panel img.story-art {
  --story-art-size: min(320px, calc(100% - 40px));
  width: var(--story-art-size);
  height: var(--story-art-size);
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  object-fit: cover;
  background: transparent;
  margin: 18px auto 26px;
}

.panel-connected {
  min-height: 250px;
  display: grid;
  align-items: center;
}

.panel-connected .panel-copy {
  max-width: 330px;
}

.panel-connected img.story-art {
  --story-art-size: min(300px, calc(100% - 40px));
  object-position: center;
}

.split-panel {
  display: grid;
  gap: 0;
}

.skill-panel,
.help-panel,
.exchange-panel,
.trust-panel {
  min-height: 300px;
}

.skill-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.skill-list li {
  position: relative;
  min-height: 28px;
  display: flex;
  align-items: center;
  padding-left: 40px;
  color: var(--deep-teal);
  font-size: 0.9rem;
  font-weight: 850;
}

.skill-list li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, var(--teal) 0 3px, transparent 4px),
    radial-gradient(circle at 38% 56%, #91a66e 0 5px, transparent 6px),
    var(--orange);
}

.skill-panel img.story-art,
.help-panel img.story-art {
  --story-art-size: min(310px, calc(100% - 32px));
}

.matches-panel {
  display: grid;
  min-height: 330px;
}

.matches-panel .panel-copy {
  padding-bottom: 0;
}

.matches-panel > img.story-art {
  --story-art-size: min(285px, calc(100% - 40px));
}

.exchange-panel img.story-art {
  --story-art-size: min(285px, calc(100% - 40px));
}

.exchange-panel .panel-copy p {
  max-width: 100%;
}

.trust-panel {
  display: grid;
  align-content: center;
  padding: 28px 20px;
  text-align: center;
}

.trust-panel h2 {
  font-size: clamp(1.25rem, 6.1vw, 1.75rem);
  font-weight: 600;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 22px;
}

.trust-grid div {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.trust-grid strong {
  color: var(--deep-teal);
  font-size: 0.86rem;
}

.trust-grid small {
  max-width: 150px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.28;
  font-weight: 650;
}

.vision-panel {
  display: grid;
}

.vision-panel img {
  width: 100%;
  min-height: 270px;
  object-fit: cover;
  object-position: center;
}

.faq-panel {
  margin: 8px 12px;
  border: 7px solid rgba(255, 248, 235, 0.86);
  border-radius: 7px;
  background: linear-gradient(180deg, #fff4df 0%, #fff7e8 42%, #fffaf1 100%);
  box-shadow: 0 8px 18px rgba(43, 33, 24, 0.06);
  padding: 24px 18px;
}

.faq-panel h2 {
  margin: 0;
  color: var(--deep-teal);
  font-size: clamp(1.25rem, 6.1vw, 1.75rem);
  line-height: 1.1;
  font-weight: 600;
}

.faq-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.faq-list details {
  border-top: 1px solid #ead4b5;
  padding-top: 8px;
}

.faq-list summary {
  position: relative;
  display: block;
  padding: 8px 28px 8px 0;
  color: var(--deep-teal);
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 8px;
  right: 0;
  color: var(--teal);
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 800;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  max-width: 620px;
  padding: 0 28px 10px 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.waitlist-panel {
  display: grid;
  gap: 18px;
  padding: 28px 20px 26px;
  background: linear-gradient(180deg, #fff4df 0%, #fff7e8 42%, #fffaf1 100%);
}

.waitlist-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.waitlist-intro p {
  margin-top: 8px;
  font-size: 0.94rem;
}

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

.waitlist-form label {
  display: grid;
  gap: 7px;
  color: var(--deep-teal);
  font-size: 0.82rem;
  font-weight: 900;
}

.waitlist-form input,
.waitlist-form select {
  width: 100%;
  min-height: 46px;
  border: 2px solid #f0d7bd;
  border-radius: 8px;
  background: #fffdf8;
  color: var(--deep-teal);
  padding: 0 12px;
  font: inherit;
  font-weight: 750;
  outline: none;
}

.waitlist-form input:focus,
.waitlist-form select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
}

.checkbox-row {
  grid-template-columns: 22px 1fr;
  align-items: start;
  color: var(--muted);
}

.checkbox-row input {
  min-height: 20px;
  margin: 2px 0 0;
  accent-color: var(--orange);
}

.form-button {
  width: 100%;
  border: 0;
}

.form-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.form-status[data-type="success"] {
  color: var(--teal);
  font-weight: 900;
}

.form-status[data-type="error"] {
  color: var(--orange-dark);
  font-weight: 900;
}

@media (min-width: 620px) {
  .hero {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    min-height: 378px;
    padding: 30px 38px 0;
  }

  .hero-image {
    align-self: end;
    margin: 0 -38px 0 0;
  }

  .hero-image img {
    min-height: 390px;
  }

  .panel,
  .faq-panel,
  .waitlist-panel {
    margin: 8px 14px;
  }

  .panel-connected {
    grid-template-columns: 0.72fr 1.28fr;
  }

  .panel-connected img.story-art {
    --story-art-size: min(320px, calc(100% - 36px));
  }

  .split-panel {
    grid-template-columns: 1fr 1fr;
  }

  .matches-panel {
    grid-template-columns: 0.85fr 1.1fr;
    align-items: center;
    min-height: 280px;
  }

  .matches-panel .panel-copy {
    padding-bottom: 24px;
  }

  .matches-panel > img.story-art {
    --story-art-size: min(300px, calc(100% - 24px));
  }

  .trust-row {
    grid-template-columns: 1.18fr 0.82fr;
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .vision-panel img {
    min-height: 390px;
  }

  .waitlist-panel {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    padding: 30px 36px;
  }

  .faq-panel {
    padding: 28px 32px;
  }

  .waitlist-form {
    grid-template-columns: 1fr 1fr;
  }

  .checkbox-row,
  .form-button,
  .form-status {
    grid-column: 1 / -1;
  }
}
