/* =========================================================
   THE HUMAN EDGE — PREMIUM LILAC CONFERENCE THEME
   Clean replacement for /css/style.css
   Works with the supplied index.html and existing script.js.
========================================================= */

:root {
    --plum: #50144a;
    /* --plum-deep: #321b3a; */
    --plum-deep: #50144a;
    --plum-dark: #50144a;
    --lilac: #80618f;
    --lilac-soft: #e9ddf0;
    --lilac-pale: #f4eef7;
    --lavender-white: #faf8fc;
    --white: #ffffff;
    --ink: #50144a;
    --muted: #716777;
    --line: #e8e0eb;
    --success: #287a52;
    --danger: #b94152;
    --serif: "Overpass", system-ui, -apple-system, "Segoe UI", sans-serif;
    --sans: "Overpass", system-ui, -apple-system, "Segoe UI", sans-serif;
    --shadow-sm: 0 5px 20px rgba(54, 30, 62, .055);
    --shadow-md: 0 14px 36px rgba(54, 30, 62, .10);
    --radius: 16px;
    --content-width: 1120px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--lavender-white);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.wrap {
    width: min(var(--content-width), calc(100% - 48px));
    margin-inline: auto;
}

section {
    position: relative;
    padding: 96px 0;
}

h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.025em;
}

h2 {
    margin-bottom: 18px;
    color: var(--plum);
    font-size: clamp(2rem, 3.8vw, 2.85rem);
}

p {
    margin: 0;
}

.lead {
    max-width: 850px;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.8;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 17px;
    color: var(--lilac);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 32px;
    height: 1px;
    flex: 0 0 32px;
    background: currentColor;
    content: "";
}

.subhead {
    margin-bottom: 18px;
    color: var(--lilac);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .015em;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.solid {
    color: var(--plum);
    background: var(--white);
    box-shadow: 0 5px 18px rgba(20, 8, 25, .10);
}

.btn.solid:hover {
    color: var(--white);
    background: var(--lilac);
    box-shadow: 0 9px 22px rgba(20, 8, 25, .16);
}

.btn.line {
    color: var(--white);
    background: rgba(255, 255, 255, .055);
    border-color: rgba(255, 255, 255, .42);
}

.btn.line:hover {
    color: var(--plum-deep);
    background: var(--white);
    border-color: var(--white);
}

#go:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

/* Navigation */
nav {
    position: fixed;
    z-index: 100;
    inset: 0 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
    background: rgba(50, 27, 58, .78);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

nav .in {
    display: flex;
    width: min(var(--content-width), calc(100% - 48px));
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-inline: auto;
    padding: 10px 0;
}

nav .logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    text-decoration: none;
}

nav .logo img {
    display: block;
    width: 150px;
    height: 48px;
    object-fit: contain;
    object-position: left center;
}

nav .links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(15px, 2.3vw, 30px);
}

nav a.l {
    color: rgba(255, 255, 255, .82);
    font-size: .86rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

nav a.l:hover,
nav a.l:focus-visible {
    color: var(--white);
}

nav .btn {
    min-height: 40px;
    padding: 9px 17px;
    font-size: .8rem;
}

/* Hero */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 520px;
    padding: 80px 0 58px;
    color: var(--white);
    text-align: center;
    /* background:
        linear-gradient(135deg, rgba(75, 40, 85, .93), rgba(50, 27, 58, .97)),
        url("/images/hero-bg.jpg") center / cover no-repeat,
        var(--plum-deep); */
    background: #50144a;
}

.hero::before,
.hero::after {
    position: absolute;
    z-index: -1;
    /* border: 1px solid rgba(233, 221, 240, .19); */
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.hero::before {
    top: -270px;
    right: 7%;
    width: 520px;
    height: 520px;
    /* background: rgba(233, 221, 240, .075);
    box-shadow: 0 0 0 24px rgba(233, 221, 240, .025), 0 0 0 54px rgba(233, 221, 240, .02); */
}

.hero::after {
    bottom: -520px;
    left: -100px;
    width: 760px;
    height: 760px;
    border-width: 2px;
    /* box-shadow: 0 0 0 22px rgba(233, 221, 240, .025), 0 0 0 48px rgba(233, 221, 240, .02); */
}

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

.dots {
    position: absolute;
    z-index: -1;
    width: 220px;
    height: 145px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .13) 1.5px, transparent 2px);
    background-size: 22px 22px;
    pointer-events: none;
}

.dots-tl {
    top: 100px;
    left: 5%;
}

.dots-br {
    right: 5%;
    bottom: 40px;
}

.hero .org {
    color: rgba(255, 255, 255, .74);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.hero h1.lockup {
    margin: 25px 0 20px;
    color: var(--white);
    font-size: clamp(3.1rem, 8vw, 6.6rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.04;
    text-shadow: 0 8px 35px rgba(0, 0, 0, .13);
}

.hero h1.lockup img {
    display: block;
    width: min(640px, 88%);
    height: auto;
    margin-inline: auto;
}

.rule {
    width: 58px;
    height: 2px;
    margin: 0 auto 23px;
    border-radius: 2px;
    background: #c9add7;
}

.hero .tag {
    color: rgba(255, 255, 255, .82);
    font-size: clamp(.78rem, 1.5vw, .96rem);
    font-weight: 600;
    letter-spacing: .13em;
    line-height: 1.9;
    text-transform: uppercase;
}

.hero .tag span {
    margin-inline: 8px;
    color: #c9add7;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px;
    margin-top: 36px;
}

.deadline-note {
    margin-top: 48px;
    color: rgba(255, 255, 255, .72);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.count {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 17px;
}

.count div {
    display: flex;
    min-width: 100px;
    flex-direction: column;
    align-items: center;
    padding: 16px 18px 13px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    background: rgba(255, 255, 255, .085);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.count strong {
    color: var(--white);
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.count small {
    margin-top: 6px;
    color: rgba(255, 255, 255, .68);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

/* About */
/* .about {
    background: var(--white);
}

.cols {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(36px, 7vw, 90px);
}

.cols>div {
    min-width: 0;
}

.about h2 {
    max-width: 500px;
    margin-bottom: 0;
}

.about p {
    color: var(--muted);
    line-height: 1.85;
}

.about p+p {
    margin-top: 17px;
}

.about p.big {
    margin-bottom: 18px;
    color: var(--plum);
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 600;
    line-height: 1.55;
} */

.about {
    background: var(--white);
}

.cols {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    width: 100%;
}

.cols > div {
    width: 100%;
    min-width: 0;
}

.about h2 {
    max-width: 800px;
    margin-bottom: 0;
}

.about p {
    color: var(--muted);
    line-height: 1.85;
}

.about p + p {
    margin-top: 17px;
}

.about p.big {
    margin-bottom: 18px;
    color: var(--plum);
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 600;
    line-height: 1.55;
}

/* Five pillars */
#pillars {
    background: var(--lavender-white);
}

#pillars .lead {
    max-width: 850px;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
    margin-top: 42px;
}

.pillar {
    position: relative;
    isolation: isolate;
    display: flex;
    min-width: 0;
    min-height: 255px;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    padding: 27px 21px 25px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--lilac);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.pillar::after {
    position: absolute;
    z-index: -1;
    right: -45px;
    bottom: -65px;
    width: 145px;
    height: 145px;
    /* border: 1px solid rgba(128, 97, 143, .12); */
    border-radius: 50%;
    /* box-shadow: 0 0 0 12px rgba(128, 97, 143, .035), 0 0 0 26px rgba(128, 97, 143, .025); */
    content: "";
    pointer-events: none;
}

.pillar:hover {
    transform: translateY(-5px);
    border-color: rgba(128, 97, 143, .34);
    box-shadow: var(--shadow-md);
}

.pillar-icon {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    margin-bottom: 20px;
    border: 1px solid #e3d5eb;
    border-radius: 15px;
    color: var(--plum);
    background: var(--lilac-pale);
    font-size: 1.25rem;
}

.pillar h3 {
    margin-bottom: 9px;
    color: var(--plum);
    font-size: 1.08rem;
    line-height: 1.35;
}

.pillar p {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.7;
}

/* Why now / evidence */
/* Evidence section */
.evidence {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--white);
    background: #50144a;
}

.evidence::before {
    position: absolute;
    z-index: -1;
    bottom: -210px;
    left: -170px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.evidence h2 {
    color: var(--white);
}

.evidence .eyebrow {
    color: #d7c2e2;
}

/* Three statistic boxes */
.stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
    margin: 38px 0 24px;
}

.stat {
    min-width: 0;
    min-height: 190px;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 14px;
    background: rgba(255, 255, 255, .075);

    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    transition: transform .25s ease, background .25s ease;
}

.stat:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .12);
}

.stat strong {
    display: block;
    color: #a789a4;
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
}

.stat span {
    display: block;
    margin-top: 11px;
    color: rgba(255, 255, 255, .82);
    font-size: .87rem;
    line-height: 1.65;
}

/* Small source links inside statistic boxes */
.stat-source {
    margin-top: auto;
    padding-top: 18px;
    width: 100%;
}

.stat-source ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.stat-source li {
    color: rgba(255, 255, 255, .55);
    font-size: .68rem;
    line-height: 1.5;
}

.stat-source a {
    color: #a789a4;
    font-size: .68rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(231, 196, 119, .35);
    transition: color .2s ease, border-color .2s ease;
}

.stat-source a:hover {
    color: #ffffff;
    border-color: #ffffff;
}

/* Main source references */
.evidence-sources {
    margin: 22px 0 30px;
    padding: 13px 18px;
    background: rgba(255, 255, 255, .045);
    border-left: 3px solid #80618f;
    border-radius: 6px;
}

.evidence-sources ul {
    margin: 0;
    padding-left: 17px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.evidence-sources li {
    color: rgba(255, 255, 255, .65);
    font-size: .76rem;
    line-height: 1.55;
}

.evidence-sources a {
    color: #f4eef7;
    font-size: .76rem;
    text-decoration: none;
    transition: color .2s ease;
}

.evidence-sources a:hover {
    color: #a789a4;
    text-decoration: underline;
}

/* Evidence paragraphs */
.evid {
    max-width: 960px;
}

.evid p {
    color: rgba(255, 255, 255, .83);
    line-height: 1.85;
}

.evid p + p {
    margin-top: 15px;
}

/* Tablet */
@media (max-width: 850px) {
    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

/* Mobile */
@media (max-width: 560px) {
    .stats {
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 28px 0 22px;
    }

    .stat {
        min-height: 155px;
        padding: 22px 20px;
    }

    .stat-source {
        padding-top: 14px;
    }

    .evidence-sources {
        padding: 12px 14px;
    }
}


/* .stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 38px 0;
}

.stat {
    min-width: 0;
    padding: 27px 22px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 14px;
    background: rgba(255, 255, 255, .075);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: transform .25s ease, background .25s ease;
}

.stat:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .12);
}

.stat strong {
    display: block;
    color: #d8c0e4;
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
}

.stat span {
    display: block;
    margin-top: 11px;
    color: rgba(255, 255, 255, .82);
    font-size: .87rem;
    line-height: 1.65;
} */

/* Evidence Statistics */
.stat/* Evidence section */
.evidence {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--white);
    background: #50144a;
}

.evidence::before {
    position: absolute;
    z-index: -1;
    bottom: -210px;
    left: -170px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.evidence h2 {
    color: var(--white);
}

.evidence .eyebrow {
    color: #d7c2e2;
}

/* Three statistic boxes */
.stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
    margin: 38px 0 24px;
}

.stat {
    min-width: 0;
    min-height: 190px;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 14px;
    background: rgba(255, 255, 255, .075);

    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    transition: transform .25s ease, background .25s ease;
}

.stat:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .12);
}

.stat strong {
    display: block;
    color: #a789a4;
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
}

.stat span {
    display: block;
    margin-top: 11px;
    color: rgba(255, 255, 255, .82);
    font-size: .87rem;
    line-height: 1.65;
}

/* Small source links inside statistic boxes */
.stat-source {
    margin-top: auto;
    padding-top: 18px;
    width: 100%;
}

.stat-source ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.stat-source li {
    color: rgba(255, 255, 255, .55);
    font-size: .68rem;
    line-height: 1.5;
}

.stat-source a {
    color: #a789a4;
    font-size: .68rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(231, 196, 119, .35);
    transition: color .2s ease, border-color .2s ease;
}

.stat-source a:hover {
    color: #ffffff;
    border-color: #ffffff;
}

/* Main source references */
.evidence-sources {
    margin: 22px 0 30px;
    padding: 13px 18px;
    background: rgba(255, 255, 255, .045);
    border-left: 3px solid #80618f;
    border-radius: 6px;
}

.evidence-sources ul {
    margin: 0;
    padding-left: 17px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.evidence-sources li {
    color: rgba(255, 255, 255, .65);
    font-size: .76rem;
    line-height: 1.55;
}

.evidence-sources a {
    color: #f4eef7;
    font-size: .76rem;
    text-decoration: none;
    transition: color .2s ease;
}

.evidence-sources a:hover {
    color: #a789a4;
    text-decoration: underline;
}

/* Evidence paragraphs */
.evid {
    max-width: 960px;
}

.evid p {
    color: rgba(255, 255, 255, .83);
    line-height: 1.85;
}

.evid p + p {
    margin-top: 15px;
}

/* Tablet */
@media (max-width: 850px) {
    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

/* Mobile */
@media (max-width: 560px) {
    .stats {
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 28px 0 22px;
    }

    .stat {
        min-height: 155px;
        padding: 22px 20px;
    }

    .stat-source {
        padding-top: 14px;
    }

    .evidence-sources {
        padding: 12px 14px;
    }
}

/* Call for papers */
#papers {
    isolation: isolate;
    overflow: hidden;
    padding: 96px 0;
    background: #fbf9fc;
}

#papers::before,
#papers::after {
    position: absolute;
    z-index: -1;
    /* border: 1px solid rgba(128, 97, 143, .13); */
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

#papers::before {
    top: 65px;
    right: -155px;
    width: 310px;
    height: 310px;
}

#papers::after {
    bottom: 80px;
    left: -135px;
    width: 230px;
    height: 230px;
}

#papers .sub-h {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 48px 0 20px;
    color: var(--plum);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

#papers .sub-h::before {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: var(--lilac);
    box-shadow: 0 0 0 5px rgba(128, 97, 143, .12);
    content: "";
}

#papers .sub-h::after {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, rgba(128, 97, 143, .32), transparent);
    content: "";
}

#papers .grid3,
#papers .grid4 {
    display: grid;
    align-items: stretch;
    gap: 20px;
}

#papers .grid3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#papers .grid4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

#papers .card {
    position: relative;
    isolation: isolate;
    display: flex;
    min-width: 0;
    min-height: 245px;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    padding: 28px 25px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

#papers .grid4 .card {
    min-height: 260px;
}

#papers .card:hover {
    transform: translateY(-5px);
    border-color: rgba(128, 97, 143, .38);
    box-shadow: var(--shadow-md);
}

#papers .grid3,
#papers .grid4 {
    counter-reset: paper-card;
}

#papers .grid3 .card,
#papers .grid4 .card {
    counter-increment: paper-card;
}

#papers .grid3 .card::before,
#papers .grid4 .card::before {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    place-items: center;
    margin-bottom: 23px;
    border: 4px solid var(--lilac-pale);
    border-radius: 50%;
    color: var(--white);
    background: var(--plum);
    content: counter(paper-card, decimal-leading-zero);
    font-size: .72rem;
    font-weight: 800;
    transition: background .25s ease, transform .25s ease;
}

#papers .card:hover::before {
    transform: scale(1.06);
    background: var(--lilac);
}

#papers .card h3 {
    margin: 0 0 11px;
    color: var(--plum);
    font-size: 1.12rem;
    line-height: 1.4;
}

#papers .card p {
    color: var(--muted);
    font-size: .91rem;
    line-height: 1.75;
}

#papers .card .w {
    display: inline-block;
    margin: -2px 0 12px;
    color: var(--lilac);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.6;
    text-transform: uppercase;
}

#papers .deadline {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 42px;
    padding: 26px 24px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(120deg, var(--plum), #654875);
    box-shadow: 0 12px 28px rgba(75, 40, 85, .15);
    font-size: 1.08rem;
    font-weight: 700;
    text-align: center;
}

#papers .deadline::before,
#papers .deadline::after {
    position: absolute;
    z-index: -1;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

#papers .deadline::before {
    top: -72px;
    left: -40px;
}

#papers .deadline::after {
    right: -40px;
    bottom: -75px;
}

#papers .deadline a {
    position: relative;
    display: inline-block;
    color: var(--white);
    text-decoration: none;
}

#papers .deadline a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

#papers .deadline b {
    color: #e7d7ef;
}

/* Submission section */
.submit {
    overflow: hidden;
    color: var(--white);
    /* background: linear-gradient(145deg, #4b2855 0%, #35203e 100%); */
    background: linear-gradient(145deg, #50144a 0%, #35203e 100%);
}

.submit::before {
    position: absolute;
    top: -220px;
    right: -150px;
    width: 460px;
    height: 460px;
    /* border: 1px solid rgba(255, 255, 255, .10); */
    border-radius: 50%;
    /* box-shadow: 0 0 0 25px rgba(255, 255, 255, .025), 0 0 0 55px rgba(255, 255, 255, .02); */
    content: "";
    pointer-events: none;
}

.submit .wrap {
    position: relative;
    z-index: 1;
}

.submit h2 {
    color: var(--white);
}

.submit .eyebrow {
    color: #d9c5e4;
}

.submit .lead {
    max-width: 720px;
    color: rgba(255, 255, 255, .77);
}

.form {
    margin-top: 38px;
    padding: clamp(20px, 4vw, 38px);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: rgba(255, 255, 255, .065);
    box-shadow: 0 24px 65px rgba(20, 8, 25, .20);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.form-section {
    margin-bottom: 25px;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 13px;
    background: rgba(255, 255, 255, .045);
}

.form-section-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 19px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.form-section-number {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border: 1px solid rgba(215, 194, 226, .4);
    border-radius: 11px;
    color: #eadcf1;
    background: rgba(215, 194, 226, .12);
    font-size: .9rem;
    font-weight: 800;
}

.form-section-heading h3 {
    margin: 0 0 5px;
    color: var(--white);
    font-size: 1.12rem;
    letter-spacing: -.01em;
}

.form-section-heading p {
    color: rgba(255, 255, 255, .66);
    font-size: .84rem;
    line-height: 1.55;
}

.fg {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.fg>div {
    min-width: 0;
}

.fg .full {
    grid-column: 1 / -1;
}

.form-section .fg {
    row-gap: 22px;
    column-gap: 22px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .9);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .055em;
    line-height: 1.5;
    text-transform: uppercase;
}

label sup {
    color: #e2cbea;
    font-size: .9em;
}

input,
select,
.form textarea {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    outline: none;
    color: var(--white);
    background: rgba(255, 255, 255, .075);
    font-size: .93rem;
    line-height: 1.5;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

input::placeholder,
.form textarea::placeholder {
    color: rgba(255, 255, 255, .48);
}

select {
    cursor: pointer;
}

select option {
    color: var(--ink);
    background: var(--white);
}

input:focus,
select:focus,
.form textarea:focus {
    border-color: #d7c2e2;
    background: rgba(255, 255, 255, .11);
    box-shadow: 0 0 0 3px rgba(215, 194, 226, .15);
}

input.bad,
select.bad,
.form textarea.bad {
    border-color: #ff9aab;
}

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

.err {
    min-height: 1em;
    margin-top: 5px;
    color: #ffc0ca;
    font-size: .76rem;
    line-height: 1.45;
}

.hint {
    min-height: 1.2em;
    margin-top: 6px;
    color: #e5d3ed;
    font-size: .8rem;
}

.form #go {
    display: flex;
    min-width: 220px;
    margin: 28px auto 0;
    padding: 15px 38px;
    color: var(--plum);
    background: #f1e7f5;
}

.form #go:hover {
    color: var(--white);
    background: var(--lilac);
}

/* File upload */
.drop {
    position: relative;
    display: flex;
    min-height: 175px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 25px;
    border: 1px dashed rgba(233, 221, 240, .52);
    border-radius: 11px;
    color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .035);
    cursor: pointer;
    font-size: .93rem;
    text-align: center;
    transition: border-color .25s ease, background .25s ease;
}

.drop:hover,
.drop.over {
    border-color: #d7c2e2;
    background: rgba(255, 255, 255, .08);
}

.drop input[type="file"] {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}

.drop svg {
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
    fill: none;
    stroke: #e2cbea;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.drop small {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, .62);
    font-size: .76rem;
}

.drop .fn {
    position: relative;
    z-index: 3;
    max-width: 100%;
    margin-top: 12px;
    overflow-wrap: anywhere;
}

.bar {
    display: none;
    width: 100%;
    height: 6px;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, .16);
}

.bar i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #bda1cd, #eadcf1);
    transition: width .35s ease;
}

.uploaded-file {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    border: 1px solid #e5d8e9;
    border-radius: 11px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.uploaded-file-badge {
    display: grid;
    width: 48px;
    height: 52px;
    flex: 0 0 48px;
    place-items: center;
    border: 1px solid #e4d5eb;
    border-radius: 9px;
    color: var(--plum);
    background: var(--lilac-pale);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.uploaded-file-details {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}

.uploaded-file-name {
    overflow-wrap: anywhere;
    color: var(--ink);
    font-size: .88rem;
}

.uploaded-file-size {
    color: var(--muted);
    font-size: .75rem;
}

.remove-upload {
    flex: 0 0 auto;
    padding: 8px 10px;
    border: 1px solid #ead0d8;
    border-radius: 7px;
    color: #96374d;
    background: #fff;
    cursor: pointer;
    font-size: .75rem;
    font-weight: 700;
}

.remove-upload:hover {
    background: #fff1f4;
}

/* Consent and hidden honeypot */
.consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 8px;
}

.consent input {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin-top: 4px;
    accent-color: #c9add7;
    cursor: pointer;
}

.consent label {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: .84rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.7;
    text-transform: none;
}

#submit .consent a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}


/* Consent sections */

/* =========================================
   THE HUMAN EDGE — PREMIUM CONSENT SECTION
========================================= */

/* =========================================
   CONSENT SECTION — MATCH MAIN FORM DESIGN
========================================= */

.consent-section {
    font-family: 'Overpass', sans-serif;
    margin: 25px auto 20px;
}

/* Section heading — matches form-section-heading */

.consent-heading {
    margin-bottom: 20px;
}

.consent-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #e2cbea;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.consent-heading h3 {
    margin: 0 0 5px;
    color: var(--white);
    font-family: 'Overpass', sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.consent-heading p {
    margin: 0;
    color: rgba(255, 255, 255, .66);
    font-size: .84rem;
    line-height: 1.55;
}

/* Individual consent fields */

.consent-card {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 12px;
    padding: 15px 17px;

    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    background: rgba(255, 255, 255, .075);

    transition: border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.consent-card:hover {
    border-color: rgba(215, 194, 226, .55);
    background: rgba(255, 255, 255, .095);
}

/* Checkbox */

.consent-card input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;

    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    min-width: 17px;
    padding: 0;
    margin: 2px 0 0;

    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 4px;
    background: rgba(255, 255, 255, .075);

    cursor: pointer;
    position: relative;
}

.consent-card input[type="checkbox"]:checked {
    background: #d7c2e2;
    border-color: #d7c2e2;
}

.consent-card input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 4px;
    height: 9px;
    border: solid var(--plum);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consent-card input[type="checkbox"]:focus-visible {
    outline: 3px solid rgba(215, 194, 226, .2);
    outline-offset: 2px;
}

/* Consent label */

.consent-card label {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    margin: 0;

    color: rgba(255, 255, 255, .9);
    font-family: 'Overpass', sans-serif;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .055em;
    line-height: 1.5;
    text-transform: uppercase;

    cursor: pointer;
}

/* Consent title — matches form labels */

.consent-title {
    display: block;
    margin-bottom: 6px;

    color: rgba(255, 255, 255, .9);
    font-family: 'Overpass', sans-serif;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .055em;
    line-height: 1.5;
    text-transform: uppercase;
}

/* Declaration text — matches input placeholder typography */

.consent-description {
    display: block;

    color: rgba(255, 255, 255, .66);
    font-family: 'Overpass', sans-serif;
    font-size: .93rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.6;
    text-transform: none;
}

/* Privacy Notice link */

.consent-description .privacy-link {
    display: inline;
    color: #eadcf1 !important;
    font-family: 'Overpass', sans-serif;
    font-size: inherit;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.consent-description .privacy-link:hover {
    color: var(--white) !important;
}

/* Required declaration */

.consent-required {
    display: block;
    margin-top: 7px;

    color: #e2cbea;
    font-family: 'Overpass', sans-serif;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .055em;
    text-transform: uppercase;
}

/* Bottom note */

.consent-note {
    margin: 11px 0 0;
    color: rgba(255, 255, 255, .66);
    font-family: 'Overpass', sans-serif;
    font-size: .76rem;
    line-height: 1.5;
}

.consent-note span {
    color: #e2cbea;
    font-weight: 700;
}

/* Submit button spacing */

.form #go {
    margin-top: 25px;
}

/* Responsive */

@media (max-width: 600px) {

    .consent-section {
        margin-top: 22px;
    }

    .consent-heading h3 {
        font-size: 1.05rem;
    }

    .consent-heading p {
        font-size: .8rem;
    }

    .consent-card {
        gap: 11px;
        padding: 13px 12px;
    }

    .consent-card label,
    .consent-title {
        font-size: .72rem;
    }

    .consent-description {
        font-size: .84rem;
        line-height: 1.6;
    }

    .consent-required {
        font-size: .62rem;
    }

}



/* Consent validation error */

.consent-error {
    display: flex;
    align-items: center;
    gap: 9px;

    margin: 12px 0 0;
    padding: 11px 14px;

    color: #ffc0ca;
    background: rgba(255, 154, 171, 0.08);
    border: 1px solid rgba(255, 154, 171, 0.35);
    border-radius: 8px;

    font-family: 'Overpass', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.5;
}

.consent-error::before {
    content: "!";
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 17px;
    width: 17px;
    height: 17px;

    color: var(--plum);
    background: #ffc0ca;
    border-radius: 50%;

    font-size: 11px;
    font-weight: 800;
}

.consent-error[hidden] {
    display: none;
}

/* Highlight unchecked consent cards */

.consent-card.has-error {
    border-color: #ff9aab;
    background: rgba(255, 154, 171, 0.06);
}


/* Form status messages */
#msg {
    margin-top: 12px;
}

.msg {
    display: none;
    width: 100%;
    max-width: 720px;
    margin: 28px auto 0;
    overflow: hidden;
    border-radius: 16px;
    line-height: 1.7;
    text-align: left;
}

.msg.ok {
    display: block;
    border: 1px solid #cfe4d7;
    color: #203c32;
    background: var(--white);
    box-shadow: 0 12px 35px rgba(25, 65, 46, .08), 0 2px 8px rgba(25, 65, 46, .04);
    animation: successReveal .5s ease both;
}

.msg.no {
    display: block;
    padding: 18px 22px;
    border: 1px solid #f0d0d4;
    border-left: 4px solid var(--danger);
    border-radius: 10px;
    color: #96372f;
    background: #fff7f7;
    box-shadow: 0 6px 20px rgba(140, 48, 39, .05);
    font-size: .88rem;
    overflow-wrap: anywhere;
}

.success-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #fff, #f8fcf9);
}

.success-icon {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(145deg, #287a52, #17633e);
    box-shadow: 0 5px 14px rgba(23, 99, 62, .2);
}

.success-icon svg {
    width: 28px;
    height: 28px;
}

.success-content {
    min-width: 0;
    flex: 1;
}

.success-eyebrow {
    display: inline-block;
    margin: 2px 0 8px;
    color: #287a52;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.5;
}

.success-content h3 {
    margin: 0 0 12px;
    color: #172d24;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    line-height: 1.3;
}

.success-description {
    color: #58685f;
    font-size: .93rem;
    line-height: 1.8;
}

.success-description strong {
    color: #263e32;
}

.reference-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 23px;
    padding: 17px 20px;
    border: 1px dashed #b6d6c1;
    border-radius: 10px;
    background: #f0f7f2;
}

.reference-label {
    color: #587364;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.reference-number {
    color: #17633e;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: .04em;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
}

.success-note {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e5eee8;
    color: #68766e;
    font-size: .8rem;
    line-height: 1.7;
}

@keyframes successReveal {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Co-authors */
.coauthor-section {
    width: 100%;
    min-width: 0;
    margin-top: 4px;
    padding: 23px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
}

.coauthor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.coauthor-header h3 {
    margin: 0 0 5px;
    color: var(--white);
    font-size: 1.08rem;
}

.coauthor-header p {
    color: rgba(255, 255, 255, .67);
    font-size: .83rem;
    line-height: 1.55;
}

.coauthor-header .add-member-btn {
    display: inline-flex;
    min-height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid rgba(215, 194, 226, .55);
    border-radius: 8px;
    color: #eadcf1;
    background: rgba(255, 255, 255, .07);
    cursor: pointer;
    font-size: .83rem;
    font-weight: 700;
    transition: background .2s ease, color .2s ease;
}

.coauthor-header .add-member-btn:hover:not(:disabled) {
    color: var(--plum-deep);
    background: #eadcf1;
}

.coauthor-header .add-member-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.coauthor-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(215, 194, 226, .2);
    border-radius: 8px;
    background: rgba(215, 194, 226, .07);
}

.coauthor-note i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #d7c2e2;
    font-size: 1.05rem;
}

.coauthor-note p {
    color: rgba(255, 255, 255, .77);
    font-size: .81rem;
    line-height: 1.6;
}

.coauthor-table-wrapper {
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
}

.coauthor-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    table-layout: fixed;
}

.coauthor-table td {
    padding: 4px 6px;
    vertical-align: middle;
}

.coauthor-table td:nth-child(1) {
    width: 27%;
}

.coauthor-table td:nth-child(2) {
    width: 29%;
}

.coauthor-table td:nth-child(3) {
    width: 34%;
}

.coauthor-table td:nth-child(4) {
    width: 10%;
    text-align: center;
}

.coauthor-table td input {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 10px 11px;
    font-size: .83rem;
}

.coauthor-table .delete-btn {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 154, 171, .35);
    border-radius: 8px;
    color: #ffb4c0;
    background: rgba(255, 255, 255, .06);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.coauthor-table .delete-btn i {
    font-size: 1.05rem;
}

.coauthor-table .delete-btn:hover {
    border-color: #ff9aab;
    background: rgba(255, 100, 120, .15);
}

/* Footer */
footer {
    padding: 62px 0 25px;
    color: rgba(255, 255, 255, .72);
    /* background: #281b30; */
    background: var(--plum);
}

.foot {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    align-items: start;
    gap: 42px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.foot>div {
    min-width: 0;
}

.foot h4 {
    margin-bottom: 16px;
    color: #d7c2e2;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.foot p {
    max-width: 360px;
    color: rgba(255, 255, 255, .66);
    font-size: .88rem;
    line-height: 1.75;
}

.foot a {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 9px;
    color: rgba(255, 255, 255, .72);
    font-size: .88rem;
    overflow-wrap: anywhere;
    text-decoration: none;
    transition: color .2s ease;
}

.foot a:hover {
    color: var(--white);
}

.footer-brand-lockup {
    margin-bottom: 15px;
}

.footer-brand-lockup img {
    display: block;
    width: auto;
    max-width: 190px;
    height: 56px;
    object-fit: contain;
    object-position: left center;
}

.soc {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.soc a {
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.soc a:hover {
    border-color: #d7c2e2;
    color: var(--plum);
    background: #d7c2e2;
}

.soc svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.copy {
    margin-top: 23px;
    color: rgba(255, 255, 255, .48);
    font-size: .76rem;
    text-align: center;
}

/* Scroll reveal */
.rv {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}

.rv.in {
    opacity: 1;
    transform: translateY(0);
}

/* Keyboard accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(215, 194, 226, .75);
    outline-offset: 3px;
}

/* Tablet */
@media (max-width: 1050px) {
    .pillars {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #papers .grid4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 820px) {
    nav .in {
        min-height: 70px;
    }

    nav a.l {
        display: none;
    }

    .cols {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .cols>div:first-child {
        max-width: 680px;
    }

    .foot {
        grid-template-columns: 1.2fr 1fr;
        gap: 32px;
    }

    .foot>div:first-child {
        grid-column: 1 / -1;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .wrap {
        width: min(100% - 36px, var(--content-width));
    }

    section {
        padding: 68px 0;
    }

    h2 {
        font-size: clamp(1.8rem, 8vw, 2.35rem);
    }

    .lead {
        font-size: .96rem;
    }

    nav .in {
        width: calc(100% - 36px);
        min-height: 66px;
        gap: 12px;
    }

    nav .logo img {
        width: 125px;
        height: 40px;
    }

    nav .btn {
        min-height: 38px;
        padding: 8px 12px;
        font-size: .72rem;
        white-space: nowrap;
    }

    .hero {
        min-height: auto;
        padding: 125px 0 58px;
    }

    .hero .org {
        font-size: .65rem;
        letter-spacing: .13em;
    }

    .hero h1.lockup {
        margin: 23px 0 17px;
        font-size: clamp(2.8rem, 13vw, 4.4rem);
    }

    .hero .tag {
        font-size: .72rem;
        letter-spacing: .075em;
    }

    .hero .tag span {
        margin-inline: 4px;
    }

    .dots {
        width: 130px;
        height: 100px;
        background-size: 18px 18px;
    }

    .dots-tl {
        top: 80px;
        left: -12px;
    }

    .dots-br {
        right: -20px;
        bottom: 18px;
    }

    .hero::before {
        top: -175px;
        right: -145px;
        width: 330px;
        height: 330px;
    }

    .hero::after {
        bottom: -390px;
        left: -190px;
        width: 520px;
        height: 520px;
    }

    .cta-row {
        gap: 10px;
        margin-top: 27px;
    }

    .cta-row .btn {
        width: 100%;
    }

    .deadline-note {
        margin-top: 34px;
        font-size: .67rem;
        letter-spacing: .1em;
    }

    .count {
        gap: 8px;
    }

    .count div {
        min-width: calc(25% - 7px);
        padding: 12px 6px 10px;
        border-radius: 9px;
    }

    .count strong {
        font-size: 1.55rem;
    }

    .count small {
        font-size: .55rem;
        letter-spacing: .1em;
    }

    .about p.big {
        font-size: 1.18rem;
    }

    .pillars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
        margin-top: 30px;
    }

    .pillar {
        min-height: 235px;
        padding: 21px 16px;
    }

    .pillar-icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        margin-bottom: 15px;
        border-radius: 13px;
        font-size: 1.1rem;
    }

    .pillar h3 {
        font-size: 1rem;
    }

    .pillar p {
        font-size: .82rem;
    }

    .stats {
        gap: 11px;
        margin: 28px 0;
    }

    .stat {
        padding: 20px 16px;
        border-radius: 11px;
    }

    .stat strong {
        font-size: 2rem;
    }

    .stat span {
        font-size: .8rem;
    }

    #papers {
        padding: 68px 0;
    }

    #papers .sub-h {
        margin-top: 36px;
        font-size: .69rem;
        letter-spacing: .1em;
    }

    #papers .grid3,
    #papers .grid4 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #papers .card,
    #papers .grid4 .card {
        min-height: 0;
        padding: 23px 21px;
    }

    #papers .grid3 .card::before,
    #papers .grid4 .card::before {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        margin-bottom: 17px;
    }

    #papers .deadline {
        margin-top: 30px;
        padding: 22px 16px;
        font-size: .94rem;
    }

    .form {
        margin-top: 28px;
        padding: 16px;
        border-radius: 14px;
    }

    .form-section {
        margin-bottom: 18px;
        padding: 18px 14px;
    }

    .form-section-heading {
        gap: 11px;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .form-section-number {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 9px;
        font-size: .8rem;
    }

    .form-section-heading h3 {
        font-size: .98rem;
    }

    .form-section-heading p {
        font-size: .76rem;
    }

    .fg {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .form-section .fg {
        row-gap: 18px;
    }

    input,
    select,
    .form textarea {
        padding: 12px;
        font-size: .9rem;
    }

    .drop {
        min-height: 155px;
        padding: 20px 13px;
        font-size: .85rem;
    }

    .form #go {
        width: 100%;
        min-width: 0;
    }

    .coauthor-section {
        padding: 17px 13px;
    }

    .coauthor-header {
        align-items: stretch;
        flex-direction: column;
        gap: 13px;
    }

    .coauthor-header .add-member-btn {
        width: 100%;
    }

    .coauthor-note {
        padding: 10px;
    }

    .coauthor-table {
        min-width: 590px;
    }

    .success-card {
        gap: 13px;
        padding: 21px 17px;
    }

    .success-icon {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
    }

    .success-icon svg {
        width: 22px;
        height: 22px;
    }

    .success-eyebrow {
        font-size: .58rem;
    }

    .success-content h3 {
        font-size: 1.35rem;
    }

    .success-description {
        font-size: .86rem;
    }

    .reference-card {
        margin-top: 18px;
        padding: 14px;
    }

    .reference-number {
        font-size: 1.2rem;
    }

    .success-note {
        font-size: .75rem;
    }

    footer {
        padding: 48px 0 22px;
    }

    .foot {
        grid-template-columns: 1fr;
        gap: 27px;
        padding-bottom: 27px;
    }

    .foot>div:first-child {
        grid-column: auto;
    }

    .footer-brand-lockup img {
        height: 49px;
    }

    .copy {
        font-size: .7rem;
        line-height: 1.6;
    }
}

@media (max-width: 380px) {
    .wrap {
        width: calc(100% - 28px);
    }

    nav .in {
        width: calc(100% - 28px);
    }

    nav .logo img {
        width: 105px;
    }

    nav .btn {
        padding-inline: 9px;
        font-size: .67rem;
    }

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

    .pillar {
        min-height: 0;
    }

    .count div {
        min-width: calc(50% - 5px);
    }

    .uploaded-file {
        gap: 9px;
        padding: 11px;
    }

    .uploaded-file-badge {
        width: 40px;
        height: 44px;
        flex-basis: 40px;
    }

    .uploaded-file-name {
        font-size: .76rem;
    }

    .remove-upload {
        padding: 7px;
        font-size: .68rem;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .rv {
        opacity: 1;
        transform: none;
    }
}