/* Just Yuli — the app's own day palette: warm cream, off-white cards, deep teal. */
@font-face { font-family: Heebo; src: url(/assets/fonts/heebo-regular.ttf) format("truetype");
             font-weight: 400; font-display: swap; }
@font-face { font-family: Heebo; src: url(/assets/fonts/heebo-medium.ttf) format("truetype");
             font-weight: 500; font-display: swap; }
@font-face { font-family: Heebo; src: url(/assets/fonts/heebo-bold.ttf) format("truetype");
             font-weight: 700; font-display: swap; }

:root {
  --bg: #F7F3EC; --card: #FFFDF9; --raised: #EDE6DA; --hairline: #E6DECF;
  --ink: #1F1B16; --muted: #4A4238; --faint: #756A5B;
  --accent: #0F766E; --accent-pressed: #0B5F58; --on-accent: #FFFFFF;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 17px; line-height: 1.7;
       font-family: Heebo, "Segoe UI", system-ui, -apple-system, Arial, sans-serif; }

.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 12px; top: 12px; background: var(--accent); color: var(--on-accent);
              padding: 8px 14px; border-radius: 10px; z-index: 9; }

.top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
       padding: 14px clamp(16px, 5vw, 48px); border-bottom: 1px solid var(--hairline); background: var(--card); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .face { border-radius: 50%; background: #050609; }
.brand .wordmark { height: 30px; width: auto; }
.top nav { display: flex; gap: 4px; flex-wrap: wrap; margin-inline-start: auto; }
.top nav a, .lang { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 10px;
                    font-size: 15px; }
.top nav a:hover, .lang:hover { background: var(--raised); color: var(--ink); }
.top nav a.here { color: var(--accent); background: var(--raised); font-weight: 500; }
.lang { border: 1px solid var(--hairline); }

main { padding: clamp(28px, 6vw, 64px) clamp(16px, 5vw, 48px); margin: 0 auto; }
main.prose { max-width: 46rem; }
main.wide { max-width: 62rem; }

h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.25; margin: 0 0 12px; font-weight: 700; }
h2 { font-size: clamp(20px, 3vw, 24px); margin: 34px 0 10px; font-weight: 700; }
h3 { font-size: 18px; margin: 24px 0 8px; font-weight: 500; }
p { margin: 0 0 14px; }
a { color: var(--accent); }
a:hover { color: var(--accent-pressed); }
ul, ol { margin: 0 0 16px; padding-inline-start: 1.3em; }
li { margin: 0 0 8px; }
code { background: var(--raised); border-radius: 6px; padding: 1px 5px; font-size: 0.92em; }
blockquote { margin: 0 0 20px; padding: 12px 16px; background: var(--raised);
             border-inline-start: 3px solid var(--accent); border-radius: 10px;
             color: var(--muted); font-size: 15px; }
blockquote p { margin: 0 0 8px; }
blockquote p:last-child { margin: 0; }
.fine { color: var(--faint); font-size: 14px; }

.scroll { overflow-x: auto; margin: 0 0 20px; }
table { border-collapse: collapse; width: 100%; background: var(--card); border-radius: 12px;
        overflow: hidden; font-size: 15px; }
th, td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--hairline);
         vertical-align: top; }
th { background: var(--raised); font-weight: 500; }
tr:last-child td { border-bottom: 0; }

.hero { text-align: center; padding: 8px 0 26px; }
.portrait { border-radius: 50%; background: #050609; margin-bottom: 14px; }
.lead { font-size: clamp(18px, 2.6vw, 21px); color: var(--muted); margin: 0 auto 20px; max-width: 34rem; }
.pill { display: inline-block; background: var(--accent); color: var(--on-accent); font-weight: 500;
        padding: 9px 20px; border-radius: 999px; margin: 0 0 8px; }
.cards { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 16px;
         grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cards li { background: var(--card); border: 1px solid var(--hairline); border-radius: 16px;
            padding: 20px 22px; margin: 0; }
.cards h2 { margin: 0 0 8px; font-size: 18px; }
.cards p { margin: 0; color: var(--muted); font-size: 15px; }
.contact { text-align: center; color: var(--faint); font-size: 14px; margin: 28px 0 0; }

.release { background: var(--card); border: 1px solid var(--hairline); border-radius: 16px;
           padding: 16px 20px; margin: 0 0 16px; }
.release h2 { margin: 0 0 6px; font-size: 19px; }
.release .date { color: var(--faint); font-size: 14px; font-weight: 400; }
.release .headline { font-weight: 500; margin: 0 0 8px; }
.release ul { margin: 0; }
.release summary { cursor: pointer; color: var(--accent); font-size: 14px; }
.release details ul { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* One phone-width row for the brand, one for the links: the nav must not break into three. */
@media (max-width: 620px) {
  .top { gap: 8px 12px; padding: 12px 14px; }
  .lang { order: 1; margin-inline-start: auto; }
  .top nav { order: 2; width: 100%; margin-inline-start: 0; justify-content: flex-start; font-size: 14px; }
  .top nav a { padding: 5px 8px; }
}

footer { border-top: 1px solid var(--hairline); background: var(--card);
         padding: 22px clamp(16px, 5vw, 48px); color: var(--faint); font-size: 14px; }
footer p { margin: 0 0 4px; }

@media (prefers-color-scheme: dark) {
  :root { --bg: #14110D; --card: #1C1813; --raised: #262019; --hairline: #332B22;
          --ink: #F2EDE4; --muted: #C3B9A9; --faint: #9A8F7E; --accent: #5EC8BE;
          --accent-pressed: #86DCD3; }
  .brand .wordmark, .portrait, .brand .face { filter: none; }
}
