/* Swiss Finance Academy course overview. Type and palette from swissfinanceacademy.com. */
:root {
  --ink: #0a121c; --navy: #0d1b2a; --navy-2: #101f30; --teal: #17453c; --red: #8f1f1f;
  --cream: #f2efe8; --paper: #f7f3ea; --white: #ffffff;
  --mute: rgba(255, 255, 255, 0.68); --mute-2: rgba(255, 255, 255, 0.42); --line: rgba(255, 255, 255, 0.12);
  --ink-mute: rgba(10, 18, 28, 0.64); --ink-line: rgba(10, 18, 28, 0.14);
  --fd: 'Fraunces', Georgia, serif; --fb: 'Wix Madefor Text', 'Helvetica Neue', Arial, sans-serif;
  --max: 1180px; --gutter: clamp(16px, 4vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy); color: var(--white); font-family: var(--fb); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--fd); font-weight: 400; line-height: 1.12; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 300; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
.eyebrow { font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: #c4a08a; margin: 0 0 14px; }
.lead, .intro { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.6; color: var(--mute); max-width: 60ch; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--ink); padding: 10px 16px; z-index: 300; }
.skip-link:focus { left: 16px; top: 16px; }
.hd { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; padding: 0 var(--gutter); background: rgba(10, 18, 28, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.hd .brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-size: 0.86rem; font-weight: 500; color: rgba(255, 255, 255, 0.85); text-decoration: none; padding: 10px 13px; white-space: nowrap; }
.nav a:hover { color: #fff; }
.nav a.cta { margin-left: 8px; background: var(--red); color: #fff; padding: 10px 20px; border-radius: 999px; font-weight: 600; }
.nav a.cta:hover { background: #fff; color: var(--ink); }
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 10vw, 130px) var(--gutter) clamp(48px, 7vw, 90px); }
.hero h1 { max-width: 16ch; margin-bottom: 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.actions.center { justify-content: center; }
.btn { display: inline-block; font-size: 0.86rem; font-weight: 600; padding: 13px 24px; border-radius: 999px; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: rgba(255, 255, 255, 0.6); color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.band { padding: clamp(56px, 8vw, 100px) var(--gutter); }
.band--cream { background: var(--cream); color: var(--ink); }
.band--cream .intro, .band--cream p { color: var(--ink); }
.band--cream .intro { color: var(--ink-mute); }
.band--cream .eyebrow { color: var(--red); }
.band--cream .btn-outline { border-color: var(--ink); color: var(--ink); }
.band--cream .btn-outline:hover { background: var(--ink); color: #fff; }
.band--cream .btn-primary { background: var(--ink); }
.band--cream .btn-primary:hover { background: var(--red); color: #fff; }
.band--navy { background: var(--navy-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wrap { max-width: var(--max); margin: 0 auto; }
.wrap--narrow { max-width: 760px; }
.center { text-align: center; }
.center .intro { margin-left: auto; margin-right: auto; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.card { display: flex; flex-direction: column; padding: 28px 24px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
.card:hover { border-color: #c4a08a; transform: translateY(-2px); }
.card .num { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: #c4a08a; margin-bottom: 14px; }
.card p { font-size: 0.95rem; color: var(--mute); flex: 1; }
.card .price { font-family: var(--fd); font-size: 1.25rem; color: #fff; }
.also { margin-top: 30px; font-size: 0.98rem; color: var(--mute); }
.band--cream .also { color: var(--ink-mute); }
.also a { color: inherit; font-weight: 600; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 48px; margin-top: 36px; }
.cols h3 { font-size: 1.25rem; margin-bottom: 8px; }
.cols p { font-size: 1rem; color: var(--ink-mute); }
.ft { background: var(--ink); color: var(--mute); padding: 64px var(--gutter) 36px; border-top: 1px solid var(--line); }
.ft-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.ft-grid img { height: 26px; width: auto; margin-bottom: 18px; }
.ft-note { font-size: 0.88rem; max-width: 36ch; }
.ft h4 { font-family: var(--fb); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute-2); margin: 0 0 16px; }
.ft ul { list-style: none; margin: 0; padding: 0; }
.ft li { margin-bottom: 10px; font-size: 0.92rem; }
.ft a { color: var(--mute); text-decoration: none; }
.ft a:hover { color: #fff; }
.ft-addr { font-size: 0.86rem; line-height: 1.6; }
.ft-legal { max-width: var(--max); margin: 44px auto 0; padding-top: 26px; border-top: 1px solid var(--line); font-size: 0.78rem; line-height: 1.6; color: var(--mute-2); }
.ft-swiss { font-family: var(--fd); font-style: italic; font-size: 0.98rem; color: var(--mute); }
@media (max-width: 1100px) { .grid { grid-template-columns: 1fr 1fr; } .ft-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav a:not(.cta) { display: none; }
  .grid, .cols, .ft-grid { grid-template-columns: 1fr; }
}

/* media and added depth */
.hero--img { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-figure { margin: 0; }
.hero-figure img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; border: 1px solid var(--line); }
.hero-figure figcaption, .figure figcaption { font-size: 0.78rem; letter-spacing: 0.06em; color: var(--mute-2); margin-top: 10px; }
.figure { margin: 36px 0 0; }
.figure img { width: 100%; max-height: 460px; object-fit: cover; border: 1px solid var(--ink-line); }
.band--cream .figure figcaption { color: var(--ink-mute); }
.detail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 34px; }
.detail h3 { font-size: 1.15rem; margin-bottom: 8px; }
.detail .k { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: #c4a08a; margin: 0 0 6px; }
.detail p { font-size: 0.93rem; color: var(--mute); margin: 0 0 8px; }
.detail ul { margin: 0; padding-left: 18px; font-size: 0.92rem; color: var(--mute); }
.detail li { margin-bottom: 4px; }
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.who div { border-top: 1px solid var(--ink-line); padding-top: 14px; }
.who strong { display: block; font-family: var(--fd); font-size: 1.15rem; margin-bottom: 4px; }
.who p { font-size: 0.92rem; color: var(--ink-mute); margin: 0; }
.heritage { display: grid; grid-template-columns: repeat(4, minmax(0, 230px)); gap: 12px; margin: 30px 0 6px; }
.heritage figure { margin: 0; }
.heritage img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--line); image-rendering: auto; }
.heritage figcaption { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-2); margin-top: 6px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.quote { display: flex; flex-direction: column; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); padding: 26px 24px; text-decoration: none; transition: border-color 0.2s; }
.quote:hover { border-color: #c4a08a; }
.quote img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; filter: saturate(0.9); }
.quote blockquote { margin: 0 0 16px; font-family: var(--fd); font-size: 1.12rem; line-height: 1.45; font-weight: 300; color: #fff; flex: 1; }
.quote blockquote p { margin: 0; }
.quote .q-meta { font-size: 0.84rem; color: var(--mute); }
.quote .q-meta strong { color: #fff; }
.quote .q-link { font-size: 0.82rem; font-weight: 600; color: #c4a08a; margin-top: 8px; }
@media (max-width: 1100px) { .detail, .who { grid-template-columns: 1fr 1fr; } .quotes { grid-template-columns: 1fr; } .hero--img { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .detail, .who { grid-template-columns: 1fr; } .heritage { grid-template-columns: repeat(2, minmax(0, 230px)); } }
