/* oathtech.net — marketing site. Plain CSS, no build step. */
:root {
  --navy: #0f172a;
  --navy-2: #18233d;
  --ink: #16213a;
  --muted: #55627a;
  --paper: #eef2f7;
  --white: #ffffff;
  --line: #d3dbe7;
  --blue: #3b82f6;
  --blue-deep: #1d4ed8;
  --brass: #b58a2e;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
h1, h2, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2rem, 70rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

h1, h2 { font-family: var(--display); font-stretch: 112%; font-weight: 750; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }

/* Buttons */
.btn {
  display: inline-block;
  padding: .7rem 1.15rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
}
.btn-primary { background: var(--blue-deep); color: var(--white); }
.btn-primary:hover { background: #1a43bd; }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: #dfe7f3; }

/* Top: header + hero share the navy field */
.top { background: var(--navy); color: #dbe4f3; overflow: hidden; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--white); text-decoration: none; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1.2rem; }
.bar nav { display: flex; align-items: center; gap: 1.6rem; }
.bar nav a:not(.btn) { color: #c3cfe4; text-decoration: none; font-size: .95rem; }
.bar nav a:not(.btn):hover { color: var(--white); }
.bar .btn { padding: .5rem .9rem; font-size: .95rem; }

.hero { padding-block: clamp(2.5rem, 7vw, 5rem) 0; }
.hero-copy { max-width: 46rem; }
.hero h1 { color: var(--white); }
.lede { margin-top: 1.4rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 40rem; color: #c3cfe4; }
.hero-actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.hero .btn-primary { background: var(--blue); color: #06122b; }
.hero .btn-primary:hover { background: #6aa1f8; }
.text-link { color: var(--white); text-underline-offset: .25em; }

/* The desk: the product's own window manager, drawn in CSS */
.desk { margin-top: clamp(2.5rem, 6vw, 4rem); }
.desk-screen {
  position: relative;
  height: clamp(22rem, 40vw, 27rem);
  border-radius: 14px 14px 0 0;
  border: 1px solid #2c3a5c;
  border-bottom: 0;
  background:
    radial-gradient(60rem 30rem at 85% -10%, #2a4a8f 0%, transparent 60%),
    linear-gradient(160deg, #1b2a4d, #121c36);
  overflow: hidden;
  font-size: .86rem;
  line-height: 1.45;
  color: var(--ink);
}
.desk figcaption { background: #0b1222; color: #8d9bb6; font-size: .8rem; padding: .5rem 1rem; text-align: right; margin-inline: calc(50% - 50vw); padding-inline: max(1rem, calc(50vw - 35rem)); }

.win {
  position: absolute;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 18px 40px -12px rgba(3, 8, 22, .7), 0 0 0 1px rgba(15, 23, 42, .12);
  overflow: hidden;
  animation: open .5s cubic-bezier(.2, .8, .2, 1) both;
}
.win-bar { display: flex; justify-content: space-between; align-items: center; padding: .45rem .75rem; background: #e6ecf5; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .8rem; }
.win-dots { display: flex; gap: .3rem; }
.win-dots i { width: .55rem; height: .55rem; border-radius: 50%; background: #b9c4d6; }
.win-body { padding: .85rem .95rem 1rem; display: grid; gap: .6rem; }
.doc-h { font-family: var(--display); font-weight: 700; font-size: .98rem; }
.small { font-size: .78rem; color: var(--muted); }
mark { background: #fde9a8; color: inherit; padding: 0 .1em; border-radius: 2px; }
mark.m2 { background: #cfe0ff; }
.note { border-left: 3px solid var(--blue); background: #f1f6ff; padding: .5rem .65rem; border-radius: 0 6px 6px 0; }
.note b { display: block; font-size: .76rem; color: var(--blue-deep); }
.lines { display: grid; gap: .55rem; }
.lines li { padding-bottom: .55rem; border-bottom: 1px solid var(--line); }
.lines li:last-child { border-bottom: 0; padding-bottom: 0; }
.lines b { display: block; }
.meter { height: .5rem; border-radius: 99px; background: #e2e8f2; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--brass); }

.win-report { left: 5%; top: 9%; width: 47%; animation-delay: .15s; }
.win-brief { right: 5%; top: 16%; width: 36%; animation-delay: .3s; }
.win-bulletin { left: 38%; top: 60%; width: 31%; animation-delay: .45s; }

.taskbar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem .8rem;
  background: rgba(10, 17, 34, .72);
  backdrop-filter: blur(10px);
  color: #c3cfe4; font-size: .78rem;
}
.tb { padding: .25rem .6rem; border-radius: 6px; }
.tb.on { background: rgba(255, 255, 255, .1); color: var(--white); box-shadow: inset 0 -2px 0 var(--blue); }

@keyframes open {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to { opacity: 1; transform: none; }
}

/* Sections */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-head { max-width: 42rem; }
.section-head p, .split p, .plain p, .close p { margin-top: 1rem; max-width: 40rem; }
.section-head p { color: var(--muted); font-size: 1.12rem; }

/* A ledger, not cards: the app name is the entry, the description is the line */
.ledger { margin-top: 2.5rem; border-top: 2px solid var(--navy); }
.ledger > div { display: grid; grid-template-columns: 16rem 1fr; gap: 2rem; padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.ledger dt { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1.2rem; }
.ledger dd { max-width: 40rem; }

.band { background: var(--white); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.chat { display: grid; gap: .8rem; font-size: .98rem; }
.chat .q { justify-self: end; background: var(--navy); color: var(--white); padding: .7rem 1rem; border-radius: 14px 14px 2px 14px; max-width: 24rem; margin: 0; }
.chat .a { background: var(--paper); border: 1px solid var(--line); padding: .9rem 1rem; border-radius: 14px 14px 14px 2px; max-width: 26rem; }
.chat .a p { margin: 0; }
.cites { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem !important; }
.cites span { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: .15rem .5rem; font-size: .82rem; color: var(--blue-deep); font-weight: 500; }

.plain { margin-top: 1.5rem; padding-left: 1.25rem; border-left: 3px solid var(--brass); }
.plain p + p { margin-top: 1.5rem; }

.close { background: var(--navy); color: #c3cfe4; }
.close h2 { color: var(--white); }
.close p + p { margin-top: 1.8rem; }

.foot { display: flex; flex-wrap: wrap; gap: .5rem 2rem; padding-block: 1.6rem; font-size: .9rem; color: var(--muted); }
.foot span:first-child { margin-right: auto; }

/* Small screens: the product shows one window at a time on a phone, and so does this */
@media (max-width: 760px) {
  .bar nav a:not(.btn) { display: none; }
  .desk-screen { height: 25rem; }
  .win-report { left: 4%; right: 4%; top: 5%; width: auto; }
  .win-brief, .win-bulletin, .tb:nth-of-type(n+4) { display: none; }
  .ledger > div { grid-template-columns: 1fr; gap: .3rem; }
  .split { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .win { animation: none; }
}
