:root {
  --ink: #211c18;
  --muted: #716b61;
  --paper: #f5f1e8;
  --paper-deep: #e9dfcf;
  --line: rgba(53, 44, 34, 0.16);
  --accent: #a54928;
  --accent-dark: #7d321d;
  --accent-pale: #ead0c0;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--paper); }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(185, 111, 74, 0.13), transparent 25rem),
    radial-gradient(circle at 96% 92%, rgba(97, 90, 63, 0.13), transparent 28rem),
    var(--paper);
  font-family: var(--sans);
}

button, input { font: inherit; }

.site-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 38px 24px 26px;
  overflow: hidden;
}

.grain {
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}

.offer {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(380px, 1.05fr);
  width: min(1040px, 100%);
  min-height: 645px;
  margin: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(44, 33, 19, 0.12);
  background: rgba(255, 253, 249, 0.66);
}

.visual-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 645px;
  padding: 44px;
  overflow: hidden;
  color: #fff9f0;
  background:
    radial-gradient(circle at 72% 42%, rgba(230, 174, 126, 0.55), transparent 9.5rem),
    radial-gradient(circle at 28% 78%, rgba(54, 38, 22, 0.48), transparent 16rem),
    linear-gradient(145deg, #2d2118 0%, #5a3020 52%, #8a4327 100%);
}

.visual-panel::before,
.visual-panel::after {
  position: absolute;
  content: '';
  border: 1px solid rgba(255, 247, 234, 0.27);
  border-radius: 50%;
  pointer-events: none;
}

.visual-panel::before {
  width: 38rem;
  height: 38rem;
  right: -26rem;
  bottom: -23rem;
}

.visual-panel::after {
  width: 21rem;
  height: 21rem;
  top: 9rem;
  left: -16rem;
}

.brand { position: relative; z-index: 1; display: inline-flex; width: fit-content; }
.brand img { width: 148px; height: auto; filter: brightness(0) invert(1); }

.eyebrow {
  position: relative;
  z-index: 1;
  margin-top: 104px;
  color: rgba(255, 249, 240, 0.78);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.discount-orb {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  width: fit-content;
  margin-top: 20px;
  color: #fffaf1;
  font-family: var(--serif);
  line-height: 0.77;
  letter-spacing: -0.09em;
}

.discount-orb span { font-size: clamp(7rem, 13vw, 10.6rem); }
.discount-orb small { margin: 0.16em 0 0 0.08em; font-size: clamp(2.5rem, 4.4vw, 3.6rem); letter-spacing: -0.06em; }

.orb-copy {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-style: italic;
  line-height: 1.17;
}

.research-note {
  position: relative;
  z-index: 1;
  margin: auto 0 0;
  max-width: 230px;
  color: rgba(255, 249, 240, 0.77);
  font-size: 0.76rem;
  line-height: 1.55;
}

.molecule {
  position: absolute;
  z-index: 0;
  width: 11px;
  height: 11px;
  border: 1px solid rgba(255, 246, 229, 0.68);
  border-radius: 50%;
}

.molecule::before, .molecule::after { position: absolute; top: 4px; width: 48px; height: 1px; content: ''; background: rgba(255, 246, 229, 0.5); transform-origin: left center; }
.molecule::after { transform: rotate(57deg); }
.molecule-one { top: 25%; right: 58px; }
.molecule-one::before { transform: rotate(-38deg); }
.molecule-two { right: 134px; bottom: 18%; }
.molecule-two::before { transform: rotate(26deg); }

.form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px 68px;
  background: rgba(255, 253, 249, 0.72);
}

.mobile-brand { display: none; }

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(165, 73, 40, 0.24);
  border-radius: 99px;
  color: var(--accent-dark);
  background: #f8ebdf;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(165, 73, 40, 0.12); }

h1 {
  max-width: 520px;
  margin: 22px 0 18px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.55rem);
  font-weight: 500;
  letter-spacing: -0.057em;
  line-height: 1.03;
}

h1 em { color: var(--accent); font-style: italic; white-space: nowrap; }

.intro { max-width: 485px; margin: 0 0 31px; color: var(--muted); font-size: 0.98rem; line-height: 1.65; }

form { display: grid; gap: 16px; }
.field-group { display: grid; gap: 7px; }

label { font-size: 0.77rem; font-weight: 700; letter-spacing: 0.055em; text-transform: uppercase; }

input {
  width: 100%;
  height: 51px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
  color: var(--ink);
  background: rgba(255, 254, 250, 0.88);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input::placeholder { color: #aaa297; }
input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(165, 73, 40, 0.1); }
input[aria-invalid='true'] { border-color: #b23427; }

.field-error { min-height: 1em; margin: 0; color: #ad3226; font-size: 0.75rem; }
.form-status { min-height: 1.15em; margin: 0; color: var(--accent-dark); font-size: 0.83rem; font-weight: 600; }
.form-status.error { color: #ad3226; }
.form-status.success { color: #4d6a3a; }

.submit-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 57px;
  margin-top: 4px;
  padding: 0 19px 0 22px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  color: #fffaf3;
  background: var(--ink);
  box-shadow: 0 10px 18px rgba(42, 31, 20, 0.15);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.submit-button:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 14px 24px rgba(89, 45, 27, 0.24); }
.submit-button:focus-visible { outline: 3px solid #e8aa84; outline-offset: 3px; }
.submit-button:disabled { cursor: wait; opacity: 0.74; transform: none; }
.button-arrow { font-size: 1.45rem; line-height: 0; transition: transform 180ms ease; }
.submit-button:hover .button-arrow { transform: translateX(4px); }

.privacy-note { max-width: 470px; margin: 18px 0 0; color: #8a8378; font-size: 0.7rem; line-height: 1.55; }

.proof-points { display: flex; flex-wrap: wrap; gap: 11px 20px; margin-top: 27px; padding-top: 21px; border-top: 1px solid var(--line); color: #60594f; font-size: 0.72rem; font-weight: 600; }
.proof-points div { display: flex; align-items: center; gap: 6px; }
.proof-points i { color: var(--accent); font-style: normal; }

.compliance { width: min(1040px, 100%); margin: 17px auto 0; color: #746c61; font-size: 0.7rem; line-height: 1.4; text-align: center; }

@media (max-width: 760px) {
  .site-shell { padding: 0; }
  .offer { display: flex; flex-direction: column; min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
  .visual-panel { min-height: 302px; padding: 30px 27px 25px; }
  .visual-panel .brand { display: none; }
  .eyebrow { margin-top: 0; font-size: 0.61rem; }
  .discount-orb { margin-top: 13px; }
  .discount-orb span { font-size: 7.7rem; }
  .discount-orb small { font-size: 2.6rem; }
  .orb-copy { margin-top: 12px; font-size: 1.26rem; }
  .research-note { margin-top: auto; max-width: 205px; font-size: 0.65rem; }
  .molecule-one { top: 23%; right: 35px; }
  .molecule-two { right: 80px; bottom: 24%; }
  .form-panel { flex: 1; padding: 30px 27px 36px; }
  .mobile-brand { display: block; margin-bottom: 28px; }
  .mobile-brand img { width: 135px; }
  h1 { margin-top: 17px; font-size: clamp(2.3rem, 11vw, 3.05rem); }
  .intro { margin-bottom: 25px; font-size: 0.91rem; }
  .proof-points { display: grid; gap: 10px; }
  .compliance { padding: 0 24px 20px; margin-top: 0; background: rgba(255, 253, 249, 0.72); }
}

@media (max-width: 380px) {
  .visual-panel { min-height: 278px; }
  .form-panel { padding-inline: 22px; }
  .discount-orb span { font-size: 6.8rem; }
}

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