:root {
  color-scheme: light;
  --ink: #101312;
  --muted: #5c6662;
  --line: #dfe7e2;
  --paper: #fbfcfa;
  --panel: #ffffff;
  --brand: #075f46;
  --brand-2: #0b7f5f;
  --gold: #b8761f;
  --rose: #9f2e4d;
  --blue: #2669c9;
  --shadow: 0 18px 45px rgba(16, 19, 18, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 30;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.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;
}

.announcement {
  background: var(--ink);
  color: white;
  text-align: center;
  padding: 9px 16px;
  font-size: 0.85rem;
  font-weight: 750;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 252, 250, 0.93);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  padding: 8px;
}

.brand-lockup img {
  width: 66px;
  max-height: 66px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 720;
}

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

.nav-links a:hover {
  color: var(--brand);
}

.button,
.shop-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-weight: 860;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.shop-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.button.secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}

.button.green {
  background: var(--brand);
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 34px;
}

.hero-logo {
  width: min(430px, 84vw);
  margin: 0 auto 26px;
}

.eyebrow {
  color: var(--brand);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  margin: 0 0 12px;
}

.hero-copy {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 30px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.55rem, 7vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: 0;
  font-weight: 950;
}

.hero-copy p,
.page-hero p {
  max-width: 710px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
  font-weight: 580;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.quick-shop {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px auto 0;
  max-width: 760px;
}

.quick-shop a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 70px;
  min-height: 42px;
  border: 1px solid rgba(20, 68, 55, 0.18);
  border-radius: 8px;
  padding: 8px 12px;
  background:
    linear-gradient(135deg, rgba(20, 68, 55, 0.08), rgba(255, 255, 255, 0.72)),
    color-mix(in srgb, var(--accent, var(--brand)) 8%, white);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 850;
  box-shadow: 0 0 14px rgba(20, 68, 55, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.quick-shop img {
  width: 48px;
  height: 24px;
  object-fit: contain;
  opacity: 0.82;
  mix-blend-mode: multiply;
}

.quick-shop a:hover {
  border-color: rgba(20, 68, 55, 0.38);
  color: var(--brand);
  background:
    linear-gradient(135deg, rgba(20, 68, 55, 0.12), rgba(255, 255, 255, 0.78)),
    color-mix(in srgb, var(--accent, var(--brand)) 13%, white);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 26px;
}

.trust-item {
  background:
    linear-gradient(135deg, rgba(20, 68, 55, 0.055), rgba(255, 255, 255, 0.74)),
    rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(20, 68, 55, 0.16);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 0 18px rgba(20, 68, 55, 0.055);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.trust-item strong {
  display: block;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1;
  font-weight: 950;
}

.trust-item span {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 720;
  font-size: 0.88rem;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.market-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 276px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-decoration: none;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.market-card.marketplace-link {
  justify-content: flex-end;
  min-height: 360px;
  border: 2pt solid #144437;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.07) 38%, rgba(16, 19, 18, 0.78) 100%),
    var(--market-bg),
    white;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 16px rgba(20, 68, 55, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.market-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent, var(--brand)) 55%, var(--line));
  box-shadow: var(--shadow);
}

.market-card.marketplace-link:hover {
  border-color: #144437;
  box-shadow: 0 0 22px rgba(20, 68, 55, 0.38), 0 18px 45px rgba(16, 19, 18, 0.14);
}

.market-card h2,
.market-card h3 {
  margin: 0 0 8px;
  font-size: 1.32rem;
  line-height: 1.05;
  font-weight: 950;
}

.market-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 590;
}

.market-card.marketplace-link p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 760;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.34);
}

.market-card .shop-button {
  margin-top: auto;
  width: 100%;
  background: var(--accent, var(--brand));
}

.guide-card {
  min-height: 286px;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent, var(--brand)) 13%, transparent), transparent 42%),
    linear-gradient(135deg, rgba(20, 68, 55, 0.07), rgba(255, 255, 255, 0.82)),
    rgba(255, 255, 255, 0.78);
  border-color: rgba(20, 68, 55, 0.18);
  box-shadow: 0 0 18px rgba(20, 68, 55, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.guide-logo {
  width: 76px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 68, 55, 0.1), rgba(255, 255, 255, 0.56)),
    color-mix(in srgb, var(--accent, var(--brand)) 14%, white);
  border: 1px solid rgba(20, 68, 55, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38), 0 0 14px rgba(20, 68, 55, 0.08);
}

.guide-logo img {
  width: 56px;
  height: 32px;
  object-fit: contain;
  opacity: 0.78;
  mix-blend-mode: multiply;
}

.guide-card .shop-button {
  background: color-mix(in srgb, var(--accent, var(--brand)) 72%, rgba(20, 68, 55, 0.32));
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 16px rgba(20, 68, 55, 0.12);
}

.market-card.marketplace-link .shop-button {
  margin-top: 18px;
  background: color-mix(in srgb, var(--accent, var(--brand)) 76%, transparent);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 0 16px rgba(20, 68, 55, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sale-badge {
  display: none;
  width: fit-content;
  margin: 0 0 12px;
  border-radius: 999px;
  padding: 6px 9px;
  background: #fff3d7;
  color: #6f4200;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.market-card.marketplace-link .sale-badge {
  position: absolute;
  top: 10px;
  left: 16px;
  z-index: 2;
  margin: 0;
  background: rgba(255, 243, 215, 0.78);
  border: 1px solid rgba(20, 68, 55, 0.34);
  box-shadow: 0 0 14px rgba(20, 68, 55, 0.34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sale-badge.is-active {
  display: inline-flex;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.section.tight {
  padding-top: 34px;
}

.section-header {
  max-width: 740px;
  margin-bottom: 28px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1;
  font-weight: 950;
}

.section-header p,
.plain-copy {
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 580;
}

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

.category-card {
  min-height: 250px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ink);
  position: relative;
  color: white;
}

.category-card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  opacity: 0.9;
}

.category-card strong {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  font-size: 1.25rem;
  line-height: 1.05;
  font-weight: 950;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.proof-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 42px);
}

.proof-panel.dark {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.proof-panel h3 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3.4vw, 2.8rem);
  line-height: 1.02;
}

.proof-panel p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.proof-panel.dark p {
  color: rgba(255, 255, 255, 0.72);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.check-list li::before {
  content: "OK";
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 950;
}

.email-panel {
  background: var(--brand);
  color: white;
  border-radius: 8px;
  padding: clamp(24px, 5vw, 46px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.email-panel p {
  color: rgba(255, 255, 255, 0.78);
}

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

.email-form input {
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 12px 14px;
  font: inherit;
  font-weight: 700;
}

.email-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: white;
  font-weight: 750;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  background: white;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-weight: 740;
}

.footer-links a {
  text-decoration: none;
}

.fine-print {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 8px 0 0;
}

.page-hero {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 62px 0 38px;
  text-align: center;
}

.marketplace-page-card {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.marketplace-page-card .visual {
  min-height: 260px;
  background: #eef5f0;
  display: grid;
  place-items: center;
  padding: 34px;
}

.marketplace-page-card .visual img {
  max-height: 260px;
  object-fit: contain;
}

.marketplace-page-card .body {
  padding: clamp(22px, 5vw, 42px);
}

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

.detail {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.detail strong {
  display: block;
  font-weight: 950;
}

.detail span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

@media (max-width: 980px) {
  .market-grid,
  .category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-row,
  .proof-grid,
  .email-panel {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .nav {
    min-height: 66px;
  }

  .brand-lockup img {
    width: 56px;
    max-height: 56px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 38px;
  }

  .market-grid,
  .trust-row,
  .category-strip,
  .proof-grid,
  .email-panel,
  .footer-inner,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  #shop.market-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    margin-inline: -16px;
    padding: 8px 16px 22px;
    scrollbar-width: none;
    outline: none;
  }

  #shop.market-grid::-webkit-scrollbar {
    display: none;
  }

  #shop.market-grid:focus,
  #shop.market-grid:target {
    outline: none;
  }

  .market-card {
    min-height: 230px;
  }

  .guide-card {
    min-height: 260px;
  }

  .market-card.marketplace-link {
    flex: 0 0 min(82vw, 320px);
    min-height: 370px;
    scroll-snap-align: center;
    padding: 14px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(16, 19, 18, 0.05) 34%, rgba(16, 19, 18, 0.72) 70%, rgba(16, 19, 18, 0.9) 100%),
      var(--market-bg),
      white;
    background-size: cover;
    background-position: center top;
  }

  .market-card.marketplace-link p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .market-card.marketplace-link .sale-badge {
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    white-space: normal;
    line-height: 1.1;
  }

  .market-card.marketplace-link .shop-button {
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 8px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
