:root {
  --bg: #fafaf7;
  --tint: #f1f0ea;
  --surface: #ffffff;
  --ink: #14211b;
  --muted: #5b6760;
  --line: #e2e0d6;
  --brand: #0f4a3a;
  --brand-2: #17715a;
  --accent: #b8923a;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20,33,27,.05), 0 12px 32px -12px rgba(20,33,27,.14);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1512;
    --tint: #121c18;
    --surface: #17231e;
    --ink: #eef2ee;
    --muted: #9db0a6;
    --line: #25352e;
    --brand: #1f8a6e;
    --brand-2: #2fb08e;
    --accent: #d4ad55;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.5);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: Fraunces, Georgia, serif; line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--brand-2); }
ul, ol { padding: 0; margin: 0; list-style: none; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(780px, 100% - 32px); }

/* notice */
.notice { background: var(--ink); color: var(--bg); font-size: .7rem; letter-spacing: .04em; text-align: center; padding: 8px 16px; }

/* header */
.header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-family: Fraunces, serif; font-size: 1.15rem; }
.logo small { display: block; font-family: Inter, sans-serif; font-weight: 400; font-size: .68rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
.logo__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--ink); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .25s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* buttons */
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; border: 1px solid transparent; background: var(--brand); color: #fff; font: 600 .95rem Inter, sans-serif; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.btn:hover { background: var(--brand-2); transform: translateY(-1px); box-shadow: 0 8px 20px -8px var(--brand); }
.btn--sm { padding: 10px 20px; font-size: .88rem; }
.btn--block { display: block; text-align: center; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--tint); box-shadow: none; }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: #fff; box-shadow: 0 10px 28px -8px rgba(0,0,0,.4); }

/* hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 400px at 85% -10%, rgba(47,176,142,.35), transparent 60%), linear-gradient(160deg, #0b3a2d, #0f4a3a 55%, #14684f); color: #fff; padding: clamp(64px, 11vw, 140px) 0; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); max-width: 14ch; margin-bottom: .45em; }
.hero__line { display: block; color: rgba(255,255,255,.8); font-size: .6em; font-weight: 500; }
.hero em { font-style: normal; color: #e8c877; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; color: var(--accent); margin-bottom: 1rem; }
.hero .eyebrow { color: rgba(255,255,255,.7); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 8px 18px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: .9rem; backdrop-filter: blur(4px); background: rgba(255,255,255,.06); }

/* sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 640px; margin-bottom: 48px; }
.section__head p:last-child { color: var(--muted); font-size: 1.05rem; margin: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* product */
.product { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.rating { color: var(--muted); }
.rating span { color: var(--accent); letter-spacing: 2px; margin-right: 6px; }
.rating strong { color: var(--ink); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 24px; }
.checks li { position: relative; padding-left: 28px; font-weight: 500; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .7rem; }
.invest { padding: 32px; position: sticky; top: 100px; }
.invest__label { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--accent); font-weight: 600; margin-bottom: .4rem; }
.invest__amount { font: 600 1.7rem Fraunces, serif; margin-bottom: .5rem; line-height: 1.2; }
.invest__note { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }

/* features */
.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature { padding: 28px; transition: transform .25s; }
.feature:hover { transform: translateY(-4px); }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }
.icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand-2); font-size: 1.3rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 72px; counter-reset: s; }
.steps li { padding-top: 20px; border-top: 2px solid var(--brand); }
.steps__n { font: 600 .9rem Inter; color: var(--accent); letter-spacing: .1em; }
.steps h3 { margin-top: 8px; }
.steps p { color: var(--muted); margin: 0; }

/* allocation */
.alloc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.alloc__item { padding: 28px; }
.alloc__top { display: flex; justify-content: space-between; align-items: baseline; }
.alloc__top strong { font: 600 1.6rem Fraunces, serif; color: var(--brand-2); }
.bar { height: 8px; background: var(--tint); border-radius: 99px; margin: 8px 0 18px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: inherit; transition: width 1.1s cubic-bezier(.2,.7,.2,1) .2s; }
.alloc__item.is-visible .bar span { width: var(--w); }
.alloc__item p { color: var(--muted); font-size: .95rem; margin: 0; }

/* table */
.table-wrap { overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 18px 24px; text-align: left; }
th { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: var(--tint); }
td { border-top: 1px solid var(--line); }
td:nth-child(2) { font-weight: 600; white-space: nowrap; }
td:nth-child(3) { color: var(--muted); }
tr.hl td { background: color-mix(in srgb, var(--brand) 10%, transparent); font-weight: 600; color: var(--ink); }

.quote { margin: 64px auto 0; max-width: 780px; text-align: center; }
.quote blockquote { margin: 0 0 16px; font: 500 clamp(1.25rem, 2.6vw, 1.7rem)/1.45 Fraunces, serif; }
.quote figcaption { color: var(--muted); font-size: .9rem; }

/* facts */
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding: 18px 28px; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--muted); font-weight: 500; }
.facts dd { margin: 0; font-weight: 500; }

/* faq */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 20px 24px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand-2); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* cta */
.cta { background: linear-gradient(160deg, #0b3a2d, #14684f); color: #fff; text-align: center; padding: clamp(64px, 9vw, 112px) 0; }
.cta__inner { max-width: 720px; }
.cta p { color: rgba(255,255,255,.8); }
.cta .btn { margin: 12px 0 24px; padding: 16px 34px; }
.cta__tag { font-size: .85rem; letter-spacing: .04em; margin: 0; }

/* footer */
.footer { padding: 56px 0 40px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 28px; }
.footer__links a { color: var(--ink); text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }
.footer__brand strong { color: var(--ink); }
.footer__note { font-size: .8rem; max-width: 70ch; margin: 0; }

/* cookie */
.cookie { position: fixed; z-index: 50; left: 16px; bottom: 16px; width: min(420px, 100% - 32px); padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px -12px rgba(0,0,0,.35); }
.cookie[hidden] { display: none; }
.cookie h3 { font-size: 1.1rem; }
.cookie p { font-size: .85rem; color: var(--muted); }
.cookie__actions { display: flex; gap: 10px; margin-bottom: 12px; }
.cookie small { color: var(--muted); font-size: .75rem; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .bar span { transition: none; }
}

/* responsive */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .product { grid-template-columns: 1fr; }
  .invest { position: static; }
  .alloc, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .grid--4, .checks { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 4px; padding: 16px 20px; }
  thead { display: none; }
  tr { display: block; padding: 14px 20px; border-top: 1px solid var(--line); }
  tr:first-child { border-top: 0; }
  td { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; border: 0; text-align: right; }
  td::before { content: attr(data-label); color: var(--muted); font-weight: 400; text-align: left; }
  td:nth-child(2) { white-space: normal; }
}

/* footer company info */
.footer__info { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 6px 32px; margin: 8px 0 24px; }
.footer__info a { color: var(--ink); }
.footer__note { margin-bottom: 8px; }

/* legal pages */
.page-hero { background: linear-gradient(160deg, #0b3a2d, #14684f); color: #fff; padding: clamp(40px, 6vw, 72px) 0; }
.page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 0 0 .3em; }
.page-hero p { margin: 0; color: rgba(255,255,255,.75); }
.legal { padding: clamp(40px, 6vw, 80px) 0; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4em; }
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.legal li { margin-bottom: .35em; }
.legal strong { color: var(--ink); }
.legal .table-wrap { margin: 1em 0 1.5em; }
.legal .callout { border-left: 3px solid var(--accent); background: var(--tint); padding: 16px 20px; border-radius: 8px; margin: 1.5em 0; }
.legal .callout p { margin: 0; }

/* contact form */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.contact__form-card, .contact__info { padding: 32px; }
.contact__form-card h2, .contact__info h2 { margin-top: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.req { color: #c0392b; }
.opt { color: var(--muted); font-weight: 400; font-size: .85em; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-2) 25%, transparent); }
.field .is-invalid { border-color: #c0392b; }
.field__error { color: #c0392b; font-size: .85rem; margin: 6px 0 0; min-height: 0; }
.field__error:empty { display: none; }
.field__meta { display: flex; justify-content: space-between; gap: 12px; }
.counter { margin-left: auto; font-size: .8rem; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--muted) !important; font-size: .9rem; cursor: pointer; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); flex-shrink: 0; }
.alert { border-radius: 12px; padding: 16px 18px; margin-bottom: 20px; }
.alert--error { background: color-mix(in srgb, #c0392b 12%, var(--surface)); border: 1px solid #c0392b; color: var(--ink); }
.alert--success { text-align: center; padding: 40px 24px; background: color-mix(in srgb, var(--brand) 10%, var(--surface)); border: 1px solid var(--brand-2); }
.alert--success[hidden], .alert--error[hidden] { display: none; }
.alert--success h3 { margin-bottom: .3em; }
.alert--success p { margin-bottom: 1.2em; }
.alert__icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 1.6rem; }
form[hidden] { display: none; }
.btn:disabled { opacity: .7; cursor: not-allowed; transform: none; box-shadow: none; }
.spinner { display: none; width: 16px; height: 16px; margin-left: 10px; vertical-align: -2px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .contact__info { order: -1; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; gap: 0; } .contact__form-card, .contact__info { padding: 22px; } }

/* logo image */
.logo__img { display: block; height: 38px; width: 38px; }

/* hero image */
.hero {
  min-height: clamp(460px, 62vw, 640px);
  display: flex; align-items: center;
  background-color: #0b3a2d;
  background-image:
    linear-gradient(90deg, rgba(8,40,31,.94) 0%, rgba(8,40,31,.78) 42%, rgba(8,40,31,.15) 78%, rgba(8,40,31,0) 100%),
    url("../media/hero-euro-wealth.png");
  background-image:
    linear-gradient(90deg, rgba(8,40,31,.94) 0%, rgba(8,40,31,.78) 42%, rgba(8,40,31,.15) 78%, rgba(8,40,31,0) 100%),
    image-set(url("../media/hero-euro-wealth.webp") type("image/webp"), url("../media/hero-euro-wealth.png") type("image/png"));
  background-size: cover;
  background-position: right center;
}
.hero::after { display: none; }
.hero__inner { width: min(1120px, 100% - 32px); }
.hero h1, .hero .eyebrow, .pills { text-shadow: 0 1px 12px rgba(0,0,0,.25); }
@media (max-width: 760px) {
  .hero { background-position: 70% center; background-image:
    linear-gradient(180deg, rgba(8,40,31,.9) 0%, rgba(8,40,31,.78) 100%),
    url("../media/hero-euro-wealth.png");
    background-image:
    linear-gradient(180deg, rgba(8,40,31,.9) 0%, rgba(8,40,31,.78) 100%),
    image-set(url("../media/hero-euro-wealth.webp") type("image/webp"), url("../media/hero-euro-wealth.png") type("image/png")); }
}
