/* Odyssey.MarketingSite/public/landing-artifacts/why-odyssey-images/styles.css
   ============================================================================
   Composes Docs and heavyweight comparison artwork on a flat 1400 x 800 canvas.
   The shared adapter owns outer fitting and focus isolation, not the artwork layout.
   ============================================================================ */
@font-face {
  font-display: swap;
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  src: url("../product-hero/fonts/nunito-400.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600;
  src: url("../product-hero/fonts/nunito-600.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  src: url("../product-hero/fonts/nunito-700.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Nunito";
  font-style: normal;
  font-weight: 800;
  src: url("../product-hero/fonts/nunito-800.ttf") format("truetype");
}

:root {
  --aqua: #10b7d1;
  --aqua-soft: #ddf8fc;
  --coral: #f06445;
  --dark: #211f1c;
  --ink: #263445;
  --muted: #716d66;
  --line: rgba(218, 211, 195, 0.68);
  --paper: #fffefd;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100vh;
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  width: 100vw;
}

body {
  color: var(--dark);
  font-family: "Nunito", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

.image-canvas {
  --fit-inset: 0px;
  --fit-scale: calc(100vw / 1400px);

  border-radius: 32px;
  height: 800px;
  left: 50%;
  overflow: hidden;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%) scale(var(--fit-scale));
  transform-origin: center;
  width: 1400px;
}

@media (min-aspect-ratio: 7 / 4) {
  .image-canvas {
    --fit-scale: calc(100vh / 800px);
  }
}

.square-panel {
  border-radius: 32px;
  height: 1040px;
  left: 20px;
  overflow: hidden;
  position: absolute;
  top: 20px;
  width: 1040px;
}

.docs-image {
  background: transparent;
}

.docs-image .square-panel {
  background: transparent;
  border: 0;
  border-radius: 28px;
  box-shadow: none;
  height: 800px;
  left: 0;
  padding: 0;
  top: 0;
  width: 1400px;
}

.image-heading {
  align-items: flex-start;
  display: flex;
  gap: 22px;
}

.image-heading p {
  color: var(--aqua);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.image-heading h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0;
  max-width: 720px;
}

.app-mark {
  border-radius: 18px;
  display: grid;
  height: 74px;
  place-items: center;
  width: 74px;
}

.docs-mark {
  background: #2d7ff9;
  box-shadow: none;
  position: relative;
}

.docs-mark::before {
  background: white;
  border-radius: 4px;
  content: "";
  height: 42px;
  width: 32px;
}

.docs-mark::after {
  background:
    linear-gradient(#2d7ff9, #2d7ff9) 9px 12px / 18px 3px no-repeat,
    linear-gradient(#2d7ff9, #2d7ff9) 9px 21px / 14px 3px no-repeat,
    linear-gradient(#2d7ff9, #2d7ff9) 9px 30px / 18px 3px no-repeat;
  content: "";
  height: 42px;
  position: absolute;
  width: 32px;
}

.docs-window {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: none;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.docs-toolbar {
  align-items: center;
  background: linear-gradient(180deg, #ffffff, #f3f6fa);
  border-bottom: 1px solid #d8dee8;
  display: grid;
  gap: 18px;
  grid-template-columns: auto 58px 1fr;
  height: 94px;
  padding: 0 30px;
}

.traffic {
  display: flex;
  gap: 8px;
}

.traffic span {
  border-radius: 50%;
  height: 13px;
  width: 13px;
}

.traffic span:nth-child(1) { background: #ff5f57; }
.traffic span:nth-child(2) { background: #febc2e; }
.traffic span:nth-child(3) { background: #28c840; }

.docs-toolbar strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
}

.docs-toolbar em {
  color: #6b7280;
  display: block;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  margin-top: 4px;
}

.docs-toolbar img {
  border-radius: 15px;
  box-shadow: none;
  height: 52px;
  width: 52px;
}

.doc-list {
  /* Fill the shorter canvas with larger readable rows instead of empty folder space. */
  display: grid;
  gap: 10px;
  grid-template-rows: repeat(7, minmax(0, 1fr));
  height: calc(100% - 94px);
  padding: 20px 24px;
}

.doc-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid #e1e6ef;
  border-radius: 18px;
  display: grid;
  gap: 16px;
  grid-template-columns: 52px 1fr auto;
  min-height: 0;
  padding: 10px 18px;
}

.doc-row.active {
  border-color: #2d7ff9;
  box-shadow: none;
}

.doc-row.warning {
  background: rgba(255, 240, 237, 0.62);
}

.doc-row strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
}

.doc-row em,
.doc-row b,
.floating-note span {
  color: #667085;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
}

.doc-icon-img {
  border-radius: 11px;
  height: 48px;
  width: 48px;
}

.floating-note {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(218, 211, 195, 0.8);
  border-radius: 20px;
  box-shadow: none;
  display: grid;
  gap: 7px;
  padding: 20px 22px;
  position: absolute;
  width: 304px;
}

.floating-note strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.note-one {
  bottom: 100px;
  left: 54px;
}

.note-two {
  bottom: 42px;
  right: 48px;
}

.heavyweight-image {
  background: #d7dde1;
  font-family: "Lucida Grande", "Segoe UI", Arial, sans-serif;
}

.old-app {
  background: #d7dde1;
  border: 0;
  border-radius: 32px;
  box-shadow: none;
  height: 800px;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 1400px;
}

.old-menu {
  align-items: center;
  background: #c8eadf;
  border-bottom: 1px solid #95a9a4;
  display: flex;
  gap: 22px;
  height: 27px;
  padding: 0 15px;
}

.old-menu strong {
  color: #093d2f;
  font-size: 15px;
  font-weight: 800;
}

.old-menu span,
.old-titlebar,
.old-toolbar,
.old-status {
  color: #1b242c;
  font-size: 13px;
}

.old-titlebar {
  align-items: center;
  background: linear-gradient(#eeeeee, #c8c8c8);
  border-bottom: 1px solid #a4a4a4;
  display: grid;
  grid-template-columns: auto 1fr auto;
  height: 34px;
  padding: 0 12px;
}

.old-titlebar strong {
  font-weight: 700;
  justify-self: center;
}

.old-titlebar em {
  background: white;
  border: 1px solid #b5b5b5;
  border-radius: 5px;
  color: #87909a;
  font-style: normal;
  padding: 5px 42px;
}

.old-toolbar {
  align-items: center;
  background: linear-gradient(#d8d8d8, #bbbbbb);
  border-bottom: 1px solid #8c8f91;
  display: flex;
  gap: 9px;
  height: 56px;
  overflow: hidden;
  padding: 8px 10px;
}

.old-toolbar button,
.old-toolbar select {
  background: linear-gradient(#fbfbfb, #bebebe);
  border: 1px solid #8d8d8d;
  border-radius: 3px;
  box-shadow: none;
  font-size: 12px;
  height: 28px;
}

.old-toolbar label {
  align-items: center;
  display: flex;
  gap: 4px;
  white-space: nowrap;
}

.old-workspace {
  display: grid;
  grid-template-columns: 198px 1fr 258px;
  height: 654px;
}

.binder {
  background: linear-gradient(90deg, #dce4eb, #cdd7df);
  border-right: 1px solid #9aa5ad;
  overflow: hidden;
}

.binder header,
.inspector header {
  background: linear-gradient(#e9edf0, #bfc8cf);
  border-bottom: 1px solid #9ba3aa;
  font-size: 12px;
  font-weight: 800;
  height: 24px;
  line-height: 24px;
  padding: 0 9px;
}

.binder ul {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
}

.binder li {
  font-size: 12px;
  line-height: 19px;
  overflow: hidden;
  padding-left: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.binder .selected {
  background: linear-gradient(90deg, #9fb4ca, #c4d3e1);
  color: white;
}

.folder::before { content: "▸ ▣ "; }
.folder.open::before { content: "▾ ▣ "; }
.doc::before { content: "▧ "; color: #a33ea1; }
.indent { padding-left: 22px !important; }
.indent-2 { padding-left: 34px !important; }
.indent-3 { padding-left: 48px !important; }

.old-editor {
  background: white;
  border-right: 1px solid #a0a0a0;
}

.old-editor > header {
  align-items: center;
  background: linear-gradient(#e7e7e7, #c9c9c9);
  border-bottom: 1px solid #9d9d9d;
  display: flex;
  gap: 6px;
  height: 28px;
  padding: 0 8px;
}

.old-editor header button {
  background: linear-gradient(#f9f9f9, #bebebe);
  border: 1px solid #919191;
  font-size: 11px;
}

.old-editor header strong {
  color: #3a1f55;
  font-size: 12px;
}

.old-page {
  padding: 24px 28px;
}

.old-page p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 18px;
}

.inspector {
  background: #eef0f1;
  overflow: hidden;
}

.inspector section {
  border-bottom: 1px solid #aab0b5;
}

.inspector pre {
  background:
    repeating-linear-gradient(#ffffff, #ffffff 22px, #e8edf2 23px);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  height: 126px;
  margin: 0;
  padding: 7px 8px;
  white-space: pre-wrap;
}

.inspector dl {
  display: grid;
  font-size: 12px;
  grid-template-columns: 70px 1fr;
  margin: 0;
  padding: 10px 8px;
  row-gap: 7px;
}

.inspector dt {
  font-weight: 800;
}

.inspector dd {
  margin: 0;
}

.checkbox {
  border: 1px solid #7a8791;
  display: inline-block;
  height: 13px;
  width: 13px;
}

.checkbox.on {
  background: #4da3ff;
}

.project-notes {
  background:
    repeating-linear-gradient(#ffffff, #ffffff 18px, #e9edf1 19px);
  height: 502px;
}

.project-notes p {
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  margin: 0;
  padding: 4px 8px 0;
}

.old-status {
  align-items: center;
  background: linear-gradient(#eeeeee, #c4c4c4);
  border-top: 1px solid #8f9396;
  bottom: 0;
  display: flex;
  gap: 54px;
  height: 29px;
  left: 0;
  padding: 0 12px;
  position: absolute;
  width: 100%;
}
