/* Odyssey.MarketingSite/public/landing-artifacts/promise-strip-images/styles.css
   ============================================================================
   Composes three fixed 560 x 320 promise artworks; the shared adapter owns outer fitting and focus isolation.
   ============================================================================ */
@font-face {
  font-display: block;
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  src: url("../product-hero/fonts/nunito-400.ttf") format("truetype");
}

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

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

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

:root {
  --aqua: #25bdd0;
  --aqua-dark: #0b7788;
  --coral: #f26d5b;
  --coral-soft: #fff0ec;
  --green: #87a922;
  --green-soft: #f4f8de;
  --ink: #26221f;
  --muted: #6e6a64;
  --line: rgba(218, 211, 195, 0.72);
  --shadow: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  width: 100%;
}

body {
  background: transparent;
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.promise-canvas {
  --fit-inset: 0px;
  align-items: center;
  background: transparent;
  display: grid;
  height: 320px;
  justify-items: center;
  padding: 0;
  width: 560px;
}

.promise-artifact {
  align-items: center;
  display: grid;
  height: 100%;
  justify-items: center;
  width: 100%;
}

.chart-card,
.worldbuilding-card,
.replacement-card {
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  height: 100%;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.chart-card {
  padding: 0;
}

.floating-metric {
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(221, 248, 252, 0.58));
  border: 1.5px solid rgba(37, 189, 208, 0.52);
  border-radius: 18px;
  box-shadow:
    0 16px 34px rgba(37, 189, 208, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  min-width: 104px;
  padding: 8px;
  position: absolute;
  z-index: 2;
}

.floating-metric span {
  color: var(--aqua-dark);
  display: block;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.floating-metric strong {
  color: var(--aqua-dark);
  display: block;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  margin-top: 5px;
}

.words-total {
  left: 26px;
  top: 28px;
}

.today-total {
  right: 32px;
  top: 78px;
}

.chart-shell {
  inset: 12px 10px;
  position: absolute;
  z-index: 1;
}

.chart-shell svg {
  display: block;
  height: 100%;
  overflow: visible;
  width: 100%;
}

.grid-lines path {
  fill: none;
  stroke: rgba(218, 211, 195, 0.78);
  stroke-width: 2;
}

.area {
  fill: url("#progressFill");
}

.line {
  fill: none;
  filter: url("#lineGlow");
  stroke: var(--aqua);
  stroke-linecap: round;
  stroke-width: 10;
}

.points ellipse {
  fill: #fffdfa;
  stroke: var(--aqua);
  stroke-width: 5;
  vector-effect: non-scaling-stroke;
}

.points .current {
  fill: var(--aqua);
  stroke: #fff;
  stroke-width: 5;
}

.axis-labels {
  align-items: center;
  bottom: 0;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  font-weight: 900;
  justify-content: space-between;
  left: 2%;
  position: absolute;
  right: 1%;
}

.worldbuilding-card {
  height: calc(100% - 2px);
  padding: 24px;
  width: calc(100% - 2px);
}

.worldbuilding-card header {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.eyebrow {
  color: var(--aqua-dark);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 6px;
  text-transform: uppercase;
}

h1,
p {
  margin: 0;
}

h1 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.note-icon {
  align-items: center;
  background: rgba(37, 189, 208, 0.13);
  border: 1px solid rgba(37, 189, 208, 0.22);
  border-radius: 17px;
  color: var(--aqua-dark);
  display: flex;
  height: 58px;
  justify-content: center;
  position: relative;
  width: 58px;
}

.note-icon::before,
.note-icon::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  position: absolute;
}

.note-icon::before {
  height: 46%;
  width: 3px;
}

.note-icon::after {
  height: 3px;
  width: 46%;
}

.status-dot {
  background: var(--green);
  border: 4px solid var(--green-soft);
  border-radius: 999px;
  height: 27px;
  width: 27px;
}

.note-body {
  color: #37322d;
  font-size: 14px;
  font-weight: 430;
  height: auto;
  line-height: 1.38;
  margin-top: 12px;
  max-width: 100%;
  overflow: hidden;
  padding-right: 4px;
  position: relative;
}

.note-body p {
  color: #37322d;
  line-height: 1.38;
  margin: 0 0 15px;
}

.note-body ul {
  /* Preserve the note's reading order in one column within the landscape canvas. */
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(0, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.note-body li {
  line-height: 1.34;
  padding-left: 0.9em;
  position: relative;
}

.note-body li + li {
  margin-top: 0;
}

.note-body li::before {
  background: var(--aqua);
  border-radius: 999px;
  content: "";
  height: 0.32em;
  left: 0;
  position: absolute;
  top: 0.58em;
  width: 0.32em;
}

.replacement-card {
  padding: 68px 30px 24px;
}

.suggestion-count {
  background: var(--coral-soft);
  border: 1px solid rgba(242, 109, 91, 0.24);
  border-radius: 999px;
  color: #b84636;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  padding: 9px 12px;
  position: absolute;
  right: 84px;
  top: 24px;
}

.replacement-line {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.33;
  margin-top: 0;
  max-width: 100%;
  padding-top: 0;
  overflow-wrap: break-word;
}

.old-copy {
  background: rgba(242, 109, 91, 0.12);
  border-radius: 0.25em;
  color: #b84636;
  margin-right: 0.26em;
  padding: 0 0.12em;
  text-decoration: line-through;
  text-decoration-thickness: 0.09em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.new-copy {
  background: rgba(135, 169, 34, 0.15);
  border-radius: 0.25em;
  color: #5f7618;
  padding: 0 0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
