@font-face {
  font-family: Manrope;
  src: url('assets/Manrope-500.ttf') format('truetype');
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('assets/Manrope-700.ttf') format('truetype');
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('assets/Manrope-800.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --night: #101d1d;
  --paper: #f6f7f2;
  --ink: #142724;
  --muted: #4a605a;
  --white: #f5f9f5;
  --mint: #b2f2d2;
  --mint-hover: #cef8e1;
  --line: #d4ddd5;
  --shell: 1240px;
  font: 500 16px/1.55 Manrope, Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html:has(> body > .masthead) { scroll-padding-top: 104px; }
body { margin: 0; color: var(--ink); background: var(--paper); }
p, h1, h2, h3 { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .64; }
:focus-visible { outline: 3px solid #38896a; outline-offset: 4px; }
.top :focus-visible, .masthead :focus-visible, .start-panel :focus-visible { outline-color: var(--mint); }
.shell { width: min(var(--shell), calc(100% - 112px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; inset: 12px auto auto 12px; z-index: 10; padding: 10px 18px; background: white; border-radius: 10px; }

.button {
  display: inline-flex;
  min-height: 50px;
  justify-content: center;
  align-items: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: .9rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s, border-color .18s;
}
.button-mint { color: #122a23; background: var(--mint); }
.button-mint:hover { background: var(--mint-hover); }
.button-dark { color: white; background: #1d4638; }
.button-dark:hover { background: #285f4d; }

.masthead, .top { color: var(--white); background: var(--night); }
.masthead { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid #ffffff21; }
.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 800; letter-spacing: -.055em; text-decoration: none; font-size: 1.32rem; white-space: nowrap; }
.brand-mark { width: 23px; height: 23px; display: inline-flex; gap: 3px; align-items: flex-end; color: #30795f; }
.brand-mark i { display: block; width: 4px; border-radius: 1px; background: currentColor; transform: skewY(-23deg); }
.brand-mark i:nth-child(1) { height: 8px; }
.brand-mark i:nth-child(2) { height: 12px; }
.brand-mark i:nth-child(3) { height: 17px; }
.brand-mark i:nth-child(4) { height: 22px; }
.masthead .brand-mark { color: var(--mint); }
.site-nav, .header-actions { display: flex; gap: clamp(19px, 2.8vw, 40px); align-items: center; }
.site-nav a, .header-login { color: #d7e3dc; font-weight: 700; font-size: .82rem; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .header-login:hover { color: var(--mint); }
.header-actions { gap: 24px; }
.header-register { min-height: 42px; padding: 9px 17px; background: transparent; border-color: #b2f2d280; color: var(--mint); white-space: nowrap; }
.header-register:hover { color: var(--night); }

.top {
  overflow: clip;
  isolation: isolate;
  position: relative;
  background: radial-gradient(ellipse 66% 95% at 92% 112%, #295a46 0%, #153431 42%, transparent 73%), var(--night);
}
.top::before {
  content: '';
  pointer-events: none;
  position: absolute;
  z-index: -1;
  width: min(85vw, 1210px);
  height: 470px;
  right: -22%;
  bottom: -370px;
  border: 1px solid #b2f2d229;
  border-radius: 50%;
  box-shadow: 0 0 0 38px #a7efcf0b, 0 0 0 75px #a7efcf07, 0 0 0 112px #a7efcf05;
  transform: rotate(-23deg);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(375px, 440px);
  align-items: center;
  gap: clamp(50px, 8vw, 130px);
  min-height: 564px;
  padding-block: clamp(62px, 7.1vw, 108px);
}
.hero h1 {
  font-size: clamp(3.35rem, 5.7vw, 5.3rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.059em;
  text-wrap: balance;
}
.hero-copy > p { max-width: 488px; margin-top: 28px; color: #c7d7ce; font-size: clamp(1rem, 1.33vw, 1.15rem); line-height: 1.65; }

.section { padding-block: clamp(55px, 7vw, 92px); }
.section h2, .start-panel h2 { font-size: clamp(2.3rem, 4.4vw, 4.15rem); font-weight: 800; letter-spacing: -.07em; line-height: 1.05; }
.faq { display: grid; grid-template-columns: minmax(250px, .7fr) 1.3fr; gap: clamp(28px, 6vw, 88px); border-top: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 59px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; font-weight: 800; padding-block: 11px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 27px; height: 27px; flex: 0 0 27px; border-radius: 50%; background: linear-gradient(#295e4a,#295e4a) center/10px 1px no-repeat, linear-gradient(#295e4a,#295e4a) center/1px 10px no-repeat #e4ece3; }
.faq details[open] summary::after { background-size: 10px 1px, 0 0; }
.faq details p { color: var(--muted); max-width: 58ch; padding: 0 30px 16px 0; }
.faq a, .cookie-notice a { color: #245e48; font-weight: 800; }

.start-panel { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(28px, 4.8vw, 61px); margin-bottom: clamp(48px, 6vw, 78px); border-radius: 22px; background: #1d4136; color: var(--white); }
.start-panel h2 { font-size: clamp(1.85rem, 3.2vw, 3.1rem); letter-spacing: -.06em; }
.start-panel p { margin-top: 10px; color: #cde3d7; }
.start-panel .button { flex: none; }
.footer { border-top: 1px solid var(--line); padding-block: 30px; }
.footer-main, .footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px 28px; }
.footer-bottom { color: var(--muted); margin-top: 18px; font-size: .75rem; flex-wrap: wrap; }
.footer-links, .footer-documents { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links { font-size: .88rem; font-weight: 800; padding-top: 4px; }

.cookie-notice {
  position: fixed;
  z-index: 3;
  inset: auto 18px 16px;
  width: fit-content;
  max-width: calc(100% - 36px);
  display: flex;
  align-items: center;
  gap: 12px 16px;
  padding: 11px 11px 11px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 32px #122a231c;
  background: white;
  font-size: .8rem;
}
.cookie-notice .button { padding: 6px 13px; min-height: 38px; border-radius: 8px; font-size: .77rem; }

.assistant-head { display: flex; gap: 11px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.assistant-head small { display: block; color: var(--muted); font-size: .76rem; }
.assistant-monogram { flex: none; display: grid; place-items: center; width: 37px; height: 37px; border-radius: 9px; color: var(--mint); background: var(--night); font-weight: 800; }

.assistant-state.online { color: #286b4e; }
.assistant-online, .assistant-offline { padding: 16px; }
.assistant-offline a { display: inline-block; margin-top: 9px; font-weight: 800; }
.assistant-log { min-height: 148px; max-height: min(280px, 32dvh); overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.bubble { align-self: flex-start; max-width: 91%; padding: 8px 12px; border-radius: 10px; background: #ecf3ed; font-size: .86rem; overflow-wrap: anywhere; }
.bubble span { font-size: .72rem; font-weight: 800; }
.user-bubble { align-self: flex-end; color: white; background: #22513e; }
.assistant-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.assistant-quick button { min-height: 35px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); background: white; color: var(--ink); font-size: .77rem; font-weight: 700; }
.assistant-quick button:hover { background: #ecf3ed; }
.assistant-form { display: flex; gap: 5px; }
.assistant-form input { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; }
.assistant-form button { border: 0; border-radius: 8px; padding: 6px 9px; background: #22513e; color: white; font-size: .76rem; font-weight: 800; }
.assistant-note { margin-top: 8px; font-size: .71rem; color: var(--muted); }


@media (max-width: 1040px) {
  .shell { width: calc(100% - 70px); }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(330px, .87fr); gap: 39px; }
  .site-nav { gap: 20px; }
}
@media (max-width: 790px) {
  .shell { width: calc(100% - 42px); }
  .site-nav { display: none; }
  .site-header { min-height: 68px; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 43px 49px; gap: 25px; }
  .hero h1 { font-size: clamp(2.95rem, 10vw, 5.2rem); }
  .hero-break { display: none; }
  .hero-copy > p { margin-top: 17px; }


  .faq { grid-template-columns: 1fr; gap: 24px; }
  .start-panel { align-items: flex-start; flex-direction: column; }
}

body:has(.niche-dialog[open]) { overflow: hidden; }
.niche-dialog {
  width: min(480px, calc(100% - 30px));
  max-height: calc(100dvh - 30px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
}
.niche-dialog::backdrop { background: #101d1dcc; }
.niche-dialog-body { position: relative; padding: clamp(21px, 5vw, 36px); }
.niche-dialog h2 { padding-right: 30px; max-width: 18ch; font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.1; letter-spacing: -.05em; }
.niche-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #e4ece3; color: var(--ink); font-size: 1.4rem; }
.niche-dialog fieldset { display: grid; gap: 13px; min-width: 0; border: 0; margin: 20px 0 0; padding: 0; }
.niche-dialog label { display: grid; gap: 5px; font-size: .88rem; font-weight: 700; }
.niche-dialog input:not([type="checkbox"]) { width: 100%; min-height: 45px; padding: 9px 11px; border: 1px solid #a7b9ab; border-radius: 9px; background: #fff; color: var(--ink); }
.niche-dialog .niche-consent { grid-template-columns: auto 1fr; align-items: start; gap: 9px; font-size: .8rem; font-weight: 500; }
.niche-consent input { width: 17px; height: 17px; accent-color: #1d4638; }
.niche-result { margin: 14px 0 0; color: var(--ink); font-size: .9rem; }
.niche-result:empty { display: none; }
@media (max-width: 515px) {
  .shell { width: calc(100% - 34px); }
  .site-header { gap: 8px; }
  .brand { gap: 6px; font-size: 1.18rem; }
  .header-actions { gap: 10px; }
  .header-register { padding-inline: 9px; font-size: .73rem; }
  .header-login { font-size: .76rem; padding-block: 10px; }
  .hero h1 { font-size: clamp(2.52rem, 10.3vw, 3.6rem); }

  .package-choice { min-height: 59px; padding-inline: 10px; gap: 9px; }
  .footer-main { flex-wrap: wrap; align-items: center; }
  .cookie-notice { inset: auto 9px 9px; max-width: calc(100% - 18px); padding-left: 10px; gap: 8px; }


}

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

.assistant {
  min-width: 0;
  width: 100%;
  max-width: 540px;
  border: 1px solid #a6dec07a;
  border-radius: 20px;
  overflow: hidden;
  background: #f4f8f3;
  color: var(--ink);
  box-shadow: 0 24px 58px #0a171654;
}
.top .assistant :focus-visible { outline-color: #287455; }
.assistant-head { background: #1c3b31; color: var(--white); border-color: #accdba47; padding: 15px 18px; }
.assistant-head h2 { font-size: .95rem; font-weight: 800; line-height: 1.3; }
.assistant-head small { color: #c6dfd1; }
.assistant-monogram { background: #315749; }
.assistant-state { margin-left: auto; padding: 3px 7px; border-radius: 10px; color: #e1ece6; background: #315749; font-size: .66rem; white-space: nowrap; }
.assistant-state.online { color: #d3fce1; }
.assistant-online, .assistant-offline { padding: 17px 18px; }
.assistant-log { min-height: 142px; max-height: clamp(142px, 31vh, 244px); overflow-y: auto; }
.assistant-bubble { background: #e3efe5; }
.assistant-quick { margin: 11px 0; }
.assistant-form { gap: 6px; }
.assistant-form input, .assistant-form button { min-height: 44px; }
.assistant-form input { background: #fff; }
.assistant-form button { padding-inline: 12px; }
.assistant-noscript { margin: 0 18px 12px; font-size: .86rem; }
@media (max-width: 515px) {
  .assistant-head, .assistant-online, .assistant-offline { padding: 12px; }
  .assistant-head { gap: 8px; }
  .assistant-head h2 { font-size: .84rem; }
  .assistant-log { min-height: 112px; }
  .assistant-form button { padding-inline: 9px; }
}
