:root {
  --page-bg: #f7f4ed;
  --card-bg: #fffdf8;
  --ink: #202124;
  --muted: #64656a;
  --line: #dedbd2;
  --accent: #fa4391;
  --accent-dark: #fa4391;
  --soft-accent: #e8f3ed;
  --warm: #f3c969;
  --danger: #9c2f2f;
  --success: #fa4391;
  --shadow: 0 18px 55px rgba(33, 36, 40, 0.12);
  --radius-large: 28px;
  --radius-medium: 18px;
  --hero-image: url("hero.jpg");
  --hero-button: #f0c0d2;
}


* {
  box-sizing: border-box;
}

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page-bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 10%, rgba(243, 201, 105, 0.28), transparent 26rem),
    radial-gradient(circle at 90% 85%, rgba(45, 106, 79, 0.12), transparent 28rem),
    var(--page-bg);
}

button,
input {
  font: inherit;
}

a {
  color: var(--accent-dark);
}

.page-shell {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 48px 0;
}

.card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 6vw, 58px);
  background: var(--card-bg);
  border: 1px solid rgba(32, 33, 36, 0.08);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.decor {
  display: none;
}

.decor-one {
  width: 150px;
  height: 150px;
  top: -75px;
  right: -45px;
  background: var(--warm);
  opacity: 0.68;
}

.decor-two {
  width: 90px;
  height: 90px;
  left: -45px;
  top: 38%;
  background: var(--soft-accent);
}

.hero,
.upload-section,
.privacy-note,
.divider {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 8vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 4vw, 2rem);
}

.intro,
.section-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.intro {
  margin-bottom: 28px;
  color: #404246;
  max-width: 520px;
}

.section-copy {
  margin-bottom: 22px;
}

.divider {
  height: 1px;
  margin: 38px 0;
  background: var(--line);
}


.hero {
  margin-bottom: 8px;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 26px;
  background-color: #eaf4fa;
  background-image: var(--hero-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.02) 55%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 530px;
  padding: clamp(12px, 2vw, 20px) clamp(8px, 1vw, 12px);
}

.hero .eyebrow {
  margin-bottom: 14px;
}

.hero h1 {
  max-width: 500px;
  margin-bottom: 20px;
  font-size: clamp(3.4rem, 7.1vw, 4.5rem);
  line-height: 0.92;
}

.hero-cta {
  color: #fff;
  background: #fa4391;
  box-shadow: 0 10px 28px rgba(250, 67, 145, 0.28);
}

.hero-cta:hover {
  background: #fa4391;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.text-button:focus-visible,
.file-input:focus-visible + .file-label,
.consent-row input:focus-visible {
  outline: 3px solid rgba(45, 106, 79, 0.3);
  outline-offset: 3px;
}

.button-primary {
  width: 100%;
  margin-top: 18px;
  color: white;
  background: var(--accent);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-primary:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.button-secondary {
  color: #fff;
  background: #fa4391;
}

.drop-zone {
  position: relative;
  border: 2px dashed #b9b6ae;
  border-radius: var(--radius-medium);
  background: #faf8f2;
  transition: border-color 160ms ease, background 160ms ease;
}

.drop-zone.is-dragging {
  border-color: var(--accent);
  background: var(--soft-accent);
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-label {
  display: flex;
  min-height: 210px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 28px;
  text-align: center;
  cursor: pointer;
}

.upload-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  color: white;
  background: var(--accent);
  font-size: 1.7rem;
  line-height: 1;
}

.file-label-title {
  font-size: 1.12rem;
  font-weight: 800;
}

.file-label-help {
  max-width: 430px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.preview-wrapper {
  margin-top: 18px;
  text-align: center;
}

.preview-wrapper img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: white;
}

.text-button {
  margin-top: 10px;
  border: 0;
  padding: 7px 10px;
  color: var(--accent-dark);
  background: transparent;
  font-weight: 750;
  cursor: pointer;
}

.consent-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 24px;
  color: #45464a;
  font-size: 0.92rem;
  line-height: 1.55;
  cursor: pointer;
}

.consent-row input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.status-message {
  min-height: 26px;
  margin-top: 15px;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.status-message.error {
  color: var(--danger);
}

.status-message.success {
  color: var(--success);
}

.privacy-note {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.privacy-note summary {
  color: var(--ink);
  font-weight: 750;
  cursor: pointer;
}

.privacy-note div {
  padding-top: 12px;
}

.privacy-note p:last-child {
  margin-bottom: 0;
}

@media (max-width: 560px) {
  .hero-visual {
    min-height: 520px;
    padding: 22px 18px;
    background-position: 68% center;
  }

  .hero-content {
    max-width: 100%;
    padding: 0;
  }

  .hero h1 {
    max-width: 290px;
    font-size: clamp(2.6rem, 13vw, 3.4rem);
  }

  .intro {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-cta {
    width: 100%;
  }

  .page-shell {
    width: min(100% - 20px, 760px);
    padding: 18px 0;
  }

  .card {
    border-radius: 20px;
  }

  h1 {
    font-size: clamp(2.2rem, 13vw, 3.3rem);
  }

  .button-secondary {
    width: 100%;
  }

  .file-label {
    min-height: 180px;
    padding: 22px 18px;
  }
}

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