/* Olav Solutions website. Same look as the DaVault deck: Space Grotesk for
   headings, Inter for text, navy. Fonts are hosted here, not at Google, so a
   visit sends no data to third parties. */

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #17214d;
  --navy-2: #1f2b63;
  --navy-line: #2e3a75;
  --light: #f7f8fc;
  --light-2: #eef1fa;
  --indigo: #3b5bdb;
  --orange: #f0883e;
  --ink: #17214d;
  --body: #4a5068;
  --muted: #8a90a8;
  --on-dark: #eef1fa;
  --on-dark-soft: #b9c1e0;
  --line: #d9deef;
  --white: #ffffff;
  --wrap: 1120px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .wordmark { font-family: "Space Grotesk", "Inter", Arial, sans-serif; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
p { margin: 0; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--indigo); margin-bottom: 16px;
}
.dark .eyebrow { color: var(--orange); }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--body); max-width: 680px; }
.dark .lead { color: var(--on-dark-soft); }
.dark { background: var(--navy); color: var(--on-dark); }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 2px solid transparent; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: #f59d5c; }
.btn-ghost { border-color: var(--navy-line); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--on-dark-soft); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.wordmark { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; color: var(--navy); }
.wordmark span { color: var(--muted); font-weight: 400; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--body); }
.nav a:hover { color: var(--navy); }
.nav .btn { color: var(--white); }

/* Hero */
.hero { padding: clamp(72px, 11vw, 140px) 0 clamp(64px, 9vw, 112px); }
.hero h1 { max-width: 860px; margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 56px; padding: 0; list-style: none; }
.chips li { font-size: 14px; padding: 6px 14px; border: 1px solid var(--navy-line); border-radius: 999px; color: var(--on-dark-soft); }

/* Sections */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section.alt { background: var(--light); }
.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head.tight { margin-bottom: 20px; }
.section-head h2 { margin-bottom: 18px; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.section.alt .card { background: var(--white); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--body); font-size: 16px; }
.icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--light-2); color: var(--indigo);
  display: grid; place-items: center; margin-bottom: 20px;
}
.icon svg { width: 22px; height: 22px; }

/* Product */
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; margin-bottom: 72px; }
.product-name { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.product-name h2 { font-size: clamp(38px, 5vw, 56px); }
.badge { font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--light-2); color: var(--indigo); }
.product .lead { margin-bottom: 28px; }
.ticks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; color: var(--body); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 9px;
  border-left: 2.5px solid var(--indigo); border-bottom: 2.5px solid var(--indigo); transform: rotate(-45deg);
}

/* A drawing of the data room index (not a screenshot) */
.mock {
  background: var(--navy); border-radius: 18px; padding: 18px; box-shadow: 0 30px 60px -30px rgba(23, 33, 77, 0.55);
  font-size: 14px; color: var(--on-dark);
}
.mock-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--navy-line); }
.mock-body { background: var(--white); border-radius: 10px; color: var(--ink); overflow: hidden; position: relative; }
.mock-title { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 600; }
.mock-title small { font-weight: 400; color: var(--muted); }
.mock-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 8px; padding: 10px 18px; border-bottom: 1px solid var(--light-2); }
.mock-row:last-child { border-bottom: 0; }
.mock-row .n { color: var(--muted); font-variant-numeric: tabular-nums; }
.mock-row.folder { font-weight: 600; background: var(--light); }
.mock-row .tag { font-size: 12px; padding: 1px 9px; border-radius: 999px; background: var(--light-2); color: var(--indigo); align-self: center; }
.mock-row .tag.warn { background: #fdeee2; color: #a2531a; }
.mock-row.sub .name { padding-left: 14px; }

.features-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.features-head h3 { font-size: 26px; }
.features-head p { color: var(--body); max-width: 460px; }

/* Lifecycle */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.steps li { padding: 0 24px 0 0; position: relative; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-family: "Space Grotesk", sans-serif; font-weight: 600; margin-bottom: 18px;
  position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 18px; left: 36px; right: 0; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 6px; }
.steps .when { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--indigo); margin-bottom: 4px; }
.steps p { color: var(--body); font-size: 16px; }

/* Contact */
.contact { text-align: center; padding: clamp(80px, 10vw, 128px) 0; }
.contact h2 { margin-bottom: 18px; }
.contact .lead { margin: 0 auto 36px; }
.contact .mail { display: block; margin-top: 20px; color: var(--on-dark-soft); font-size: 15px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-dark-soft); border-top: 1px solid var(--navy-line); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; padding-bottom: 28px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); }

/* Legal pages */
.page { padding: 64px 0 96px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 28px; }
.page h2 { font-size: 22px; margin: 36px 0 10px; }
.page p, .page li { color: var(--body); }
.page p + p { margin-top: 12px; }
.todo { background: #fdeee2; color: #a2531a; padding: 0 6px; border-radius: 4px; }

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .product { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .nav a:not(.btn) { display: none; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .card { padding: 22px; }
  .mock-row { grid-template-columns: 36px 1fr auto; padding: 9px 12px; }
  .mock-title { padding: 12px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.page .updated { margin-top: 36px; color: var(--muted); }
.contact.full { min-height: 100vh; display: grid; place-items: center; }
