:root {
  --bg: #fff9df;
  --bg-soft: #fffdf2;
  --text: #11100c;
  --muted: #5f5a48;
  --line: rgba(17, 16, 12, 0.14);
  --accent: #ffd42f;
  --accent-deep: #11100c;
  --accent-soft: #fff1a6;
  --card: rgba(255, 253, 242, 0.86);
  --shadow: 0 24px 70px rgba(17, 16, 12, 0.12);
  --radius-large: 34px;
  --radius-medium: 22px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100%;
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 212, 47, 0.28), transparent 31%),
    radial-gradient(circle at 82% 12%, rgba(17, 16, 12, 0.08), transparent 27%),
    radial-gradient(circle at 50% 98%, rgba(255, 212, 47, 0.20), transparent 34%),
    linear-gradient(145deg, #fffef6 0%, var(--bg) 52%, #fff2ad 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(1px);
  opacity: 0.48;
}

body::before {
  width: 260px;
  height: 260px;
  left: -120px;
  bottom: 10%;
  background: rgba(255, 212, 47, 0.18);
}

body::after {
  width: 220px;
  height: 220px;
  right: -100px;
  top: 18%;
  background: rgba(17, 16, 12, 0.06);
}

.page-shell {
  width: min(100%, 1120px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) 20px;
  display: grid;
  place-items: center;
}

.hero {
  width: min(100%, 860px);
  text-align: center;
  padding: clamp(28px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 250, 224, 0.76)),
    var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(17, 16, 12, 0.10);
  border-radius: calc(var(--radius-large) - 12px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 86px;
  height: 86px;
  top: 22px;
  right: 22px;
  border-top: 5px solid var(--accent);
  border-right: 5px solid var(--accent);
  border-radius: 0 22px 0 0;
  opacity: 0.92;
  pointer-events: none;
}

.hero__art {
  width: min(100%, 260px);
  margin: 0 auto 28px;
}

.hero__art img {
  display: block;
  width: 100%;
  height: auto;
  filter: contrast(1.08) saturate(1.05);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}

h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.5rem, 8vw, 5.65rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  color: var(--text);
  text-shadow: 0 1px 0 rgba(255, 212, 47, 0.22);
}

.domain-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 24px 0 0;
  padding: 10px 18px;
  border: 2px solid rgba(17, 16, 12, 0.90);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 246, 178, 0.92), rgba(255, 212, 47, 0.78));
  color: var(--accent-deep);
  font-size: clamp(1rem, 2.6vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 10px 26px rgba(17, 16, 12, 0.08);
}

.lead {
  width: min(100%, 660px);
  margin: 26px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.1vw, 1.16rem);
  line-height: 1.72;
}

.form-card {
  width: min(100%, 620px);
  margin: 42px auto 0;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: rgba(255, 253, 242, 0.80);
  box-shadow: 0 18px 45px rgba(17, 16, 12, 0.08);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, var(--accent), #11100c);
  opacity: 0.95;
}

.form-card__header h2 {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.62rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: var(--text);
}

.form-card__header p {
  margin: 9px 0 20px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.pipedrive-placeholder {
  min-height: 210px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(17, 16, 12, 0.32);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 238, 142, 0.38));
}

.placeholder-content {
  padding: 20px;
  color: var(--muted);
  text-align: center;
}

.placeholder-content__label,
.placeholder-content__hint {
  display: block;
}

.placeholder-content__label {
  color: var(--accent-deep);
  font-weight: 800;
}

.placeholder-content__hint {
  margin-top: 8px;
  font-size: 0.9rem;
}

.small-note {
  width: min(100%, 560px);
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .page-shell {
    padding: 14px;
  }

  .hero {
    padding: 30px 18px;
    border-radius: 26px;
  }

  .hero::before {
    inset: 10px;
    border-radius: 18px;
  }

  .hero::after {
    width: 54px;
    height: 54px;
    top: 15px;
    right: 15px;
    border-width: 4px;
    border-radius: 0 16px 0 0;
  }

  .hero__art {
    width: 190px;
    margin-bottom: 22px;
  }

  .eyebrow::before,
  .eyebrow::after {
    width: 14px;
  }

  .domain-name {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .lead {
    line-height: 1.62;
  }

  .form-card {
    margin-top: 30px;
    padding: 16px;
  }

  .pipedrive-placeholder {
    min-height: 190px;
  }
}
