:root {
  --cream: #FBF7EF;
  --cream-dark: #F1E9D8;
  --teal: #1B4A63;
  --teal-soft: #4A7A8F;
  --terracotta: #C97B74;
  --rose-pastel: #F3D9D5;
  --blue-pastel: #D6E6ED;
  --blue: #6B98AC;
  --sage: #93A968;
  --sage-pastel: #E3EAD1;
  --yellow: #E0B44A;
  --yellow-pastel: #FBEBC0;
  --ink: #2B2B26;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
details, summary { border: none; background: none; outline: none; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 780px; margin: 0 auto; padding: 0 28px; }

/* Top nav */
nav.topnav {
  border-bottom: 1px solid var(--cream-dark);
  padding: 20px 0;
}
nav.topnav .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
nav.topnav .brand { font-weight: 700; letter-spacing: 0.08em; color: var(--teal); font-size: 0.85rem; text-decoration: none; }
nav.topnav .links { display: flex; gap: 20px; flex-wrap: wrap; }
nav.topnav .links a { color: var(--teal-soft); text-decoration: none; font-size: 0.88rem; font-weight: 500; }
nav.topnav .links a:hover { color: var(--terracotta); }
nav.topnav .switch { background: var(--teal); color: var(--cream); padding: 7px 16px; border-radius: 20px; text-decoration: none; font-size: 0.82rem; font-weight: 600; }

.nav-dropdown { position: relative; border: none; }
.nav-dropdown summary { cursor: pointer; color: var(--teal-soft); font-size: 0.95rem; font-weight: 500; list-style: none; display: flex; align-items: center; gap: 4px; text-decoration: none; padding: 6px 0; border: none; background: none; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { content: "▾"; font-size: 0.7em; }
.nav-dropdown[open] summary::after { content: "▴"; }
.nav-dropdown .dropdown-menu { background: transparent; padding: 0 0 0 14px; min-width: 0; box-shadow: none; position: static; margin-top: 2px; margin-bottom: 4px; }
.nav-dropdown .dropdown-menu a { display: block; padding: 5px 0; color: var(--teal-soft); text-decoration: none; font-size: 0.9rem; font-weight: 400; }
.nav-dropdown .dropdown-menu a:hover { color: var(--teal); }

.lang-toggle { display: flex; gap: 4px; font-size: 0.8rem; font-weight: 600; }
.lang-toggle a { color: #b3ac96; text-decoration: none; padding: 2px 4px; }
.lang-toggle a.active { color: var(--teal); }
.lang-toggle span { color: #d8d0b8; }

.nav-cta { color: var(--teal-soft) !important; font-weight: 500 !important; }

details.main-nav { position: relative; }
details.main-nav summary.brand-toggle { cursor: pointer; list-style: none; font-weight: 700; letter-spacing: 0.08em; color: var(--teal); font-size: 0.85rem; display: flex; align-items: center; gap: 6px; }
details.main-nav summary.brand-toggle::-webkit-details-marker { display: none; }
details.main-nav summary.brand-toggle::after { content: "▾"; font-size: 0.7em; color: var(--teal-soft); }
details.main-nav[open] summary.brand-toggle::after { content: "▴"; }
.main-nav-menu { display: flex; flex-direction: column; gap: 0; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--cream-dark); align-items: flex-start; }
.main-nav-menu > a { padding: 6px 0; color: var(--teal-soft); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.main-nav-menu > a:hover { color: var(--teal); }
.main-nav-menu .nav-dropdown { width: 100%; }
.main-nav-menu .lang-toggle { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--cream-dark); width: 100%; }

header.page-header { padding: 48px 0 32px; }
.eyebrow { color: var(--teal); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.14em; margin-bottom: 14px; text-transform: uppercase; }
h1 { font-family: 'Lora', serif; font-weight: 500; color: var(--teal); font-size: clamp(2.1rem, 7vw, 3rem); line-height: 1.08; margin-bottom: 16px; }
h2 { font-family: 'Lora', serif; font-weight: 500; color: var(--teal); font-size: clamp(1.4rem, 4.5vw, 1.9rem); margin: 40px 0 16px; }
h3 { font-family: 'Lora', serif; font-weight: 500; color: var(--teal); font-size: 1.2rem; margin: 24px 0 10px; }
p { margin-bottom: 14px; color: #4a463c; }
.lead { font-family: 'Lora', serif; font-style: italic; font-size: clamp(1.1rem, 3.5vw, 1.35rem); color: var(--teal-soft); line-height: 1.5; margin-bottom: 8px; }

a { color: var(--teal-soft); }

.divider { border: none; border-top: 1px solid var(--cream-dark); margin: 40px 0; }

.card { background: #fff; border: none; border-radius: 16px; padding: 26px 24px; margin-bottom: 18px; }
.card.blue { background: var(--blue-pastel); }
.card.rose { background: var(--rose-pastel); }
.card.sage { background: var(--sage-pastel); }
.card.yellow { background: var(--yellow-pastel); }
.card.highlight { background: var(--teal); color: var(--cream); border-radius: 16px; }
.card.highlight h3, .card.highlight h2 { color: var(--cream); }
.card.highlight p { color: #D9E4E1; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .grid-2 { grid-template-columns: 1fr; } }

.pill { display: inline-block; background: var(--yellow-pastel); color: #8a6a1f; font-size: 0.78rem; font-weight: 600; padding: 4px 14px; border-radius: 20px; margin-bottom: 10px; }

table { width: 100%; border-collapse: collapse; margin: 20px 0; }
table th, table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--cream-dark); font-size: 0.92rem; }
table th { color: var(--teal); font-weight: 600; }

.cta { display: inline-block; background: var(--yellow); color: var(--teal); text-decoration: none; font-weight: 600; padding: 13px 26px; border-radius: 24px; font-size: 0.92rem; }
.cta:hover { background: #CC9F3D; }
.cta.secondary { background: transparent; border: 1.5px solid var(--teal); color: var(--teal); border-radius: 24px; }

blockquote.testimonial { border-left: 3px solid var(--sage); padding: 4px 0 4px 18px; margin: 18px 0; font-family: 'Lora', serif; font-style: italic; color: var(--teal-soft); }
blockquote.testimonial cite { display: block; font-family: 'Inter', sans-serif; font-style: normal; font-size: 0.85rem; color: #6b6759; margin-top: 8px; }

.img-placeholder { background: var(--cream-dark); border: 1.5px dashed #B9AF97; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #8a8368; font-size: 0.85rem; text-align: center; padding: 40px 16px; min-height: 160px; }

details { background: #fff; border: 1px solid var(--cream-dark); border-radius: 6px; padding: 16px 20px; margin: 20px 0; }
details summary { cursor: pointer; font-weight: 600; color: var(--teal); }
details .terms-body h4 { color: var(--teal); font-size: 0.95rem; margin: 16px 0 6px; }
details .terms-body p { font-size: 0.85rem; color: #6b6759; margin-bottom: 8px; }

footer.site-footer { border-top: 1px solid var(--cream-dark); padding: 32px 0 56px; margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer.site-footer .footer-name { font-weight: 600; color: var(--teal); }
footer.site-footer .footer-role { color: #6b6759; font-size: 0.9rem; }
footer.site-footer .footer-contact { text-align: right; font-size: 0.9rem; }
footer.site-footer .footer-contact a { text-decoration: none; }
@media (max-width: 560px) { footer.site-footer { flex-direction: column; } footer.site-footer .footer-contact { text-align: left; } }

ul.list-clean { list-style: none; }
ul.list-clean li { padding-left: 1.4em; position: relative; margin-bottom: 10px; }
ul.list-clean li::before { content: "—"; position: absolute; left: 0; color: var(--sage); }

.downloads-list .card { display: flex; flex-direction: column; gap: 10px; }

.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.tile-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 620px) { .tile-grid { grid-template-columns: 1fr; } }
.tile { border-radius: 20px; padding: 26px 20px; text-decoration: none; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; transition: transform 0.15s ease; margin-bottom: 16px; }
.tile:hover { transform: translateY(-2px); }
.tile.blue { background: var(--blue-pastel); }
.tile.rose { background: var(--rose-pastel); }
.tile.sage { background: var(--sage-pastel); }
.tile.yellow { background: var(--yellow-pastel); }
.tile .icon-circle { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: center; }
.tile h3 { margin: 0; font-size: 1.05rem; }
.tile.blue h3 { color: #3D6E85; }
.tile.rose h3 { color: #A85850; }
.tile.sage h3 { color: #6E8449; }
.tile.yellow h3 { color: #8a6a1f; }
.tile p { margin: 0; font-size: 0.85rem; color: #5b574c; }
