:root {
  color-scheme: light;
  --ink: #182a2e;
  --ink-soft: #43524d;
  --paper: #fff7df;
  --paper-deep: #eee2c1;
  --surface: #ffffff;
  --surface-soft: #fff1cc;
  --coral: #c95d42;
  --coral-dark: #933d2c;
  --moss: #4d703b;
  --moss-dark: #244a35;
  --gold: #e2aa3e;
  --gold-soft: #f8dc8a;
  --sky: #82bfe2;
  --blue: #254b5f;
  --lavender: #6f7fa7;
  --line: rgba(23, 39, 51, 0.16);
  --shadow: 0 22px 70px rgba(28, 35, 34, 0.18);
  --radius: 8px;
  --max: 1180px;
  --header-height: 72px;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f7efe2;
  --ink-soft: #d5c6ad;
  --paper: #101c20;
  --paper-deep: #182a2d;
  --surface: #1c3033;
  --surface-soft: #223b3d;
  --coral: #ef8468;
  --coral-dark: #f2a08c;
  --moss: #8bb989;
  --moss-dark: #b8d6a5;
  --gold: #f5c75e;
  --gold-soft: #745c25;
  --sky: #78adc0;
  --blue: #c9e7ec;
  --lavender: #bcaee0;
  --line: rgba(247, 239, 226, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(130, 191, 226, 0.26), transparent 460px),
    var(--paper);
  font-family: "Avenir Next", Avenir, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

img,
canvas {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 44px);
  color: #fff8ea;
  background: rgba(24, 42, 46, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 248, 234, 0.18);
}

[data-theme="dark"] .site-header {
  color: var(--ink);
  background: rgba(16, 28, 32, 0.88);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.brand-name {
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  transform: rotate(180deg);
}

.mark-body,
.mark-face {
  position: absolute;
  display: block;
}

.mark-body {
  inset: 4px 2px 4px 6px;
  background:
    radial-gradient(circle at 58% 60%, #fff8ea 0 2px, transparent 3px),
    radial-gradient(circle at 38% 60%, #fff8ea 0 2px, transparent 3px),
    var(--coral);
  border: 2px solid #fff8ea;
  border-radius: 48% 52% 46% 54%;
}

.mark-body::before {
  content: "";
  position: absolute;
  inset: -5px 18px -5px -7px;
  background: repeating-linear-gradient(135deg, #26333a 0 3px, transparent 3px 7px);
  border-radius: 50%;
  z-index: -1;
}

.mark-face {
  width: 9px;
  height: 9px;
  right: 1px;
  top: 14px;
  background: #fff8ea;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  color: inherit;
  text-decoration: none;
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button,
.icon-button,
.filter-button {
  border: 1px solid transparent;
  border-radius: var(--radius);
  min-height: 44px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
}

.button:hover,
.icon-button:hover,
.filter-button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--coral);
  color: #fff8ea;
  box-shadow: 0 10px 24px rgba(169, 65, 50, 0.24);
}

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

.button.secondary,
.button.ghost {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.site-header .button.secondary,
.site-header .button.ghost {
  color: #fff8ea;
  background: rgba(255, 248, 234, 0.12);
  border-color: rgba(255, 248, 234, 0.24);
}

.button.small {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.9rem;
}

.button.full {
  width: 100%;
}

.icon-button {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  color: inherit;
  background: rgba(255, 248, 234, 0.12);
  border-color: rgba(255, 248, 234, 0.24);
}

.sun-icon {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow:
    0 -8px 0 -6px currentColor,
    0 8px 0 -6px currentColor,
    8px 0 0 -6px currentColor,
    -8px 0 0 -6px currentColor,
    6px 6px 0 -6px currentColor,
    -6px 6px 0 -6px currentColor,
    6px -6px 0 -6px currentColor,
    -6px -6px 0 -6px currentColor;
}

.hero {
  position: relative;
  min-height: min(780px, calc(100svh - 96px));
  overflow: clip;
  display: grid;
  align-items: center;
  color: #fff8ea;
  background: #172733;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-studio-pastoral.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 39, 46, 0.86) 0%, rgba(18, 39, 46, 0.66) 34%, rgba(18, 39, 46, 0.12) 70%),
    linear-gradient(0deg, rgba(18, 39, 46, 0.36), transparent 46%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 32px));
  margin-left: clamp(16px, 7vw, 88px);
  padding: 72px 0 92px;
}

.eyebrow,
.section-kicker,
.quality-label,
.price-label {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.product-copy h3,
.bundle-copy h3,
.modal h2 {
  margin: 0;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

.hero-copy {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 248, 234, 0.88);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.trust-list li {
  padding: 8px 10px;
  border: 1px solid rgba(255, 248, 234, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.1);
  font-size: 0.92rem;
  font-weight: 750;
}

.shelf-strip {
  width: min(var(--max), calc(100% - 32px));
  margin: -42px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 82px;
  padding: 18px;
  background: var(--surface);
  font-weight: 780;
}

.status-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--moss), transparent 76%);
}

.status-dot.live {
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(217, 95, 70, 0.18);
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 0;
}

.intro-band {
  padding-top: clamp(86px, 12vw, 132px);
}

.two-column,
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

.section h2 {
  color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 4.6rem);
}

.stacked-copy,
.about-copy,
.section-note {
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.stacked-copy p,
.about-copy p {
  margin-top: 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.section-note {
  max-width: 360px;
  margin: 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  padding: 9px 13px;
  min-height: 40px;
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  font-weight: 800;
}

.filter-button.is-active {
  color: #fff8ea;
  background: var(--blue);
}

[data-theme="dark"] .filter-button.is-active {
  color: #102024;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 0;
  overflow: hidden;
  text-align: left;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(34, 47, 49, 0.08);
}

.tool-card.is-hidden {
  display: none;
}

.tool-card.is-selected {
  border-color: var(--coral);
  box-shadow: 0 16px 42px rgba(217, 95, 70, 0.18);
}

.tool-thumb {
  position: relative;
  height: 152px;
  overflow: hidden;
  background: var(--paper-deep);
}

.tool-thumb > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #f6ead4;
}

.thumb-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.thumb-art::before,
.thumb-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.thumb-art::before {
  width: 74px;
  height: 74px;
  background: var(--thumb-main, var(--coral));
  box-shadow:
    -58px 34px 0 -18px var(--thumb-accent, var(--moss)),
    64px -20px 0 -20px var(--gold);
}

.thumb-art::after {
  width: 156px;
  height: 14px;
  bottom: 28px;
  background: rgba(23, 39, 51, 0.18);
  border-radius: 999px;
}

.thumb-face {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 70px;
  border-radius: 46% 54% 50% 50%;
  background:
    radial-gradient(circle at 36% 42%, var(--paper) 0 4px, transparent 5px),
    radial-gradient(circle at 61% 42%, var(--paper) 0 4px, transparent 5px),
    var(--thumb-main, var(--coral));
  box-shadow: inset -10px -9px 0 rgba(0, 0, 0, 0.08);
}

.tool-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px;
}

.tool-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.tag,
.product-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 850;
}

.tool-card h3 {
  margin: 0;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.04;
}

.tool-card p {
  margin: 12px 0 18px;
  color: var(--ink-soft);
}

.tool-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  font-weight: 900;
}

.tool-footer span {
  color: var(--coral-dark);
}

.tool-footer .mini-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff8ea;
  background: var(--blue);
  border-radius: var(--radius);
}

[data-theme="dark"] .tool-footer .mini-arrow {
  color: #102024;
}

.product-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.86fr);
  gap: 18px;
  align-items: start;
}

.living-preview,
.product-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.living-preview {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  background:
    linear-gradient(180deg, #fff7df, #ecd39a 72%, #746650);
  box-shadow:
    0 24px 54px rgba(28, 35, 34, 0.16),
    inset 0 0 0 4px rgba(24, 42, 46, 0.06);
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 248, 234, 0.74);
  font-weight: 900;
}

.preview-controls {
  display: inline-flex;
  gap: 7px;
}

.preview-controls span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.preview-controls span:nth-child(2) {
  background: var(--gold);
}

.preview-controls span:nth-child(3) {
  background: var(--moss);
}

#artifactCanvas {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.creature-stage {
  position: absolute;
  inset: auto 24px 22px 24px;
  height: 104px;
  pointer-events: none;
}

.creature {
  position: absolute;
  bottom: 0;
  width: 68px;
  height: 62px;
  border: 3px solid rgba(24, 42, 46, 0.18);
  border-radius: 8px 8px 14px 14px;
  background:
    radial-gradient(circle at 36% 40%, #fff8ea 0 4px, transparent 5px),
    radial-gradient(circle at 61% 40%, #fff8ea 0 4px, transparent 5px),
    var(--moss);
  box-shadow:
    inset -10px -8px 0 rgba(0, 0, 0, 0.1),
    8px 12px 0 rgba(24, 42, 46, 0.08);
}

.creature::before,
.creature::after {
  content: "";
  position: absolute;
  bottom: 18px;
  width: 14px;
  height: 18px;
  background: inherit;
  border-radius: 6px;
}

.creature::before {
  left: -6px;
  transform: rotate(-28deg);
}

.creature::after {
  right: -6px;
  transform: rotate(28deg);
}

.creature-one {
  left: 4%;
  background:
    radial-gradient(circle at 36% 42%, #fff8ea 0 4px, transparent 5px),
    radial-gradient(circle at 61% 42%, #fff8ea 0 4px, transparent 5px),
    var(--blue);
}

.creature-two {
  right: 10%;
  width: 56px;
  height: 56px;
  background:
    radial-gradient(circle at 36% 42%, #fff8ea 0 3px, transparent 4px),
    radial-gradient(circle at 61% 42%, #fff8ea 0 3px, transparent 4px),
    var(--gold);
}

.message-bubble {
  position: absolute;
  left: 20%;
  bottom: 84px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(23, 39, 51, 0.12);
}

.product-copy {
  padding: clamp(22px, 3.4vw, 34px);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.product-copy h3 {
  font-size: clamp(2.15rem, 4.2vw, 3.7rem);
}

.product-hook {
  color: var(--coral-dark);
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  font-weight: 850;
}

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

.quality-grid > div {
  padding: 14px;
  background: var(--surface-soft);
}

.quality-grid strong {
  display: block;
  margin-bottom: 6px;
}

.quality-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.buy-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.buy-panel strong {
  display: block;
  font-size: 1.6rem;
}

.buy-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 10px;
}
.bundle-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.bundle-copy,
.bundle-items {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.bundle-copy {
  padding: 26px;
}

.bundle-copy h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.bundle-items {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.bundle-items span {
  display: grid;
  place-items: center;
  min-height: 148px;
  padding: 16px;
  text-align: center;
  font-weight: 900;
  background: var(--surface-soft);
}

.launch-artifact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(34px, 5vw, 48px);
  color: #fff8ea;
  background:
    linear-gradient(135deg, rgba(24, 42, 46, 0.88), rgba(36, 74, 53, 0.82)),
    url("assets/hero-studio-pastoral.png") center / cover;
  border: 1px solid rgba(255, 248, 234, 0.24);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.launch-artifact h2 {
  max-width: 640px;
  color: #fff8ea;
  font-size: clamp(2rem, 4vw, 4rem);
}

.launch-artifact p {
  max-width: 620px;
  margin: 16px 0 0;
  color: rgba(255, 248, 234, 0.84);
}

.artifact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: end;
}

.launch-artifact .button.secondary {
  color: #fff8ea;
  background: rgba(255, 248, 234, 0.12);
  border-color: rgba(255, 248, 234, 0.28);
}

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

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.featured-price {
  border-color: var(--coral);
  box-shadow: var(--shadow);
}

.price-top h3 {
  margin: 0;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: 2rem;
}

.price-top p,
.fine-print {
  color: var(--ink-soft);
}

.price {
  display: block;
  margin: 18px 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}

.price span:last-child {
  font-size: 1rem;
  color: var(--ink-soft);
}

.feature-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 12px 0 28px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  background: var(--moss);
  border-radius: 50%;
}

.price-card .button {
  margin-top: auto;
}

.seat-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  font-weight: 900;
}

.stepper {
  display: grid;
  grid-template-columns: 40px 74px 40px;
  gap: 4px;
}

.stepper button,
.stepper input {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  text-align: center;
  font-weight: 900;
}

.stepper input {
  width: 74px;
}

.cosmetic-shelf {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.cosmetic-shelf button {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px;
  color: var(--ink);
  text-align: left;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
}

.avatar {
  width: 42px;
  height: 42px;
  display: block;
  border-radius: 46% 54% 48% 52%;
  background:
    radial-gradient(circle at 36% 42%, #fff8ea 0 3px, transparent 4px),
    radial-gradient(circle at 61% 42%, #fff8ea 0 3px, transparent 4px),
    var(--moss);
}

.avatar.lantern {
  background:
    radial-gradient(circle at 36% 42%, #fff8ea 0 3px, transparent 4px),
    radial-gradient(circle at 61% 42%, #fff8ea 0 3px, transparent 4px),
    var(--gold);
}

.avatar.sprout {
  background:
    radial-gradient(circle at 36% 42%, #fff8ea 0 3px, transparent 4px),
    radial-gradient(circle at 61% 42%, #fff8ea 0 3px, transparent 4px),
    var(--coral);
}

.signup-section {
  width: 100%;
  max-width: none;
  padding: clamp(64px, 8vw, 98px) clamp(16px, 4vw, 44px);
  background:
    linear-gradient(135deg, rgba(36, 74, 53, 0.96), rgba(37, 75, 95, 0.94)),
    var(--moss-dark);
  color: #fff8ea;
}

.signup-panel {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.signup-panel h2 {
  color: #fff8ea;
}

.signup-panel p {
  color: rgba(255, 248, 234, 0.82);
}

.email-form {
  padding: 18px;
  border: 1px solid rgba(255, 248, 234, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.1);
}

.email-form label,
.modal label,
.checkout-form label {
  display: block;
  margin-bottom: 7px;
  font-weight: 900;
}

.email-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-message {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.signup-section .form-message {
  color: rgba(255, 248, 234, 0.86);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  font-weight: 850;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(16px, 4vw, 44px);
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.modal {
  width: min(620px, calc(100% - 24px));
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.modal::backdrop {
  background: rgba(12, 20, 24, 0.62);
  backdrop-filter: blur(6px);
}

.modal-shell {
  position: relative;
  padding: clamp(22px, 5vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--ink);
  background: var(--surface-soft);
  border-color: var(--line);
  font-weight: 900;
}

.modal-header {
  padding-right: 34px;
  margin-bottom: 22px;
}

.modal h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.modal-actions {
  display: flex;
  justify-content: end;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
}

.checkout-modal {
  width: min(920px, calc(100% - 24px));
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 24px;
}

.checkout-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.checkout-summary span {
  color: var(--ink-soft);
}

.checkout-form {
  display: grid;
  gap: 10px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media {
    animation: slow-breathe 14s ease-in-out infinite alternate;
  }

  .creature-one {
    animation: bob 4s ease-in-out infinite;
  }

  .creature-two {
    animation: bob 4.8s ease-in-out infinite 600ms;
  }

  .message-bubble {
    animation: bob 4.5s ease-in-out infinite 300ms;
  }
}

@keyframes slow-breathe {
  from {
    transform: scale(1.01);
  }
  to {
    transform: scale(1.045);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1040px) {
  .catalog-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-shell,
  .bundle-layout,
  .launch-artifact {
    grid-template-columns: 1fr;
  }

  .living-preview {
    min-height: 520px;
  }

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

}

@media (max-width: 820px) {
  .site-header {
    align-items: start;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .brand-name {
    white-space: normal;
  }

  .hero {
    min-height: min(720px, calc(100svh - 128px));
  }

  .hero-media {
    background-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(18, 39, 46, 0.94) 0%, rgba(18, 39, 46, 0.78) 58%, rgba(18, 39, 46, 0.36) 100%),
      linear-gradient(0deg, rgba(18, 39, 46, 0.5), transparent 44%);
  }

  .hero-inner {
    padding: 42px 0 86px;
  }

  .shelf-strip {
    grid-template-columns: 1fr;
  }

  .two-column,
  .about-layout,
  .signup-panel,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

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

  .artifact-actions {
    justify-content: start;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .header-actions .button {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 15vw, 4.2rem);
  }

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

  .tool-card {
    min-height: 320px;
  }

  .product-copy h3 {
    font-size: clamp(2.1rem, 12vw, 3rem);
  }

  .buy-panel,
  .email-row,
  .modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .email-row {
    display: flex;
  }

  .buy-actions,
  .buy-actions .button,
  .artifact-actions .button {
    width: 100%;
  }

  .living-preview {
    min-height: 420px;
  }

  .creature-stage {
    height: 94px;
  }

  .creature {
    width: 58px;
    height: 58px;
  }
}
