/* Public home page: the platform introduces itself in its pinks, then each journal opens its own door. */
.home-page { background:radial-gradient(1100px 520px at 88% -8%,#fff0f4 0%,rgb(255 240 244 / 0%) 62%),radial-gradient(900px 460px at -8% 4%,#ecf9fd 0%,rgb(236 249 253 / 0%) 58%),#f7f8fa; }
.home-header,.home-hero,.home-journals,.home-steps,.home-roles,.home-footer { width:min(1200px,calc(100% - 48px)); margin-inline:auto; }

/* Header */
.home-header { display:flex; align-items:center; gap:32px; min-height:88px; }
.home-header .underrev-logo { width:176px; }
.home-nav { display:flex; gap:6px; margin-left:auto; }
.home-nav a,.home-signin { display:inline-flex; align-items:center; min-height:44px; padding:10px 14px; border-radius:10px; color:#4b5568; font-size:.875rem; font-weight:550; }
.home-nav a:hover,.home-signin:hover { background:rgb(29 36 51 / 5%); color:var(--ui-ink); text-decoration:none; }
.home-account { display:flex; align-items:center; gap:8px; }
.home-register { display:inline-flex; align-items:center; min-height:44px; padding:10px 18px; border-radius:999px; background:var(--ui-accent); color:#fff; font-size:.875rem; font-weight:650; }
.home-register:hover { background:var(--ui-accent-hover); color:#fff; text-decoration:none; }

/* Hero: the platform voice, centred so that neither journal leads. */
.home-hero { padding:clamp(40px,6vw,76px) 0 clamp(34px,4.5vw,52px); text-align:center; }
.home-kicker { display:inline-flex; align-items:center; gap:12px; margin:0 0 22px; color:var(--ui-accent-ink); font-size:.75rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; }
.home-dots { display:inline-flex; gap:5px; }
.home-dots i { display:block; width:9px; height:9px; border-radius:50% 50% 50% 0; background:var(--ui-rose); transform:rotate(-45deg); }
.home-dots i + i { background:var(--ui-blush); }
.home-hero h1 { max-width:15ch; margin:0 auto; color:var(--ui-ink); font-family:var(--ui-serif); font-size:clamp(2.5rem,5.6vw,4.75rem); font-weight:600; line-height:1.03; letter-spacing:-.025em; }
.home-hero h1 span { display:block; color:var(--ui-accent); font-style:italic; font-weight:500; }
.home-lead { max-width:620px; margin:24px auto 0; color:#566176; font-size:1.0625rem; line-height:1.75; }
.home-lead strong { color:var(--ui-ink); font-weight:650; }

/* Journal doors */
.home-journals { padding-bottom:clamp(56px,7vw,88px); scroll-margin-top:24px; }

/* Steps for authors */
.home-steps { padding:clamp(56px,7vw,84px) 0; border-top:1px solid #e1e5ec; scroll-margin-top:12px; }
.home-section-heading { max-width:640px; }
.home-section-heading .eyebrow { color:var(--ui-accent-ink); }
.home-section-heading h2 { color:var(--ui-ink); font-family:var(--ui-serif); font-size:clamp(1.9rem,3vw,2.5rem); font-weight:600; line-height:1.12; letter-spacing:-.02em; }
.home-section-heading > p:last-child { margin-top:14px; color:#566176; font-size:1rem; line-height:1.7; }
.home-step-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin:36px 0 0; padding:0; list-style:none; counter-reset:home-step; }
.home-step-list li { position:relative; min-width:0; padding:26px 24px 28px; border:1px solid #e3e7ed; border-radius:20px; background:#fff; counter-increment:home-step; }
.home-step-list li::after { content:counter(home-step,decimal-leading-zero); content:counter(home-step,decimal-leading-zero) / ''; position:absolute; top:22px; right:24px; color:#c5cbd5; font-family:var(--ui-serif); font-size:1.5rem; line-height:1; }
.home-step-icon { display:grid; place-items:center; width:46px; height:46px; margin-bottom:22px; border-radius:14px; background:var(--ui-accent-soft); color:var(--ui-accent-ink); }
.home-step-icon svg,.home-role-icon svg { width:24px; height:24px; }
.home-step-list h3 { margin-bottom:8px; color:var(--ui-ink); font-size:1.0625rem; font-weight:650; letter-spacing:-.015em; }
.home-step-list p { color:var(--ui-muted); font-size:.9rem; line-height:1.65; }

/* Reviewers and editors */
.home-roles { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-bottom:clamp(56px,7vw,84px); scroll-margin-top:24px; }
.home-role { display:flex; align-items:center; gap:18px; min-width:0; padding:26px 28px; border:1px solid #e3e7ed; border-radius:20px; background:#fff; }
.home-role > div { min-width:0; }
.home-role-icon { display:grid; flex:0 0 48px; width:48px; height:48px; place-items:center; border-radius:50%; background:var(--ui-accent-soft); color:var(--ui-accent-ink); }
.home-role h2 { margin-bottom:5px; font-size:1.0625rem; font-weight:650; letter-spacing:-.015em; }
.home-role p { color:var(--ui-muted); font-size:.875rem; line-height:1.6; }
.home-role-link { flex:0 0 auto; margin-left:auto; padding:10px 0 10px 8px; font-size:.875rem; font-weight:650; white-space:nowrap; }

/* Footer */
.home-footer { display:grid; grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr)); gap:28px; padding:40px 0 30px; border-top:1px solid #e1e5ec; }
.home-footer-brand .underrev-logo { width:150px; margin-bottom:12px; }
.home-footer-brand p,.home-footer-note { color:var(--ui-muted); font-size:.875rem; line-height:1.6; }
.home-footer nav { display:grid; align-content:start; gap:8px; }
.home-footer nav h2 { margin-bottom:4px; color:var(--ui-muted); font-size:.75rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.home-footer nav a { display:inline-flex; align-items:center; gap:8px; width:max-content; max-width:100%; color:#3d4859; font-size:.875rem; }
.home-footer nav a[class*="journal-"]::before { content:''; flex:0 0 8px; width:8px; height:8px; border-radius:50%; background:var(--journal-accent); }
.home-footer-note { grid-column:1 / -1; padding-top:20px; border-top:1px solid #e9ecf1; font-size:.8125rem; }

@media(max-width:1060px) { .home-step-list { grid-template-columns:repeat(2,minmax(0,1fr)); } .home-footer { grid-template-columns:repeat(3,minmax(0,1fr)); } .home-footer-brand { grid-column:1 / -1; } }
@media(max-width:860px) { .home-nav { display:none; } .home-account { margin-left:auto; } .home-roles { grid-template-columns:1fr; } }
@media(max-width:560px) { .home-header,.home-hero,.home-journals,.home-steps,.home-roles,.home-footer { width:calc(100% - 32px); } .home-header { gap:12px; min-height:72px; } .home-header .underrev-logo { width:138px; } .home-signin { padding-inline:10px; } .home-register { padding-inline:14px; } .home-hero { text-align:left; } .home-hero h1 { margin:0; font-size:clamp(2.35rem,11vw,3rem); } .home-lead { margin-left:0; font-size:1rem; } .home-step-list { grid-template-columns:1fr; } .home-role { flex-wrap:wrap; padding:22px; } .home-role > div { flex:1 1 calc(100% - 66px); } .home-role-link { margin-left:66px; padding-left:0; } .home-footer { grid-template-columns:1fr 1fr; } }
@media(max-width:400px) { .home-header .underrev-logo { width:118px; } .home-header { gap:8px; } .home-account { gap:4px; } .home-signin { padding-inline:8px; font-size:.8125rem; } .home-register { padding-inline:12px; font-size:.8125rem; } .home-footer { grid-template-columns:1fr; } }
@media(prefers-contrast:more) { .home-step-list li,.home-role { border-color:#8b96a6; } .home-lead,.home-section-heading > p:last-child { color:var(--ui-ink); } }
/* Dark colour scheme (prefers-color-scheme): tokens in design-system.css. */
@media(prefers-color-scheme:dark) {
  :where(html:not([data-color-scheme="light"])) .home-page { background:radial-gradient(1100px 520px at 88% -8%,rgb(253 111 145 / 10%) 0%,rgb(253 111 145 / 0%) 62%),radial-gradient(900px 460px at -8% 4%,rgb(0 181 222 / 8%) 0%,rgb(0 181 222 / 0%) 58%),var(--ui-bg); }
  :where(html:not([data-color-scheme="light"])) .home-nav a,:where(html:not([data-color-scheme="light"])) .home-signin { color:#c3ccd9; }
  :where(html:not([data-color-scheme="light"])) .home-nav a:hover,:where(html:not([data-color-scheme="light"])) .home-signin:hover { background:rgb(237 241 247 / 8%); }
  :where(html:not([data-color-scheme="light"])) .home-register,:where(html:not([data-color-scheme="light"])) .home-register:hover { color:var(--ui-on-accent); }
  :where(html:not([data-color-scheme="light"])) .home-lead,:where(html:not([data-color-scheme="light"])) .home-section-heading > p:last-child { color:#b7c1cf; }
  :where(html:not([data-color-scheme="light"])) .home-steps,:where(html:not([data-color-scheme="light"])) .home-footer { border-top-color:var(--ui-line); }
  :where(html:not([data-color-scheme="light"])) .home-step-list li,:where(html:not([data-color-scheme="light"])) .home-role { border-color:var(--ui-line); background:var(--ui-surface); }
  :where(html:not([data-color-scheme="light"])) .home-step-list li::after { color:#535c6c; }
  :where(html:not([data-color-scheme="light"])) .home-footer nav a { color:#ccd4df; }
  :where(html:not([data-color-scheme="light"])) .home-footer-note { border-top-color:#2b313c; }
  @media(prefers-contrast:more) { :where(html:not([data-color-scheme="light"])) .home-step-list li,:where(html:not([data-color-scheme="light"])) .home-role { border-color:#8e9aab; } :where(html:not([data-color-scheme="light"])) .home-lead,:where(html:not([data-color-scheme="light"])) .home-section-heading > p:last-child { color:var(--ui-ink); } }
}
/* Generated by dontuploadcl/dark-toggle-20261102/tools/scheme_blocks.py from the dark block above: the same rules when Dark is chosen in the profile (html[data-color-scheme="dark"]). Do not edit by hand. */
  :where(html[data-color-scheme="dark"]) .home-page { background:radial-gradient(1100px 520px at 88% -8%,rgb(253 111 145 / 10%) 0%,rgb(253 111 145 / 0%) 62%),radial-gradient(900px 460px at -8% 4%,rgb(0 181 222 / 8%) 0%,rgb(0 181 222 / 0%) 58%),var(--ui-bg); }
  :where(html[data-color-scheme="dark"]) .home-nav a,:where(html[data-color-scheme="dark"]) .home-signin { color:#c3ccd9; }
  :where(html[data-color-scheme="dark"]) .home-nav a:hover,:where(html[data-color-scheme="dark"]) .home-signin:hover { background:rgb(237 241 247 / 8%); }
  :where(html[data-color-scheme="dark"]) .home-register,:where(html[data-color-scheme="dark"]) .home-register:hover { color:var(--ui-on-accent); }
  :where(html[data-color-scheme="dark"]) .home-lead,:where(html[data-color-scheme="dark"]) .home-section-heading > p:last-child { color:#b7c1cf; }
  :where(html[data-color-scheme="dark"]) .home-steps,:where(html[data-color-scheme="dark"]) .home-footer { border-top-color:var(--ui-line); }
  :where(html[data-color-scheme="dark"]) .home-step-list li,:where(html[data-color-scheme="dark"]) .home-role { border-color:var(--ui-line); background:var(--ui-surface); }
  :where(html[data-color-scheme="dark"]) .home-step-list li::after { color:#535c6c; }
  :where(html[data-color-scheme="dark"]) .home-footer nav a { color:#ccd4df; }
  :where(html[data-color-scheme="dark"]) .home-footer-note { border-top-color:#2b313c; }
  @media(prefers-contrast:more) { :where(html[data-color-scheme="dark"]) .home-step-list li,:where(html[data-color-scheme="dark"]) .home-role { border-color:#8e9aab; } :where(html[data-color-scheme="dark"]) .home-lead,:where(html[data-color-scheme="dark"]) .home-section-heading > p:last-child { color:var(--ui-ink); } }
/* End of the generated copy. */
