/* evermorelabs.io: Raid Plaza homepage (2026 redesign) and legal pages, in the Evermore Labs colours. */

@font-face {
  font-family: "Urbanist"; src: url("/assets/fonts/urbanist-latin.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Urbanist"; src: url("/assets/fonts/urbanist-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Roboto"; src: url("/assets/fonts/roboto-latin.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto"; src: url("/assets/fonts/roboto-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --brand: #343442;         /* Evermore slate: header, hero, download card */
  --on-brand: #ffffff;
  --on-brand-muted: #c9cce0;
  --highlight: #9ea5f5;     /* Evermore lavender: headline accent on slate */
  --purple: #5a62d6;        /* links and focus rings on light backgrounds */
  --page: #f5f5fa;
  --card: #ffffff;
  --card-art: #e8e8f7;
  --ink: #121531;
  --text: #4a4c63;
  --num-bg: #e7e8fb;
  --num-fg: #3c43b5;
  --foot: #26262f;          /* footer */
  --on-foot: #c9cce0;
  --urbanist: "Urbanist", system-ui, sans-serif;
  --roboto: "Roboto", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--text); font: 400 17px/1.6 var(--urbanist); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
.shell { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: 8px; top: -100px; background: #fff; color: #000; padding: 8px 14px; z-index: 10; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.nav :focus-visible, .hero :focus-visible, .cta-card :focus-visible, .foot :focus-visible { outline-color: var(--highlight); }

/* Header: logo on slate (every page) */
.nav { background: var(--brand); }
.nav-inner { height: 76px; display: flex; align-items: center; }
.brand img { width: 160px; }

/* Home: hero */
.hero { background: var(--brand); color: var(--on-brand-muted); overflow: hidden; }
.hero-grid { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 56px; }
.hero-copy { max-width: 820px; display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--on-brand); font-weight: 700; font-size: 1.05rem; margin-bottom: 22px; }
.eyebrow img { width: 28px; height: 28px; border-radius: 7px; }
.hero h1 { color: var(--on-brand); font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 800; }
.hero .hl { color: var(--highlight); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; margin: 22px auto 32px; max-width: 34em; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.badges img { height: 52px; width: auto; }

.hero-art { position: relative; width: 100%; max-width: 900px; height: 470px; margin-top: 56px; }
.ph { position: absolute; left: 50%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .35)); }
.ph-front { width: 300px; top: 0; transform: translateX(-50%); z-index: 2; }
.ph-left { width: 260px; top: 60px; transform: translateX(-130%) rotate(-6deg); }
.ph-right { width: 260px; top: 60px; transform: translateX(30%) rotate(6deg); }

/* Home: section headings */
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; }
.section-head p { margin-top: 12px; font-size: 1.15rem; }

/* Home: feature cards, each showing the top of the real app screen */
.features { padding: 104px 0 88px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--card); border-radius: 24px; padding: 28px 28px 0; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 1px 2px rgba(11, 18, 32, .06); }
.card h3 { font-size: 1.4rem; font-weight: 800; }
.card p { margin: 8px 0 24px; }
.card-art { margin: auto -28px 0; height: 300px; background: var(--card-art); display: flex; justify-content: center; padding-top: 28px; overflow: hidden; }
.card-art img { width: 62%; max-width: 230px; align-self: flex-start; filter: drop-shadow(0 16px 26px rgba(11, 18, 32, .18)); }

/* Home: how it works */
.how { padding: 24px 0 96px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li { background: var(--card); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.steps p { color: var(--ink); font-size: 1.2rem; font-weight: 600; line-height: 1.35; }
.num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--num-bg); color: var(--num-fg); font-weight: 800; font-size: 1.2rem; flex: none; }
.note { text-align: center; margin-top: 24px; font-weight: 600; color: var(--ink); }

/* Home: closing download card */
.cta { padding: 0 0 104px; }
.cta-card { background: var(--brand); color: var(--on-brand-muted); border-radius: 32px; padding: 64px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-icon { width: 88px; height: 88px; border-radius: 22px; margin-bottom: 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.cta h2 { color: var(--on-brand); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; }
.cta p { margin: 12px 0 28px; font-size: 1.15rem; }

/* Legal pages: original text, set in a readable column */
.legal {
  max-width: 780px; margin: 0 auto; padding: 40px 20px 64px;
  color: #4f4f58; font: 400 17px/1.7 var(--roboto);
}
.legal p { margin: 0 0 .9rem; }
.legal h1, .legal h2, .legal h3 { color: #2b2b33; font-family: var(--roboto); font-weight: 500; line-height: 1.2; letter-spacing: 0; margin: .5rem 0 1rem; }
.legal h2 { font-size: 2rem; }
.legal h3 { font-size: 1.75rem; }
.legal ul, .legal ol { margin: 0; padding-left: 40px; }
.legal strong, .legal b { font-weight: 700; color: #2b2b33; }
.legal a { color: var(--purple); text-underline-offset: 2px; overflow-wrap: anywhere; }
/* Documents written for the new site (overview page, rewritten policies) use a calmer heading scale */
.legal-index h1, .legal-doc h1 { font-size: 2.25rem; margin: 0 0 1rem; }
.legal-index h2, .legal-doc h2 { font-size: 1.35rem; margin: 2rem 0 .6rem; }
.legal-doc h3 { font-size: 1.1rem; margin: 1.4rem 0 .4rem; }
.legal-index ul, .legal-doc ul { margin: 0 0 1rem; }
.legal-index li, .legal-doc li { margin-bottom: .3rem; }
.legal-doc .updated { color: #6b6b78; font-size: .95rem; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: .5rem 0 1.2rem; font-size: .95rem; }
.legal-doc th, .legal-doc td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-top: 1px solid #dcdce6; }
.legal-doc th { font-weight: 600; color: #2b2b33; border-top: 0; }
.legal-doc .table-wrap { overflow-x: auto; }

/* Footer (every page) */
.foot { background: var(--foot); color: var(--on-foot); padding: 64px 0 28px; font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-logo { width: 190px; margin-bottom: 18px; }
.foot h2 { color: #fff; font-size: 1.05rem; margin-bottom: 12px; letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--on-foot); text-underline-offset: 3px; }
.foot a:hover { color: #fff; }
.foot-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 0.85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot-bottom p { margin: 0; }
.lang-switch [aria-current] { color: #fff; }
.lang-note { color: var(--text); margin: -4px 0 20px; }

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .shell { padding: 0 18px; }
  .brand img { width: 140px; }
  .badges img { height: 46px; }
  .hero-art { height: 360px; margin-top: 36px; }
  .ph-front { width: 200px; }
  .ph-left, .ph-right { width: 170px; top: 44px; }
  .ph-left { transform: translateX(-112%) rotate(-7deg); }
  .ph-right { transform: translateX(12%) rotate(7deg); }
  .features { padding: 72px 0 56px; }
  .section-head { margin-bottom: 32px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .card-art { height: 250px; }
  .steps { gap: 12px; }
  .steps li { flex-direction: row; align-items: center; padding: 18px 20px; }
  .steps p { font-size: 1.05rem; }
  .how { padding-bottom: 64px; }
  .cta { padding-bottom: 64px; }
  .cta-card { padding: 48px 20px; border-radius: 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .legal { padding: 24px 16px 48px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
