:root {
  --cream: #ece2d4;
  --paper: #f6f1e9;
  --coral: #c47b68;
  --coral-dark: #b65d49;
  --teal: #7895a8;
  --teal-soft: #dbe7ed;
  --ink: #292a27;
  --muted: #5f625d;
  --line: #d2cac1;
  --yellow: #e8c987;
  --lavender: #c7c0d2;
  --peach: #dfc7bc;
  --sky: #a9c2d2;
  --leaf: #747446;
  --wood: #9f6940;
  --wood-light: #d5a16d;
  font-family: "Nunito Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
}

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

.public-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 10px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(234, 217, 201, 0.85);
  background: rgba(255, 250, 244, 0.94);
  backdrop-filter: blur(16px);
}

.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
}

.public-brand img {
  display: block;
  width: clamp(118px, 12vw, 168px);
  height: 48px;
  object-fit: contain;
}

.public-brand span {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.public-brand strong {
  color: var(--coral);
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 0.92rem;
}

.public-header nav,
.public-account-actions,
.public-footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
}

.public-account-actions {
  justify-self: end;
}

.public-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.public-menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--teal);
}

.public-mobile-nav {
  position: fixed;
  z-index: 19;
  inset: 64px 0 auto;
  display: grid;
  gap: 0;
  padding: 10px 22px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  box-shadow: 0 18px 34px rgba(23, 63, 67, 0.12);
}

.public-mobile-nav[hidden] {
  display: none;
}

.public-mobile-nav a {
  min-height: 48px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.public-button:focus-visible,
.public-header a:focus-visible,
.public-footer a:focus-visible,
.public-menu-button:focus-visible,
.public-route button:focus-visible,
.public-route a:focus-visible,
.public-route input:focus-visible,
.public-route select:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.public-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
}

.public-button-primary {
  background: var(--coral);
  color: white;
}

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

.public-button-light {
  border-color: var(--line);
  background: var(--paper);
  color: var(--teal);
}

.public-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(760px, 82vh);
  overflow: hidden;
  background:
    linear-gradient(90deg, #dbe7ed 0 58%, #f3e6d9 100%);
}

.public-hero::before {
  position: absolute;
  top: 72px;
  left: -54px;
  width: 250px;
  height: 128px;
  border: 2px dashed rgba(255, 177, 143, 0.78);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  content: "";
  transform: rotate(-16deg);
}

.public-hero::after {
  position: absolute;
  top: 118px;
  left: clamp(120px, 16vw, 260px);
  color: var(--yellow);
  content: "✦  ·  ✧";
  font-size: 24px;
  letter-spacing: 10px;
  transform: rotate(8deg);
}

.public-hero-image {
  position: absolute;
  top: 50%;
  right: clamp(34px, 7vw, 120px);
  width: min(45vw, 610px);
  aspect-ratio: 1;
  border: 8px solid rgba(255, 253, 248, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(rgba(219, 231, 237, 0.72) 1px, transparent 1px),
    linear-gradient(90deg, rgba(219, 231, 237, 0.72) 1px, transparent 1px),
    #f8fbfc url("/assets/bird-stitch-map.png") center / contain no-repeat;
  background-size: 34px 34px, 34px 34px, contain;
  box-shadow:
    0 28px 65px rgba(56, 50, 43, 0.2);
  transform: translateY(-50%) rotate(1.4deg);
}

.public-hero-image::before {
  position: absolute;
  right: -18px;
  bottom: 44px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  content: "✦";
  display: grid;
  place-items: center;
  font-size: 30px;
  box-shadow: 0 12px 26px rgba(75, 58, 38, 0.16);
  transform: rotate(-7deg);
}

.public-hero-view-label {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 18px;
  padding: 8px 12px;
  border-radius: 99px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(55, 46, 38, 0.12);
}

.public-hero-content {
  position: relative;
  z-index: 1;
  width: min(670px, 52vw);
  padding: clamp(72px, 8vw, 112px) clamp(22px, 7vw, 110px);
  color: var(--ink);
}

.public-hero-content > span,
.section-heading > span,
.proof-copy > span,
.safety-section span {
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.public-hero h1 {
  max-width: 670px;
  margin: 12px 0 18px;
  font-family: "Fraunces", serif;
  font-size: clamp(3rem, 5.2vw, 5rem);
  line-height: 0.95;
}

.public-hero p {
  max-width: 620px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.55;
}

.public-hero-content > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.free-promise {
  display: flex;
  justify-content: center;
  gap: 14px 34px;
  padding: 18px clamp(22px, 5vw, 72px);
  background: var(--coral);
  color: white;
  text-align: center;
}

.public-section {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 120px) clamp(22px, 7vw, 110px);
}

.public-section > :not(.stitched-wander) {
  position: relative;
  z-index: 1;
}

.stitched-wander {
  position: absolute;
  z-index: 0;
  width: clamp(170px, 21vw, 310px);
  height: auto;
  overflow: visible;
  fill: none;
  opacity: 0.62;
  pointer-events: none;
  stroke: var(--coral);
  stroke-dasharray: 4 8;
  stroke-linecap: round;
  stroke-width: 2.2;
}

.stitched-wander circle {
  fill: var(--yellow);
  stroke: none;
}

.stitched-wander .stitched-spark {
  stroke: var(--yellow);
  stroke-dasharray: none;
  stroke-width: 2;
}

.stitched-wander-workflow {
  top: 22px;
  right: -54px;
  transform: rotate(12deg);
}

.stitched-wander-proof {
  bottom: 2px;
  left: -72px;
  stroke: #de6d69;
  transform: rotate(-18deg) scaleX(-1);
}

.stitched-wander-shop {
  top: 42px;
  right: -76px;
  stroke: #df7d50;
  transform: rotate(15deg);
}

.stitched-wander-community {
  right: 2%;
  bottom: -42px;
  stroke: #a270b0;
  transform: rotate(-8deg) scaleX(-1);
}

.stitched-wander-safety {
  top: -28px;
  left: 41%;
  stroke: #ee806e;
  transform: rotate(8deg);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading > span,
.proof-copy > span,
.safety-section span {
  color: var(--coral);
}

.section-heading h2,
.proof-copy h2,
.safety-section h2 {
  margin: 8px 0 12px;
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.section-heading p,
.proof-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.workflow-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.workflow-grid article,
.pricing-grid article {
  padding: 30px;
  background: var(--paper);
}

.workflow-grid article:nth-child(1) {
  box-shadow: inset 0 5px 0 var(--coral);
}

.workflow-grid article:nth-child(2) {
  box-shadow: inset 0 5px 0 var(--yellow);
}

.workflow-grid article:nth-child(3) {
  box-shadow: inset 0 5px 0 var(--lavender);
}

.workflow-grid b {
  color: var(--coral);
}

.workflow-grid h3,
.pricing-grid h3 {
  margin: 24px 0 8px;
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
}

.workflow-grid p,
.pricing-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.process-section {
  background: #fffaf4;
}

.stitched-wander-process {
  right: -58px;
  bottom: 12px;
  stroke: var(--teal);
  transform: rotate(13deg);
}

.process-heading {
  margin-inline: auto;
  text-align: center;
}

.process-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
}

.process-step {
  min-width: 0;
  margin: 0;
}

.process-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 36px rgba(65, 55, 45, 0.1);
}

.process-image-wrap img,
.process-image-wrap video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.process-image-wrap video {
  background: #eef3f5;
}

.process-image-wrap > span {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(64, 42, 34, 0.14);
}

.process-step-map .process-image-wrap > span {
  background: var(--teal);
}

.process-step-real .process-image-wrap > span {
  background: var(--leaf);
}

.process-step figcaption {
  display: grid;
  gap: 4px;
  padding-top: 14px;
}

.process-step figcaption strong {
  font-family: "Fraunces", serif;
  font-size: 1.22rem;
}

.process-step figcaption span,
.process-note {
  color: var(--muted);
  line-height: 1.5;
}

.process-arrow {
  color: var(--coral);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 900;
  transform: translateY(-30px);
}

.process-note {
  margin: 28px auto 0;
  font-size: 0.86rem;
  text-align: center;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: clamp(50px, 9vw, 130px);
  background: #f4eee7;
}

.public-text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 18px;
  color: var(--teal);
  font-weight: 900;
}

.proof-hoop {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 520px);
  aspect-ratio: 1;
  border: 18px solid #9f6940;
  border-radius: 50%;
  background: #f7ecda;
  box-shadow: inset 0 0 0 4px #d5a16d, 0 24px 50px rgba(77, 51, 35, 0.14);
}

.proof-hoop img {
  width: 74%;
  height: 74%;
  object-fit: contain;
}

.proof-sewout-player canvas {
  display: block;
  width: 84%;
  height: 84%;
}

.proof-sewout-video {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #f7ecda;
  clip-path: circle(50% at 50% 50%);
  object-fit: cover;
}

.proof-player-controls {
  position: absolute;
  right: 7%;
  bottom: 7%;
  left: 7%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(159, 105, 64, 0.2);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 10px 24px rgba(77, 51, 35, 0.13);
  backdrop-filter: blur(8px);
}

.proof-player-controls button {
  min-width: 76px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: var(--teal);
  color: #fff;
  font: inherit;
  font-size: 12px;
}

.proof-player-controls > div {
  min-width: 0;
}

.proof-player-controls > div > span:first-child {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.proof-player-track {
  height: 5px;
  display: block;
  overflow: hidden;
  margin-top: 6px;
  border-radius: 99px;
  background: #e8dbce;
}

.proof-player-track > span {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--coral);
  transition: width 120ms linear;
}

.proof-hoop-clasp {
  position: absolute;
  top: -42px;
  width: 72px;
  height: 32px;
  border: 7px solid #163f3b;
  border-radius: 6px;
  background: #2e6a5c;
  box-shadow: inset 0 0 0 3px #4a8877;
}

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

.design-grid .design-card {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.design-grid img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.design-grid strong {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
}

.design-card > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.design-card small {
  flex: 0 0 auto;
  color: var(--coral-dark);
  font-weight: 800;
}

.shop-savings {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px 34px;
  margin-bottom: 34px;
  padding: 22px 26px;
  border: 1px solid #f2c4b8;
  border-radius: 8px;
  background: #fff1e9;
}

.shop-savings > strong {
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
}

.shop-savings ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-savings li {
  display: grid;
  gap: 2px;
  padding-left: 12px;
  border-left: 1px solid #e7b2a5;
  color: var(--muted);
  font-size: 0.8rem;
}

.shop-savings li b,
.shop-savings li span {
  color: var(--ink);
  font-weight: 900;
}

.shop-savings > small {
  grid-column: 1 / -1;
  color: var(--muted);
}

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

.shop-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.commerce-story {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(44px, 8vw, 110px);
  background: #f4eee7;
}

.commerce-story > div > span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.commerce-story h2 {
  margin: 8px 0 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.commerce-story ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.commerce-story li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.commerce-story li b {
  color: var(--teal);
}

.commerce-story li span {
  color: var(--muted);
  line-height: 1.55;
}

.inspiration-preview {
  background: #fff6ed;
}

.inspiration-grid {
  columns: 3 260px;
  column-gap: 20px;
}

.inspiration-card {
  display: inline-grid;
  width: 100%;
  gap: 10px;
  margin: 0 0 20px;
  break-inside: avoid;
}

.inspiration-card img {
  width: 100%;
  max-height: 520px;
  border-radius: 8px;
  object-fit: cover;
}

.inspiration-card-copy {
  display: grid;
  gap: 4px;
}

.inspiration-card-copy strong {
  font-family: "Fraunces", serif;
}

.inspiration-card-copy span {
  color: var(--muted);
  font-size: 0.85rem;
}

.beta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
  background:
    radial-gradient(circle at 8% 22%, rgba(244, 216, 123, 0.38) 0 4px, transparent 5px),
    radial-gradient(circle at 92% 76%, rgba(255, 112, 94, 0.24) 0 5px, transparent 6px),
    #eee4f5;
}

.beta-section > div:first-child > span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.beta-section h2 {
  max-width: 640px;
  margin: 10px 0 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1;
}

.beta-section > div:last-child {
  display: grid;
  gap: 16px;
}

.beta-section p {
  margin: 0;
  color: #56505c;
  font-size: 1.02rem;
  line-height: 1.65;
}

.beta-section .public-button {
  width: fit-content;
  margin-top: 6px;
}

.pricing-section {
  background: var(--teal);
  color: white;
}

.pricing-section .section-heading p {
  color: rgba(255, 255, 255, 0.78);
}

.pricing-grid {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.2);
}

.pricing-grid article {
  color: var(--ink);
}

.pricing-grid article > span {
  color: var(--coral);
  font-weight: 900;
}

.pricing-grid article > strong {
  display: block;
  margin: 18px 0;
  font-size: 2rem;
}

.pricing-grid article > strong small {
  font-size: 0.9rem;
}

.pricing-grid article.is-featured {
  background: #fff2e7;
}

.pricing-grid button {
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
}

.safety-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 60px;
  align-items: center;
}

.safety-section p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.public-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2.2fr);
  gap: 52px clamp(40px, 7vw, 110px);
  padding: 58px clamp(22px, 7vw, 110px) 32px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 10% 24%, rgba(255, 112, 94, 0.1) 0 4px, transparent 5px),
    radial-gradient(circle at 94% 20%, rgba(244, 216, 123, 0.28) 0 4px, transparent 5px),
    var(--paper);
}

.public-footer-intro {
  display: grid;
  align-content: start;
  gap: 16px;
}

.public-footer-intro p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.public-footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 34px;
}

.public-footer-links nav {
  display: grid;
  align-content: start;
  align-items: start;
  gap: 11px;
}

.public-footer-links nav > strong {
  margin-bottom: 3px;
  color: var(--ink);
  font-family: "Fraunces", serif;
  font-size: 1.02rem;
}

.public-footer-links a {
  width: fit-content;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.public-footer-links a:hover {
  color: var(--coral-dark);
}

.public-footer .public-footer-copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.public-route {
  min-height: 70vh;
}

.route-hero {
  padding: clamp(64px, 9vw, 110px) clamp(22px, 7vw, 110px) 46px;
  background: #f4eee7;
}

.route-hero > div {
  max-width: 820px;
}

.route-kicker {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.route-hero h1 {
  margin: 10px 0 14px;
  font-family: "Fraunces", serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
}

.route-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.route-section {
  padding: 46px clamp(22px, 7vw, 110px) clamp(70px, 9vw, 110px);
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.catalog-toolbar input,
.catalog-toolbar select {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.catalog-result-count {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.route-design-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.catalog-card {
  position: relative;
}

.catalog-card > a {
  display: grid;
  gap: 10px;
}

.catalog-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.catalog-card-copy {
  display: grid;
  gap: 5px;
}

.catalog-card-copy strong {
  font-family: "Fraunces", serif;
  font-size: 1.08rem;
}

.catalog-card-copy small {
  color: var(--muted);
}

.catalog-favorite {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(234, 217, 201, 0.85);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.94);
  color: var(--coral-dark);
  font-size: 1.25rem;
}

.catalog-favorite[aria-pressed="true"] {
  background: var(--coral);
  color: white;
}

.route-empty {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.public-message {
  margin: 0 0 24px;
  padding: 0;
}

.public-message strong,
.public-message span {
  display: block;
}

.public-message span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.55;
}

.public-message.is-error {
  padding-left: 14px;
  border-left: 3px solid var(--coral);
}

.pricing-note {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.6;
}

.pricing-note + .pricing-grid + .pricing-note {
  margin-top: 28px;
}

.route-empty {
  grid-column: 1 / -1;
  text-align: center;
}

.route-empty p {
  color: var(--muted);
}

.load-more-wrap {
  display: grid;
  place-items: center;
  margin-top: 36px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.85fr);
  gap: clamp(40px, 7vw, 90px);
}

.product-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.product-copy h1 {
  margin: 8px 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1;
}

.product-price {
  margin: 18px 0;
  color: var(--coral-dark);
  font-size: 1.7rem;
  font-weight: 900;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0;
  border-top: 1px solid var(--line);
}

.product-facts div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.product-facts span,
.product-facts strong {
  display: block;
}

.product-facts span {
  color: var(--muted);
  font-size: 0.82rem;
}

.format-chips,
.topic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.format-chips span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.topic-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.topic-card h2,
.topic-card h3 {
  margin: 0 0 9px;
  font-family: "Fraunces", serif;
}

.topic-card p {
  color: var(--muted);
  line-height: 1.55;
}

.topic-card a {
  color: var(--coral-dark);
  font-weight: 900;
}

.trust-copy {
  max-width: 860px;
}

.trust-copy h2 {
  margin-top: 34px;
  font-family: "Fraunces", serif;
}

.trust-copy p,
.trust-copy li {
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .public-header {
    grid-template-columns: 1fr auto;
  }

  .public-header nav {
    display: none;
  }

  .public-account-actions > a:first-child {
    display: none;
  }

  .public-menu-button {
    display: block;
  }

  .workflow-grid,
  .pricing-grid,
  .design-grid,
  .proof-section,
  .safety-section,
  .commerce-story,
  .beta-section {
    grid-template-columns: 1fr;
  }

  .shop-savings {
    grid-template-columns: 1fr;
  }

  .shop-savings ul {
    grid-template-columns: repeat(5, minmax(90px, 1fr));
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .proof-hoop {
    margin: 20px auto 0;
  }

  .route-design-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-detail,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .process-story {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .process-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }
}

@media (max-width: 600px) {
  .public-header {
    min-height: 64px;
  }

  .public-brand span {
    font-size: 1rem;
  }

  .public-account-actions .public-button {
    display: none;
  }

  .public-hero {
    min-height: 760px;
    align-items: flex-end;
  }

  .public-hero::before {
    top: 96px;
    left: -92px;
    width: 190px;
    height: 100px;
  }

  .public-hero::after {
    top: 82px;
    left: auto;
    right: 12px;
    font-size: 18px;
    letter-spacing: 5px;
  }

  .public-hero-image {
    top: 42px;
    right: 50%;
    width: min(82vw, 360px);
    transform: translateX(50%) rotate(1deg);
  }

  .public-hero-content {
    width: 100%;
    padding: 432px 22px 34px;
  }

  .public-hero h1 {
    font-size: 2.7rem;
  }

  .public-hero p {
    margin: 0;
    line-height: 1.45;
  }

  .public-hero-content > div {
    margin-top: 18px;
  }

  .free-promise {
    flex-direction: column;
  }

  .stitched-wander {
    width: 150px;
    opacity: 0.48;
  }

  .stitched-wander-workflow,
  .stitched-wander-shop {
    top: 18px;
    right: -78px;
  }

  .stitched-wander-proof {
    bottom: -26px;
    left: -86px;
  }

  .stitched-wander-community {
    right: -68px;
    bottom: -28px;
  }

  .stitched-wander-safety {
    top: -36px;
    left: auto;
    right: -72px;
  }

  .stitched-wander-process {
    right: -86px;
    bottom: 32px;
  }

  .design-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .route-design-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-facts {
    grid-template-columns: 1fr;
  }

  .design-card > span {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

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

  .commerce-story li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .public-footer {
    grid-template-columns: 1fr;
  }

  .public-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 22px;
  }

  .public-footer-links nav {
    display: grid;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .public-hero-image {
    animation: hero-hoop-arrive 700ms ease-out both;
  }

  .public-hero-image::before {
    animation: hero-spark-float 3.2s ease-in-out infinite;
  }
}

@keyframes hero-hoop-arrive {
  from {
    opacity: 0;
    transform: translateY(-46%) rotate(3deg) scale(0.96);
  }
}

@keyframes hero-spark-float {
  50% {
    transform: translateY(-7px) rotate(5deg);
  }
}
