@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 {
  --page-gutter: 24px;
  --page-bottom: 40px;
  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.972rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

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

.splash-nav__account {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0;
  transition: color 150ms ease, border-color 150ms ease;
}

.splash-nav__account:hover { color: var(--green-deep); border-color: var(--green-deep); }
.splash-nav__account:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 3px; }

.splash-nav__account svg {
  width: 22.5px;
  height: 22.5px;
}

.hero-title-break { display: none; }

.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 {
  max-width: 680px;
  margin: 0 auto;
  padding-inline: clamp(10px, 3vw, 24px);
  text-align: left;
  color: var(--ink);
  font-size: clamp(2.25rem, 4.1vw, 3.25rem);
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 300;
  letter-spacing: -0.0385em;
  line-height: 1.07;
}

.hero-copy p {
  max-width: 680px;
  margin: 14px auto 0;
  padding-inline: clamp(10px, 3vw, 24px);
  text-align: left;
  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;
}

.how-it-works {
  margin: 32px calc(-1 * var(--page-gutter)) calc(-1 * var(--page-bottom));
  padding: clamp(22px, 3vw, 38px) var(--page-gutter) clamp(48px, 6vw, 76px);
  background: linear-gradient(180deg, #f9f4ec 0%, #f3ede2 45%, #f6f0e6 100%);
}

.how-it-works .faq-content { width: min(800px, calc(100% - clamp(24px, 6vw, 64px))); }
.how-it-works .faq-content > h2 {
  margin: 0 0 clamp(30px, 4vw, 44px);
  color: var(--ink);
  font-family: "Outfit", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  text-align: left;
}
.how-it-works .faq-item {
  margin: 0 0 30px;
  padding: 0;
  border: 0;
  color: #5e5b55;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  font-weight: 300;
  line-height: 1.75;
}
.how-it-works .faq-number {
  display: none;
}
.how-it-works .faq-item h3 {
  display: inline;
  margin: 0;
  margin-inline-end: 0.25em;
  color: #454943;
  font-size: inherit;
  font-weight: 700;
  font-style: italic;
  line-height: inherit;
  letter-spacing: 0;
}
.how-it-works .faq-item p { display: inline; margin: 0; color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; }
.how-it-works .faq-more {
  display: flex;
  width: fit-content;
  margin: 28px auto 0;
  padding: 11px 26px;
  border: 1px solid rgba(43, 107, 88, 0.28);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.55);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.16em;
}
.how-it-works .faq-more:hover { background: #fffaf1; text-decoration: none; border-color: var(--green); }

.faq-content,
.faq-page {
  width: min(800px, 100%);
  margin-inline: auto;
}

.faq-content > h2,
.faq-page > h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 28px;
}

.faq-item h2,
.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.4;
}

.faq-number { color: var(--green); }
.faq-item p,
.faq-intro { margin: 0; font-size: 1rem; font-weight: 300; line-height: 1.7; }

.faq-more,
.faq-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--green-deep);
  font-weight: 500;
}

.faq-more { margin-top: 22px; letter-spacing: 0.12em; }
.faq-more:hover,
.faq-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.faq-more:focus-visible,
.faq-back:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.faq-page { padding-top: 38px; }
.faq-back { margin-bottom: 22px; }
.faq-intro { margin-bottom: 18px; }
.faq-page .faq-item:target { border-left: 2px solid var(--green); padding-left: 18px; }

.pricing-page { width: min(850px, 100%); margin: 46px auto 0; }
.pricing-page > h1 { margin: 0 0 16px; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 300; line-height: 1.15; letter-spacing: -0.045em; }
.pricing-intro,
.pricing-details { font-size: 1rem; font-weight: 300; line-height: 1.7; }
.pricing-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.pricing-card { padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: #fffcf6; }
.pricing-card h2 { margin: 0 0 22px; font-size: 1.15rem; font-weight: 400; }
.pricing-card > p { margin: 12px 0 0; }
.pricing-price > span:first-child { font-size: 3rem; font-weight: 300; color: var(--green-deep); }
.pricing-price > span:last-child { font-size: 0.95rem; }
.pricing-cancel { margin: 20px 0 36px; font-size: 0.95rem; }
.pricing-details { border-top: 1px solid var(--line); padding-top: 28px; }
.pricing-details h2 { font-size: 1.4rem; font-weight: 400; line-height: 1.3; }
.pricing-details ul { padding-left: 22px; }
.pricing-details li + li { margin-top: 10px; }
.pricing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.pricing-actions .faq-back { margin: 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 {
  align-items: flex-start;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  color: #444340;
  font-family: "Outfit", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
}

.splash-nav .lang-selector__button:hover {
  color: var(--green-deep);
  background: transparent;
}

.splash-nav .lang-selector__button:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 3px; }
.splash-nav .lang-selector__globe { width: 22.5px; height: 22.5px; }
.splash-nav .lang-selector__current { display: none; }

.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 { --page-gutter: 18px; --page-bottom: 30px; padding: 20px 18px 30px; }
  .splash-top { align-items: flex-start; }
  .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; padding-top: 0; 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) {
  .pricing-options { grid-template-columns: 1fr; gap: 16px; }
  .splash-shell { --page-gutter: 14px; --page-bottom: 26px; 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.828rem; white-space: nowrap; }
  .splash-nav { width: auto; justify-content: flex-end; padding-top: 0; gap: 9px; font-size: 0.82rem; }
  .splash-main { padding-top: 16px; }
  .hero-image img { aspect-ratio: 4 / 3; object-position: right 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-copy .hero-title-break { display: block; }
  .hero-actions { grid-template-columns: minmax(0, 1fr); width: 66%; margin: 22px auto 0; gap: 11px; }
  .cta { min-height: 46px; font-size: 0.84rem; }
}
