:root {
  --amber: #f07800;
  --amber-dark: #c95400;
  --cream: #fff6e8;
  --cream-soft: #fffaf0;
  --navy: #06182d;
  --text: #243044;
  --muted: #6b778c;
  --teal: #08766f;
  --border: rgba(194, 110, 24, 0.22);
  --shadow: 0 24px 70px rgba(105, 55, 8, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #f8dcae;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.65) 0 62px, transparent 64px),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.4) 0 96px, transparent 98px),
    radial-gradient(circle at 70% 78%, rgba(240, 120, 0, 0.18) 0 140px, transparent 142px),
    linear-gradient(180deg, #fff4df 0%, #ffd58e 48%, #f07800 100%);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.46;
  background-image:
    radial-gradient(circle at 20px 30px, rgba(255, 255, 255, 0.5) 0 3px, transparent 4px),
    radial-gradient(circle at 120px 90px, rgba(255, 255, 255, 0.35) 0 6px, transparent 7px),
    radial-gradient(circle at 70px 160px, rgba(255, 255, 255, 0.35) 0 11px, transparent 12px);
  background-size: 180px 220px;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-size: 23px;
  font-weight: 900;
  background: linear-gradient(145deg, var(--amber), #ff9f18);
  box-shadow: 0 12px 28px rgba(240, 120, 0, 0.32);
}

.brand-name {
  color: var(--navy);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav-links a {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  background: rgba(255, 250, 240, 0.68);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: stretch;
  padding: 34px 0 22px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid var(--border);
  border-radius: 32px;
  background: rgba(255, 250, 240, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

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

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(50px, 9vw, 96px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(30px, 4.8vw, 48px);
  line-height: 1;
}

h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 21px;
}

p {
  margin: 0;
  line-height: 1.55;
}

.hero-subtitle {
  max-width: 760px;
  margin-top: 22px;
  color: #334155;
  font-size: clamp(19px, 2.4vw, 25px);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  background: linear-gradient(180deg, #ff9d1f, var(--amber));
  box-shadow: 0 14px 30px rgba(240, 120, 0, 0.28);
}

.button.secondary {
  color: var(--navy);
  border-color: var(--border);
  background: rgba(255, 250, 240, 0.76);
  box-shadow: none;
}

.hero-art {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 32px;
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.75) 0 72px, transparent 74px),
    linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(255, 234, 194, 0.72));
  box-shadow: var(--shadow);
}

.pint {
  position: absolute;
  right: 17%;
  bottom: 46px;
  width: 96px;
  height: 265px;
  border: 8px solid rgba(255, 255, 255, 0.88);
  border-radius: 34px 34px 22px 22px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent 24%, rgba(255, 255, 255, 0.35) 64%, transparent),
    linear-gradient(180deg, #fff 0 16%, #f6a72d 17%, #c96600 100%);
  box-shadow: inset 0 0 0 2px rgba(124, 52, 0, 0.08), 0 24px 44px rgba(120, 66, 0, 0.22);
}

.pint::before {
  position: absolute;
  top: 24px;
  left: 18px;
  width: 16px;
  height: 82px;
  border-radius: 999px;
  content: "";
  background: rgba(255, 255, 255, 0.42);
}

.hop {
  position: absolute;
  right: 7%;
  bottom: 54px;
  width: 92px;
  height: 118px;
  transform: rotate(-18deg);
}

.hop span {
  position: absolute;
  width: 48px;
  height: 70px;
  border-radius: 50% 50% 50% 10%;
  background: #2e7d32;
}

.hop span:nth-child(1) { left: 18px; top: 0; }
.hop span:nth-child(2) { left: 0; top: 38px; transform: rotate(-42deg); }
.hop span:nth-child(3) { right: 0; top: 38px; transform: rotate(42deg); }
.hop span:nth-child(4) { left: 22px; top: 64px; background: #6d9f3d; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.card,
.legal-card,
.auth-card {
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 18px 42px rgba(105, 55, 8, 0.12);
  backdrop-filter: blur(14px);
}

.card {
  padding: 22px;
}

.icon-pill {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 17px;
  color: var(--amber-dark);
  font-size: 22px;
  background: rgba(255, 230, 187, 0.86);
}

.card p,
.legal-card p,
.auth-card p {
  color: #4b5565;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  margin-top: 22px;
}

.legal-card,
.auth-card {
  padding: clamp(24px, 5vw, 44px);
}

.legal-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #4b5565;
  line-height: 1.65;
}

.draft {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--amber-dark);
  font-size: 13px;
  font-weight: 900;
  background: rgba(255, 221, 176, 0.72);
}

.auth-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
}

.auth-card {
  width: min(560px, 100%);
  text-align: center;
}

.loader {
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
  border: 7px solid rgba(240, 120, 0, 0.16);
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding: 22px 0;
  color: rgba(6, 24, 45, 0.72);
  font-size: 14px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 820px) {
  .site-shell {
    width: min(100% - 28px, 640px);
    padding-top: 18px;
  }

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

  .nav-links {
    justify-content: flex-start;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 300px;
  }

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