/* RevivingFace / blue palette. Layout, copy and motion retained from Edition 03. */
:root {
  --cream: #F8FBFF;
  --sage: #DBEAF8;
  --sage-muted: #7396C4;
  --blush: #E8EAFC;
  --peach: #EAF4FF;
  --forest: #315F91;
  --olive: #243D5B;
  --pure-white: #FFFFFF;
  --ink: var(--olive);
  --muted: var(--forest);
  --line: var(--sage);
  --paper: var(--cream);
  --white: var(--pure-white);
  --mint: var(--sage);
  --violet: var(--blush);
  --blue: var(--peach);
  --yellow: var(--peach);
  --accent: var(--forest);
  --radius: 14px;
  --sans: 'DM Sans', Arial, sans-serif;
  --display: 'Instrument Serif', Georgia, serif;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased
}

body.modal-open {
  overflow: hidden
}

a {
  color: inherit;
  text-decoration: none
}

button,
input,
select {
  font: inherit
}

button {
  cursor: pointer
}

button:disabled {
  opacity: .5;
  cursor: not-allowed
}

img {
  max-width: 100%;
  display: block
}

::selection {
  background: #E2E9F8;
  color: var(--ink)
}

:focus-visible {
  outline: 3px solid #7396C4 !important;
  outline-offset: 3px
}

.skip-link {
  position: absolute;
  z-index: 100;
  left: 10px;
  top: -100px;
  background: #FFFFFF;
  padding: 12px 20px
}

.skip-link:focus {
  top: 10px
}

.reading-progress {
  position: fixed;
  height: 3px;
  width: 0;
  background: #315F91;
  top: 0;
  left: 0;
  z-index: 200;
  transition: width .1s linear
}

.site-header {
  height: 74px;
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(248, 251, 255, .95);
  backdrop-filter: blur(18px);
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 0 clamp(22px, 3.6vw, 68px);
  border-bottom: 1px solid #DBEAF8
}

.brand {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -1.4px
}

.brand .brand-serif {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -1.2px
}

.brand sup,
.footer-brand sup {
  font: 700 9px var(--sans);
  vertical-align: top;
  margin-left: 2px
}

.brand-symbol {
  display: block;
  width: 27px;
  height: 32px;
  position: relative
}

.brand-symbol i {
  position: absolute;
  display: block;
  border: 2px solid #315F91;
  width: 18px;
  height: 26px;
  border-radius: 50%;
  transform: rotate(42deg)
}

.brand-symbol i:first-child {
  left: 0;
  top: 1px
}

.brand-symbol i:nth-child(2) {
  right: 0;
  top: 1px;
  transform: rotate(-42deg)
}

.brand-symbol i:nth-child(3) {
  width: 7px;
  height: 7px;
  background: #7396C4;
  border: none;
  top: 12px;
  left: 10px
}

.header-context {
  margin-right: auto;
  white-space: nowrap;
  color: #315F91;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em
}

.status-beacon {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 100%;
  background: #315F91;
  margin-right: 8px;
  box-shadow: 0 0 0 4px #EAF2FA
}

.header-divider {
  color: #7396C4;
  margin: 0 7px
}

.top-nav {
  display: flex;
  gap: 28px;
  align-items: center
}

.top-nav a {
  font-size: 12px;
  color: #315F91;
  font-weight: 600;
  transition: color .2s
}

.top-nav a:hover {
  color: #315F91
}

.header-link {
  font-size: 12px;
  font-weight: 700;
  padding: 11px 16px;
  background: #EAF4FF;
  border: 1px solid #E2E9F8;
  border-radius: 50px;
  white-space: nowrap
}

.header-link span {
  margin-left: 15px;
  font-size: 15px
}

.header-link:hover {
  background: #EAF4FF
}

.mobile-menu-button {
  display: none;
  background: none;
  border: 0;
  padding: 10px
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  background: var(--ink);
  width: 22px;
  margin: 5px
}

section {
  scroll-margin-top: 74px
}

.section-band {
  overflow: hidden
}

.chapter-label {
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 700;
  color: #315F91;
  display: flex;
  align-items: center;
  gap: 10px
}

.chapter-label i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #315F91
}

.section-band h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.032em;
  font-size: clamp(46px, 5.1vw, 79px);
  line-height: 1.03;
  margin: 22px 0 23px
}

.section-band h2 em,
.closing-statement em,
.board-title em {
  font-weight: 400;
  color: #315F91
}

.reveal {
  opacity: 0;
  transform: translateY(23px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1)
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0)
}

/* The site starts inside the platform map, rather than with a hero. */
.canvas-section {
  padding: 24px clamp(18px, 2.8vw, 52px) 0;
  background: #F0F6FD
}

.canvas-topline,
.canvas-bottomline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  letter-spacing: .12em;
  font-weight: 700;
  color: #7396C4
}

.canvas-topline {
  height: 29px;
  padding: 0 7px 19px
}

.canvas-topline>span:first-child {
  color: #315F91
}

.tiny-cross {
  font-size: 15px;
  margin-right: 9px
}

.canvas-meta {
  display: flex;
  align-items: center;
  gap: 10px
}

.blink-dot,
.board-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #315F91;
  border-radius: 50%;
  animation: blink 2.2s infinite
}

@keyframes blink {
  50% {
    opacity: .25
  }
}

.canvas-workspace {
  background: #FFFFFF;
  display: grid;
  grid-template-columns: 194px minmax(0, 1fr) 206px;
  border: 1px solid #DBEAF8;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 60px #315F9110;
  min-height: 620px
}

.journey-rail {
  background: #EAF2FA;
  display: flex;
  flex-direction: column;
  padding: 29px 0 20px;
  border-right: 1px solid #DBEAF8
}

.rail-kicker,
.signal-kicker {
  font-size: 10px;
  letter-spacing: .13em;
  font-weight: 700;
  color: #7396C4;
  padding: 0 22px;
  margin-bottom: 27px
}

.journey-link {
  height: 62px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
  color: #315F91;
  border-left: 3px solid transparent;
  transition: all .25s ease
}

.journey-link:hover,
.journey-link.current {
  border-left-color: #7396C4;
  background: #DBEAF8;
  color: #243D5B
}

.journey-link.current {
  font-weight: 700
}

.journey-index {
  font-size: 10px;
  color: #315F91;
  font-weight: 700
}

.journey-arrow {
  margin-left: auto;
  color: #315F91
}

.rail-bottom {
  margin-top: auto;
  padding: 0 22px
}

.rail-bloom {
  font-family: var(--display);
  font-size: 91px;
  line-height: 1;
  color: #7396C4;
  transform-origin: center;
  animation: gentle-spin 24s linear infinite
}

@keyframes gentle-spin {
  to {
    transform: rotate(360deg)
  }
}

.rail-bottom p {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.16;
  margin: 7px 0 14px;
  max-width: 150px
}

.rail-bottom>span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #7396C4
}

.canvas-board {
  background: radial-gradient(circle at 51% 63%, #F0F6FD 0, white 62%);
  min-width: 0;
  display: flex;
  flex-direction: column
}

.board-title {
  padding: 38px clamp(23px, 3.6vw, 60px) 0;
  display: flex;
  justify-content: space-between;
  gap: 10px
}

.mini-label {
  font-size: 9px;
  letter-spacing: .13em;
  font-weight: 700;
  color: #315F91
}

.board-title p {
  font-family: var(--display);
  font-size: clamp(29px, 3.3vw, 49px);
  margin: 9px 0 0;
  letter-spacing: -.035em;
  line-height: 1
}

.board-counter {
  text-align: right;
  flex: none
}

.board-counter>span {
  display: block;
  font-size: 9px;
  color: #7396C4;
  font-weight: 700;
  letter-spacing: .12em
}

.board-counter strong {
  display: block;
  font-family: var(--display);
  font-size: 33px;
  font-weight: 400;
  margin-top: 5px
}

.board-counter small {
  font: 500 11px var(--sans);
  color: #7396C4
}

.workflow-map {
  height: 407px;
  position: relative;
  margin: 9px clamp(8px, 2vw, 33px) 0;
  min-width: 0
}

.map-path {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  overflow: visible
}

.map-path path {
  fill: none;
  stroke-width: 2;
  vector-effect: non-scaling-stroke
}

.path-static {
  stroke: #C2D9EE;
  stroke-dasharray: 3 10
}

.path-moving {
  stroke: #7396C4;
  stroke-width: 2;
  stroke-dasharray: 23 160;
  animation: flow-along 14s linear infinite
}

@keyframes flow-along {
  to {
    stroke-dashoffset: -1098
  }
}

.map-node {
  position: absolute;
  width: clamp(120px, 13.5vw, 176px);
  background: #FFFFFF;
  border: 1px solid #DBEAF8;
  box-shadow: 0 18px 30px #315F9115;
  border-radius: 12px;
  padding: 12px;
  transition: transform .4s cubic-bezier(.18, .9, .23, 1), box-shadow .4s, border-color .4s;
  z-index: 2
}

.map-node.is-highlighted {
  transform: translateY(-12px) rotate(-1deg);
  box-shadow: 0 25px 45px #315F911F;
  border-color: #7396C4
}

.node-capture {
  left: 2%;
  top: 28%;
  transform: rotate(-3deg);
  width: clamp(128px, 14vw, 185px)
}

.node-capture.is-highlighted {
  transform: translateY(-12px) rotate(-3deg)
}

.node-history {
  left: 28%;
  top: 9%;
  transform: rotate(3deg);
  background: #F7FAFF
}

.node-history.is-highlighted {
  transform: translateY(-12px) rotate(3deg)
}

.node-product {
  left: 54%;
  top: 43%;
  transform: rotate(-4deg);
  background: #F7FAFF
}

.node-product.is-highlighted {
  transform: translateY(-12px) rotate(-4deg)
}

.node-office {
  right: 1.5%;
  top: 24%;
  transform: rotate(3deg);
  background: #F7FAFF
}

.node-office.is-highlighted {
  transform: translateY(-12px) rotate(3deg)
}

.map-node-head {
  display: flex;
  justify-content: space-between
}

.node-id {
  font-size: 9px;
  color: #7396C4;
  font-weight: 700;
  letter-spacing: .08em
}

.node-icon {
  font-size: 14px;
  color: #315F91
}

.capture-image {
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  margin: 10px 0;
  background: #EAF2FA
}

.capture-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 61% 35%;
  filter: saturate(.75)
}

.capture-image:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #C2D9EE33, transparent)
}

.scan-corners {
  position: absolute;
  inset: 9px;
  z-index: 2
}

.scan-corners i {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #F4F9FF;
  border-style: solid
}

.scan-corners i:first-child {
  left: 0;
  top: 0;
  border-width: 2px 0 0 2px
}

.scan-corners i:nth-child(2) {
  right: 0;
  top: 0;
  border-width: 2px 2px 0 0
}

.scan-corners i:nth-child(3) {
  left: 0;
  bottom: 0;
  border-width: 0 0 2px 2px
}

.scan-corners i:nth-child(4) {
  right: 0;
  bottom: 0;
  border-width: 0 2px 2px 0
}

.capture-sweep {
  position: absolute;
  z-index: 3;
  height: 2px;
  background: #F4F9FF;
  box-shadow: 0 0 13px #DBEAF8;
  top: 12px;
  left: 9px;
  right: 9px;
  animation: scanline 3.5s ease-in-out infinite alternate
}

@keyframes scanline {
  to {
    top: calc(100% - 12px)
  }
}

.node-foot {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px
}

.node-foot b {
  font-size: 13px;
  letter-spacing: -.03em
}

.node-foot small {
  font-size: 10px;
  color: #315F91
}

.history-graph {
  padding: 21px 1px 11px
}

.history-graph svg {
  width: 100%
}

.mini-bottle {
  height: 111px;
  margin: 9px auto 3px;
  background: #DBEAF8;
  border: 1px solid #7396C4;
  width: 68px;
  border-radius: 11px 11px 15px 15px;
  position: relative;
  box-shadow: inset -14px 0 0 #AECBE5, 8px 6px 0 #EAF4FF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px
}

.mini-bottle:before {
  content: '';
  position: absolute;
  bottom: 100%;
  width: 34px;
  height: 18px;
  background: #7396C4;
  border-radius: 4px 4px 0 0
}

.mini-bottle>span {
  font: italic 35px var(--display);
  line-height: 1
}

.mini-bottle small {
  font-size: 8px;
  line-height: 1.2;
  text-align: center
}

.office-mini {
  height: 98px;
  background: #FFFFFF;
  border-radius: 6px;
  margin-top: 14px;
  border: 1px solid #DBEAF8;
  padding: 7px;
  display: grid;
  gap: 8px
}

.office-mini-nav {
  display: flex;
  gap: 3px
}

.office-mini-nav i {
  width: 5px;
  height: 5px;
  background: #AECBE5;
  border-radius: 50%
}

.office-mini-row {
  display: flex;
  gap: 7px;
  align-items: center
}

.office-mini-row i {
  height: 15px;
  width: 15px;
  background: #DBEAF8;
  border-radius: 4px
}

.office-mini-row span {
  height: 5px;
  background: #DBEAF8;
  flex: 1;
  border-radius: 6px
}

.office-mini-row b {
  width: 22px;
  height: 7px;
  background: #EAF4FF;
  border-radius: 8px
}

.map-stamp {
  position: absolute;
  z-index: 1;
  color: #315F91;
  letter-spacing: .17em;
  font-size: 9px;
  font-weight: 700
}

.stamp-a {
  left: 9%;
  top: 81%
}

.stamp-b {
  left: 43%;
  top: 18%
}

.stamp-c {
  right: 1%;
  top: 82%
}

.board-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 16px clamp(20px, 3.6vw, 60px) 23px;
  margin-top: auto;
  border-top: 1px solid #F0F6FD
}

.board-bottom>span:first-child {
  font-size: 11px;
  color: #315F91;
  font-weight: 600;
  display: flex;
  gap: 8px;
  align-items: center
}

.board-note {
  font-size: 9px;
  color: #315F91;
  font-weight: 700;
  letter-spacing: .12em
}

.sequence-controls {
  display: flex;
  gap: 6px
}

.sequence-controls button {
  border: 1px solid #DBEAF8;
  background: #F4F9FF;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 18px;
  color: #315F91;
  transition: transform .2s, background .2s
}

.sequence-controls button:hover {
  background: #DBEAF8;
  transform: scale(1.05)
}

.signal-rail {
  padding: 29px 20px;
  border-left: 1px solid #EAF2FA;
  display: flex;
  flex-direction: column;
  background: #F4F9FF
}

.signal-kicker {
  padding: 0;
  margin-bottom: 40px
}

.signal-numeral {
  font: 400 67px/1 var(--display);
  color: #315F91;
  letter-spacing: -.05em
}

.signal-numeral span {
  font: 500 12px var(--sans);
  color: #7396C4
}

.signal-copy {
  font: 400 25px/1.18 var(--display);
  letter-spacing: -.015em;
  margin: 24px 0 30px;
  min-height: 130px
}

.signal-divider {
  border-top: 1px solid #DBEAF8
}

.signal-tags-label {
  font-size: 9px;
  letter-spacing: .12em;
  color: #315F91;
  font-weight: 700;
  margin: 26px 0 13px
}

.signal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px
}

.signal-tags span {
  font-size: 10px;
  color: #315F91;
  border: 1px solid #DBEAF8;
  background: #F4F9FF;
  border-radius: 20px;
  padding: 6px 9px
}

.signal-next {
  font-size: 11px;
  margin-top: auto;
  font-weight: 700;
  border-top: 1px solid #DBEAF8;
  padding-top: 20px;
  display: flex;
  justify-content: space-between
}

.signal-next:hover {
  color: #7396C4
}

.canvas-bottomline {
  height: 67px;
  padding: 0 7px
}

.canvas-bottomline i {
  color: #7396C4;
  font-style: normal;
  padding: 0 8px
}

.down-arrow {
  font-size: 20px;
  margin-left: 10px;
  color: #315F91;
  display: inline-block;
  animation: bob 1.8s infinite
}

@keyframes bob {
  50% {
    transform: translateY(5px)
  }
}

/* Chapter 02: tabbed phone on an open canvas, not feature cards. */
.mobile-section {
  background: #EFF5FF;
  padding: 110px clamp(26px, 6vw, 110px) 130px;
  position: relative
}

.mobile-section:before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border: 1px solid #EAF4FF;
  border-radius: 50%;
  right: -180px;
  top: 20px
}

.section-margin {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #315F91;
  font-size: 10px;
  letter-spacing: .15em;
  font-weight: 700;
  margin-bottom: 60px
}

.margin-line {
  height: 1px;
  background: #E2E9F8;
  flex: 1
}

.mobile-layout {
  max-width: 1370px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, .89fr) minmax(430px, 1.11fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: center
}

.mobile-intro {
  position: relative;
  z-index: 3
}

.mobile-intro h2 {
  margin-bottom: 20px
}

.mobile-intro>p {
  max-width: 370px;
  color: #315F91;
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 42px
}

.tab-stack {
  border-top: 1px solid #E2E9F8;
  max-width: 500px
}

.app-tab {
  background: none;
  border: 0;
  border-bottom: 1px solid #E2E9F8;
  padding: 19px 10px 19px 4px;
  width: 100%;
  display: flex;
  text-align: left;
  align-items: center;
  gap: 23px;
  color: #7396C4;
  transition: all .3s
}

.app-tab:hover,
.app-tab.active {
  color: #243D5B
}

.app-tab.active {
  padding-left: 18px;
  background: #F4F9FF87
}

.tab-count {
  font-size: 10px;
  font-weight: 700;
  color: #315F91
}

.app-tab.active .tab-count {
  color: #315F91
}

.app-tab>span:nth-child(2) {
  display: grid;
  gap: 5px
}

.app-tab b {
  font-size: 15px;
  letter-spacing: -.025em
}

.app-tab small {
  font-size: 12px;
  color: #315F91
}

.tab-right {
  margin-left: auto;
  font-size: 19px
}

.mobile-after {
  margin-top: 33px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #315F91;
  font-size: 11px
}

.micro-star {
  font-size: 32px;
  color: #315F91
}

.mobile-stage {
  height: 660px;
  background: #EAF4FF;
  border: 1px solid #E2E9F8;
  border-radius: 190px 190px 12px 12px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0
}

.mobile-stage:before,
.mobile-stage:after {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid #E2E9F8;
  border-radius: 50%;
  top: 60px;
  left: calc(50% - 190px)
}

.mobile-stage:after {
  width: 455px;
  height: 455px;
  left: calc(50% - 227px);
  top: 22px
}

.mobile-stage-caption {
  position: absolute;
  left: 29px;
  top: 28px;
  z-index: 4;
  font-size: 10px;
  color: #7396C4;
  font-weight: 700;
  letter-spacing: .13em
}

.mobile-stage-caption span {
  font-size: 18px;
  margin-left: 8px
}

.phone-artifact {
  position: relative;
  z-index: 5;
  transform: rotate(-2deg);
  filter: drop-shadow(0 30px 30px #315F9133);
  animation: phone-float 6s ease-in-out infinite
}

@keyframes phone-float {
  50% {
    transform: rotate(-1deg) translateY(-12px)
  }
}

.phone-frame {
  width: 275px;
  height: 556px;
  background: #FFFFFF;
  border: 7px solid #243D5B;
  border-radius: 41px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 0 2px #315F91
}

.phone-top {
  display: flex;
  height: 36px;
  align-items: center;
  justify-content: space-between;
  padding: 5px 18px;
  font-size: 10px;
  font-weight: 700;
  background: #FFFFFF
}

.camera-pill {
  height: 14px;
  width: 59px;
  border-radius: 12px;
  background: #243D5B;
  display: block
}

.phone-signals {
  font-size: 9px
}

.phone-screen {
  height: 473px;
  padding: 5px 16px 0;
  overflow: auto;
  scrollbar-width: none
}

.phone-screen::-webkit-scrollbar {
  display: none
}

.phone-home-bar {
  width: 91px;
  height: 4px;
  background: #243D5B;
  border-radius: 5px;
  position: absolute;
  bottom: 10px;
  left: calc(50% - 45px)
}

.app-phone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 7px 0 14px
}

.app-phone-head strong {
  font-size: 14px;
  letter-spacing: -.05em
}

.app-phone-head span {
  font-size: 9px;
  color: #315F91
}

.app-greeting {
  font: 28px/1.05 var(--display);
  letter-spacing: -.03em;
  margin: 6px 0 12px
}

.app-greeting em {
  color: #7396C4
}

.app-sub {
  font-size: 10px;
  color: #7396C4;
  margin: 0 0 13px;
  line-height: 1.5
}

.phone-photo {
  height: 250px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #DBEAF8
}

.phone-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 35%
}

.phone-photo.scanning:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, #DBEAF877 51%, transparent 65%);
  animation: scanline-full 1.4s ease-in-out infinite alternate
}

@keyframes scanline-full {
  0% {
    transform: translateY(-100%)
  }

  100% {
    transform: translateY(100%)
  }
}

.photo-tag {
  position: absolute;
  bottom: 9px;
  left: 9px;
  background: #F4F9FFDA;
  border-radius: 30px;
  padding: 6px 10px;
  font-size: 8px;
  font-weight: 700;
  color: #315F91
}

.phone-primary {
  border: 0;
  width: 100%;
  border-radius: 20px;
  background: #C2D9EE;
  color: #243D5B;
  font-size: 11px;
  font-weight: 700;
  padding: 12px 9px;
  margin-top: 13px
}

.phone-primary:hover {
  background: #AECBE5
}

.phone-secondary {
  background: transparent;
  border: 1px solid #C2D9EE;
  color: #315F91;
  width: 100%;
  border-radius: 18px;
  padding: 9px;
  font-size: 10px;
  margin-top: 8px;
  display: block;
  text-align: center;
  cursor: pointer
}

.phone-hint {
  text-align: center;
  font-size: 9px;
  color: #315F91;
  margin: 10px 0
}

.phone-mini-tabbar {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #EAF2FA;
  margin-top: 14px;
  padding: 11px 0;
  font-size: 10px;
  color: #315F91
}

.phone-mini-tabbar .selected {
  color: #315F91;
  font-weight: 700
}

.history-phone-stat {
  background: #F0F6FD;
  border-radius: 14px;
  padding: 15px;
  margin: 16px 0
}

.history-phone-stat small {
  font-size: 9px;
  color: #7396C4
}

.history-phone-stat strong {
  display: block;
  font: 31px var(--display);
  margin-top: 2px
}

.history-phone-stat svg {
  width: 100%;
  height: 85px;
  display: block;
  margin-top: 4px
}

.phone-history-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 1px;
  border-bottom: 1px solid #EAF2FA
}

.phone-history-row i {
  width: 35px;
  height: 35px;
  background: #EFF5FF;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-style: normal
}

.phone-history-row strong,
.phone-product-row strong {
  display: block;
  font-size: 11px
}

.phone-history-row small,
.phone-product-row small {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  color: #315F91
}

.phone-history-row>span:last-child {
  margin-left: auto;
  color: #315F91;
  font-size: 11px
}

.phone-product-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid #EAF2FA
}

.phone-product-icon {
  width: 49px;
  height: 57px;
  border-radius: 9px;
  background: #EAF2FA;
  display: grid;
  place-items: center;
  font: italic 27px var(--display);
  color: #315F91
}

.phone-product-row:nth-of-type(2) .phone-product-icon {
  background: #EAF4FF;
  color: #7396C4
}

.phone-product-row:nth-of-type(3) .phone-product-icon {
  background: #EFF5FF;
  color: #315F91
}

.phone-product-row>span:last-child {
  margin-left: auto;
  font-size: 10px;
  color: #7396C4
}

.phone-note-pill {
  background: #E7F1FC;
  color: #315F91;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 9px;
  line-height: 1.5;
  margin: 11px 0
}

.orbit-note {
  z-index: 2;
  position: absolute;
  border: 1px solid #E2E9F8;
  background: #F7FAFFBD;
  backdrop-filter: blur(5px);
  padding: 14px 15px;
  border-radius: 11px;
  min-width: 130px;
  box-shadow: 0 7px 20px #315F9111
}

.orbit-note b {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
  display: block;
  margin: 9px 0 2px
}

.orbit-note small {
  font-size: 9px;
  color: #315F91
}

.orbit-mini-icon {
  font-size: 27px;
  color: #315F91
}

.note-one {
  top: 113px;
  left: -35px;
  transform: rotate(-8deg)
}

.note-two {
  bottom: 144px;
  right: -31px;
  transform: rotate(7deg)
}

.note-three {
  bottom: 56px;
  left: -26px;
  transform: rotate(5deg)
}

.stage-footer {
  position: absolute;
  bottom: 19px;
  right: 25px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #315F91;
  z-index: 4
}

.stage-footer span {
  padding: 0 6px
}

/* Chapter 03: a folded research report with real tab switching. */
.lab-section {
  background: #F7FAFF;
  padding: 113px clamp(24px, 5.8vw, 105px) 61px
}

.lab-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  max-width: 1390px;
  margin: auto auto 44px
}

.lab-top h2 {
  margin-bottom: 0
}

.lab-top>p {
  max-width: 308px;
  font-size: 14px;
  color: #7396C4;
  line-height: 1.7;
  margin-bottom: 7px
}

.lab-spread {
  display: grid;
  grid-template-columns: 31% 69%;
  max-width: 1390px;
  margin: auto;
  min-height: 540px;
  background: #FFFFFF;
  border: 1px solid #EAF4FF;
  box-shadow: 0 25px 60px #315F9112
}

.sample-index {
  background: #EFF5FF;
  border-right: 1px solid #EAF4FF;
  padding: 29px 25px;
  display: flex;
  flex-direction: column
}

.sample-index-head,
.report-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #315F91;
  letter-spacing: .1em;
  font-size: 9px;
  font-weight: 700
}

.index-caption {
  font-size: 10px;
  letter-spacing: .1em;
  font-weight: 700;
  margin: 68px 0 13px;
  color: #7396C4
}

.formula-buttons {
  border-top: 1px solid #E2E9F8
}

.formula-btn {
  border: 0;
  border-bottom: 1px solid #E2E9F8;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 6px;
  background: transparent;
  width: 100%;
  text-align: left;
  color: #7396C4;
  transition: all .25s
}

.formula-btn.active,
.formula-btn:hover {
  color: #243D5B;
  padding-left: 15px;
  background: #F4F9FF75
}

.formula-btn span:first-child {
  font-size: 9px;
  color: #315F91
}

.formula-btn b {
  font-size: 13px;
  letter-spacing: -.025em
}

.formula-btn span:last-child {
  margin-left: auto
}

.index-footnote {
  margin-top: auto;
  font: italic 22px/1.18 var(--display);
  color: #7396C4;
  display: flex;
  gap: 13px;
  max-width: 290px
}

.index-footnote>span {
  font: 30px var(--sans);
  color: #7396C4
}

.formula-report {
  display: flex;
  flex-direction: column;
  padding: 28px 39px 25px;
  min-width: 0
}

.report-confidential {
  color: #315F91
}

.report-main {
  display: grid;
  grid-template-columns: 42% 58%;
  flex: 1;
  align-items: center;
  gap: 15px
}

.donut-area {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 350px
}

.formula-donut {
  width: min(21vw, 270px);
  height: min(21vw, 270px);
  min-width: 207px;
  min-height: 207px;
  border-radius: 50%;
  background: conic-gradient(#AECBE5 0% 68%, #7396C4 68% 97%, #B3CBE6 97% 100%);
  display: grid;
  place-items: center;
  position: relative;
  transition: background .6s;
  box-shadow: 0 18px 40px #7396C422
}

.formula-donut:after {
  position: absolute;
  content: '';
  inset: 16px;
  border: 1px dashed #F4F9FFAB;
  border-radius: 50%
}

.donut-middle {
  width: 70%;
  height: 70%;
  background: #FFFFFF;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
  box-shadow: inset 0 0 0 1px #EAF4FF
}

.donut-middle>span {
  text-align: center;
  font-size: 9px;
  letter-spacing: .13em;
  color: #315F91;
  font-weight: 700;
  line-height: 1.5
}

.donut-middle strong {
  font: 400 74px/1 var(--display);
  letter-spacing: -.06em;
  margin: 8px 0 3px
}

.donut-middle small {
  font-size: 9px;
  color: #315F91
}

.donut-deco {
  position: absolute;
  font-size: 45px;
  color: #C2D9EE;
  animation: gentle-spin 20s linear infinite
}

.deco-a {
  left: 2%;
  top: 6%
}

.deco-b {
  right: 6%;
  bottom: 7%;
  font-size: 28px
}

.formula-info {
  padding: 18px 22px 18px 10px;
  max-width: 455px
}

.report-overline {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #315F91
}

.formula-info h3 {
  font: 400 36px/1.04 var(--display);
  letter-spacing: -.025em;
  margin: 13px 0 30px
}

.composition-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin: 18px 0 8px
}

.composition-row span {
  display: flex;
  align-items: center;
  gap: 9px
}

.composition-row b {
  font-size: 12px
}

.legend-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%
}

.legend-dot.plant {
  background: #AECBE5
}

.legend-dot.synthetic {
  background: #7396C4
}

.legend-dot.animal {
  background: #B3CBE6
}

.composition-bar {
  height: 7px;
  border-radius: 12px;
  background: #F0F6FD;
  overflow: hidden
}

.composition-bar>span {
  height: 100%;
  display: block;
  border-radius: 12px;
  transition: width .6s ease
}

.bar-plant {
  background: #AECBE5
}

.bar-synthetic {
  background: #7396C4
}

.bar-animal {
  background: #B3CBE6
}

.allergy-note {
  display: flex;
  gap: 12px;
  align-items: start;
  margin-top: 28px;
  background: #FBFCFF;
  border: 1px solid #EAF4FF;
  border-radius: 9px;
  padding: 13px
}

.allergy-icon {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  background: #EAF4FF;
  color: #315F91;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  flex: none
}

.allergy-note b {
  font-size: 10px;
  display: block
}

.allergy-note small {
  font-size: 10px;
  display: block;
  line-height: 1.5;
  color: #315F91;
  margin-top: 3px
}

.report-footer {
  border-top: 1px solid #EAF4FF;
  padding-top: 18px;
  display: flex;
  align-items: start;
  gap: 30px
}

.report-footer>span {
  min-width: 165px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em
}

.report-footer p {
  font-size: 10px;
  color: #315F91;
  line-height: 1.5;
  margin: 0
}

.lab-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  max-width: 1390px;
  margin: 25px auto 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  color: #315F91
}

.lab-bottom span:last-child {
  font-weight: 500;
  letter-spacing: 0
}

/* Chapter 04: the section *is* a backoffice workspace. */
.office-section {
  background: #EAF2FA;
  padding: 112px clamp(22px, 5.7vw, 104px) 60px
}

.office-section-top {
  max-width: 1420px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 3fr 100px;
  gap: 22px;
  align-items: start;
  margin-bottom: 41px
}

.office-section-top>.chapter-label {
  margin-top: 15px
}

.office-section-top h2 {
  font-size: clamp(43px, 4.8vw, 71px);
  margin: 0 0 20px
}

.office-section-top p {
  font-size: 14px;
  color: #315F91;
  max-width: 620px;
  line-height: 1.7;
  margin: 0
}

.office-top-mark {
  font: 400 40px/.77 var(--display);
  color: #7396C4;
  text-align: right;
  align-self: start
}

.office-top-mark i {
  font-size: 19px
}

.workspace-shell {
  max-width: 1420px;
  margin: auto;
  border: 1px solid #C2D9EE;
  border-radius: 13px;
  background: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 32px 56px #7396C41E
}

.workspace-header {
  height: 74px;
  border-bottom: 1px solid #EAF2FA;
  display: grid;
  grid-template-columns: 222px 1fr 190px;
  gap: 17px;
  align-items: center;
  padding: 0 23px
}

.workspace-identity {
  display: flex;
  align-items: center;
  gap: 10px
}

.workspace-emblem {
  width: 31px;
  height: 31px;
  background: #DBEAF8;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #315F91;
  font-size: 22px
}

.workspace-identity b {
  font-size: 13px;
  letter-spacing: -.04em;
  display: block
}

.workspace-identity small {
  font-size: 10px;
  color: #315F91;
  display: block;
  margin-top: 4px
}

.workspace-top-search {
  height: 38px;
  background: #F4F9FF;
  border: 1px solid #EAF2FA;
  border-radius: 8px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 15px;
  max-width: 485px
}

.workspace-top-search span {
  color: #315F91;
  font-size: 20px
}

.workspace-top-search input {
  border: 0;
  outline: 0;
  background: none;
  width: 100%;
  font-size: 12px;
  color: var(--ink)
}

.workspace-user {
  display: flex;
  justify-content: end;
  gap: 9px;
  align-items: center;
  color: #7396C4;
  font-size: 11px
}

.user-dot {
  width: 27px;
  height: 27px;
  background: #E2E9F8;
  border-radius: 50%;
  display: inline-block
}

.workspace-content {
  display: grid;
  grid-template-columns: 213px minmax(0, 1fr);
  min-height: 530px
}

.workspace-sidebar {
  border-right: 1px solid #EAF2FA;
  padding: 30px 14px 19px;
  background: #F4F9FF;
  display: flex;
  flex-direction: column
}

.sidebar-small {
  font-size: 9px;
  color: #7396C4;
  letter-spacing: .12em;
  font-weight: 700;
  padding-left: 12px;
  margin-bottom: 18px
}

.office-tabs {
  display: grid;
  gap: 5px
}

.office-tab {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  border: 0;
  background: none;
  color: #7396C4;
  border-radius: 7px;
  padding: 13px 12px;
  text-align: left;
  font-size: 12px;
  transition: all .22s
}

.office-tab span {
  font-size: 16px;
  width: 20px;
  text-align: center
}

.office-tab i {
  margin-left: auto;
  font-style: normal;
  opacity: 0
}

.office-tab.active,
.office-tab:hover {
  background: #EAF2FA;
  color: #315F91;
  font-weight: 700
}

.office-tab.active i {
  opacity: 1
}

.sidebar-bottom {
  margin-top: auto;
  background: #EAF2FA;
  border-radius: 10px;
  padding: 15px;
  color: #7396C4
}

.sidebar-flower {
  font-size: 25px
}

.sidebar-bottom p {
  font: 20px/1.05 var(--display);
  margin: 7px 0 14px
}

.sidebar-bottom small {
  font-size: 9px
}

.office-view {
  padding: 33px 40px;
  min-width: 0
}

.office-headline {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-bottom: 27px
}

.office-title-label {
  font-size: 10px;
  letter-spacing: .13em;
  color: #315F91;
  font-weight: 700
}

.office-headline h3 {
  font: 400 37px/1 var(--display);
  letter-spacing: -.025em;
  margin: 7px 0 0
}

.office-actions {
  display: flex;
  gap: 7px
}

.office-action-button {
  border: 1px solid #DBEAF8;
  background: #EAF2FA;
  color: #315F91;
  border-radius: 25px;
  font-size: 11px;
  font-weight: 700;
  padding: 11px 16px;
  white-space: nowrap
}

.office-action-button:hover {
  background: #DBEAF8
}

.office-quiet-button {
  border: 1px solid #DBEAF8;
  background: #FFFFFF;
  color: #7396C4;
  border-radius: 25px;
  font-size: 11px;
  padding: 11px 15px
}

.office-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px
}

.office-stat {
  background: #F4F9FF;
  border: 1px solid #EAF2FA;
  border-radius: 9px;
  padding: 21px 19px
}

.office-stat:nth-child(2) {
  background: #F7FAFF;
  border-color: #EFF5FF
}

.office-stat:nth-child(3) {
  background: #FBFCFF;
  border-color: #EFF5FF
}

.office-stat small {
  font-size: 10px;
  color: #315F91
}

.office-stat strong {
  display: block;
  font: 400 38px/1 var(--display);
  margin: 16px 0 7px
}

.office-stat span {
  font-size: 9px;
  color: #315F91
}

.office-chart-wrap {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 16px
}

.office-chart {
  background: #FFFFFF;
  border: 1px solid #EAF2FA;
  border-radius: 9px;
  padding: 18px;
  min-height: 203px
}

.office-chart-title {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700
}

.office-chart-title span:last-child {
  font-size: 9px;
  font-weight: 500;
  color: #315F91
}

.office-chart svg {
  display: block;
  width: 100%;
  height: 140px;
  margin-top: 8px
}

.office-overview-activity {
  background: #F7FAFF;
  border-radius: 9px;
  padding: 18px
}

.office-overview-activity b {
  font-size: 11px
}

.office-activity {
  font-size: 10px;
  border-bottom: 1px solid #DBEAF8;
  padding: 13px 0;
  color: #315F91
}

.office-activity:last-child {
  border: 0
}

.office-activity span {
  display: block;
  margin-bottom: 4px;
  color: #7396C4;
  font-size: 9px
}

.record-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
  table-layout: fixed
}

.record-table th {
  font-size: 9px;
  color: #315F91;
  letter-spacing: .1em;
  border-bottom: 1px solid #DBEAF8;
  padding: 14px 8px;
  text-align: left;
  font-weight: 700
}

.record-table td {
  border-bottom: 1px solid #F0F6FD;
  padding: 16px 8px;
  word-wrap: break-word
}

.record-table th:first-child,
.record-table td:first-child {
  padding-left: 0;
  width: 38%
}

.record-table th:last-child,
.record-table td:last-child {
  text-align: right;
  padding-right: 0
}

.record-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700
}

.record-avatar {
  height: 28px;
  width: 28px;
  border-radius: 9px;
  background: #EFF5FF;
  color: #315F91;
  display: grid;
  place-items: center;
  font-size: 11px;
  flex: none
}

.record-table tr:nth-child(2n) .record-avatar {
  background: #EAF2FA;
  color: #7396C4
}

.record-secondary {
  color: #315F91
}

.status-pill {
  font-size: 9px;
  border-radius: 20px;
  padding: 6px 10px;
  background: #EAF2FA;
  color: #315F91;
  white-space: nowrap
}

.status-pill.pending {
  background: #F7FAFF;
  color: #7396C4
}

.status-pill.review {
  background: #EFF5FF;
  color: #7396C4
}

.office-empty {
  padding: 50px;
  text-align: center;
  color: #315F91;
  font-size: 13px
}

.office-footnote {
  font-size: 10px;
  line-height: 1.5;
  color: #315F91;
  margin-top: 25px
}

.workspace-status {
  background: #F4F9FF;
  border-top: 1px solid #EAF2FA;
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 24px;
  font-size: 9px;
  letter-spacing: .08em;
  color: #315F91;
  font-weight: 700
}

.workspace-status i {
  height: 6px;
  width: 6px;
  border-radius: 100%;
  background: #7396C4;
  display: inline-block;
  margin-right: 7px
}

.office-subline {
  max-width: 1420px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 25px auto 0;
  font-size: 10px;
  letter-spacing: .1em;
  color: #7396C4;
  font-weight: 700
}

.office-subline span:last-child {
  letter-spacing: 0;
  font-weight: 500
}

/* An editorial permissions sheet, rather than repeated 'feature' cards. */
.permissions-section {
  padding: 113px clamp(22px, 6vw, 110px) 125px;
  background: #FBFCFF
}

.permissions-top {
  max-width: 1380px;
  margin: auto
}

.permissions-top h2 {
  margin: 17px 0 45px;
  font-size: clamp(43px, 4.3vw, 67px)
}

.permissions-table {
  max-width: 1380px;
  margin: auto;
  border-top: 1px solid #C2D9EE
}

.permission-head,
.permission-row {
  display: grid;
  grid-template-columns: 2.5fr repeat(3, 1fr);
  align-items: center;
  gap: 9px
}

.permission-head {
  padding: 20px 22px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #315F91
}

.permission-head span:not(:first-child),
.permission-row span:not(:first-child) {
  text-align: center
}

.permission-row {
  border-top: 1px solid #DBEAF8;
  padding: 20px 22px;
  font-size: 14px
}

.permission-row:nth-child(2n) {
  background: #F0F6FD
}

.permission-row span:not(:first-child) {
  font-size: 17px
}

.yes {
  color: #315F91
}

.no {
  color: #AECBE5
}

.permission-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 23px;
  font-size: 10px;
  color: #315F91
}

.permission-foot i {
  font-style: normal;
  font-size: 14px;
  margin: 0 4px 0 10px
}

/* No second hero at the bottom: a simple closing editorial spread. */
.closing-section {
  padding: 70px clamp(22px, 5.6vw, 100px) 32px;
  background: #DFEAFE
}

.closing-spread {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 130px 1fr 290px;
  gap: 35px;
  align-items: center;
  border-bottom: 1px solid #D7E5FA;
  padding-bottom: 55px
}

.closing-sticker {
  display: flex;
  align-items: center;
  flex-direction: column;
  border: 1px solid #D7E5FA;
  border-radius: 50%;
  width: 115px;
  height: 115px;
  justify-content: center;
  transform: rotate(-12deg)
}

.closing-sticker span {
  font-size: 43px;
  color: #315F91
}

.closing-sticker small {
  font-size: 9px;
  letter-spacing: .12em;
  color: #315F91
}

.closing-statement {
  font: 400 clamp(35px, 4.5vw, 67px)/1.08 var(--display);
  letter-spacing: -.035em;
  margin: 20px 0 0;
  max-width: 830px
}

.closing-statement em {
  color: #315F91
}

.closing-links {
  display: grid;
  gap: 13px;
  align-self: end
}

.closing-links a {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #B3CBE6;
  padding: 13px 0;
  font-size: 11px;
  font-weight: 700
}

.closing-links a:hover {
  color: #7396C4
}

.closing-fineprint {
  font-size: 10px;
  max-width: 1400px;
  margin: 22px auto 0;
  line-height: 1.6;
  color: #315F91
}

.site-footer {
  background: #DFEAFE;
  border-top: 1px solid #E8EAFC;
  padding: 28px clamp(22px, 5.6vw, 100px) 34px;
  display: flex;
  align-items: center;
  gap: 33px;
  flex-wrap: wrap
}

.footer-brand {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -1.5px
}

.footer-brand span {
  font: 400 28px var(--display)
}

.site-footer>span,
.site-footer small {
  font-size: 10px;
  letter-spacing: .08em;
  color: #7396C4
}

.site-footer>div {
  display: flex;
  gap: 20px;
  margin-left: auto
}

.site-footer>div a {
  font-size: 11px;
  font-weight: 700;
  color: #315F91
}

.site-footer a:hover {
  color: #7396C4
}

.site-footer small {
  width: 100%;
  margin-top: 16px
}

/* Dialog */
.product-modal {
  border: 1px solid #C2D9EE;
  border-radius: 15px;
  padding: 0;
  box-shadow: 0 35px 120px #243D5B3F;
  width: min(92vw, 500px);
  background: #FBFCFF;
  color: var(--ink)
}

.product-modal::backdrop {
  background: #243D5BA1;
  backdrop-filter: blur(3px)
}

.product-form {
  padding: 32px 37px 37px
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  color: #315F91
}

.modal-close {
  background: none;
  border: 0;
  font-size: 19px;
  color: #7396C4
}

.product-form h2 {
  font: 400 52px/1 var(--display);
  letter-spacing: -.04em;
  margin: 30px 0 12px
}

.product-form h2 em {
  color: #315F91
}

.product-form>p {
  font-size: 12px;
  line-height: 1.65;
  color: #315F91;
  margin: 0 0 24px
}

.product-form label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-top: 16px
}

.product-form input,
.product-form select {
  display: block;
  width: 100%;
  margin-top: 8px;
  background: #FFFFFF;
  border: 1px solid #DBEAF8;
  border-radius: 8px;
  height: 44px;
  padding: 0 12px;
  color: var(--ink);
  outline-color: #315F91
}

.modal-submit {
  background: #DBEAF8;
  border: 1px solid #C2D9EE;
  color: #315F91;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  border-radius: 8px;
  padding: 16px;
  font-size: 12px;
  font-weight: 700
}

.modal-submit:hover {
  background: #C2D9EE
}

@media(min-width:1650px) {
  .canvas-section {
    padding-left: max(36px, calc((100vw - 1580px)/2));
    padding-right: max(36px, calc((100vw - 1580px)/2))
  }

  .workflow-map {
    height: 425px
  }

  .canvas-workspace {
    min-height: 660px
  }
}

@media(max-width:1280px) {
  .header-context {
    display: none
  }

  .site-header {
    gap: 22px
  }

  .top-nav {
    margin-left: auto
  }

  .canvas-workspace {
    grid-template-columns: 160px minmax(0, 1fr) 170px
  }

  .rail-kicker {
    padding: 0 14px
  }

  .journey-link {
    padding: 0 12px
  }

  .rail-bottom {
    padding: 0 14px
  }

  .signal-rail {
    padding: 29px 14px
  }

  .signal-copy {
    font-size: 22px
  }

  .board-title {
    padding-left: 23px;
    padding-right: 23px
  }

  .board-note {
    display: none
  }

  .map-node {
    width: 128px
  }

  .node-capture {
    width: 137px
  }

  .node-history {
    left: 25%
  }

  .node-product {
    left: 52%
  }

  .office-section-top {
    grid-template-columns: 1fr 2.6fr 70px
  }

  .mobile-stage {
    height: 635px
  }

  .orbit-note {
    min-width: 110px
  }
}

@media(max-width:1040px) {
  .canvas-workspace {
    grid-template-columns: 145px minmax(0, 1fr)
  }

  .signal-rail {
    display: none
  }

  .top-nav {
    gap: 18px
  }

  .workflow-map {
    height: 390px
  }

  .board-title p {
    font-size: 40px
  }

  .mobile-layout {
    gap: 35px;
    grid-template-columns: .9fr 1.1fr
  }

  .mobile-stage {
    height: 630px
  }

  .orbit-note {
    display: none
  }

  .report-main {
    grid-template-columns: 40% 60%
  }

  .formula-report {
    padding: 23px
  }

  .formula-donut {
    min-width: 165px;
    min-height: 165px
  }

  .donut-middle strong {
    font-size: 55px
  }

  .formula-info {
    padding: 10px
  }

  .office-section-top {
    grid-template-columns: 1fr 2.7fr
  }

  .office-top-mark {
    display: none
  }

  .office-view {
    padding: 25px 24px
  }
}

@media(max-width:780px) {
  .site-header {
    height: 66px;
    padding: 0 19px
  }

  .brand {
    font-size: 21px
  }

  .header-link {
    margin-left: auto
  }

  .mobile-menu-button {
    display: block
  }

  .top-nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: #FBFCFF;
    box-shadow: 0 14px 18px #243D5B15;
    padding: 20px 22px 25px;
    flex-direction: column;
    align-items: stretch;
    gap: 0
  }

  .top-nav.open {
    display: flex
  }

  .top-nav a {
    font-size: 14px;
    padding: 13px;
    border-bottom: 1px solid #DBEAF8
  }

  .canvas-section {
    padding: 16px 12px 0
  }

  .canvas-topline>span:nth-child(2) {
    display: none
  }

  .canvas-workspace {
    grid-template-columns: 1fr
  }

  .journey-rail {
    display: none
  }

  .canvas-board {
    min-height: 585px
  }

  .board-title {
    padding: 28px 22px 0
  }

  .board-title p {
    font-size: 36px
  }

  .workflow-map {
    height: 390px;
    margin: 8px 17px 0
  }

  .map-node {
    width: 120px;
    padding: 9px
  }

  .node-capture {
    width: 133px
  }

  .node-history {
    left: 25%;
    top: 7%
  }

  .node-product {
    left: 53%;
    top: 45%
  }

  .node-office {
    right: 0;
    top: 24%
  }

  .capture-image {
    height: 105px
  }

  .mini-bottle {
    height: 100px
  }

  .stamp-b {
    display: none
  }

  .board-bottom {
    padding: 16px 22px
  }

  .canvas-bottomline {
    font-size: 9px
  }

  .canvas-bottomline span:first-child {
    display: none
  }

  .canvas-bottomline span:last-child {
    margin-left: auto
  }

  .mobile-section,
  .lab-section,
  .office-section,
  .permissions-section {
    padding: 75px 22px
  }

  .section-margin {
    margin-bottom: 40px
  }

  .mobile-layout {
    grid-template-columns: 1fr
  }

  .mobile-intro>p {
    max-width: 550px
  }

  .tab-stack {
    max-width: none
  }

  .mobile-stage {
    height: 650px;
    max-width: 540px;
    width: 100%;
    margin: auto
  }

  .orbit-note {
    display: block
  }

  .lab-top {
    display: block
  }

  .lab-top>p {
    max-width: 510px;
    margin-top: 23px
  }

  .lab-spread {
    grid-template-columns: 1fr
  }

  .sample-index {
    padding: 23px
  }

  .index-caption {
    margin-top: 24px
  }

  .formula-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    border: 0
  }

  .formula-btn {
    border: 1px solid #E2E9F8;
    border-radius: 6px;
    display: grid;
    padding: 15px;
    gap: 8px
  }

  .formula-btn b {
    font-size: 11px
  }

  .formula-btn>span:last-child {
    display: none
  }

  .index-footnote {
    display: none
  }

  .formula-report {
    min-height: 500px
  }

  .office-section-top {
    display: block
  }

  .office-section-top>.chapter-label {
    margin-bottom: 25px
  }

  .workspace-header {
    grid-template-columns: 200px 1fr
  }

  .workspace-user {
    display: none
  }

  .workspace-content {
    grid-template-columns: 166px minmax(0, 1fr)
  }

  .workspace-sidebar {
    padding: 22px 8px
  }

  .office-tab {
    font-size: 11px;
    gap: 6px;
    padding: 11px 7px
  }

  .office-view {
    padding: 20px 16px
  }

  .office-chart-wrap {
    grid-template-columns: 1fr
  }

  .office-overview-activity {
    display: none
  }

  .office-stats {
    gap: 6px
  }

  .office-stat {
    padding: 13px 10px
  }

  .office-stat strong {
    font-size: 29px
  }

  .office-stat span {
    display: none
  }

  .office-headline h3 {
    font-size: 30px
  }

  .record-table {
    font-size: 10px
  }

  .office-subline span:first-child {
    display: none
  }

  .permissions-section {
    padding-bottom: 85px
  }

  .closing-spread {
    grid-template-columns: 100px 1fr;
    gap: 20px
  }

  .closing-sticker {
    width: 92px;
    height: 92px
  }

  .closing-links {
    grid-column: 2
  }

  .site-footer {
    gap: 16px
  }

  .site-footer>div {
    order: 3;
    flex-wrap: wrap;
    margin: 0;
    width: 100%
  }
}

@media(max-width:540px) {
  .header-link {
    display: none
  }

  .mobile-menu-button {
    margin-left: auto
  }

  .canvas-meta {
    font-size: 9px
  }

  .canvas-workspace {
    border-radius: 12px
  }

  .canvas-board {
    min-height: 690px
  }

  .board-title {
    display: block
  }

  .board-title p {
    font-size: 37px;
    max-width: 290px
  }

  .board-counter {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 15px;
    text-align: left;
    margin-top: 18px
  }

  .board-counter strong {
    font-size: 24px;
    margin-top: 0
  }

  .workflow-map {
    height: 430px;
    margin: 0 10px
  }

  .map-path {
    display: none
  }

  .map-node {
    width: calc(50% - 27px);
    height: 186px;
    padding: 10px !important;
    transform: rotate(0) !important
  }

  .map-node.is-highlighted {
    transform: translateY(-5px) !important;
    border-color: #7396C4
  }

  .node-capture {
    left: 14px;
    top: 12px
  }

  .node-history {
    left: auto;
    right: 14px;
    top: 12px
  }

  .node-product {
    left: 14px;
    top: 211px
  }

  .node-office {
    right: 14px;
    top: 211px
  }

  .node-capture .capture-image {
    height: 115px;
    margin: 5px 0
  }

  .node-history .history-graph {
    padding: 23px 0 14px
  }

  .node-product .mini-bottle {
    height: 93px;
    width: 57px;
    margin: 14px auto 4px
  }

  .node-office .office-mini {
    height: 97px
  }

  .map-stamp {
    display: none
  }

  .board-bottom {
    margin-top: 4px;
    flex-wrap: wrap
  }

  .board-bottom>span:first-child {
    max-width: 160px
  }

  .sequence-controls {
    margin-left: auto
  }

  .canvas-bottomline {
    height: 49px
  }

  .mobile-section,
  .lab-section,
  .office-section,
  .permissions-section {
    padding: 66px 18px
  }

  .section-band h2 {
    font-size: 49px
  }

  .mobile-stage {
    height: 635px;
    border-radius: 135px 135px 10px 10px
  }

  .mobile-stage:before,
  .mobile-stage:after {
    display: none
  }

  .phone-frame {
    width: 258px;
    height: 540px
  }

  .phone-screen {
    height: 455px
  }

  .phone-photo {
    height: 230px
  }

  .note-one,
  .note-two,
  .note-three {
    display: none
  }

  .stage-footer {
    bottom: 14px;
    right: 15px
  }

  .lab-top h2 {
    font-size: 46px
  }

  .formula-buttons {
    display: block
  }

  .formula-btn {
    display: flex;
    gap: 12px;
    padding: 13px
  }

  .formula-report {
    padding: 20px
  }

  .report-main {
    grid-template-columns: 1fr
  }

  .donut-area {
    min-height: 260px
  }

  .formula-donut {
    height: 225px;
    width: 225px
  }

  .formula-info {
    max-width: none;
    padding: 0 6px 20px
  }

  .formula-info h3 {
    font-size: 32px;
    margin: 10px 0 22px
  }

  .report-footer {
    display: block
  }

  .report-footer p {
    margin-top: 8px
  }

  .lab-bottom {
    display: block;
    line-height: 2
  }

  .office-section-top h2 {
    font-size: 44px
  }

  .workspace-header {
    height: 66px;
    display: flex;
    justify-content: space-between;
    padding: 0 14px;
    gap: 5px
  }

  .workspace-identity small {
    display: none
  }

  .workspace-top-search {
    flex: 1;
    max-width: 175px;
    padding: 0 8px
  }

  .workspace-top-search input {
    font-size: 10px
  }

  .workspace-content {
    display: block;
    min-height: 540px
  }

  .workspace-sidebar {
    border: 0;
    border-bottom: 1px solid #EAF2FA;
    padding: 10px;
    display: block
  }

  .sidebar-small,
  .sidebar-bottom {
    display: none
  }

  .office-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 5px
  }

  .office-tab {
    display: inline-flex;
    width: auto;
    white-space: nowrap;
    font-size: 10px;
    padding: 9px
  }

  .office-tab span {
    font-size: 13px;
    width: auto
  }

  .office-tab i {
    display: none
  }

  .office-view {
    padding: 20px 15px;
    min-height: 455px
  }

  .office-stats {
    grid-template-columns: repeat(3, 1fr)
  }

  .office-stat {
    padding: 12px 9px
  }

  .office-stat strong {
    font-size: 25px
  }

  .office-stat small {
    font-size: 8px
  }

  .office-chart {
    padding: 13px
  }

  .record-table th:nth-child(3),
  .record-table td:nth-child(3) {
    display: none
  }

  .record-table th:first-child,
  .record-table td:first-child {
    width: 50%
  }

  .record-table th,
  .record-table td {
    padding: 12px 5px
  }

  .office-headline {
    gap: 5px
  }

  .office-headline h3 {
    font-size: 28px
  }

  .office-action-button {
    font-size: 10px;
    padding: 9px 12px
  }

  .office-quiet-button {
    display: none
  }

  .workspace-status {
    padding: 9px 15px
  }

  .workspace-status span:last-child {
    display: none
  }

  .office-subline {
    line-height: 1.8
  }

  .permission-head,
  .permission-row {
    grid-template-columns: 1.7fr repeat(3, .8fr);
    gap: 4px
  }

  .permission-head {
    font-size: 7px;
    letter-spacing: 0;
    padding: 15px 6px
  }

  .permission-row {
    font-size: 11px;
    padding: 15px 6px
  }

  .permission-foot {
    display: block;
    line-height: 1.8
  }

  .closing-section {
    padding: 56px 22px 25px
  }

  .closing-spread {
    grid-template-columns: 1fr;
    gap: 16px
  }

  .closing-sticker {
    display: none
  }

  .closing-statement {
    font-size: 46px
  }

  .closing-links {
    grid-column: 1;
    max-width: 400px
  }

  .site-footer {
    padding: 26px 22px
  }

  .site-footer>span {
    display: none
  }

  .product-form {
    padding: 25px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *:before,
  *:after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}

/* Small, content-driven transitions when switching interactive screen previews. */
@keyframes arrive-softly {
  from {
    opacity: 0;
    transform: translateY(9px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.phone-screen>* {
  animation: arrive-softly .38s both
}

.phone-screen>*:nth-child(2) {
  animation-delay: .04s
}

.phone-screen>*:nth-child(3) {
  animation-delay: .08s
}

.phone-screen>*:nth-child(4) {
  animation-delay: .12s
}


/* Blue palette anchors — color-only overrides. */
body,
.canvas-section,
.permissions-section {
  background: var(--cream)
}

.site-header,
.top-nav {
  background: var(--cream)
}

.canvas-workspace,
.canvas-board,
.signal-rail,
.formula-report,
.workspace-shell,
.workspace-header,
.office-view,
.office-chart,
.phone-frame,
.donut-middle {
  background-color: var(--pure-white)
}

.node-capture {
  background: var(--pure-white)
}

.node-history {
  background: var(--blush)
}

.node-product {
  background: var(--peach)
}

.node-office {
  background: var(--sage)
}

.journey-rail {
  background: var(--sage)
}

.journey-link.current,
.journey-link:hover {
  background: color-mix(in srgb, var(--sage) 73%, var(--cream))
}

.mobile-section {
  background: var(--peach)
}

.mobile-stage {
  background: var(--blush);
  border-color: var(--sage)
}

.lab-section {
  background: var(--cream)
}

.sample-index {
  background: var(--peach)
}

.office-section {
  background: var(--sage)
}

.workspace-sidebar {
  background: var(--cream)
}

.closing-section,
.site-footer {
  background: var(--blush)
}

.section-band h2 em,
.closing-statement em,
.board-title em,
.app-greeting em {
  color: var(--sage-muted)
}

.reading-progress,
.chapter-label i,
.board-live-dot,
.blink-dot,
.status-beacon {
  background: var(--sage-muted)
}

.brand-symbol i {
  border-color: var(--forest)
}

.brand-symbol i:nth-child(3) {
  background: var(--sage-muted)
}

.header-link,
.office-action-button,
.phone-primary,
.modal-submit {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest)
}

.header-link:hover,
.office-action-button:hover,
.phone-primary:hover,
.modal-submit:hover {
  background: var(--olive);
  color: var(--white)
}

.mobile-intro>p,
.mobile-after,
.lab-top>p,
.office-section-top p,
.app-tab small,
.phone-secondary,
.office-footnote {
  color: var(--forest)
}

.app-tab.active,
.app-tab:hover,
.formula-btn.active,
.formula-btn:hover,
.office-tab.active,
.office-tab:hover {
  color: var(--olive)
}

.app-tab.active,
.formula-btn.active {
  background: color-mix(in srgb, var(--pure-white) 66%, transparent)
}

.office-tab.active,
.office-tab:hover {
  background: var(--sage)
}

.phone-frame {
  border-color: var(--olive)
}

.camera-pill,
.phone-home-bar {
  background: var(--olive)
}

.phone-product-icon,
.workspace-emblem,
.office-stat:first-child {
  background: var(--sage);
  color: var(--forest)
}

.phone-product-row:nth-of-type(2) .phone-product-icon,
.office-stat:nth-child(2) {
  background: var(--blush);
  color: var(--forest)
}

.phone-product-row:nth-of-type(3) .phone-product-icon,
.office-stat:nth-child(3) {
  background: var(--peach);
  color: var(--forest)
}

.formula-donut {
  background: conic-gradient(var(--sage-muted) 0% 68%, var(--blush) 68% 97%, var(--peach) 97% 100%)
}

.bar-plant,
.legend-dot.plant {
  background: var(--sage-muted)
}

.bar-synthetic,
.legend-dot.synthetic {
  background: var(--blush)
}

.bar-animal,
.legend-dot.animal {
  background: var(--peach)
}

.allergy-note {
  background: var(--peach);
  border-color: var(--blush)
}

.allergy-icon {
  background: var(--blush);
  color: var(--olive)
}

.office-quiet-button {
  background: var(--pure-white);
  color: var(--forest);
  border-color: var(--sage)
}

.office-action-button:hover {
  border-color: var(--olive)
}

.status-pill {
  background: var(--sage);
  color: var(--forest)
}

.status-pill.pending {
  background: var(--peach);
  color: var(--olive)
}

.status-pill.review {
  background: var(--blush);
  color: var(--olive)
}

.yes,
.chapter-label,
.sequence-controls button:hover {
  color: var(--forest)
}

::selection {
  background: var(--sage);
  color: var(--olive)
}

:focus-visible {
  outline-color: var(--forest) !important
}

/* Exact original RevivingFace icon at both brand locations. */
.site-header .brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
  min-width: 64px;
}

.site-header .brand-image {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(49, 95, 145, .10);
}

.site-footer .footer-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}

.site-footer .footer-brand-image {
  display: block;
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(49, 95, 145, .10);
}

@media(max-width:780px) {
  .site-header .brand {
    min-width: 54px
  }

  .site-header .brand-image {
    width: 54px;
    height: 54px
  }

  .site-footer .footer-brand-image {
    width: 70px;
    height: 70px
  }
}


/* Contact form / additive design matching the existing blue product-tour layout.
   All pre-existing styles and sections above this block are unchanged. */
.rf-contact-section {
  padding: 110px clamp(22px, 6vw, 110px) 115px;
  background: var(--cream)
}

.rf-contact-wrap {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.07fr);
  gap: clamp(35px, 6vw, 105px);
  align-items: start
}

.rf-contact-intro {
  padding-top: 14px
}

.rf-contact-intro h2 {
  max-width: 650px;
  font-size: clamp(48px, 5vw, 76px);
  margin-top: 24px;
  margin-bottom: 24px
}

.rf-contact-intro>p {
  color: var(--forest);
  font-size: 15px;
  line-height: 1.85;
  max-width: 490px;
  margin: 0
}

.rf-contact-topics {
  margin-top: 50px;
  border-top: 1px solid var(--sage);
  max-width: 515px
}

.rf-contact-topic {
  display: flex;
  gap: 20px;
  padding: 21px 0;
  border-bottom: 1px solid var(--sage)
}

.rf-contact-topic>span {
  font-weight: 700;
  letter-spacing: .08em;
  font-size: 10px;
  color: var(--sage-muted);
  padding-top: 5px
}

.rf-contact-topic div {
  display: flex;
  flex-direction: column;
  gap: 7px
}

.rf-contact-topic strong {
  font-size: 14px;
  font-weight: 700
}

.rf-contact-topic small {
  font-size: 12px;
  line-height: 1.5;
  color: var(--forest)
}

.rf-contact-panel {
  background: var(--pure-white);
  border: 1px solid var(--sage);
  border-radius: 15px;
  padding: clamp(25px, 3.4vw, 48px);
  box-shadow: 0 18px 45px #315F910C;
  min-width: 0
}

.rf-form-head {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-bottom: 1px solid var(--sage);
  padding-bottom: 24px;
  margin-bottom: 28px
}

.rf-form-head>span {
  font-size: 10px;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--sage-muted)
}

.rf-form-head strong {
  font: 400 29px/1.17 var(--display);
  letter-spacing: -.025em
}

.rf-form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px
}

.rf-contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 21px;
  min-width: 0
}

.rf-contact-field>span {
  font-size: 11px;
  font-weight: 700;
  color: var(--olive)
}

.rf-contact-field input,
.rf-contact-field select,
.rf-contact-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  background: #F8FBFF;
  border: 1px solid var(--sage);
  border-radius: 8px;
  color: var(--olive);
  font: 500 13px var(--sans);
  padding: 14px 15px;
  outline-color: var(--sage-muted);
  transition: border-color .2s, box-shadow .2s
}

.rf-contact-field input,
.rf-contact-field select {
  height: 48px
}

.rf-contact-field textarea {
  resize: vertical;
  min-height: 153px;
  line-height: 1.55
}

.rf-contact-field input::placeholder,
.rf-contact-field textarea::placeholder {
  color: #7396C4
}

.rf-contact-field :is(input, select, textarea):focus {
  border-color: var(--sage-muted);
  box-shadow: 0 0 0 3px #DBEAF880
}

.rf-contact-field :is(input, select, textarea):disabled {
  opacity: .7;
  cursor: wait
}

.rf-contact-submit,
.rf-contact-again {
  border: 1px solid var(--forest);
  background: var(--forest);
  color: white;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 17px 19px;
  font: 700 13px var(--sans);
  transition: background .2s, transform .2s
}

.rf-contact-submit:not(:disabled):hover,
.rf-contact-again:hover {
  background: var(--olive);
  transform: translateY(-2px)
}

.rf-contact-submit span,
.rf-contact-again span {
  font-size: 17px
}

.rf-contact-submit:disabled {
  opacity: .7;
  cursor: wait
}

.rf-contact-note {
  font-size: 11px;
  color: var(--forest);
  margin: 14px 0 0;
  line-height: 1.65
}

.rf-contact-error {
  color: #A33F4D;
  background: #FFF0F1;
  border: 1px solid #F4CDD1;
  border-radius: 7px;
  padding: 11px 13px;
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 16px
}

.rf-contact-error[hidden],
.rf-contact-success[hidden],
.rf-contact-form[hidden] {
  display: none !important
}

.rf-contact-success {
  padding: 55px 0;
  min-height: 475px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start
}

.rf-success-icon {
  font-size: 28px;
  background: var(--sage);
  color: var(--forest);
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin-bottom: 30px
}

.rf-contact-success h3 {
  font: 400 clamp(37px, 4vw, 51px)/1.07 var(--display);
  margin: 22px 0 10px
}

.rf-contact-success p {
  color: var(--forest);
  font-size: 14px;
  line-height: 1.8;
  max-width: 400px;
  margin: 0 0 33px
}

@media(max-width:920px) {
  .rf-contact-section {
    padding: 80px 26px
  }

  .rf-contact-wrap {
    grid-template-columns: 1fr;
    gap: 42px
  }

  .rf-contact-intro>p {
    max-width: 650px
  }

  .rf-contact-topics {
    max-width: 700px;
    margin-top: 27px
  }

  .rf-contact-panel {
    max-width: 750px;
    width: 100%
  }
}

@media(max-width:540px) {
  .rf-contact-section {
    padding: 66px 18px
  }

  .rf-contact-intro h2 {
    font-size: 49px
  }

  .rf-contact-form {
    width: 100%
  }

  .rf-contact-panel {
    padding: 25px 20px
  }

  .rf-form-pair {
    grid-template-columns: 1fr;
    gap: 0
  }

  .rf-contact-topic {
    padding: 15px 0
  }

  .rf-form-head strong {
    font-size: 27px
  }

  .rf-contact-success {
    min-height: 385px;
    padding: 30px 0
  }
}

@media(prefers-reduced-motion:reduce) {

  .rf-contact-submit,
  .rf-contact-again {
    transition: none
  }
}