/* DGMOS Banking landing.
   Night ink, warm amber as the one brand colour, Schibsted Grotesk (OFL, self-hosted). */
@font-face {
  font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/static/fonts/schibsted-grotesk-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/static/fonts/schibsted-grotesk-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;
}
:root {
  --ink: #0b0c0f; --ink-2: #111318; --ink-3: #171a21; --ink-4: #1f232c;
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14);
  --fg: #f4f2ec; --fg-2: #c3c1b9; --fg-3: #8b8a85;
  --amber: #ffb547; --amber-2: #ffcf85; --amber-ink: #241500;
  --ok: #5fd6a0; --warn: #ffb547;
  --font: "Schibsted Grotesk", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--ink); color: var(--fg); font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; font-feature-settings: "ss01", "tnum" 0; }
a { color: inherit; text-decoration: none; }
code, pre { font-family: var(--mono); }
.frame { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
h1, h2 { margin: 0; font-weight: 650; letter-spacing: -.035em; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 8px; }

/* pills */
.pill { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 600; border: 1px solid transparent; transition: background .2s, border-color .2s, transform .2s; white-space: nowrap; }
.pill-lg { height: 50px; padding: 0 26px; font-size: 16.5px; }
.pill-sm { height: 30px; padding: 0 12px; font-size: 13px; }
.pill-amber { background: var(--amber); color: var(--amber-ink); }
.pill-amber:hover { background: var(--amber-2); }
.pill-ghost { border-color: var(--line-2); color: var(--fg); background: rgba(255, 255, 255, .03); }
.pill-ghost:hover { background: rgba(255, 255, 255, .08); }

/* hero */
.hero-wrap {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 520px at 50% 108%, rgba(255, 181, 71, .30), transparent 60%),
    radial-gradient(700px 360px at 18% 92%, rgba(255, 120, 60, .16), transparent 70%),
    radial-gradient(900px 500px at 85% 0%, rgba(120, 140, 255, .10), transparent 70%),
    var(--ink);
}
.hero-wrap::before { /* film grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.nav { position: relative; z-index: 3; }
.nav-row { height: 76px; display: flex; align-items: center; gap: 40px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); }
.logo img { display: block; height: 24px; width: auto; }
.logo span { font-size: 19px; font-weight: 400; letter-spacing: -.01em; color: var(--fg-2); padding-left: 10px; border-left: 1px solid var(--line-2); line-height: 1; }
.logo-sm img { height: 18px; }
.logo-sm span { font-size: 15px; }
.nav-links { display: flex; gap: 30px; margin-right: auto; font-size: 15px; color: var(--fg-2); }
.nav-links a:hover { color: var(--fg); }
.hero { position: relative; z-index: 2; padding: 84px 0 0; }
.hero-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-2); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); padding: 7px 14px; border-radius: 999px; margin: 0 0 34px; backdrop-filter: blur(8px); }
.badge span { color: var(--fg-3); }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(95, 214, 160, .16); }
.led.off { background: #ff6b5b; box-shadow: 0 0 0 4px rgba(255, 107, 91, .16); }
h1 { font-size: clamp(46px, 7.4vw, 104px); line-height: .96; letter-spacing: -.045em; font-weight: 700; }
h1 span { color: var(--fg-3); }
.lead { max-width: 640px; font-size: 20px; line-height: 1.5; color: var(--fg-2); margin: 30px auto 38px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* stage: sheets -> beam -> ledger */
.stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1.05fr); align-items: center; margin-top: 96px; padding-bottom: 120px; }
.sheets { position: relative; height: 420px; perspective: 1400px; }
.sheet { position: absolute; width: 330px; padding: 16px 18px 18px; border-radius: 14px; background: linear-gradient(180deg, #f5f1e6, #e9e3d4); color: #2a2721; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .2); transform-style: preserve-3d; animation: float 7s ease-in-out infinite; }
.sheet b { display: inline-block; font-size: 12px; letter-spacing: .06em; font-weight: 700; color: #7a5a1c; background: rgba(255, 181, 71, .28); padding: 3px 8px; border-radius: 6px; margin-bottom: 12px; }
.sheet pre { margin: 0; font-size: 11.5px; line-height: 1.7; white-space: pre; overflow: hidden; }
.s1 { left: 2%; top: 30px; transform: rotateY(18deg) rotateZ(-7deg); z-index: 1; }
.s2 { left: 18%; top: 120px; transform: rotateY(16deg) rotateZ(3deg); z-index: 2; animation-delay: -2.3s; }
.s3 { left: 8%; top: 228px; transform: rotateY(20deg) rotateZ(-2deg); z-index: 3; animation-delay: -4.6s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.grid-cells { display: grid; grid-template-columns: 70px 1fr 70px; font: 11.5px var(--mono); border-top: 1px solid rgba(0, 0, 0, .15); border-left: 1px solid rgba(0, 0, 0, .15); }
.grid-cells span { padding: 5px 7px; border-right: 1px solid rgba(0, 0, 0, .15); border-bottom: 1px solid rgba(0, 0, 0, .15); }
.grid-cells span:nth-child(-n+3) { background: rgba(0, 0, 0, .06); font-weight: 700; }
.beam { position: relative; height: 240px; }
.beam i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--amber), transparent); background-size: 200% 100%; animation: flow 2.4s linear infinite; opacity: .9; }
.beam i:nth-child(1) { top: 30%; transform: rotate(10deg); }
.beam i:nth-child(2) { top: 50%; animation-delay: -.8s; }
.beam i:nth-child(3) { top: 70%; transform: rotate(-10deg); animation-delay: -1.6s; }
@keyframes flow { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.ledger { position: relative; background: linear-gradient(180deg, rgba(31, 35, 44, .92), rgba(17, 19, 24, .96)); border: 1px solid var(--line-2); border-radius: 22px; padding: 26px; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 181, 71, .05), inset 0 1px 0 rgba(255, 255, 255, .06); backdrop-filter: blur(14px); }
.ledger-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0; font-size: 14px; color: var(--fg-3); }
.balance { margin: 6px 0 4px; font-size: 52px; font-weight: 650; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.balance sup, .rows sup { font-size: .5em; vertical-align: .75em; letter-spacing: 0; margin-left: 1px; color: var(--fg-2); }
.balance small { font-size: 16px; font-weight: 600; letter-spacing: .02em; color: var(--fg-3); margin-left: 10px; vertical-align: .9em; }
.dim { margin: 0; font-size: 13.5px; color: var(--fg-3); }
.chip { font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.chip-ok { background: rgba(95, 214, 160, .13); color: var(--ok); }
.rows { list-style: none; margin: 8px 0 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 54px 1fr auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rows li:last-child { border-bottom: 0; }
.rows .d { font: 13px var(--mono); color: var(--fg-3); }
.rows .t em { display: block; font-style: normal; font-size: 12.5px; color: var(--fg-3); margin-top: 1px; }
.rows .a { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rows .pos { color: var(--ok); }
.rows .flag .t em { color: var(--amber); }

/* manifesto (the loud block) */
.manifesto { background: var(--amber); color: var(--amber-ink); padding: 110px 0 96px; }
.huge { margin: 0; font-size: clamp(56px, 11.5vw, 180px); line-height: .94; font-weight: 900; letter-spacing: -.055em; text-transform: uppercase; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 72px; padding-top: 28px; border-top: 2px solid var(--amber-ink); }
.trio p { margin: 0; font-size: 18px; line-height: 1.45; }
.trio b { display: block; font-size: 22px; margin-bottom: 6px; letter-spacing: -.01em; }

/* how it works: tabs + screen */
.how { padding: 140px 0; background: var(--ink); }
.how-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1; }
h2 span { color: var(--fg-3); }
.tabs { margin-top: 48px; border-top: 1px solid var(--line-2); }
.tabs button { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; padding: 20px 0 20px 22px; border-bottom: 1px solid var(--line); position: relative; }
.tabs button::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 3px; background: var(--line-2); transition: background .2s; }
.tabs b { display: block; font-size: 21px; font-weight: 600; color: var(--fg-3); transition: color .2s; }
.tabs span { display: block; max-height: 0; overflow: hidden; color: var(--fg-2); font-size: 16px; transition: max-height .3s, margin .3s; }
.tabs button[aria-selected="true"]::before { background: var(--amber); }
.tabs button[aria-selected="true"] b { color: var(--fg); }
.tabs button[aria-selected="true"] span { max-height: 80px; margin-top: 6px; }
.tabs button:hover b { color: var(--fg); }
.tabs button:focus-visible { outline-offset: -2px; }
.screen { position: sticky; top: 40px; min-height: 460px; border-radius: 24px; padding: 30px; background: radial-gradient(600px 300px at 80% 0%, rgba(255, 181, 71, .12), transparent 70%), var(--ink-3); border: 1px solid var(--line-2); }
.panel-title { margin: 0 0 18px; font-size: 14px; color: var(--fg-3); }
.list { display: grid; gap: 10px; }
.li { display: grid; grid-template-columns: 10px 1fr auto; gap: 16px; align-items: center; background: var(--ink-4); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.li b { display: block; font-weight: 600; }
.li small { color: var(--fg-3); font-size: 13.5px; }
.li code { font-size: 12.5px; color: var(--fg-2); }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.ok { background: var(--ok); } .dot.warn { background: var(--amber); }
.note { margin: 22px 0 0; font-size: 15px; color: var(--fg-2); line-height: 1.55; }
.note code { font-size: 13px; color: var(--amber-2); }
.raw, .json { margin: 0; background: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-size: 13.5px; line-height: 1.7; color: var(--fg-2); overflow-x: auto; }
.json i { font-style: normal; color: var(--amber-2); }
.fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; }
.fields.two { grid-template-columns: 1fr 1fr; }
.fields > div { background: var(--ink-4); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.fields dt { font-size: 12.5px; color: var(--fg-3); }
.fields dd { margin: 3px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.q { background: var(--ink-4); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.q > p { margin: 12px 0 0; color: var(--fg-2); }
.code-amber { font-size: 13px; font-weight: 600; color: var(--amber); background: rgba(255, 181, 71, .12); padding: 4px 10px; border-radius: 8px; }
.q-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }

/* formats wall */
.formats { padding: 120px 0; border-top: 1px solid var(--line); background: var(--ink-2); }
.kicker { margin: 0 0 30px; font-size: 15px; color: var(--fg-3); }
.wall { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.wall li { font-size: clamp(42px, 7vw, 104px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; color: transparent; -webkit-text-stroke: 1.5px var(--fg-3); padding-right: .42em; transition: color .25s, -webkit-text-stroke-color .25s; }
.wall li:hover { color: var(--amber); -webkit-text-stroke-color: var(--amber); }
.wall li:nth-child(1), .wall li:nth-child(3) { color: var(--fg); -webkit-text-stroke-color: var(--fg); }
.formats-note { max-width: 620px; margin: 40px 0 0; font-size: 19px; color: var(--fg-2); }

/* trust */
.trust { padding: 140px 0 120px; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 56px; }
.cards article { background: var(--ink-3); border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px 30px; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; }
.cards .num { margin: 0; font-size: 46px; font-weight: 750; letter-spacing: -.04em; color: var(--amber); }
.cards p:last-child { margin: 0; color: var(--fg-2); font-size: 16px; }

/* closing */
.closing { padding: 40px 0 120px; }
.closing-inner { text-align: center; border-radius: 32px; padding: 96px 32px; background: radial-gradient(700px 300px at 50% 120%, rgba(255, 181, 71, .35), transparent 70%), var(--ink-3); border: 1px solid var(--line-2); }
.closing-inner p { color: var(--fg-2); font-size: 19px; margin: 18px 0 34px; }

.foot { border-top: 1px solid var(--line); padding: 30px 0 40px; font-size: 14px; color: var(--fg-3); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.env { font: 12px var(--mono); color: var(--amber); border: 1px solid rgba(255, 181, 71, .4); padding: 3px 9px; border-radius: 999px; }

@media (max-width: 1080px) {
  .stage { grid-template-columns: 1fr; margin-top: 64px; padding-bottom: 80px; }
  .sheets { height: 330px; max-width: 520px; width: 100%; margin: 0 auto; }
  .sheet { width: 290px; }
  .beam { height: 70px; } .beam i { left: 50%; right: auto; width: 2px; height: 100%; top: 0 !important; transform: none !important; background: linear-gradient(180deg, transparent, var(--amber), transparent); background-size: 100% 200%; }
  .how-grid { grid-template-columns: 1fr; gap: 40px; }
  .screen { position: static; }
  .cards { grid-template-columns: 1fr 1fr; }
  .trio { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 640px) {
  .frame { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-row { justify-content: space-between; height: 64px; }
  .hero { padding-top: 48px; }
  .lead { font-size: 17.5px; }
  .sheets { height: 300px; }
  .sheet { width: 250px; padding: 12px 14px; }
  .sheet pre { font-size: 10px; }
  .s1 { left: 0; } .s2 { left: 12%; top: 100px; } .s3 { left: 4%; top: 190px; }
  .ledger { padding: 18px; border-radius: 18px; }
  .balance { font-size: 38px; }
  .rows li { grid-template-columns: 44px 1fr auto; gap: 10px; font-size: 14px; }
  .manifesto { padding: 72px 0 64px; }
  .trio { margin-top: 44px; }
  .how, .formats, .trust { padding: 88px 0; }
  .screen { padding: 18px; border-radius: 18px; }
  .fields { grid-template-columns: 1fr 1fr; }
  .li { grid-template-columns: 10px 1fr; } .li code { grid-column: 2; }
  .cards { grid-template-columns: 1fr; }
  .cards article { min-height: 0; gap: 18px; }
  .closing-inner { padding: 64px 20px; border-radius: 22px; }
}

/* language switch (landing and developers) */
.lang { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px; font-size: 12.5px; font-weight: 600; flex: none; }
.lang a { padding: 4px 9px; border-radius: 999px; color: var(--fg-3); line-height: 1; }
.lang a:hover { color: var(--fg); }
.lang a[aria-current="true"] { background: var(--fg); color: var(--ink); }
.nav-row .lang { margin-right: -24px; }
@media (max-width: 640px) {
  .nav-row .lang { margin-right: 0; }
  .nav-row { gap: 10px; }
  .nav-row .logo { margin-right: auto; }
  .nav-row > .pill { display: none; } /* the hero has the same call to action */
}
