
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7f2ee;
  color: #1f1b18;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.narrow {
  max-width: 820px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 242, 238, .86);
  border-bottom: 1px solid rgba(31, 27, 24, .13);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 150px;
}

.header-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  color: #6f625c;
  font-size: 14px;
}

.header-nav a {
  transition: color .18s ease;
}

.header-nav a:hover {
  color: #1f1b18;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6f625c;
  font-size: 13px;
}

.language-switch select {
  min-width: 148px;
  border: 1px solid rgba(31, 27, 24, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #1f1b18;
  padding: 9px 34px 9px 14px;
  font: inherit;
}

.hero-section {
  padding: clamp(56px, 8vw, 112px) 0 72px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 7px 13px;
  border: 1px solid rgba(31, 27, 24, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .5);
  color: #6f625c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 8vw, 92px);
  line-height: .92;
  letter-spacing: -.06em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -.05em;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  letter-spacing: -.02em;
}

p {
  color: #6f625c;
  font-size: 17px;
}

.hero-text {
  max-width: 700px;
  margin-bottom: 28px;
  font-size: clamp(18px, 2.1vw, 24px);
  color: rgba(31, 27, 24, .76);
}

.hero-small {
  max-width: 580px;
  margin: 18px 0 0;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 13px 22px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #1f1b18;
  color: #fff;
  box-shadow: 0 14px 30px rgba(31, 27, 24, .18);
}

.btn-primary:hover {
  box-shadow: 0 18px 40px rgba(31, 27, 24, .22);
}

.btn-outline {
  border-color: rgba(31, 27, 24, .13);
  background: rgba(255, 255, 255, .5);
  color: #1f1b18;
}

.w-100 {
  width: 100%;
}

.hero-card {
  position: relative;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(31, 27, 24, .13);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(255, 250, 245, .68));
  box-shadow: 0 24px 80px rgba(31, 27, 24, .09);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -18% -22% 12%;
  height: 190px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(205, 171, 151, .26), rgba(205, 171, 151, 0) 70%);
  pointer-events: none;
}

.hero-card-logo {
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(31, 27, 24, .08);
}

.hero-card-logo img {
  width: 100%;
  opacity: .96;
}

.proof-list {
  position: relative;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  display: flex;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(31, 27, 24, .13);
  color: #6f625c;
}

.proof-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: #1f1b18;
}

.proof-list li:last-child {
  border-bottom: 0;
}

.section {
  padding: clamp(66px, 8vw, 104px) 0;
}

.section-soft {
  background: #fffaf5;
  border-top: 1px solid rgba(31, 27, 24, .13);
  border-bottom: 1px solid rgba(31, 27, 24, .13);
}

.section-cream {
  background: rgba(255, 250, 245, .65);
  border-top: 1px solid rgba(31, 27, 24, .13);
  border-bottom: 1px solid rgba(31, 27, 24, .13);
}

.section-heading {
  margin-bottom: 30px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card,
.step-card,
.tier-item,
.form-card {
  border: 1px solid rgba(31, 27, 24, .13);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 50px rgba(31, 27, 24, .055);
}

.benefit-card,
.step-card {
  min-height: 210px;
  padding: 24px;
  border-radius: 22px;
}

.benefit-card p,
.step-card p,
.tier-item span {
  margin-bottom: 0;
  font-size: 15px;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.steps,
.tier-list {
  display: grid;
  gap: 14px;
}

.step-card {
  min-height: auto;
}

.tier-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 18px 20px;
  border-radius: 18px;
}

.tier-item strong {
  font-size: 15px;
  letter-spacing: .02em;
}

.form-section {
  background: linear-gradient(180deg, #f7f2ee 0%, #eee4dc 100%);
}

.form-grid-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(360px, .72fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.form-copy {
  position: sticky;
  top: 116px;
}

.form-required {
  font-size: 14px;
}

.form-card {
  padding: clamp(22px, 3.4vw, 34px);
  border-radius: 32px;
}

.field,
.field-row,
.consent-field {
  margin-bottom: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tipidi-form label,
.preferences-field > label {
  display: block;
  margin-bottom: 8px;
  color: #1f1b18;
  font-size: 13px;
  font-weight: 700;
}

.form-control,
.form-select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(31, 27, 24, .13);
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
  color: #1f1b18;
  padding: 12px 14px;
  font: inherit;
  outline: 0;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(31, 27, 24, .36);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(31, 27, 24, .06);
}

.preferences-field .choice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.preferences-field .choice-list label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid rgba(31, 27, 24, .13);
  border-radius: 14px;
  background: rgba(255, 255, 255, .62);
  color: #6f625c;
  font-weight: 600;
}

.preferences-field .choice-list input {
  width: 16px;
  height: 16px;
  accent-color: #1f1b18;
}

.consent-field {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #1f1b18;
}

.consent-field label {
  margin: 0;
  color: #6f625c;
  font-size: 13px;
  font-weight: 500;
}

.form-alert,
.flash-message,
.success-box {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 14px;
}

.form-alert {
  border: 1px solid rgba(165, 57, 57, .22);
  background: rgba(165, 57, 57, .08);
  color: #7c2e2e;
}

.form-alert p {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.flash-message.success,
.success-box {
  border: 1px solid rgba(57, 122, 82, .22);
  background: rgba(57, 122, 82, .08);
  color: #2d6845;
}

.success-box strong,
.success-box span {
  display: block;
}

.success-box span {
  margin-top: 3px;
}

.site-footer {
  background: #1f1b18;
  color: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.footer-inner p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

.footer-inner span {
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
}

@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .header-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  .language-switch {
    margin-left: auto;
  }

  .hero-grid,
  .split-grid,
  .form-grid-layout {
    grid-template-columns: 1fr;
  }

  .form-copy {
    position: static;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: 0;
    gap: 14px;
  }

  .brand img {
    width: 122px;
  }

  .header-nav {
    gap: 12px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 13px;
  }

  .language-switch {
    width: 100%;
    justify-content: space-between;
  }

  .language-switch select {
    min-width: 0;
    flex: 1 1 auto;
  }

  .hero-section {
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 64px);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-card {
    padding: 22px;
  }

  .benefit-grid,
  .field-row,
  .preferences-field .choice-list,
  .tier-item {
    grid-template-columns: 1fr;
  }

  .benefit-card,
  .step-card {
    min-height: auto;
  }

  .footer-inner {
    display: block;
  }

  .footer-inner p {
    margin-top: 10px;
  }
}

.language-menu {
  position: relative;
}

.language-menu summary {
  min-width: 148px;
  border: 1px solid rgba(31, 27, 24, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #1f1b18;
  padding: 9px 34px 9px 14px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  opacity: .7;
}

.language-menu[open] summary::after {
  transform: translateY(-25%) rotate(225deg);
}

.language-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  width: min(360px, calc(100vw - 32px));
  max-height: min(520px, calc(100vh - 120px));
  overflow: auto;
  padding: 10px;
  border: 1px solid rgba(31, 27, 24, .13);
  border-radius: 22px;
  background: rgba(255, 250, 245, .98);
  box-shadow: 0 24px 80px rgba(31, 27, 24, .12);
}

.language-menu-panel a {
  border-radius: 14px;
  padding: 10px 12px;
  color: #6f625c;
  font-size: 14px;
}

.language-menu-panel a:hover,
.language-menu-panel a.active {
  background: rgba(31, 27, 24, .07);
  color: #1f1b18;
}

@media (max-width: 760px) {
  .header-inner {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
    gap: 14px;
  }

  .brand img {
    width: 124px;
  }

  .header-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
  }

  .language-switch {
    margin-left: auto;
  }

  .language-switch span {
    display: none;
  }

  .language-menu summary {
    min-width: 122px;
  }

  .language-menu-panel {
    right: 0;
    grid-template-columns: 1fr;
    width: min(260px, calc(100vw - 32px));
  }
}
