:root {
  --ink: #21160f;
  --muted: #5f4a3d;
  --line: #ead8cc;
  --white: #fffaf5;
  --black: #17110d;
  --orange: #d65a00;
  --orange-dark: #8d2f00;
  --shadow: 0 22px 60px rgba(38, 18, 6, 0.22);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f2bb8a;
  line-height: 1.55;
}

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(24px, 4vw, 52px) 0;
  background:
    linear-gradient(105deg, #fff2e5 0%, #f7d5ba 39%, #f0b477 67%, #dc7f3d 100%);
}

.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(430px, 447px);
  gap: clamp(44px, 6vw, 96px);
  align-items: start;
  justify-content: center;
  width: 100%;
  max-width: none;
  padding: clamp(36px, 5vw, 68px);
  border: 1px solid rgba(141, 47, 0, 0.16);
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: rgba(255, 250, 245, 0.92);
  box-shadow: 0 24px 70px rgba(38, 18, 6, 0.16);
  backdrop-filter: blur(10px);
}

.hero__copy {
  max-width: 690px;
}

h1,
p {
  margin-top: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 3.65vw, 3.68rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.lead {
  max-width: 610px;
  margin-bottom: 24px;
  color: #3e2415;
  font-size: clamp(1.04rem, 1.55vw, 1.2rem);
}

.profile-row {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 148px;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
}

.author-badge {
  width: 148px;
  height: 148px;
  border: 5px solid rgba(255, 250, 245, 0.88);
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 250, 245, 0.6);
  box-shadow: 0 18px 36px rgba(38, 18, 6, 0.18);
}

.author-badge img {
  display: block;
  width: 138%;
  max-width: none;
  transform: translate(-17%, 0);
}

.hero__actions {
  width: min(100%, 520px);
  justify-self: end;
  padding-top: 0;
}

.signup {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.signup label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 800;
}

.hidden-field {
  display: none;
}

.signup__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input,
button {
  min-height: 52px;
  border-radius: 8px;
  font: inherit;
  letter-spacing: 0;
}

input[type="email"] {
  width: 100%;
  border: 1px solid var(--line);
  padding: 0 16px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}

input[type="email"]:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(214, 90, 0, 0.14);
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0 24px;
  background: var(--black);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

button:hover {
  background: var(--orange-dark);
}

.signup .consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin: 14px 0 0;
  color: #5c4d43;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.signup .consent input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  accent-color: var(--black);
}

.signup__message {
  min-height: 22px;
  margin: 8px 0 0;
  color: var(--orange-dark);
  font-weight: 750;
}

.signup__message.is-error {
  color: #9f3f21;
}

.socials {
  display: grid;
  gap: 12px;
  width: 100%;
  margin-top: 0;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(141, 47, 0, 0.2);
  border-radius: 8px;
  background: rgba(255, 250, 245, 0.86);
  color: var(--black);
  font-size: 0.98rem;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.socials a:hover {
  border-color: var(--orange);
}

.socials__link--linkedin {
  box-shadow: 0 10px 22px rgba(38, 18, 6, 0.08);
}

.socials .socials__link--podcast {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(38, 18, 6, 0.22);
}

.socials .socials__link--podcast:hover {
  border-color: var(--orange-dark);
  background: var(--orange-dark);
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
  }

  .hero__content {
    position: static;
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 34px;
  }

  .hero__actions {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 720px);
  }

  h1 {
    font-size: clamp(2.05rem, 9vw, 3.1rem);
  }

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

  .author-badge {
    width: 124px;
    height: 124px;
    justify-self: center;
  }

  .profile-row {
    grid-template-columns: 1fr;
  }
}
