@font-face {
  font-family: "Outfit";
  src: url("./fonts/Outfit-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("./fonts/CormorantGaramond-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #606060;
  --wordmark: #636363;
  --muted: #606060;
  --paper: #fbf5eb;
  --paper-deep: #f5ecdc;
  --line: #e7dac5;
  --green: #2b6b58;
  --green-deep: #205444;
  --gold: #d4ae58;
  --gold-deep: #b9903d;
  --violet: #9b73bd;
  --violet-deep: #8058a3;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 200;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.splash-shell {
  min-height: 100vh;
  padding: 26px 24px 40px;
  background:
    radial-gradient(circle at 3% 0%, rgba(255, 255, 255, 0.78), transparent 25rem),
    linear-gradient(180deg, #fcf7ef 0%, var(--paper) 76%, #f8efe1 100%);
}

.splash-top,
.splash-main {
  width: min(1110px, 100%);
  margin: 0 auto;
}

.splash-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  min-height: 64px;
}

.splash-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 360px;
  margin-top: 4px;
}

.splash-brand__identity {
  display: flex;
  align-items: center;
  gap: 24px;
}

.splash-brand__mark {
  width: 70px;
  height: 40px;
}

.splash-brand__wordmark {
  padding-right: 0.5em;
  color: var(--wordmark);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.5em;
  line-height: 1;
}

.splash-brand__tagline {
  margin-top: 4px;
  margin-left: 94px;
  color: var(--ink);
  font-family: "Outfit", Arial, sans-serif;
  font-size: 0.81rem;
  font-weight: 200;
  letter-spacing: -0.02em;
}

.splash-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 7px;
  color: var(--ink);
  font-family: "Outfit", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
}

.splash-nav__login,
.splash-nav__register {
  padding: 10px 0;
  font-weight: 300;
  text-transform: lowercase;
  transition: color 150ms ease;
}

.splash-nav__login:hover,
.splash-nav__register:hover { color: var(--green-deep); }

.splash-main { padding-top: 20px; }

.hero-image {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #dac49e;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 2.18 / 1;
  object-fit: cover;
  object-position: center 61%;
}

.hero-copy {
  max-width: 850px;
  margin: 26px auto 0;
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.25rem, 4.1vw, 3.25rem);
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 1.07;
}

.hero-copy p {
  margin: 14px auto 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.65vw, 1.15rem);
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 200;
  letter-spacing: -0.025em;
  line-height: 1.48;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(850px, 100%);
  margin: 26px auto 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fffdf9;
  font-size: 0.82rem;
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-align: center;
  box-shadow: 0 6px 0 rgba(80, 57, 23, 0.09), 0 11px 20px rgba(85, 62, 27, 0.12);
  transition: transform 150ms ease, filter 150ms ease;
}

.cta:hover { filter: brightness(0.96); transform: translateY(-2px); }
.cta--preserve { background: var(--green); }
.cta--talk { background: linear-gradient(180deg, #dcbc67, #cea54e); }
.cta--demo { background: linear-gradient(180deg, #ae89cc, #9470b7); }

/* The existing language component is kept, but styled to belong to the new header. */
.splash-nav .lang-selector__button {
  padding: 9px 16px;
  border-color: var(--line);
  background: rgba(255, 253, 249, 0.68);
  color: #444340;
  font-family: "Outfit", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
}

.splash-nav .lang-selector__button:hover {
  border-color: #c8b996;
  background: #fffdfa;
}

.splash-nav .lang-selector__item {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 300;
}

/* The supplied SVG deliberately has a large quiet border. At desktop size we
   let the full lock-up breathe at the scale shown in the design reference. */
@media (max-width: 840px) {
  .splash-shell { padding: 20px 18px 30px; }
  .splash-top { align-items: center; }
  .splash-brand { width: 330px; margin-top: 0; }
  .splash-brand__mark { width: 60px; height: 35px; }
  .splash-brand__wordmark { font-size: 1.75rem; }
  .splash-brand__tagline { margin-left: 84px; }
  .splash-nav { gap: 16px; font-size: 0.9rem; }
  .hero-image img { aspect-ratio: 16 / 9; object-position: center; }
  .hero-actions { gap: 10px; }
  .cta { font-size: 0.72rem; gap: 8px; padding-inline: 11px; }
}

@media (max-width: 620px) {
  .splash-shell { padding: 14px 14px 26px; }
  .splash-top { width: calc(100% - 40px); margin-inline: 20px; flex-wrap: nowrap; align-items: flex-start; justify-content: space-between; gap: 10px; }
  .splash-brand { width: 180px; margin: 0; }
  .splash-brand__identity { flex-direction: column; align-items: flex-start; gap: 4px; }
  .splash-brand__mark { width: 44px; height: 25px; }
  .splash-brand__wordmark { padding-right: 0; font-size: 1.35rem; letter-spacing: 0.38em; }
  .splash-brand__tagline { margin: 1px 0 0; font-size: 0.69rem; white-space: nowrap; }
  .splash-nav { width: auto; justify-content: flex-end; padding-top: 3px; gap: 9px; font-size: 0.82rem; }
  .splash-nav__login, .splash-nav__register { padding: 8px 0; }
  .splash-nav .lang-selector__button { padding: 8px 10px; }
  .splash-main { padding-top: 16px; }
  .hero-image img { aspect-ratio: 4 / 3; object-position: 69% center; }
  .hero-copy { margin-top: 22px; }
  .hero-copy h1 { font-size: clamp(2.1rem, 10vw, 2.7rem); }
  .hero-copy p { font-size: 0.98rem; line-height: 1.45; }
  .hero-copy br { display: none; }
  .hero-actions { grid-template-columns: 1fr; width: 100%; margin-top: 22px; gap: 11px; }
  .cta { min-height: 46px; font-size: 0.84rem; }
}
