/* Odyssey.MarketingSite/public/landing-artifacts/product-hero/styles.css
   ============================================================================
   Defines the product-hero artwork styles variant; the shared adapter owns outer fitting and focus isolation.
   ============================================================================ */
@font-face {
  font-family: "Nunito";
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/nunito-400.ttf") format("truetype");
}

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

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

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

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

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

:root {
  --white: #fff;
  --paper: #fffefd;
  --light: #f8f6f2;
  --line: rgba(218, 211, 195, 0.48);
  --line-strong: rgba(218, 211, 195, 0.72);
  --dark: #211f1c;
  --gray-800: #403d38;
  --gray-700: #716d66;
  --gray-600: #8e887a;
  --gray-500: #968e7e;
  --primary: #10b7d1;
  --primary-soft: #ddf8fc;
  --success: #84b80f;
  --success-soft: #edf9d8;
  --danger: #f06445;
  --danger-soft: #fff0ed;
  --warning-soft: #fdf4d6;
  --shadow: 0 18px 56px rgba(33, 31, 28, 0.08);
  --soft-shadow: 0 14px 34px rgba(33, 31, 28, 0.07);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --ui-font: "Nunito", "Segoe UI", system-ui, sans-serif;
  --body-font: Georgia, "Times New Roman", serif;
}

@font-face {
  font-family: "keenicons-outline";
  font-display: block;
  font-style: normal;
  font-weight: normal;
  src:
    url("/landing-artifacts/shared/keenicons-outline.woff") format("woff"),
    url("/landing-artifacts/shared/keenicons-outline.ttf") format("truetype");
}

.ki-outline {
  direction: ltr;
  display: inline-flex;
  font-family: "keenicons-outline" !important;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;
  speak: never;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ki-abstract-44.ki-outline::before { content: "\e92b"; }
.ki-arrows-circle.ki-outline::before { content: "\e951"; }
.ki-check.ki-outline::before { content: "\e99f"; }
.ki-cross.ki-outline::before { content: "\e9b5"; }
.ki-double-check.ki-outline::before { content: "\e9dd"; }
.ki-down.ki-outline::before { content: "\e9e5"; }
.ki-exit-left.ki-outline::before { content: "\ea01"; }
.ki-flag.ki-outline::before { content: "\ea20"; }
.ki-geolocation.ki-outline::before { content: "\ea2c"; }
.ki-left.ki-outline::before { content: "\ea56"; }
.ki-message-edit.ki-outline::before { content: "\ea6b"; }
.ki-messages.ki-outline::before { content: "\ea72"; }
.ki-pencil.ki-outline::before { content: "\ea97"; }
.ki-plus.ki-outline::before { content: "\eaa1"; }
.ki-right.ki-outline::before { content: "\eab3"; }
.ki-text-bold.ki-outline::before { content: "\eb04"; }
.ki-text-circle.ki-outline::before { content: "\eb05"; }
.ki-text-italic.ki-outline::before { content: "\eb06"; }
.ki-text-number.ki-outline::before { content: "\eb07"; }
.ki-text-strikethrough.ki-outline::before { content: "\eb08"; }
.ki-text-underline.ki-outline::before { content: "\eb09"; }
.ki-trash.ki-outline::before { content: "\eb18"; }
.ki-user.ki-outline::before { content: "\eb2a"; }

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: transparent;
  color: var(--dark);
  font-family: var(--ui-font);
  height: 100vh;
  overflow: hidden;
  position: relative;
  width: 100vw;
}

button {
  color: inherit;
  font: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero-capture {
  --fit-inset: 56px;
  --fit-scale: calc((100vw - var(--fit-inset)) / 1792px);

  align-items: center;
  display: flex;
  height: 927px;
  justify-content: center;
  overflow: visible;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scale(var(--fit-scale));
  transform-origin: center;
  width: 1792px;
}

@media (min-aspect-ratio: 1792 / 927) {
  .hero-capture {
    --fit-scale: calc((100vh - var(--fit-inset)) / 927px);
  }
}

@media (max-width: 760px) {
  .hero-capture {
    --fit-inset: 32px;
  }
}

.glass-frame {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(248, 246, 242, 0.34));
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  box-shadow:
    0 20px 56px rgba(33, 31, 28, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  height: 838px;
  left: 37px;
  overflow: visible;
  position: absolute;
  top: 42px;
  width: 1718px;
}

.glass-frame::before {
  background-image:
    radial-gradient(circle at 12% 4%, rgba(255, 255, 255, 0.28), transparent 22%),
    radial-gradient(circle at 72% 12%, rgba(255, 255, 255, 0.24), transparent 20%);
  border-radius: inherit;
  content: "";
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  position: absolute;
}

.glass-frame::after {
  background-image: radial-gradient(rgba(33, 31, 28, 0.045) 0.6px, transparent 0.6px);
  background-size: 9px 9px;
  border-radius: inherit;
  content: "";
  inset: 0;
  mix-blend-mode: multiply;
  opacity: 0.18;
  pointer-events: none;
  position: absolute;
}

.app-shell,
.tools-drawer,
.writing-tab,
.momentum-card {
  position: absolute;
  z-index: 2;
}

.app-shell {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  box-shadow:
    0 16px 46px rgba(33, 31, 28, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  display: grid;
  grid-template-columns: 285px 1fr;
  height: 838px;
  left: 0;
  overflow: hidden;
  top: 0;
  width: 1370px;
}

.sidebar {
  border-right: 1px solid rgba(218, 211, 195, 0.5);
  display: flex;
  flex-direction: column;
  padding: 30px 20px 26px 29px;
}

.brand {
  align-items: center;
  display: flex;
  height: 52px;
}

.brand-logo {
  display: block;
  height: 48px;
  object-fit: contain;
  object-position: left center;
  width: 205px;
}

.project-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 40px;
  margin-top: 48px;
}

.select-button,
.square-button,
.toolbar,
.note-input {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.select-button {
  align-items: center;
  border-radius: 9px;
  display: flex;
  font-size: 15px;
  font-weight: 600;
  height: 43px;
  justify-content: space-between;
  padding: 0 14px;
}

.select-button .ki-outline {
  font-size: 16px;
}

.square-button {
  align-items: center;
  border: 0;
  border-radius: 10px;
  color: var(--dark);
  display: grid;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.square-button .ki-outline {
  font-size: 22px;
}

.write-button {
  background: linear-gradient(180deg, #12c1d8, #04abc5);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 12px 20px rgba(16, 183, 209, 0.18);
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  height: 49px;
  margin-top: 20px;
}

.chapter-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 34px;
}

.chapter-list a {
  border-radius: 10px;
  color: #334155;
  font-size: 15px;
  font-weight: 500;
  line-height: 26px;
  padding: 7px 10px;
  text-decoration: none;
}

.chapter-list .active {
  background: rgba(235, 234, 230, 0.78);
  color: var(--primary);
  font-weight: 800;
}

.sidebar-footer {
  margin-top: auto;
}

.footer-rule {
  border-top: 1px solid rgba(218, 211, 195, 0.58);
  margin: 0 0 24px;
}

.profile-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px 1fr 40px;
}

.profile-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-copy strong {
  font-size: 14px;
  font-weight: 800;
}

.profile-copy span {
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 600;
}

.logout-button,
.comment-actions button,
.bare-icon,
.close-button,
.note-input button {
  background: transparent;
  border: 0;
  padding: 0;
}

.logout-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.logout-button .ki-outline {
  font-size: 22px;
}

.editor-area {
  padding: 35px 24px 28px;
}

.editor-header {
  align-items: center;
  display: flex;
  height: 52px;
  justify-content: flex-start;
}

.editor-header h1 {
  align-items: baseline;
  display: flex;
  font-family: var(--ui-font);
  font-size: 30px;
  font-weight: 800;
  gap: 14px;
  letter-spacing: -0.02em;
  margin: 0;
}

.editor-header h1 span {
  font-size: 42px;
  font-weight: 500;
}

.toolbar-actions {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-left: auto;
}

.saved-state {
  align-items: center;
  display: flex;
  gap: 8px;
}

.saved-state .ki-outline {
  font-size: 22px;
}

.saved-state span {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  line-height: 1.05;
}

.saved-state strong {
  font-size: 14px;
}

.saved-state em {
  color: var(--gray-700);
  font-style: normal;
  font-weight: 600;
}

.divider {
  background: rgba(218, 211, 195, 0.6);
  height: 38px;
  width: 1px;
}

.badge-icon {
  background: transparent;
  border: 0;
  color: var(--primary);
  height: 26px;
  padding: 0;
  position: relative;
  width: 30px;
}

.badge-icon .ki-outline {
  font-size: 28px;
}

.badge-icon span {
  align-items: center;
  background: var(--primary-soft);
  border: 1px solid var(--primary);
  border-radius: 999px;
  display: flex;
  font-size: 10px;
  height: 16px;
  justify-content: center;
  position: absolute;
  right: -5px;
  top: -9px;
  width: 16px;
}

.change-count {
  font-size: 13px;
  font-weight: 600;
}

.bare-icon .ki-outline {
  font-size: 23px;
}

.focus-toggle {
  align-items: center;
  display: flex;
  font-size: 15px;
  font-weight: 800;
  gap: 10px;
}

.focus-toggle span {
  background: var(--primary);
  border-radius: 999px;
  display: block;
  height: 23px;
  position: relative;
  width: 43px;
}

.focus-toggle span::after {
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(33, 31, 28, 0.22);
  content: "";
  height: 17px;
  position: absolute;
  right: 3px;
  top: 3px;
  width: 17px;
}

.toolbar {
  align-items: center;
  border-radius: 13px;
  display: flex;
  height: 57px;
  margin-top: 14px;
  padding: 0 27px;
}

.format-actions {
  align-items: center;
  display: flex;
  gap: 22px;
}

.toolbar button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #53565a;
  display: grid;
  height: 28px;
  justify-content: center;
  padding: 0;
  width: 28px;
}

.toolbar .ki-outline {
  font-size: 23px;
}

.workbench {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 295px;
  margin-top: 15px;
}

.manuscript {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(218, 211, 195, 0.42);
  border-radius: 13px;
  box-shadow: 0 8px 30px rgba(33, 31, 28, 0.035);
  height: 633px;
  padding: 25px 18px 26px 24px;
  position: relative;
}

.manuscript p {
  font-family: var(--body-font);
  font-size: 19px;
  line-height: 1.78;
  margin: 0 0 21px;
}

.comment-highlight {
  background: rgba(253, 244, 214, 0.86);
  border-radius: 4px;
  padding: 1px 4px 2px;
}

.delete-text {
  background: rgba(255, 240, 237, 0.92);
  border-radius: 4px;
  color: #ec3f24;
  padding: 1px 4px 2px;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.insert-text {
  background: rgba(237, 249, 216, 0.94);
  border-radius: 4px;
  color: #4b8518;
  padding: 2px 6px 3px;
}

.wordcount {
  bottom: 14px;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 600;
  left: 24px;
  position: absolute;
}

.comment-rail {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.comment-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(33, 31, 28, 0.045);
  font-family: var(--ui-font);
  padding: 13px 14px 15px;
}

.comment-card.active {
  border-color: var(--primary);
  border-width: 2px;
  box-shadow: 0 12px 28px rgba(16, 183, 209, 0.08);
}

.comment-head {
  align-items: flex-start;
  display: grid;
  gap: 10px;
  grid-template-columns: 40px 1fr auto;
}

.comment-head.mini {
  grid-template-columns: 1fr auto;
}

.comment-head strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}

.comment-head span {
  color: var(--gray-700);
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}

.comment-actions {
  display: flex;
  gap: 14px;
  padding-top: 2px;
}

.comment-actions .ki-outline {
  font-size: 19px;
}

.comment-card p,
.reply-content p {
  color: #2f3337;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  margin: 10px 0 0;
}

.show-more {
  align-items: center;
  display: grid;
  gap: 0;
  grid-template-columns: 1fr auto 1fr;
  margin: 17px 0 12px;
}

.show-more span,
.reply-divider {
  border-top: 1px solid var(--line-strong);
}

.show-more button {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--primary);
  border-radius: 9px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  height: 35px;
  padding: 0 21px;
}

.reply-row {
  display: grid;
  gap: 10px;
  grid-template-columns: 34px 1fr;
  padding-top: 3px;
}

.reply-divider {
  margin: 13px 0 10px;
}

.replacement {
  min-height: 270px;
}

.avatar {
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(33, 31, 28, 0.13);
  display: block;
  height: 40px;
  object-fit: cover;
  object-position: center;
  width: 40px;
}

.avatar.sm {
  height: 42px;
  width: 42px;
}

.tools-drawer {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  box-shadow:
    0 16px 44px rgba(33, 31, 28, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  height: 838px;
  left: 1395px;
  padding: 56px 22px 24px;
  top: 0;
  width: 312px;
}

.close-button {
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  position: absolute;
  right: 25px;
  top: 22px;
}

.tabs {
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 30px;
  height: 44px;
}

.tabs button {
  background: transparent;
  border: 0;
  font-family: var(--ui-font);
  font-size: 15px;
  font-weight: 800;
  padding: 0;
  position: relative;
}

.tabs .active {
  color: var(--primary);
}

.tabs .active::after {
  background: var(--primary);
  bottom: -1px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 66px;
}

.note-input {
  align-items: center;
  border-radius: 11px;
  color: var(--gray-600);
  display: flex;
  font-size: 14px;
  font-weight: 500;
  height: 55px;
  justify-content: space-between;
  margin: 19px 0 15px;
  padding: 0 11px 0 16px;
}

.note-input button {
  align-items: center;
  background: rgba(235, 234, 230, 0.95);
  border-radius: 10px;
  display: grid;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.note-input .ki-outline {
  font-size: 20px;
}

.note-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: 0 10px 24px rgba(33, 31, 28, 0.045);
  font-family: var(--ui-font);
  margin-top: 14px;
  padding: 17px 17px 19px;
}

.note-card header {
  align-items: center;
  display: grid;
  gap: 11px;
  grid-template-columns: 22px 1fr auto;
}

.note-card .ki-outline {
  font-size: 22px;
}

.note-card strong {
  font-size: 15px;
  font-weight: 800;
}

.note-card p {
  color: var(--gray-800);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  margin: 13px 0 0;
}

.dot {
  border-radius: 999px;
  display: block;
  height: 9px;
  width: 9px;
}

.dot.primary { background: var(--primary); }
.dot.success { background: var(--success); }
.dot.danger { background: var(--danger); }

.writing-tab {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(33, 31, 28, 0.055);
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 214px;
  justify-content: center;
  left: 1698px;
  top: 124px;
  width: 58px;
}

.writing-tab .ki-outline {
  font-size: 21px;
}

.writing-tab span {
  font-size: 17px;
  font-weight: 800;
  writing-mode: vertical-rl;
}

.momentum-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(218, 211, 195, 0.68);
  border-radius: 22px;
  box-shadow:
    0 18px 42px rgba(33, 31, 28, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  display: grid;
  grid-template-columns: 34px 1fr 92px;
  grid-template-rows: auto 20px;
  left: 830px;
  min-height: 132px;
  padding: 21px 38px 23px 31px;
  top: 720px;
  width: 438px;
  z-index: 4;
}

.momentum-icon {
  align-items: center;
  background: var(--danger);
  border-radius: 999px;
  color: white;
  display: grid;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.momentum-icon .ki-outline {
  font-size: 15px;
}

.momentum-copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.momentum-copy strong {
  font-size: 18px;
  font-weight: 800;
}

.momentum-copy span {
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 600;
}

.momentum-progress {
  background: #e5e5e2;
  border-radius: 999px;
  grid-column: 1 / 3;
  height: 8px;
  margin-top: 23px;
  overflow: hidden;
}

.momentum-progress i {
  background: var(--danger);
  border-radius: inherit;
  display: block;
  height: 100%;
  width: 68%;
}

.momentum-card b {
  align-self: end;
  font-size: 18px;
  font-weight: 700;
  justify-self: end;
}
