/* Bundingo – one small stylesheet, no framework. Everything except the product photos is vector. */
:root {
  --bg: #fcfbf3;
  --surface: #ffffff;
  --ink: #1c1c1c;
  --muted: #5f615c;
  --line: #e5e5dd;
  --accent: #1b5e3b;
  --accent-hover: #154a2f;
  --accent-ink: #ffffff;
  --accent-soft: #e3efe7;
  --warn-bg: #fff3d6;
  --warn-ink: #5a3d00;
  --warn-line: #f0d9a0;
  --band: #1c1c1c;
  --band-ink: #fcfbf3;
  --blob-1: #e8623a;
  --blob-2: #f2c14e;
  --blob-3: #2a9d8f;
  --star: #d1a21b;
  --star-off: #ddd9cf;
  --radius: 16px;
  --radius-lg: 24px;
  --max: 74rem;
  --font-body:
    'Helvetica Neue', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display:
    'Avenir Next', 'Helvetica Neue', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial,
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
}

h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.display {
  text-transform: uppercase;
  font-size: clamp(2.6rem, 1.4rem + 6vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-inline: auto;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1.5px;
}

a:hover {
  text-decoration-thickness: 2.5px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 0 0 8px 8px;
  z-index: 10;
}

.skip-link:focus {
  top: 0;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--ink);
  line-height: 1.2;
}

.button:hover {
  background: #000;
  border-color: #000;
}

.button--ghost {
  background: var(--bg);
  color: var(--ink);
}

.button--ghost:hover {
  background: var(--surface);
}

.button--inverse {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}

.button--inverse:hover {
  background: #ffffff;
  border-color: #ffffff;
}

.button--small {
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
}

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-block: 0.85rem;
  flex-wrap: wrap;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark .logo {
  color: var(--accent);
}

.wordmark--inverse {
  color: var(--band-ink);
}

.wordmark--inverse .logo {
  color: var(--band-ink);
}

.site-nav {
  margin-left: auto;
}

.nav {
  display: flex;
  gap: 0.25rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding-block: 0.25rem;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current='page'] {
  border-bottom-color: var(--ink);
}

@media (max-width: 40rem) {
  .site-header__cta {
    display: none;
  }
}

/* Test business banner */
.test-banner {
  background: var(--warn-bg);
  color: var(--warn-ink);
  border-bottom: 1px solid var(--warn-line);
  font-size: 0.95rem;
}

.test-banner p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.4rem;
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  text-align: center;
}

.test-banner a {
  color: inherit;
}

/* Main */
main {
  flex: 1;
}

main.wrap {
  padding-block: clamp(2rem, 5vw, 4rem);
}

main:focus {
  outline: none;
}

.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 60ch;
  text-wrap: pretty;
}

.eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.section {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.section__head h2 {
  margin: 0;
}

.section__sub {
  margin: 0;
  color: var(--muted);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(4rem, 10vw, 8rem) clamp(3.5rem, 9vw, 7rem);
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__sub {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  color: var(--muted);
  max-width: 44ch;
  margin: 1.5rem auto 0;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  display: block;
}

.blob--top {
  top: -1px;
  left: 50%;
  width: clamp(14rem, 36vw, 32rem);
  height: auto;
  transform: translateX(-70%);
  fill: var(--blob-1);
}

.blob--left {
  left: 0;
  bottom: 0;
  width: clamp(8rem, 22vw, 20rem);
  fill: var(--blob-2);
}

.blob--right {
  right: 0;
  bottom: 0;
  width: clamp(9rem, 24vw, 22rem);
  fill: var(--blob-3);
}

/* Product grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 2px rgb(28 28 28 / 0.1),
    0 12px 32px rgb(28 28 28 / 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }

  .card:hover {
    transform: none;
  }
}

.card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.card__media {
  aspect-ratio: 1;
  background: color-mix(in srgb, var(--accent, #1b5e3b) 12%, var(--bg));
}

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

.card__body {
  padding: 1.1rem 1.25rem 1.4rem;
}

.card__title {
  margin-bottom: 0.3rem;
}

.card__link:hover .card__title {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.card__tagline {
  margin: 0;
  color: var(--muted);
}

/* Dark feature band */
.band {
  background: var(--band);
  color: var(--band-ink);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.band__title {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.band__items {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.band__item h3 {
  margin: 1rem 0 0.4rem;
  color: var(--band-ink);
}

.band__item p {
  margin: 0;
  color: #c9c9c0;
  max-width: 32ch;
  margin-inline: auto;
}

.band__item .icon {
  color: var(--blob-2);
}

/* Split section */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 48rem) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 4rem;
  }
}

.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: color-mix(in srgb, var(--accent, #1b5e3b) 12%, var(--bg));
}

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

.split__body p {
  max-width: 52ch;
}

/* CTA */
.cta__card {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.cta__card h2 {
  color: inherit;
}

.cta__card p {
  color: #d7e8dd;
  max-width: 46ch;
  margin-inline: auto;
}

/* Product page */
.product {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 48rem) {
  .product {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 3.5rem;
  }

  .product__media {
    position: sticky;
    top: 1.5rem;
  }
}

.product__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: color-mix(in srgb, var(--accent, #1b5e3b) 12%, var(--bg));
}

.product__media img {
  width: 100%;
  height: auto;
}

.product__rating {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.notice {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.95rem;
}

/* Stars */
.stars {
  display: inline-flex;
  gap: 0.1rem;
  vertical-align: middle;
}

.star {
  width: 1.3rem;
  height: 1.3rem;
  fill: var(--star-off);
}

.stars--sm .star {
  width: 1rem;
  height: 1rem;
}

.star--on {
  fill: var(--star);
}

/* Specs */
.specs {
  margin-top: 3rem;
}

.specs table {
  width: 100%;
  max-width: 44rem;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.specs th,
.specs td {
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.specs tr:last-child th,
.specs tr:last-child td {
  border-bottom: 0;
}

.specs th {
  width: 9rem;
  color: var(--muted);
  font-weight: 600;
}

/* Reviews */
.reviews {
  margin-top: 3rem;
}

.reviews__summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.reviews__list {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.review article {
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
}

.review__header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.review__title {
  margin: 0;
  font-size: 1.1rem;
}

.review__body {
  flex: 1;
}

.review__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

.review__author {
  font-weight: 600;
  color: var(--ink);
}

.trustpilot-widget {
  min-height: 12rem;
}

.related {
  margin-top: 2.5rem;
  color: var(--muted);
}

/* Prose pages */
.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 2rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--band);
  color: var(--band-ink);
  font-size: 0.95rem;
  padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}

.site-footer__brand {
  grid-column: 1 / -1;
}

@media (min-width: 64rem) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: auto;
    padding-right: 3rem;
  }
}

.site-footer__brand p {
  color: #c9c9c0;
  margin-top: 1rem;
  max-width: 36ch;
}

.site-footer__heading {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9c9c0;
  margin: 0 0 0.8rem;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer a {
  color: var(--band-ink);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(252 251 243 / 0.15);
  color: #c9c9c0;
}

.site-footer__legal p {
  margin: 0;
}
