:root {
    --jp-bg: #faf6f0;
    --jp-bg-alt: #f0ebe3;
    --jp-ink: #22252a;
    --jp-muted: #6c7078;
    --jp-accent: #2f4f4f;
    --jp-accent-soft: #8ba19b;
    --jp-border: #ddd3c5;
    --jp-warning: #b35b3f;
    --jp-navy: #0A2240;
    --jp-navy-light: #1B4F8A;
    --jp-blue: #6BA4D4;
    --jp-orange: #E87722;
    --jp-radius: 14px;
    --jp-shadow-soft: 0 20px 45px rgba(34, 37, 42, 0.08);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--jp-bg);
    color: var(--jp-ink);
    margin: 0;
    min-height: 100vh;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--jp-accent-soft);
    outline-offset: 3px;
}

body.nav-open,
body.modal-open {
    overflow: hidden;
}

.global-container {
    width: min(1120px, 100% - 2.5rem);
    margin: 0 auto;
    padding: 0 0 2rem;
}

.container {
    width: min(960px, 100% - 2rem);
    margin: 0 auto;
    padding: 2rem 0;
}

.card {
    background: #fff;
    border-radius: var(--jp-radius);
    border: 1px solid var(--jp-border);
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(34, 37, 42, 0.08);
    margin-bottom: 1.5rem;
}

.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(250, 246, 240, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(221, 211, 197, 0.7);
    z-index: 1000;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--jp-ink);
    min-width: 0;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--jp-accent), #1f3636);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 30px rgba(47, 79, 79, 0.25);
}

.brand-text {
    display: flex;
    flex-direction: column;
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-weight: 600;
    min-width: 0;
}

.brand-text span:first-child {
    font-size: 1.05rem;
    letter-spacing: 0.04em;
}

.brand-text span:last-child {
    font-size: 0.85rem;
    color: var(--jp-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-widget {
    position: relative;
}

.login-trigger {
    border: 1px solid var(--jp-border);
    background: transparent;
    color: var(--jp-ink);
    padding: 0.55rem 1.3rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.login-trigger:hover {
    border-color: var(--jp-accent-soft);
    background: rgba(47, 79, 79, 0.05);
}

.login-trigger .avatar-pill {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--jp-accent);
    color: #fff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.05em;
}

.login-widget .login-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    background: #fff;
    border-radius: var(--jp-radius);
    box-shadow: var(--jp-shadow-soft);
    border: 1px solid var(--jp-border);
    padding: 0.6rem 0;
    min-width: 220px;
    display: none;
    z-index: 30;
}

.login-widget .login-dropdown a {
    display: block;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    color: var(--jp-ink);
}

.login-widget .login-dropdown a:hover {
    background: var(--jp-bg-alt);
}

.login-widget.is-logged-in .login-dropdown[data-visible="true"] {
    display: block;
}

.hamburger {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--jp-border);
    background: transparent;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.hamburger:hover {
    border-color: var(--jp-accent-soft);
    background: rgba(47, 79, 79, 0.05);
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: var(--jp-ink);
    display: block;
    position: relative;
}

.hamburger span::before,
.hamburger span::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--jp-ink);
    left: 0;
    transition: transform 0.2s ease;
}

.hamburger span::before {
    top: -6px;
}

.hamburger span::after {
    top: 6px;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(34, 37, 42, 0.8);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 900;
}

.nav-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.nav-panel {
    background: #fff;
    width: min(360px, 85vw);
    height: 100%;
    padding: 4rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    box-shadow: -25px 0 50px rgba(34, 37, 42, 0.1);
}

.nav-panel header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-panel h3 {
    font-family: 'Playfair Display', serif;
    margin: 0;
    font-size: 1.3rem;
}

.nav-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--jp-muted);
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.1rem;
}

.nav-links a {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(221, 211, 197, 0.5);
}

.nav-links a:last-child {
    border-bottom: none;
}

.nav-footer {
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--jp-muted);
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(34, 37, 42, 0.7);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1000;
    padding: 1.5rem;
}

.modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.modal-panel {
    width: min(420px, 100%);
    background: #fff;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--jp-shadow-soft);
    border: 1px solid var(--jp-border);
    position: relative;
}

.modal-panel header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-panel h2 {
    font-family: 'Playfair Display', serif;
    margin: 0;
    font-size: 1.4rem;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--jp-muted);
}

.modal-panel form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-panel label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--jp-muted);
}

.modal-panel input {
    border: 1px solid var(--jp-border);
    border-radius: 10px;
    padding: 0.8rem;
    font-size: 1rem;
    width: 100%;
}

.btn {
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-primary {
    background: var(--jp-accent);
    color: #fff;
    box-shadow: 0 15px 30px rgba(47, 79, 79, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #233c3c;
}

.btn-link {
    background: transparent;
    color: var(--jp-accent);
    padding-left: 0;
    padding-right: 0;
}

.btn-secondary {
    background: transparent;
    color: var(--jp-ink);
    border: 1px solid var(--jp-border);
}

.btn-secondary:hover {
    background: rgba(47, 79, 79, 0.05);
}

.page-main {
    flex: 1;
    overflow-x: hidden;
}

main {
    padding: 1.5rem 0 5rem;
}

.hero {
    margin-top: 2rem;
    background: linear-gradient(180deg, rgba(139, 161, 155, 0.15), transparent 55%);
    border-radius: 28px;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--jp-shadow-soft);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("data:image/svg+xml,%3Csvg width='400' height='200' viewBox='0 0 400 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 140 L80 100 L140 130 L200 90 L280 130 L350 70 L400 100 L400 200 L0 200 Z' fill='rgba(47,79,79,0.05)'/%3E%3C/svg%3E");
    opacity: 0.8;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 2.5rem;
    align-items: start;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.8rem;
    color: var(--jp-muted);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
}

.hero-copy {
    font-size: 1.1rem;
    color: var(--jp-muted);
    margin-bottom: 2rem;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.stats-card {
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--jp-border);
    padding: 2rem;
    box-shadow: var(--jp-shadow-soft);
    height: fit-content;
}

.stats-card h3 {
    margin-top: 0;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stats-list li {
    list-style: none;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(221, 211, 197, 0.6);
    font-weight: 600;
}

.stats-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.section {
    margin-top: 4.5rem;
}

.section-heading {
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 0.8rem;
}

.section-intro {
    color: var(--jp-muted);
    max-width: 760px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    border-radius: var(--jp-radius);
    border: 1px solid var(--jp-border);
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 10px 30px rgba(34, 37, 42, 0.05);
}

.feature-card h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

.allocation-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: inset 0 0 0 1px var(--jp-border);
}

.allocation-bar span {
    padding: 0.7rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
}

.allocation-bar span:nth-child(1) { background: #5b7c7c; }
.allocation-bar span:nth-child(2) { background: #8fa6a3; }
.allocation-bar span:nth-child(3) { background: #b8c7c2; color: var(--jp-ink); }
.allocation-bar span:nth-child(4) { background: #d8ded9; color: var(--jp-ink); }

.pillars-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.pillar {
    padding: 1.75rem;
    border-radius: var(--jp-radius);
    border: 1px solid var(--jp-border);
    background: var(--jp-bg-alt);
}

.pillar h3 {
    margin-top: 0;
    font-size: 1.15rem;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.leader-card {
    border: 1px solid var(--jp-border);
    border-radius: var(--jp-radius);
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 10px 25px rgba(34, 37, 42, 0.05);
}

.leader-card h4 {
    margin: 0 0 0.5rem;
}

.leader-card p {
    margin: 0;
    color: var(--jp-muted);
    font-size: 0.95rem;
}

.fund-card {
    margin-top: 2rem;
    border: 1px solid var(--jp-border);
    border-radius: 22px;
    padding: 2rem;
    background: #fff;
    box-shadow: var(--jp-shadow-soft);
}

.fund-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.fund-detail {
    border: 1px solid rgba(221, 211, 197, 0.8);
    border-radius: 18px;
    padding: 1.35rem 1.4rem 1.45rem;
    background: linear-gradient(180deg, rgba(240, 235, 227, 0.55), rgba(255, 255, 255, 0.96));
    min-height: 100%;
}

.fund-detail--lead {
    grid-column: 1 / -1;
    display: grid;
    gap: 0.45rem;
    padding: 1.5rem 1.6rem 1.6rem;
    background: linear-gradient(135deg, rgba(139, 161, 155, 0.2), rgba(255, 255, 255, 0.98));
}

.fund-details dt {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--jp-muted);
    letter-spacing: 0.08em;
}

.fund-details dd {
    margin: 0.4rem 0 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
}

.disclaimer {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--jp-warning);
    background: rgba(179, 91, 63, 0.08);
    border-radius: var(--jp-radius);
    color: var(--jp-ink);
    font-size: 0.95rem;
}

.contact-card {
    margin-top: 2rem;
    border-radius: 24px;
    padding: 2.5rem;
    background: #fff;
    border: 1px solid var(--jp-border);
    box-shadow: var(--jp-shadow-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--jp-muted);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    border: 1px solid var(--jp-border);
    border-radius: 12px;
    padding: 0.85rem;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-feedback {
    margin-top: 1rem;
    color: var(--jp-accent);
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.contact-feedback[data-visible="true"] {
    opacity: 1;
}

/* -- About page -- */

.about-hero {
    margin-top: 0.9rem;
}

.about-hero__panel {
    padding: 2rem 2.25rem;
    border: 1px solid rgba(221, 211, 197, 0.85);
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(139, 161, 155, 0.12), rgba(255, 255, 255, 0.96)),
        #fff;
    box-shadow: var(--jp-shadow-soft);
    position: relative;
    overflow: hidden;
}

.about-hero__panel::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 79, 79, 0.12) 0%, rgba(47, 79, 79, 0) 72%);
    pointer-events: none;
}

.about-hero__panel > * {
    position: relative;
    z-index: 1;
}

.about-section .section-heading {
    margin-bottom: 1.1rem;
}

.about-section .section-intro,
.about-hero .section-intro {
    max-width: none;
}

.about-hero .hero-eyebrow,
.about-section .hero-eyebrow {
    margin-bottom: 0.35rem;
}

.about-hero .section-title,
.about-section .section-title {
    margin-bottom: 0.5rem;
}

.about-hero {
    margin-bottom: -0.8rem;
}

.about-section {
    margin-top: 2.25rem;
}

.about-leadership-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.about-leader-card {
    min-width: 0;
    padding: 1.6rem 1.55rem;
    border-radius: 20px;
    border: 1px solid rgba(221, 211, 197, 0.9);
    border-top: 4px solid var(--jp-accent);
    box-shadow: 0 16px 34px rgba(34, 37, 42, 0.06);
}

.about-leader-card--kyle {
    order: 1;
}

.about-leader-card--matt {
    order: 2;
}

.about-leader-card h3 {
    margin: 0 0 0.85rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    line-height: 1.25;
}

.about-leader-card p {
    color: #59606a;
    line-height: 1.68;
    font-size: 0.96rem;
}

.about-leader-list {
    margin: 1rem 0 0;
    padding-left: 1.1rem;
    line-height: 1.65;
    color: #3c4148;
    font-size: 0.95rem;
}

.about-leader-list li + li {
    margin-top: 0.2rem;
}

.about-leader-list strong {
    color: var(--jp-ink);
}

footer {
    background: var(--jp-bg-alt);
    padding: 2.5rem 0;
    border-top: 1px solid var(--jp-border);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-legal {
    color: var(--jp-muted);
    max-width: 420px;
}

/* -- Deck-style bar headers -- */

.deck-bar {
    background: var(--jp-navy);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    letter-spacing: 0.03em;
    border-radius: 4px 4px 0 0;
}

.deck-bar--light {
    background: var(--jp-navy-light);
}

/* -- Hero stats bar -- */

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--jp-border);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 30px rgba(34, 37, 42, 0.10);
}

.stat-item {
    background: #fff;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--jp-navy);
    font-family: 'Playfair Display', serif;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--jp-ink);
    margin-top: 0.25rem;
}

.stat-compare {
    font-size: 0.8rem;
    color: var(--jp-blue);
    font-weight: 500;
}

/* -- Performance section -- */

.perf-section {
    background: #fff;
    border-radius: 22px;
    padding: 2.5rem;
    border: 1px solid var(--jp-border);
    box-shadow: var(--jp-shadow-soft);
}

.perf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.perf-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.perf-metric {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    background: var(--jp-bg);
    border: 1px solid var(--jp-border);
    border-radius: var(--jp-radius);
    padding: 1.25rem;
}

.perf-dt {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--jp-muted);
}

.perf-dd {
    font-size: 2rem;
    font-weight: 700;
    color: var(--jp-navy);
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.perf-vs {
    font-size: 0.8rem;
    color: var(--jp-blue);
}

.vol-section h3 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--jp-muted);
    margin-top: 0;
    margin-bottom: 1.25rem;
}

.vol-bar-row {
    display: grid;
    grid-template-columns: 90px 1fr 55px;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.vol-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: right;
}

.vol-track {
    height: 28px;
    background: var(--jp-bg-alt);
    border-radius: 6px;
    overflow: hidden;
}

.vol-fill {
    height: 100%;
    background: var(--jp-navy);
    border-radius: 6px;
    transition: width 1s ease;
}

.vol-fill--mid {
    background: var(--jp-blue);
}

.vol-fill--high {
    background: var(--jp-orange);
}

.vol-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--jp-ink);
}

.perf-summary {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--jp-muted);
    line-height: 1.7;
}

.perf-disclaimer {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--jp-muted);
    font-style: italic;
}

/* -- Differentiator grid -- */

.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.diff-card {
    border-radius: var(--jp-radius);
    border: 1px solid var(--jp-border);
    border-top: 3px solid var(--jp-navy);
    padding: 1.75rem;
    background: #fff;
    box-shadow: 0 10px 30px rgba(34, 37, 42, 0.05);
}

.diff-card h3 {
    margin-top: 0;
    font-size: 1.15rem;
    color: var(--jp-navy);
}

.diff-card p {
    color: var(--jp-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.diff-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
    color: var(--jp-navy);
}

.diff-icon svg {
    width: 100%;
    height: 100%;
}

/* -- Strategy columns -- */

.strategy-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.strategy-col {
    border: 1px solid var(--jp-border);
    border-radius: var(--jp-radius);
    overflow: hidden;
    background: #fff;
}

.strategy-list {
    padding: 1.5rem;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.strategy-list li {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(221, 211, 197, 0.5);
    font-size: 0.95rem;
    line-height: 1.6;
}

.strategy-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* -- Technology section -- */

.tech-section {
    background: linear-gradient(180deg, #f2ece3 0%, #e8ece6 35%, #dde5e0 100%);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    border-radius: 0;
    margin-top: 4.5rem;
    border-top: 1px solid rgba(47, 79, 79, 0.12);
    border-bottom: 1px solid rgba(47, 79, 79, 0.18);
    position: relative;
    overflow: hidden;
}

.tech-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(250, 246, 240, 0.95) 0%, rgba(250, 246, 240, 0) 100%);
    pointer-events: none;
}

.tech-section::after {
    content: "";
    position: absolute;
    right: -130px;
    bottom: -220px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 79, 79, 0.16) 0%, rgba(47, 79, 79, 0) 72%);
    pointer-events: none;
}

.tech-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 3rem 2.5rem;
    position: relative;
    z-index: 1;
}

.tech-section .deck-bar--light {
    background: linear-gradient(135deg, #55786f 0%, #3f645d 100%);
    color: #f5f8f6;
    box-shadow: 0 14px 28px rgba(63, 100, 93, 0.18);
}

.tech-section .section-title,
.tech-section h2 {
    color: var(--jp-navy);
    font-family: 'Playfair Display', serif;
}

.tech-intro {
    color: #495561;
    max-width: 760px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.tech-intro em {
    color: #355e57;
    font-style: italic;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.tech-card {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(63, 100, 93, 0.18);
    border-radius: var(--jp-radius);
    padding: 1.5rem;
    box-shadow: 0 14px 30px rgba(34, 37, 42, 0.07);
    backdrop-filter: blur(2px);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.tech-card:hover {
    transform: translateY(-4px);
    border-color: rgba(63, 100, 93, 0.34);
    box-shadow: 0 20px 40px rgba(34, 37, 42, 0.11);
}

.tech-card h3 {
    color: #223654;
    margin-top: 0;
    font-size: 1.05rem;
}

.tech-card p {
    color: #5d6875;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* -- Terms section -- */

.terms-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.terms-col {
    border: 1px solid var(--jp-border);
    border-radius: var(--jp-radius);
    overflow: hidden;
    background: #fff;
}

.terms-table {
    margin: 0;
    padding: 0;
}

.terms-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1rem 1.5rem;
    border-bottom: 1px dashed var(--jp-border);
    gap: 1rem;
}

.terms-row:last-child {
    border-bottom: none;
}

.terms-row dt {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--jp-ink);
    flex-shrink: 0;
}

.terms-row dd {
    margin: 0;
    font-size: 0.9rem;
    color: var(--jp-muted);
    text-align: right;
}

/* -- Leader title accent -- */

.leader-title {
    color: var(--jp-blue);
    font-weight: 500;
}

.leader-card h4 {
    font-size: 1.15rem;
}

.fade-in {
    animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .hero {
        padding: 3rem 2.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-card {
        max-width: 720px;
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .about-leadership-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .site-header__inner {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .global-container {
        width: min(1120px, 100% - 1.5rem);
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .perf-grid {
        grid-template-columns: 1fr;
    }

    .diff-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .strategy-columns {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .terms-wrapper {
        grid-template-columns: 1fr;
    }

    .tech-inner {
        padding: 2.5rem 1.5rem;
    }

    .fund-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 2.3rem;
    }

    .about-hero__panel,
    .about-leader-card {
        padding: 1.6rem;
    }

    .cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .brand-text span:first-child {
        font-size: 0.95rem;
    }

    .site-header__inner {
        gap: 0.75rem;
    }

    .brand {
        gap: 0.75rem;
        flex: 1 1 auto;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-text span:first-child {
        font-size: 0.88rem;
        line-height: 1.15;
    }

    .brand-text span:last-child {
        font-size: 0.74rem;
        letter-spacing: 0.1em;
    }

    .header-actions {
        gap: 0.6rem;
    }

    .login-trigger {
        padding: 0.5rem 1rem;
        font-size: 0.92rem;
    }

    .hamburger {
        width: 42px;
        height: 42px;
    }

    .allocation-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-bar {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .diff-grid {
        grid-template-columns: 1fr;
    }

    .perf-metrics {
        grid-template-columns: 1fr;
    }

    .perf-dd {
        font-size: 1.6rem;
    }

    .vol-bar-row {
        grid-template-columns: 70px 1fr 50px;
    }

    .perf-section {
        padding: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
