:root {
  --shade-a: #FFDE42;
  --shade-b: #4C5C2D;
  --shade-c: #313E17;
  --shade-d: #1B0C0C;
  --tone-bg: #f8f8f2;
  --tone-text: #101105;
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --space-xs: 0.4rem;
  --space-sm: 0.7rem;
  --space-md: 1rem;
  --space-lg: 1.6rem;
  --space-xl: 2.4rem;
  --radius-sm: 0.6rem;
  --radius-md: 1rem;
  --shadow-soft: 0 0.6rem 1.2rem rgba(27, 12, 12, 0.13);
  --speed: 0.3s ease;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--tone-bg);
  color: var(--tone-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  overflow-x: hidden;
}

img, iframe, canvas {
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  margin: 0 0 var(--space-sm);
  line-height: 1.1;
}

p, a, li, button, input, textarea, label {
  font-size: 0.94rem;
}

a {
  color: var(--shade-c);
  text-decoration: none;
}

main {
  width: min(72rem, 94%);
  margin: 0 auto var(--space-xl);
}

.basic-header {
  width: min(72rem, 94%);
  margin: var(--space-md) auto;
  position: relative;
  z-index: 10;
}

.basic-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  background: #ffffff;
  border: 1px solid rgba(49, 62, 23, 0.16);
  border-radius: var(--radius-md);
}

.basic-logo {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--shade-c);
}

.basic-toggle {
  border: none;
  background: var(--shade-c);
  color: #fff;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: none;
}

.basic-menu {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  transition: opacity var(--speed);
}

.basic-menu a {
  color: var(--shade-c);
  padding: 0.3rem 0.45rem;
  border-radius: var(--radius-sm);
}

.basic-menu a:hover {
  background: rgba(49, 62, 23, 0.08);
}

.hero-wave {
  position: relative;
  border-radius: var(--radius-md);
  min-height: 28rem;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(255, 222, 66, 0.4), rgba(49, 62, 23, 0.9));
  margin-bottom: var(--space-xl);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 31rem;
  padding: var(--space-xl) var(--space-lg);
  color: #fff;
}

.hero-copy h1 {
  font-size: clamp(1.5rem, 3.6vw, 2.6rem);
}

.tagline {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn-core {
  display: inline-block;
  margin-top: var(--space-sm);
  background: var(--shade-a);
  color: var(--shade-d);
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.slice-overlap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.tilt-card {
  flex: 1 1 17rem;
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
}

.tilt-card:first-child {
  transform: rotate(-2deg);
}

.tilt-card:last-child {
  transform: rotate(1.5deg) translateY(0.6rem);
}

.photo-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.photo-ribbon figure {
  margin: 0;
  flex: 1 1 16rem;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.photo-ribbon img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--speed);
}

.photo-ribbon img:hover {
  transform: scale(1.04);
}

.compact-flow, .review-bend, .contact-panel, .form-section, .sub-hero, .contact-creative, .asym-product {
  margin-bottom: var(--space-xl);
}

.flow-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.flow-grid article {
  flex: 1 1 15rem;
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.review-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.review-strip article {
  flex: 1 1 16rem;
  background: linear-gradient(120deg, var(--shade-a), #fff4ba);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.contact-pack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: stretch;
}

.contact-pack iframe, .contact-panel iframe {
  border: 0;
  border-radius: var(--radius-md);
  flex: 1 1 18rem;
  min-height: 16rem;
  width: 100%;
}

.micro-footer {
  width: min(72rem, 94%);
  margin: 0 auto var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  background: var(--shade-d);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: space-between;
  align-items: center;
}

.micro-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.micro-footer a {
  color: #fff;
}

.asym-product {
  position: relative;
  min-height: 22rem;
}

.product-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  width: min(22rem, 100%);
  box-shadow: var(--shadow-soft);
}

.skew-left {
  margin-left: 0;
  transform: translateX(0) rotate(-2deg);
}

.skew-right {
  margin-left: auto;
  transform: translateY(-1.2rem) rotate(2deg);
}

.lift-up {
  margin-left: 12%;
  transform: translateY(-0.6rem);
}

.contact-creative {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.float-note {
  flex: 1 1 14rem;
  background: #fff;
  border-left: 0.35rem solid var(--shade-b);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
}

.form-section form {
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: grid;
  gap: var(--space-xs);
}

input, textarea {
  width: 100%;
  border: 1px solid #d2d2d2;
  border-radius: var(--radius-sm);
  padding: 0.45rem;
  font-family: var(--font-body);
}

textarea {
  min-height: 7.5rem;
}

.consent-line {
  display: flex;
  gap: var(--space-xs);
  align-items: start;
}

.consent-line input {
  width: auto;
  margin-top: 0.2rem;
}

.policy-popup {
  position: fixed;
  right: var(--space-md);
  bottom: var(--space-md);
  width: min(22rem, 94%);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--space-md);
  z-index: 20;
  display: none;
}

.policy-popup.show {
  display: block;
  animation: rise 0.3s ease;
}

.system-wrap, .legal-wrap {
  width: min(64rem, 94%);
  margin: var(--space-xl) auto;
}

.legal-wrap section {
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
}

@keyframes rise {
  from {
    transform: translateY(0.7rem);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (min-width: 1200px) {
  html, body {
    font-size: 16px;
  }

  .hero-wave {
    min-height: 32rem;
  }
}

@media (max-width: 1024px) {
  main, .basic-header, .micro-footer {
    width: min(72rem, 95%);
  }

  .hero-copy {
    max-width: 28rem;
  }
}

@media (max-width: 880px) {
  .contact-pack {
    flex-direction: column;
  }

  .contact-pack iframe, .contact-panel iframe {
    min-height: 14rem;
  }

  .micro-footer {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 760px) {
  html, body {
    font-size: 14px;
  }

  .hero-wave {
    min-height: 22rem;
  }

  .hero-copy {
    padding: var(--space-lg) var(--space-md);
  }

  .basic-shell {
    padding: var(--space-xs) var(--space-sm);
  }

  .basic-toggle {
    display: inline-block;
    position: relative;
    z-index: 50;
  }

  .basic-menu {
    display: none;
    gap: var(--space-xs);
    padding: var(--space-lg) var(--space-md);
    margin-top: 0;
    border-radius: 0;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 40;
    background: rgba(49, 62, 23, 0.98);
  }

  .basic-menu.open {
    display: flex;
  }

  .basic-menu a {
    font-size: 1.1rem;
    padding: var(--space-sm) var(--space-md);
    color: #fff;
  }

  .flow-grid article, .review-strip article, .float-note, .tilt-card, .product-card {
    flex-basis: 100%;
  }

  .skew-right, .lift-up, .skew-left {
    margin-left: 0;
    transform: none;
    width: 100%;
  }

  .policy-popup {
    right: var(--space-xs);
    bottom: var(--space-xs);
    width: calc(100% - 0.8rem);
  }
}

@media (max-width: 520px) {
  main, .basic-header, .micro-footer, .system-wrap, .legal-wrap {
    width: 94%;
  }

  .hero-wave {
    min-height: 18rem;
  }

  .hero-copy {
    padding: var(--space-md) var(--space-sm);
  }

  .btn-core {
    width: 100%;
    text-align: center;
  }

  .basic-logo {
    font-size: 1.05rem;
  }

  .basic-menu a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 390px) {
  html, body {
    font-size: 13px;
  }

  .basic-shell {
    gap: var(--space-xs);
  }

  .tagline {
    font-size: 0.68rem;
  }

  .micro-footer nav {
    justify-content: center;
  }
}

@media (max-width: 320px) {
  :root {
    --space-xs: 0.32rem;
    --space-sm: 0.5rem;
    --space-md: 0.75rem;
    --space-lg: 1.1rem;
    --space-xl: 1.6rem;
  }

  html, body {
    font-size: 12px;
  }

  .hero-wave {
    min-height: 15.5rem;
  }

  .basic-logo {
    font-size: 0.95rem;
  }

  .basic-toggle {
    padding: 0.35rem 0.45rem;
  }

  .basic-menu a {
    text-align: center;
  }

  input, textarea, .btn-core {
    font-size: 0.9rem;
  }
}
