:root {
  --ink: #14202a;
  --muted: #66727a;
  --line: #d9dee0;
  --paper: #fbfaf7;
  --soft: #f0ece4;
  --gold: #c89a57;
  --gold-dark: #9b7034;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 22%, rgba(200, 154, 87, 0.12), transparent 28rem),
    linear-gradient(135deg, var(--paper) 0%, var(--white) 56%, var(--soft) 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 0 40px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(20, 32, 42, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}

.language-button {
  min-height: 32px;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.language-button:hover,
.language-button.is-active {
  background: var(--ink);
  color: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
  padding: clamp(42px, 7vw, 76px) 0 36px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.8rem, 8.6vw, 5.9rem);
  line-height: 0.92;
  font-weight: 600;
}

.hero-kicker {
  max-width: 650px;
  margin-bottom: 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3.7vw, 3.35rem);
  line-height: 1;
  font-weight: 500;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.62;
}

.signup-form {
  max-width: 560px;
}

.signup-form label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 800;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

input,
button {
  min-height: 54px;
  border-radius: 8px;
  font: inherit;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  padding: 0 16px;
  outline: none;
}

input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 154, 87, 0.18);
}

button {
  border: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0 22px;
  font-weight: 800;
  cursor: pointer;
}

button:hover {
  background: #213341;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-note {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-note.is-success {
  color: #28704a;
  font-weight: 700;
}

.form-note.is-error {
  color: #a74335;
  font-weight: 700;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 390px;
}

.hero-art::before {
  position: absolute;
  inset: -4%;
  content: "";
  background:
    radial-gradient(circle at 50% 47%, rgba(255, 255, 255, 0.98) 0 34%, rgba(255, 255, 255, 0.76) 50%, rgba(251, 250, 247, 0) 72%),
    radial-gradient(circle at 50% 58%, rgba(200, 154, 87, 0.16), rgba(200, 154, 87, 0) 62%);
  filter: blur(6px);
}

.logo-melt {
  position: relative;
  width: min(88%, 410px);
  aspect-ratio: 1;
  overflow: hidden;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0 48%, rgba(0, 0, 0, 0.88) 58%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0 48%, rgba(0, 0, 0, 0.88) 58%, transparent 78%);
}

.logo-melt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.42);
}

.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.details article {
  min-height: 150px;
  background: rgba(255, 255, 255, 0.66);
  padding: 24px;
}

.details h2 {
  margin-bottom: 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1;
}

.details p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 16px;
    padding-top: 18px;
  }

  .hero-art {
    min-height: 115px;
    order: -1;
  }

  .logo-melt {
    width: min(44vw, 150px);
  }

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

@media (max-width: 520px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
  }

  .brand {
    font-size: 0.96rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .header-actions {
    align-items: center;
    gap: 0;
  }

  .language-switcher {
    gap: 2px;
    padding: 3px;
  }

  .language-button {
    min-height: 28px;
    padding: 0 6px;
    font-size: 0.72rem;
  }

  h1 {
    font-size: clamp(3rem, 13.5vw, 4.15rem);
  }

  .hero-kicker {
    font-size: clamp(1.72rem, 8vw, 2.16rem);
    line-height: 1.08;
  }

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

  button {
    width: 100%;
  }
}
