@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/schibsted-latin-ext.woff2) format("woff2");
  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: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/schibsted-latin.woff2) format("woff2");
  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: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-latin.woff2) format("woff2");
}

:root {
  color-scheme: light;
  --paper: #f3f4f7;
  --surface: #ffffff;
  --ink: #1c1f3b;
  --ink-soft: #4a4e6a;
  --rule: #d8dbe6;
  --php: #4f5b93;
  --php-strong: #3c4677;
  --php-wash: #e7e9f4;
  --del: #a3262c;
  --del-wash: #fbe9ea;
  --add: #17724a;
  --add-wash: #e3f3ea;
  --warn: #8a5300;
  --warn-wash: #fdf0db;
  --focus: #4f5b93;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --measure: 66ch;
  --wide: 72rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #15172b;
    --surface: #1d2038;
    --ink: #e9ebf5;
    --ink-soft: #b1b5cf;
    --rule: #33375a;
    --php: #a7b0e0;
    --php-strong: #c3caee;
    --php-wash: #262a4a;
    --del: #ff9c9f;
    --del-wash: #3a1d27;
    --add: #7fdcaa;
    --add-wash: #173329;
    --warn: #f3c07a;
    --warn-wash: #3a2c17;
    --focus: #c3caee;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;

}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--php-strong); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
code, kbd, pre { font-family: var(--mono); font-size: .9em; font-variant-ligatures: none; font-feature-settings: "calt" 0, "liga" 0; }
:not(pre) > code { background: var(--php-wash); padding: .08em .32em; border-radius: 3px; overflow-wrap: anywhere; }

.skip { position: absolute; left: -999px; top: 0; padding: .6rem 1rem; background: var(--ink); color: var(--paper); z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 40rem) { .wrap { padding: 0 2rem; } }

/* Header */
.site-head { border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.brand span { color: var(--ink-soft); font-weight: 400; }
.nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; padding: 0; list-style: none; font-size: .95rem; }
.nav a { color: var(--ink-soft); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.nav .lang a { color: var(--php-strong); }

/* Type scale: 1.25 ratio */
h1, h2, h3 { line-height: 1.12; letter-spacing: -.022em; margin: 0; font-weight: 750; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 1.4rem + 3vw, 3.6rem); letter-spacing: -.035em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.35rem); }
h3 { font-size: 1.2rem; letter-spacing: -.012em; font-weight: 700; }
p { margin: 0 0 1em; max-width: var(--measure); text-wrap: pretty; }
.lede { font-size: 1.2rem; color: var(--ink-soft); line-height: 1.55; max-width: 38rem; }

/* Hero */
.hero { padding: 3rem 0 3.5rem; }
.hero .wrap { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 62rem) {
  .hero { padding: 5rem 0 5.5rem; }
  .hero .wrap { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3.5rem; }
}
.hero h1 { margin-bottom: 1.4rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; margin-top: 2rem; }
.btn {
  display: inline-block; background: var(--php); color: #fff; text-decoration: none;
  font-weight: 650; padding: .8rem 1.3rem; border-radius: 6px; line-height: 1.2;
}
@media (prefers-color-scheme: dark) { .btn { color: #15172b; } }
.btn:hover { background: var(--php-strong); }

/* Diff: the one loud element */
.diff { margin: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.diff-file { max-width: none; margin: 0; padding: .55rem 1rem; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: .8rem; color: var(--ink-soft); }
.diff pre { margin: 0; padding: .6rem 0; overflow-x: auto; font-size: .82rem; line-height: 1.75; }
.diff pre code { display: block; min-width: max-content; }
.ln { display: block; padding: 0 1rem 0 2.2rem; position: relative; white-space: pre; }
.ln::before { position: absolute; left: .9rem; }
.ln.del { background: var(--del-wash); color: var(--del); }
.ln.del::before { content: "-"; }
.ln.add { background: var(--add-wash); color: var(--add); }
.ln.add::before { content: "+"; }
.diff figcaption { padding: .8rem 1rem; border-top: 1px solid var(--rule); font-size: .92rem; color: var(--ink-soft); }
@media (prefers-reduced-motion: no-preference) {
  .ln.add { animation: land .45s cubic-bezier(.2,.7,.2,1) both; }
  .ln.add:nth-child(3) { animation-delay: .9s; }
  .ln.add:nth-child(4) { animation-delay: 1.05s; }
  .ln.add:nth-child(5) { animation-delay: 1.2s; }
  .ln.del { animation: strike .5s ease-out .5s both; }
  @keyframes land { from { opacity: 0; transform: translateX(-.6rem); } to { opacity: 1; transform: none; } }
  @keyframes strike { from { opacity: 1; } to { opacity: .62; } }
}

/* Sections */
.section { padding: 4rem 0; border-top: 1px solid var(--rule); }
@media (min-width: 62rem) { .section { padding: 5.5rem 0; } }
.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { color: var(--ink-soft); }
.split { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
.split > * { min-width: 0; }
@media (min-width: 62rem) { .split { grid-template-columns: 20rem minmax(0, 1fr); gap: 4rem; } .split .section-head { margin-bottom: 0; } }

/* Version table */
.table-scroll { overflow-x: auto; }
.versions { border-collapse: collapse; width: 100%; font-size: .98rem; }
.versions caption { text-align: left; color: var(--ink-soft); font-size: .9rem; padding-bottom: .75rem; }
.versions th, .versions td { font-variant-numeric: tabular-nums; text-align: left; padding: .7rem 1rem .7rem 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.versions thead th { font-size: .88rem; color: var(--ink-soft); font-weight: 600; }
.versions tbody th { font-family: var(--mono); font-weight: 600; white-space: nowrap; }
@media (min-width: 30rem) { .versions td:nth-child(2) { white-space: nowrap; } }
@media (max-width: 29.99rem) { .versions { font-size: .9rem; } .versions th, .versions td { padding-right: .6rem; } }
.status { font-variant-numeric: normal; display: inline-block; padding: .1rem .5rem; border-radius: 4px; font-size: .9rem; font-weight: 600; }
.status.ended { background: var(--del-wash); color: var(--del); }
.status.soon { background: var(--warn-wash); color: var(--warn); }
.status.security { background: var(--php-wash); color: var(--php-strong); }
.status.active { background: var(--add-wash); color: var(--add); }

/* Issue list */
.issues { margin: 0; display: grid; gap: 0; }
.issue { display: grid; gap: .35rem 2.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.issue:first-child { border-top: 1px solid var(--rule); }
@media (min-width: 48rem) { .issue { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.issue dt { font-weight: 700; }
.issue dt small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .95rem; margin-top: .2rem; }
.issue dd { margin: 0; color: var(--ink-soft); }

/* Steps: real sequence */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 2rem; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem; } }
.steps li { counter-increment: step; position: relative; padding-top: 2.8rem; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--php); }
.steps h3 { margin-bottom: .5rem; }
.steps p { color: var(--ink-soft); margin: 0; }

/* Work */
.work { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem 3rem; }
@media (min-width: 48rem) { .work { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.work h3 { margin-bottom: .35rem; }
.work p { margin: 0; color: var(--ink-soft); }

/* Services */
.services { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 72rem) { .services { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.service { display: block; background: var(--surface); border: 1px solid var(--rule); border-top: 4px solid var(--php); border-radius: 4px 4px 8px 8px; padding: 1.5rem; color: var(--ink); text-decoration: none; }
.service:hover { border-color: var(--php); }
.service h3 { margin-bottom: .6rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: var(--rule); }
.service:hover h3 { text-decoration-color: var(--php); }
.service p { margin: 0; color: var(--ink-soft); }

/* Prose (sub pages) */
.prose { max-width: var(--measure); }
.wrap.prose { max-width: var(--wide); }
.wrap.prose > * { max-width: var(--measure); }
.wrap.prose > .table-scroll { max-width: 48rem; }
.prose h2 { margin: 3rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--php); }
.prose pre { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: 1rem; overflow-x: auto; font-size: .85rem; line-height: 1.6; margin: 0 0 1.25rem; }
.page-head { padding: 3rem 0 2.5rem; }
@media (min-width: 62rem) { .page-head { padding: 4.5rem 0 3.5rem; } }
.page-head h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); margin-bottom: 1.2rem; max-width: 52rem; }
.crumbs { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--rule); }
.crumbs a { color: var(--ink-soft); }

/* FAQ */
.faq { max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 700; font-size: 1.08rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1rem; font-size: 1.4rem; line-height: 1; color: var(--php); font-weight: 500; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 1.2rem; color: var(--ink-soft); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Contact */
.contact { background: var(--ink); color: var(--paper); border-top: 0; }
.contact h2 { margin-bottom: 1rem; }
.contact p { color: inherit; opacity: .85; }
.contact .mail { display: inline-block; margin-top: 1rem; font-size: clamp(1.3rem, 1rem + 1.6vw, 2.2rem); font-weight: 750; color: inherit; letter-spacing: -.02em; overflow-wrap: anywhere; }
.contact :focus-visible { outline-color: var(--paper); }

.site-foot { padding: 2rem 0 2.5rem; font-size: .92rem; color: var(--ink-soft); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }
.site-foot p { margin: 0; }
.site-foot a { color: var(--ink-soft); }

.notfound { padding: 6rem 0; }
.notfound h1 { margin-bottom: 1rem; }

/* Portrait */
.byline { display: flex; align-items: center; gap: .9rem; margin: 1.75rem 0 0; color: var(--ink-soft); font-size: .98rem; line-height: 1.4; }
.byline img, .contact-inner img { border-radius: 50%; object-fit: cover; flex: none; }
.byline img { width: 56px; height: 56px; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--rule); }
.byline strong { color: var(--ink); }
.contact-inner { display: grid; gap: 1.5rem; align-items: start; }
.contact-inner img { width: 96px; height: 96px; box-shadow: 0 0 0 3px var(--ink), 0 0 0 4px rgba(255,255,255,.35); }
@media (min-width: 48rem) { .contact-inner { grid-template-columns: 96px minmax(0, 1fr); gap: 2.5rem; } .contact-inner img { margin-top: .4rem; } }
.contact .elsewhere { margin-top: 1.25rem; font-size: .98rem; }
.contact .elsewhere a { color: inherit; }
.section.flush { border-top: 0; padding-top: 0; }
.after-table { margin-top: 1.25rem; }
.prose.spaced { margin-top: 3rem; }
.versions.full { min-width: 40rem; }
.wrap.prose > .table-scroll:has(.full) { max-width: 60rem; }
.versions.full td { white-space: nowrap; }

.site-foot .langs { flex-basis: 100%; font-size: .85rem; }
.site-foot .langs a[aria-current] { color: var(--ink); text-decoration: none; }
/* Schibsted Grotesk has no Vietnamese or Japanese glyphs: use system fonts for the whole page. */
html:lang(vi) { --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif; }
html:lang(ja) { --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic", Meiryo, system-ui, sans-serif; }
html:lang(ja) h1, html:lang(ja) h2 { letter-spacing: 0; }
