:root {
  color: #153c32;
  background: #f8fbf9;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { min-height: 100%; }

body {
  min-width: 0;
  min-height: 100svh;
  margin: 0;
  padding: 36px 48px 28px;
  background: #f8fbf9;
  display: flex;
  flex-direction: column;
}

button, a { font: inherit; }

a:focus-visible, button:focus-visible {
  outline: 3px solid #286ed8;
  outline-offset: 4px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #153c32;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.header-icon { width: 16px; height: 16px; }

.landing-copy {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 61px 0 0;
  text-align: center;
}

.chat-visual {
  display: block;
  width: 320px;
  height: auto;
  margin: 0 auto 4px;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: #153c32;
  font-size: 59px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

h1 em {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 69px;
  line-height: 1.04;
  font-weight: 400;
}

.landing-copy > p {
  margin: 17px 0 42px;
  color: #65736e;
  font-size: 16px;
  line-height: 1.25;
}

.consultation-button {
  display: grid;
  grid-template-columns: 22px 1fr 22px;
  align-items: center;
  gap: 12px;
  width: min(100%, 382px);
  min-height: 64px;
  margin: 0 auto;
  padding: 16px 22px;
  border-radius: 8px;
  background: #155b46;
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none;
}

.consultation-button > img { width: 22px; height: 22px; filter: brightness(0) invert(1); }
.consultation-button .arrow-icon { width: 22px; height: 22px; }

.consent-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(100%, 540px);
  margin: 24px auto 0;
  padding: 14px 16px;
  border: 1px solid #d7e3dc;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgb(21 60 50 / 15%);
  color: #153c32;
}

.consent-strip p { margin: 0; font-size: 14px; line-height: 1.35; }
.consent-strip div, .dialog-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.text-button, .footer-button, .dialog-close {
  border: 0;
  background: transparent;
  color: #315e52;
  cursor: pointer;
}

.consent-accept {
  min-height: 38px;
  padding: 8px 13px;
  border: 0;
  border-radius: 6px;
  background: #155b46;
  color: #ffffff;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: min(100%, 350px);
  margin: auto auto 21px;
  padding-top: 24px;
  border-top: 1px solid #d7e3dc;
  color: #65736e;
  font-size: 12px;
  line-height: 1.2;
}

.site-footer a, .footer-button { color: inherit; text-decoration: none; padding: 0; }
.site-footer a:hover, .footer-button:hover { color: #155b46; text-decoration: underline; }

.preferences-dialog {
  width: min(560px, calc(100% - 32px));
  padding: 30px;
  border: 1px solid #d7e3dc;
  border-radius: 8px;
  color: #153c32;
  box-shadow: 0 20px 60px rgb(21 60 50 / 25%);
}

.preferences-dialog::backdrop { background: rgb(21 60 50 / 35%); }
.preferences-dialog h2 { margin: 0 36px 18px 0; font-size: 27px; line-height: 1.15; }
.preferences-dialog p { color: #4f625c; font-size: 16px; line-height: 1.5; }
.dialog-close { float: right; font-size: 30px; line-height: 1; }
.dialog-actions { margin-top: 24px; }

@media (max-width: 760px) {
  body { padding: 36px 24px 28px; }
  .landing-copy { padding-top: 60px; }
  .chat-visual { width: 280px; margin-bottom: 10px; }
  h1 { font-size: 43px; }
  h1 em { font-size: 53px; }
  .landing-copy > p { margin: 18px 0 50px; font-size: 16px; }
  .consultation-button { width: 100%; min-height: 64px; padding: 16px 22px; font-size: 17px; }
}

@media (max-width: 430px) {
  .landing-copy { padding-top: 60px; }
  .consent-strip { right: 12px; bottom: 12px; left: 12px; max-width: none; flex-direction: column; align-items: stretch; }
}

@media (max-width: 340px) {
  body { padding-right: 18px; padding-left: 18px; }
  .landing-copy { padding-top: 42px; }
  .chat-visual { width: min(100%, 260px); }
  h1 { font-size: 39px; }
  h1 em { font-size: 48px; }
  .landing-copy > p { font-size: 15px; }
  .consultation-button { grid-template-columns: 22px 1fr 22px; gap: 8px; padding-right: 16px; padding-left: 16px; font-size: 16px; }
}

@media (max-height: 650px) and (min-width: 431px) {
  .landing-copy { padding-top: 16px; padding-bottom: 8px; }
  .chat-visual { width: 210px; margin-bottom: 0; }
  h1 { font-size: 43px; }
  h1 em { font-size: 53px; }
  .landing-copy > p { margin: 12px 0 20px; font-size: 16px; }
  .consultation-button { min-height: 56px; font-size: 16px; }
  .site-footer { padding-top: 14px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }

.privacy-page { display: block; padding: 48px 24px; }
.privacy-content { width: min(100%, 720px); margin: 0 auto; color: #153c32; }
.privacy-content h1 { margin: 42px 0 28px; font-size: 44px; }
.privacy-content p { color: #4f625c; font-size: 17px; line-height: 1.55; }
.privacy-content code { color: #153c32; }
.back-link { color: #155b46; font-size: 16px; }
