/* Seccore: dark only. Fonts are self-hosted (no requests to Google). */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-latin-300-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-latin-ext-300-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  --bg: #0c0c0d;
  --surface: #121214;
  --line: #232326;
  --text: #ece9e4;
  --text-2: #c9c5be;
  --muted: #9b978f;
  --faint: #8a867f;
  --accent: #9be3c3;
  --amber: #e6c27a;
  --radius-lg: 20px;
  --wrap: 1160px;
  --font: "Poppins", -apple-system, "Helvetica Neue", Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 48px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }

a { color: var(--text); text-decoration: none; }
a:hover { color: #ffffff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -48px;
  padding: 10px 16px; background: var(--accent); color: var(--bg);
  border-radius: 999px; font-size: 14px; font-weight: 500; z-index: 10;
}
.skip-link:focus { top: 16px; color: var(--bg); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Header: sticky. The height stays the same, so the content does not move on scroll. */
.site-header {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(12, 12, 13, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-scrolled { background: var(--bg); }
}
@media (prefers-reduced-motion: no-preference) {
  .site-header { transition: background-color 0.2s ease, border-color 0.2s ease; }
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 16px; padding-bottom: 16px;
}
.site-header .brand img { width: 110px; height: 39px; }

.nav {
  display: flex; align-items: center; gap: 4px; padding: 6px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; line-height: 20px;
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); white-space: nowrap; }
.nav a:hover { color: var(--text); }
.nav .nav-cta { background: var(--accent); color: var(--bg); font-weight: 500; }
.nav .nav-cta:hover { color: var(--bg); background: #b4ecd3; }
.nav .nav-lang { color: var(--text-2); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 4px; }

/* Active section (scrollspy) */
.nav .nav-sec[aria-current] { color: var(--text); background: rgba(236, 233, 228, 0.08); }

/* Menu button: only on small screens */
.nav-toggle {
  display: none; align-items: center; gap: 8px;
  padding: 8px 14px; border: 0; border-radius: 999px; background: transparent;
  color: var(--text-2); font: inherit; font-size: 14px; line-height: 20px; font-weight: 500; cursor: pointer;
}
.nav-toggle:hover { color: var(--text); }
.nav-toggle-icon { position: relative; width: 16px; height: 12px; }
.nav-toggle-icon span {
  position: absolute; left: 0; width: 16px; height: 1.5px; border-radius: 1px; background: currentColor;
}
.nav-toggle-icon span:nth-child(1) { top: 0; }
.nav-toggle-icon span:nth-child(2) { top: 5.25px; }
.nav-toggle-icon span:nth-child(3) { top: 10.5px; }
.nav.is-open .nav-toggle-icon span:nth-child(1) { top: 5.25px; transform: rotate(45deg); }
.nav.is-open .nav-toggle-icon span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle-icon span:nth-child(3) { top: 5.25px; transform: rotate(-45deg); }
@media (prefers-reduced-motion: no-preference) {
  .nav-toggle-icon span { transition: transform 0.2s ease, top 0.2s ease, opacity 0.15s ease; }
}

/* Hero */
.hero { text-align: center; }
.hero .wrap {
  display: flex; flex-direction: column; align-items: center; gap: 44px;
  padding-top: 120px; padding-bottom: 112px;
}
.hero .hero-banner { width: 100%; max-width: 400px; }
.hero .rule { width: 64px; height: 1px; background: var(--accent); }
.hero .hero-text { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero h1 { font-size: 22px; line-height: 30px; font-weight: 500; }
.hero .lead { max-width: 30em; font-size: 17px; line-height: 28px; font-weight: 300; color: var(--muted); }

/* Sections */
.section .wrap { display: flex; flex-direction: column; gap: 40px; padding-top: 80px; padding-bottom: 80px; }
.section-head { display: flex; flex-direction: column; gap: 12px; }
.section-head h2 { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--accent); }
.section-head .statement {
  font-size: clamp(28px, 4vw, 38px); line-height: 1.22;
  font-weight: 400; letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-head .sub { font-size: 15px; line-height: 24px; color: var(--muted); }

.cards { display: flex; flex-wrap: wrap; gap: 16px; }
.card {
  flex: 1 1 240px; padding: 32px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
  display: flex; flex-direction: column; gap: 12px;
}
.cards-2 .card { flex-basis: 320px; }
.card > h3 { font-size: 20px; line-height: 28px; font-weight: 500; }
.card > p { font-size: 15px; line-height: 24px; color: var(--muted); }

/* Certificates */
.cert-list {
  list-style: none; margin: 0; padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
}
.cert {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px;
  padding: 28px 32px; border-bottom: 1px solid var(--line);
}
.cert:last-child { border-bottom: 0; }
.cert .status-col { flex: 0 0 150px; display: flex; }
.cert .status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px 5px 9px; border: 1px solid; border-radius: 999px;
  font-size: 13px; line-height: 20px; font-weight: 500; white-space: nowrap;
}
.cert .status svg { width: 16px; height: 16px; flex: none; }
.cert.is-earned .status { color: var(--accent); border-color: rgba(155, 227, 195, 0.4); background: rgba(155, 227, 195, 0.12); }
.cert.is-progress .status { color: var(--amber); border-color: rgba(230, 194, 122, 0.4); background: rgba(230, 194, 122, 0.1); }
.cert.is-planned .status { color: var(--muted); border-color: #4a4843; border-style: dashed; background: transparent; }
.cert.is-planned h3 { color: var(--text-2); }
.cert .body { flex: 999 1 420px; display: flex; flex-direction: column; gap: 4px; }
.cert h3 { font-size: 19px; line-height: 27px; font-weight: 500; }
.cert p { font-size: 14px; line-height: 22px; color: var(--muted); }

/* Company details */
.details-card { padding: 32px; }
.details { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.detail { display: flex; flex-direction: column; gap: 4px; }
.detail-wide { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); }
.details dt { font-size: 13px; line-height: 20px; color: var(--muted); }
.details dd { margin: 0; font-size: 17px; line-height: 26px; color: var(--text); font-variant-numeric: tabular-nums; }
.copyable { display: flex; align-items: center; gap: 12px; }
.copyable .value { min-width: 0; overflow-wrap: anywhere; }
.account .value { font-size: clamp(16px, 2.4vw, 20px); letter-spacing: 0.02em; }

.copy {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none;
  min-width: 40px; height: 40px; padding: 0 11px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  font: inherit; font-size: 13px; line-height: 1; cursor: pointer;
}
.copy:hover { border-color: var(--accent); color: var(--text); }
.copy svg { width: 16px; height: 16px; flex: none; }
.copy .icon-done, .copy .copy-msg { display: none; }
.copy.is-done { border-color: var(--accent); color: var(--accent); }
.copy.is-done .icon-copy { display: none; }
.copy.is-done .icon-done, .copy.is-done .copy-msg { display: inline; }
.copy.is-failed { border-color: #c98a7a; color: #e0a596; }
.copy.is-failed .copy-msg { display: inline; }

.details-actions { margin-top: 28px; }
.copy-all { height: 44px; padding: 0 18px 0 15px; color: var(--text-2); }
.copy-all .copy-label { display: inline; }
.copy-all.is-done .copy-label, .copy-all.is-failed .copy-label { display: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Footer */
.site-footer .footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px;
  padding-top: 40px; padding-bottom: 56px; border-top: 1px solid var(--line);
  font-size: 13px; line-height: 21px; color: var(--faint);
}
.site-footer .footer-brand img { width: 90px; height: 32px; }

/* Small screens */
@media (max-width: 720px) {
  /* Dropdown menu. The panel is positioned against the sticky header. */
  .nav { overflow: visible; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 16px; right: 16px; margin-top: 8px;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 8px;
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    background: var(--surface); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  }
  .nav.is-open .nav-links { display: flex; }
  .nav .nav-links a { padding: 13px 16px; border-radius: 12px; font-size: 16px; line-height: 22px; }
  .nav .nav-links .nav-cta { margin-top: 6px; }
  .nav .nav-links a[aria-current] { color: var(--text); background: rgba(236, 233, 228, 0.08); }
  .nav .nav-links .nav-cta[aria-current] { color: var(--bg); background: var(--accent); }
  .hero .wrap { padding-top: 72px; padding-bottom: 72px; gap: 36px; }
  .hero .hero-banner { max-width: 280px; }
  .section .wrap { padding-top: 56px; padding-bottom: 56px; gap: 28px; }
  .card { padding: 24px; }
  .details-card { padding: 24px; }
  .details { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cert { padding: 22px 24px; }
  .cert .status-col { flex-basis: 100%; }
  /* Copy button on the label line, so the value keeps the full width. */
  .copyable { display: block; position: relative; }
  .copyable .copy { position: absolute; right: 0; top: -30px; height: 32px; min-width: 32px; padding: 0 8px; }
  .copyable .copy::after { content: ""; position: absolute; inset: -4px; }
}

/* Very narrow screens: keep the IBAN on one line. */
@media (max-width: 380px) {
  .account .value { font-size: 14.5px; letter-spacing: 0; }
}
