/* Verdine Brands LLC */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("assets/fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  --bg: #F5F4F0;
  --surface: #FFFFFF;
  --ink: #14191D;
  --text: #2D3338;
  --muted: #6A7177;
  --line: #E0DED7;
  --line-2: #CFCCC4;
  --brand: #1C2B39;
  --brand-2: #243747;
  --on-brand: #F3F4F5;
  --on-brand-2: #A9B3BC;
  --line-brand: rgba(255, 255, 255, .14);
  --font: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1200px;
  --pad: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, dl, dd, ol, ul { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 500; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
::selection { background: var(--brand); color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--ink); color: #fff; padding: 10px 14px; }

.kicker { font-size: 14px; font-weight: 500; color: var(--muted); }
.u { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color .2s; }
.u:hover { text-decoration-color: currentColor; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 4px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn svg { width: 14px; height: 14px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.logo-mark { width: 30px; height: 30px; flex: none; }
.logo-text { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: rgba(245, 244, 240, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.is-solid { border-bottom-color: var(--line); }
.header .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.nav a:not(.btn) { color: var(--text); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav .btn { height: 40px; padding: 0 16px; font-size: 14px; }

/* Hero */
.hero { padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 120px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero h1 { margin-top: 20px; font-size: clamp(34px, 4.1vw, 56px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 500; max-width: 17ch; }
.hero .lead { margin-top: 24px; font-size: clamp(17px, 1.4vw, 19px); color: var(--text); max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.profile { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 1px 2px rgba(20, 25, 29, .04), 0 12px 32px -12px rgba(20, 25, 29, .10); }
.profile-head { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.profile-head .logo-mark { width: 40px; height: 40px; }
.profile-head b { display: block; font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.profile-head span { display: block; font-size: 13px; color: var(--muted); }
.profile dl { padding: 6px 24px 10px; }
.profile dl div { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.profile dl div:last-child { border-bottom: 0; }
.profile dt { color: var(--muted); }
.profile dd { color: var(--ink); }

/* Sections */
.sec { padding: clamp(80px, 10vw, 136px) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sec-head h2, .h2 { font-size: clamp(28px, 2.9vw, 40px); line-height: 1.15; letter-spacing: -0.025em; }
.sec-head .kicker { margin-bottom: 14px; }
.prose p { color: var(--text); max-width: 60ch; }
.prose p + p { margin-top: 18px; }
.prose .big { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; color: var(--ink); }

/* Model flow */
.flow { list-style: none; padding: 0; margin-top: clamp(56px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; counter-reset: f; }
.flow::before { content: ""; position: absolute; top: 20px; left: 20px; right: calc((100% - 72px) / 4 - 20px); height: 1px; background: var(--line-2); }
.flow li { position: relative; counter-increment: f; }
.flow .node { position: relative; width: 41px; height: 41px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 14px; font-weight: 500; color: var(--ink); }
.flow li:last-child .node { background: var(--brand); border-color: var(--brand); color: #fff; }
.flow li:not(:last-child)::after { /* arrow head */
  content: ""; position: absolute; top: 16px; right: -8px; width: 8px; height: 8px;
  border-top: 1px solid var(--line-2); border-right: 1px solid var(--line-2); transform: rotate(45deg);
}
.flow .card { margin-top: 24px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; height: calc(100% - 65px); }
.flow h3 { font-size: 18px; letter-spacing: -0.01em; }
.flow .step { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.flow p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--text); }

.standards { margin-top: clamp(56px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.standards div { padding: 26px 28px 0 0; }
.standards div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.standards h3 { font-size: 17px; }
.standards p { margin-top: 10px; font-size: 15px; color: var(--text); }

/* Company information */
.company { background: var(--brand); color: var(--on-brand); border-top: 0 !important; }
.company + .sec { border-top: 0; }
.company h2 { color: #fff; }
.company .kicker { color: var(--on-brand-2); }
.company .prose p { color: var(--on-brand-2); }
.register { border-top: 1px solid rgba(255,255,255,.4); }
.register div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line-brand); }
.register dt { font-size: 15px; color: var(--on-brand-2); }
.register dd { font-size: 17px; color: #fff; line-height: 1.5; }
.register .u { text-decoration-color: rgba(255,255,255,.35); }
.register .u:hover { text-decoration-color: #fff; }

/* Contact */
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 4px 28px; }
.contact-card > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 20px 0; }
.contact-card > div + div { border-top: 1px solid var(--line); }
.contact-card h3 { font-size: 15px; font-weight: 400; color: var(--muted); }
.contact-card p { color: var(--ink); line-height: 1.55; }
.contact-note { margin-top: 20px; font-size: 15px; color: var(--muted); }

/* Footer */
.footer { background: var(--ink); color: #C9CED2; padding: 72px 0 28px; font-size: 15px; }
.footer .logo { color: #fff; }
.f-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 32px; padding-bottom: 56px; }
.f-top p { margin-top: 16px; color: #8E969C; max-width: 34ch; }
.f-top h4 { font-size: 14px; font-weight: 500; color: #fff; margin-bottom: 12px; }
.f-top li { list-style: none; line-height: 2; }
.f-top ul { padding: 0; }
.f-top a:hover { color: #fff; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid #2A3136; font-size: 13px; color: #8E969C; }

/* Legal pages */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-top: 14px; font-size: clamp(34px, 4.1vw, 56px); line-height: 1.08; letter-spacing: -0.03em; }
.page-head .meta { margin-top: 18px; font-size: 15px; color: var(--muted); }
.legal { padding: clamp(48px, 6vw, 88px) 0 clamp(80px, 10vw, 136px); }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: 104px; font-size: 14px; }
.toc p { font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; counter-reset: t; border-left: 1px solid var(--line); }
.toc li { counter-increment: t; }
.toc a { display: block; padding: 5px 0 5px 16px; color: var(--muted); margin-left: -1px; border-left: 1px solid transparent; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); }
.doc { max-width: 720px; }
.doc .intro { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; color: var(--ink); margin-bottom: 40px; }
.doc section { padding: 28px 0; border-top: 1px solid var(--line); }
.doc h2 { font-size: 20px; letter-spacing: -0.01em; margin-bottom: 12px; }
.doc p, .doc li { color: var(--text); }
.doc p + p, .doc ul + p { margin-top: 12px; }
.doc ul { margin-top: 12px; padding-left: 20px; }
.doc li + li { margin-top: 8px; }
.doc strong { color: var(--ink); font-weight: 500; }
.doc a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.doc address { font-style: normal; }

/* Reveal (fail-safe) */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .profile { max-width: 560px; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .flow::before { display: none; }
  .flow li::after { display: none; }
  .sec-head { grid-template-columns: 1fr; }
  .f-top { grid-template-columns: 1fr 1fr 1fr; }
  .f-top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav a.opt { display: none; }
  .standards { grid-template-columns: 1fr; }
  .standards div, .standards div + div { padding: 22px 0; border-left: 0; }
  .standards div + div { border-top: 1px solid var(--line); }
  .legal-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header .wrap { height: 64px; }
  .logo-text { font-size: 16px; }
  .nav { gap: 16px; }
  .actions .btn { flex: 1 1 100%; }
  .profile-head, .profile dl { padding-left: 18px; padding-right: 18px; }
  .profile dl div { grid-template-columns: 1fr; gap: 2px; }
  .flow { grid-template-columns: 1fr; row-gap: 0; padding-left: 0; }
  .flow li { display: grid; grid-template-columns: 41px minmax(0, 1fr); column-gap: 16px; padding-bottom: 20px; }
  .flow li:not(:last-child)::before { content: ""; position: absolute; left: 20px; top: 41px; bottom: 0; width: 1px; background: var(--line-2); }
  .flow .card { margin-top: 0; height: auto; padding: 20px; }
  .register div { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; }
  .contact-card { padding: 4px 20px; }
  .contact-card > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .f-top { grid-template-columns: 1fr 1fr; }
  .f-top > div:last-child { grid-column: 1 / -1; }
}
