* {
  box-sizing: border-box;
}

:root {
  --bg: #f5f2ea;
  --bg-soft: #ece6d8;
  --surface: #fffdf8;
  --text: #1f2a33;
  --muted: #566270;
  --line: #d7d0c2;
  --brand: #0f766e;
  --brand-deep: #115e59;
  --accent: #e76f51;
  --accent-soft: #f4a261;
  --ok: #2a9d8f;
  --warn: #d97706;
  --danger: #b91c1c;
  --radius: 16px;
  --shadow: 0 10px 28px rgba(14, 35, 43, 0.08);
  --max: 1160px;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Space Grotesk", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -10%, #fff4d7 0%, transparent 35%),
    radial-gradient(circle at 90% 0%, #dcfce7 0%, transparent 42%),
    var(--bg);
  line-height: 1.45;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main,
.workspace {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.1;
}

p {
  margin: 0;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.shell-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
}

.brand strong {
  display: block;
  font-size: 1rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 500;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.8rem;
  background:
    conic-gradient(from 140deg, var(--brand), var(--accent-soft), var(--accent), var(--brand));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7), 0 6px 16px rgba(15, 118, 110, 0.2);
}

.button {
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.62rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}

.button:hover {
  transform: translateY(-1px);
}

.button.solid {
  background: linear-gradient(130deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.25);
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.button.small {
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
}

.eyebrow {
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-header,
.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 242, 234, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}

:root {
  --app-header-clearance: 7.25rem;
}

.site-nav,
.app-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.site-nav > a:not(.button) {
  color: var(--muted);
  font-weight: 600;
}

.hero {
  padding: 4.3rem 0 2.4rem;
}

.hero-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.feature-card,
.price-box,
.stat-card,
.panel,
.sidebar,
.setting-card {
  background: var(--surface);
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 2rem;
}

.hero-copy h1 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.lead {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 58ch;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-points {
  margin: 1.25rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
}

.hero-panel {
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -18% -30% auto;
  width: 13rem;
  height: 13rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 111, 81, 0.2), transparent 70%);
}

.hero-panel h2 {
  font-size: 1.4rem;
}

.mini-stack {
  margin-top: 1rem;
  display: grid;
  gap: 0.95rem;
}

.mini-stack p {
  color: var(--muted);
  margin-top: 0.3rem;
}

.section-block {
  padding: 1.8rem 0;
}

.section-block.alt {
  padding-bottom: 3.2rem;
}

.section-head {
  max-width: 42rem;
}

.section-head h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.feature-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 1.2rem;
}

.feature-card p {
  margin-top: 0.55rem;
  color: var(--muted);
}

.pricing-wrap {
  display: grid;
  place-items: center;
}

.price-box {
  width: min(40rem, 100%);
  padding: 1.6rem;
  border-top: 4px solid var(--accent);
}

.price-box h2,
.price-box h1 {
  margin-top: 0.45rem;
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.price-amount {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  line-height: 0.95;
}

.price-period {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-box ul {
  margin: 1rem 0 1.25rem;
  padding-left: 1.15rem;
  color: var(--muted);
  display: grid;
  gap: 0.4rem;
}

.site-footer {
  border-top: 1px solid rgba(16, 24, 40, 0.08);
  padding: 1rem 0 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: auto;
}

.legal-footer .container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.legal-footer a {
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.app-page {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)),
    radial-gradient(circle at 90% 10%, rgba(42, 157, 143, 0.1), transparent 45%),
    var(--bg-soft);
}

.workspace {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.35rem 0 2rem;
}

.sidebar {
  align-self: start;
  position: sticky;
  top: var(--app-header-clearance);
  padding: 1rem;
}

.app-main section[id],
.app-main header.page-header,
.page-header {
  scroll-margin-top: calc(var(--app-header-clearance) + 0.85rem);
}

.side-nav {
  display: grid;
  gap: 0.4rem;
}

.side-nav a {
  border: 1px solid transparent;
  padding: 0.56rem 0.7rem;
  border-radius: 10px;
  font-weight: 600;
  color: var(--muted);
}

.side-nav a:hover {
  border-color: var(--line);
  color: var(--text);
  background: rgba(15, 118, 110, 0.05);
}

.side-nav a.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(120deg, var(--brand), var(--brand-deep));
}

.sidebar-note {
  margin-top: 1rem;
  border-top: 1px dashed var(--line);
  padding-top: 1rem;
  display: grid;
  gap: 0.35rem;
}

.sidebar-note p {
  color: var(--muted);
}

.app-main {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.page-header h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.page-header p {
  margin-top: 0.35rem;
  color: var(--muted);
}

.stats-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  padding: 1rem;
  display: grid;
  gap: 0.3rem;
}

.stat-card p {
  color: var(--muted);
  font-size: 0.86rem;
}

.stat-card strong {
  font-size: 2.1rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.8rem;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.panel {
  padding: 1rem;
  min-width: 0;
}

.panel-inner {
  padding: 0.8rem;
  background: linear-gradient(180deg, #fff, #fffaf0);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.panel-head.wrap {
  flex-wrap: wrap;
}

.panel-head h2 {
  font-size: 1.3rem;
}

.panel-head h3 {
  font-size: 1.05rem;
}

.panel-note {
  margin-top: 0.75rem;
  color: var(--muted);
}

.panel-tools {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.tag {
  border: 1px solid rgba(15, 118, 110, 0.22);
  background: rgba(15, 118, 110, 0.08);
  border-radius: 999px;
  padding: 0.25rem 0.58rem;
  font-size: 0.74rem;
  font-weight: 700;
}

.form-stack {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.72rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

label {
  display: grid;
  gap: 0.34rem;
}

label span {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 600;
}

input,
textarea,
.field-select {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0.62rem 0.72rem;
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--text);
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
.field-select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.field-select.compact {
  min-width: 9rem;
  width: auto;
  padding-right: 2rem;
}

.field-select[multiple] {
  min-height: 8.5rem;
  padding: 0.48rem;
}

.field-select[multiple] option {
  padding: 0.42rem 0.5rem;
}

.check-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.55rem;
}

.check-row input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--brand);
}

.checkbox-fieldset {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
  margin: 0;
}

.checkbox-fieldset legend {
  padding: 0 0.35rem;
  font-weight: 700;
}

.checkbox-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.35rem;
  max-height: 14rem;
  overflow: auto;
}

.checkbox-card {
  padding: 0.62rem 0.7rem;
  border: 1px solid rgba(199, 154, 60, 0.16);
  border-radius: 10px;
  background: rgba(255, 252, 247, 0.72);
}

.assignment-form {
  margin-top: 1.15rem;
  padding-top: 1.05rem;
  border-top: 1px dashed var(--line);
}

.toggle-row {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  color: var(--text);
}

.toggle-row input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--brand);
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 4.7rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.55rem;
  transform: translateY(-50%);
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--brand-deep);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.58rem;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  background: rgba(15, 118, 110, 0.09);
  outline: none;
}

.meeting-panel {
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  padding: 0.8rem;
  display: grid;
  gap: 0.72rem;
}

.form-note {
  min-height: 1rem;
  color: var(--muted);
  font-size: 0.83rem;
}

.auth-link-row {
  display: flex;
  justify-content: flex-end;
}

.text-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.text-button:hover {
  text-decoration: underline;
}

.text-button:focus-visible {
  outline: 2px solid rgba(124, 196, 255, 0.9);
  outline-offset: 3px;
}

.auth-form-block {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.auth-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.item-list {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.65rem;
}

.item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.84);
}

.item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.7rem;
}

.item h3 {
  font-size: 1.03rem;
}

.item p,
.item li {
  color: var(--muted);
  font-size: 0.87rem;
}

.item-meta {
  margin-top: 0.25rem;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.meta-chip,
.status {
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.5rem;
  border: 1px solid var(--line);
  background: #fff;
}

.status.pending {
  color: #854d0e;
  border-color: rgba(217, 119, 6, 0.35);
  background: rgba(245, 158, 11, 0.15);
}

.status.accepted {
  color: #111827;
  border-color: rgba(42, 157, 143, 0.38);
  background: rgba(42, 157, 143, 0.16);
}

.status.in_progress {
  color: #23486a;
  border-color: rgba(86, 118, 170, 0.28);
  background: rgba(128, 160, 214, 0.14);
}

.status.needs_clarification {
  color: #8a5a09;
  border-color: rgba(199, 154, 60, 0.32);
  background: rgba(214, 176, 92, 0.16);
}

.status.declined {
  color: #7f1d1d;
  border-color: rgba(185, 28, 28, 0.32);
  background: rgba(239, 68, 68, 0.13);
}

.item-notes {
  margin-top: 0.5rem;
  color: var(--muted);
}

.request-source-note {
  color: var(--text);
  font-weight: 600;
}

.item-actions {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.request-discussion {
  margin-top: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  background: rgba(255, 252, 246, 0.9);
}

.request-discussion__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.request-discussion__head h4 {
  margin: 0;
  font-size: 0.98rem;
}

.request-discussion__history {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.6rem;
}

.request-discussion__entry {
  padding: 0.78rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(16, 24, 40, 0.06);
  background: rgba(255, 255, 255, 0.7);
}

.request-discussion__entry--question {
  background: rgba(214, 176, 92, 0.12);
  border-color: rgba(199, 154, 60, 0.18);
}

.request-discussion__entry--reply {
  background: rgba(86, 118, 170, 0.1);
  border-color: rgba(86, 118, 170, 0.16);
}

.request-discussion__entry--status {
  background: rgba(31, 42, 51, 0.05);
}

.request-discussion__entry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.request-discussion__entry-top span,
.request-discussion__entry small,
.request-discussion__empty {
  color: var(--muted);
}

.request-discussion__entry p {
  margin-top: 0.2rem;
}

.request-discussion__entry small {
  display: block;
  margin-top: 0.45rem;
}

.request-discussion__composer {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.55rem;
}

.request-discussion__composer label {
  display: grid;
  gap: 0.4rem;
}

.request-discussion__composer span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

.request-discussion__composer textarea {
  width: 100%;
  min-height: 92px;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.request-discussion__composer textarea:focus {
  outline: none;
  border-color: rgba(17, 94, 89, 0.38);
  box-shadow: 0 0 0 3px rgba(17, 94, 89, 0.12);
}

@media (max-width: 680px) {
  .request-discussion__head {
    flex-direction: column;
  }
}

.empty {
  border-style: dashed;
}

.calendar-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.62rem;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  max-width: 54rem;
  margin: -0.25rem auto 1rem;
}

.calendar-legend__intro {
  width: 100%;
  margin: 0 0 0.35rem;
  text-align: center;
  font-size: 0.94rem;
  color: var(--muted);
}

.calendar-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.calendar-legend__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.calendar-help-card {
  margin-bottom: 0.9rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.calendar-help-card h2 {
  margin-top: 0.35rem;
}

.calendar-help-card p:not(.eyebrow) {
  color: rgba(226, 232, 240, 0.88);
}

.calendar-help-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calendar-help-grid div {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.34);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.calendar-help-grid strong {
  display: block;
  margin-bottom: 0.35rem;
}

@media (max-width: 860px) {
  .calendar-help-grid {
    grid-template-columns: 1fr;
  }
}

body.landing-page {
  color: #edf2ff;
  background:
    radial-gradient(circle at 10% 0%, rgba(61, 123, 255, 0.16), transparent 26%),
    radial-gradient(circle at 88% 14%, rgba(214, 178, 94, 0.12), transparent 24%),
    linear-gradient(180deg, #0b1220 0%, #0f172a 36%, #0b1220 100%);
}

.landing-page .site-header {
  background: linear-gradient(180deg, rgba(154, 171, 149, 0.96), rgba(142, 160, 138, 0.94));
  border-bottom: 1px solid rgba(92, 108, 89, 0.24);
  box-shadow: 0 8px 24px rgba(77, 96, 74, 0.12);
}

.landing-page .brand strong {
  font-size: 1.08rem;
}

.landing-page .brand small {
  color: rgba(24, 34, 24, 0.72);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.landing-page .brand-mark {
  display: none;
}

.landing-page .brand-primary {
  color: #7cc4ff;
}

.landing-page .brand-secondary {
  color: #d6b25e;
}

.landing-page .brand-flow {
  color: #f3efe8;
}

.landing-page .site-nav > a:not(.button) {
  color: rgba(19, 29, 28, 0.86);
}

.landing-page .button.ghost {
  border-color: rgba(82, 101, 80, 0.18);
  background: rgba(255, 255, 255, 0.48);
  color: #162033;
}

.landing-page .button.solid {
  background: linear-gradient(135deg, #8ea08a, #7c9078);
  color: #f8fbff;
  box-shadow: 0 14px 34px rgba(111, 128, 107, 0.22);
}

.landing-page .eyebrow {
  color: #d6b25e;
}

.landing-page .hero {
  padding: 4.5rem 0 2rem;
}

.landing-page .hero-grid,
.landing-page .preview-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.landing-page .hero-copy,
.landing-page .hero-panel,
.landing-page .value-card,
.landing-page .control-card,
.landing-page .feature-card,
.landing-page .price-box,
.landing-page .cta-panel {
  background: linear-gradient(180deg, rgba(19, 29, 50, 0.96), rgba(15, 23, 42, 0.94));
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 28px;
  box-shadow: 0 20px 46px rgba(2, 6, 23, 0.3);
}

.landing-page .hero-copy,
.landing-page .hero-panel,
.landing-page .price-box,
.landing-page .cta-panel {
  padding: 2rem;
}

.landing-page .hero-copy h1,
.landing-page .preview-copy h2,
.landing-page .section-head h2,
.landing-page .price-box h2,
.landing-page .cta-panel h2 {
  color: #f8fafc;
}

.landing-page .hero-copy h1 {
  margin-top: 0.75rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.03em;
  max-width: 11ch;
}

.landing-page .lead,
.landing-page .preview-copy p,
.landing-page .feature-card p,
.landing-page .control-card p,
.landing-page .value-card p,
.landing-page .price-box p,
.landing-page .mini-stack p,
.landing-page .site-footer {
  color: rgba(226, 232, 240, 0.78);
}

.landing-page .hero-actions {
  margin-top: 1.5rem;
}

.landing-page .hero-points {
  display: none;
}

.landing-page .product-stage {
  position: relative;
  overflow: hidden;
}

.landing-page .product-stage::after,
.landing-page .preview-shell::after {
  content: "";
  position: absolute;
  inset: auto auto -5rem -4rem;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 157, 255, 0.24), transparent 72%);
  pointer-events: none;
}

.landing-page .mockup-window,
.landing-page .preview-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 18, 31, 0.98), rgba(18, 26, 46, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 0 1px rgba(91, 157, 255, 0.08), 0 30px 60px rgba(2, 6, 23, 0.44);
}

.landing-page .mockup-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.landing-page .mockup-bar span {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: rgba(226, 232, 240, 0.28);
}

.landing-page .mockup-status {
  margin-left: auto;
  font-size: 0.74rem;
  font-weight: 700;
  color: #d6b25e;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-page .mockup-body {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  min-height: 355px;
}

.landing-page .mockup-sidebar {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  padding: 1rem 0.8rem;
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid rgba(148, 163, 184, 0.08);
}

.landing-page .mockup-nav {
  height: 0.9rem;
  border-radius: 999px;
  background: rgba(203, 213, 225, 0.18);
}

.landing-page .mockup-nav.active {
  background: linear-gradient(90deg, rgba(91, 157, 255, 0.88), rgba(214, 178, 94, 0.86));
}

.landing-page .mockup-nav.short {
  width: 70%;
}

.landing-page .mockup-main {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.landing-page .mockup-banner {
  height: 3.7rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(61, 123, 255, 0.22), rgba(214, 178, 94, 0.12));
  border: 1px solid rgba(91, 157, 255, 0.18);
}

.landing-page .mockup-table {
  display: grid;
  gap: 0.7rem;
}

.landing-page .mockup-row {
  height: 1.05rem;
  border-radius: 999px;
  background: rgba(203, 213, 225, 0.16);
}

.landing-page .mockup-row.wide {
  width: 100%;
}

.landing-page .mockup-row.short {
  width: 72%;
}

.landing-page .mockup-summary {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-page .mockup-summary div,
.landing-page .preview-footer div {
  height: 4.2rem;
  border-radius: 18px;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.08);
}

.landing-page .value-strip {
  padding: 0 0 1.5rem;
}

.landing-page .value-grid,
.landing-page .feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-page .value-card,
.landing-page .control-card,
.landing-page .feature-card {
  padding: 1.2rem 1.25rem;
}

.landing-page .value-card strong,
.landing-page .control-card h3,
.landing-page .feature-card h3 {
  display: block;
  color: #f8fafc;
}

.landing-page .value-card p,
.landing-page .control-card p,
.landing-page .feature-card p {
  margin-top: 0.5rem;
}

.landing-page .control-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-page .preview-section,
.landing-page .final-cta {
  padding-top: 0.6rem;
}

.landing-page .preview-copy {
  align-self: center;
}

.landing-page .preview-copy h2 {
  margin-top: 0.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.landing-page .preview-copy p {
  margin-top: 0.9rem;
  max-width: 36rem;
}

.landing-page .preview-shell {
  position: relative;
}

.landing-page .preview-card {
  padding: 1.25rem;
}

.landing-page .preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.landing-page .preview-title {
  width: 48%;
  height: 1rem;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.2);
}

.landing-page .preview-badge {
  width: 6rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(214, 178, 94, 0.2);
  border: 1px solid rgba(214, 178, 94, 0.18);
}

.landing-page .preview-list {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.8rem;
}

.landing-page .preview-line {
  height: 1rem;
  border-radius: 999px;
  background: rgba(203, 213, 225, 0.16);
}

.landing-page .preview-line.long {
  width: 100%;
}

.landing-page .preview-line.short {
  width: 76%;
}

.landing-page .preview-footer {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-page .section-block {
  padding: 1.85rem 0;
}

.landing-page .section-block.alt {
  padding-bottom: 2.4rem;
}

.landing-page .section-head h2 {
  margin-top: 0.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.landing-page .price-box {
  width: min(42rem, 100%);
  border-top: 3px solid rgba(214, 178, 94, 0.85);
}

.landing-page .price-line {
  gap: 0.8rem;
}

.landing-page .price-amount {
  font-size: clamp(2.7rem, 6vw, 3.8rem);
  color: #f8fafc;
}

.landing-page .price-period {
  color: #d6b25e;
}

.landing-page .price-box ul {
  color: rgba(226, 232, 240, 0.8);
}

.landing-page .cta-panel {
  text-align: center;
}

.landing-page .cta-panel p {
  margin: 0.9rem auto 0;
  max-width: 38rem;
}

.landing-page .cta-panel .button {
  margin-top: 1.25rem;
}

.landing-page .site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  color: rgba(226, 232, 240, 0.84);
}

.landing-page .site-footer .shell-row {
  justify-content: center;
  gap: 1.5rem;
}

@media (max-width: 1120px) {
  .landing-page .control-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .landing-page .hero-grid,
  .landing-page .preview-grid,
  .landing-page .value-grid,
  .landing-page .feature-grid {
    grid-template-columns: 1fr;
  }

  .landing-page .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .landing-page .control-grid,
  .landing-page .mockup-summary,
  .landing-page .preview-footer {
    grid-template-columns: 1fr;
  }

  .landing-page .container {
    width: min(var(--max), calc(100% - 1.4rem));
  }

  .landing-page .hero-copy,
  .landing-page .hero-panel,
  .landing-page .price-box,
  .landing-page .cta-panel {
    padding: 1.35rem;
  }

  .landing-page .mockup-body {
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 310px;
  }
}

.calendar-grid.calendar-month {
  gap: 0.5rem;
}

.day-cell {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  min-height: 7.2rem;
  padding: 0.58rem;
  display: grid;
  gap: 0.38rem;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.day-cell:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

.day-cell.active,
.day-cell.selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.2);
}

.day-cell.outside {
  opacity: 0.62;
}

.day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
}

.day-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.day-pill {
  font-size: 0.68rem;
  border-radius: 999px;
  padding: 0.18rem 0.42rem;
  background: rgba(15, 118, 110, 0.11);
  color: var(--brand-deep);
}

.day-events {
  display: grid;
  gap: 0.18rem;
}

.day-events span {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.setting-grid,
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.setting-card,
.about-grid article {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
}

.setting-card p,
.about-grid p {
  margin-top: 0.35rem;
  color: var(--muted);
}

.setting-card-button {
  appearance: none;
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.setting-card-button:hover {
  border-color: rgba(124, 196, 255, 0.28);
  transform: translateY(-1px);
}

.setting-card-button:focus-visible {
  outline: 2px solid rgba(124, 196, 255, 0.9);
  outline-offset: 3px;
}

.setting-card-hint {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.viewer-frame {
  margin-top: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  min-height: 60vh;
}

#docViewerFrame {
  width: 100%;
  height: 72vh;
  border: 0;
}

.docx-preview {
  padding: 1rem;
  min-height: 72vh;
  color: var(--text);
}

.docx-preview p,
.docx-preview li {
  color: #2f3a45;
}

.reveal-up {
  opacity: 0;
  transform: translateY(14px);
  animation: revealUp 0.6s ease forwards;
}

.delay-1 {
  animation-delay: 0.12s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .workspace {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .side-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-three,
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .hero-grid,
  .grid-two,
  .form-row,
  .setting-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-head {
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(var(--max), calc(100% - 1.2rem));
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .shell-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .side-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid,
  .calendar-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}

.user-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-page {
  background:
    radial-gradient(circle at 84% 8%, rgba(231, 111, 81, 0.16), transparent 42%),
    radial-gradient(circle at 10% 0%, rgba(15, 118, 110, 0.18), transparent 40%),
    var(--bg);
}

.auth-shell {
  min-height: calc(100vh - 5.4rem);
  padding: 2rem 0 2.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 1rem;
  align-items: stretch;
}

.auth-card,
.auth-aside {
  background: var(--surface);
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.auth-card {
  padding: 1.4rem;
}

.auth-card h1 {
  margin-top: 0.5rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.auth-card .panel-note {
  margin-top: 0.6rem;
}

.auth-aside {
  padding: 1.4rem;
  display: grid;
  align-content: start;
  gap: 0.7rem;
  background: linear-gradient(180deg, #fffdf8, #f8f4ea);
}

@media (max-width: 860px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
}

/* ---- SF Resolve Flow Palette Override ---- */
:root {
  --bg: #0b1220;
  --bg-soft: #0f172a;
  --surface: rgba(255, 255, 255, 0.05);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --brand: #8ea08a;
  --brand-deep: #7c9078;
  --accent: #d6b25e;
  --accent-soft: #7cc4ff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

body {
  background:
    radial-gradient(circle at 20% -5%, rgba(154, 171, 149, 0.18), transparent 35%),
    radial-gradient(circle at 85% 0%, rgba(214, 178, 94, 0.14), transparent 40%),
    var(--bg);
  color-scheme: dark;
}

.site-header,
.app-header {
  background: rgba(11, 18, 32, 0.72);
  border-bottom: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.button.solid {
  background: linear-gradient(135deg, rgba(142, 160, 138, 0.95), rgba(124, 144, 120, 0.82));
  box-shadow: 0 8px 18px rgba(111, 128, 107, 0.24);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.04);
}

.eyebrow {
  color: var(--accent);
}

.hero-copy,
.hero-panel,
.feature-card,
.price-box,
.stat-card,
.panel,
.sidebar,
.setting-card,
.auth-card,
.auth-aside {
  border: 1px solid var(--line);
  background: var(--surface);
}

.app-page {
  background:
    radial-gradient(circle at 90% 10%, rgba(154, 171, 149, 0.12), transparent 42%),
    radial-gradient(circle at 5% 0%, rgba(214, 178, 94, 0.08), transparent 35%),
    var(--bg-soft);
  visibility: hidden;
}

.app-page.access-ready {
  visibility: visible;
}

.side-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.side-nav a.active {
  border-color: rgba(154, 171, 149, 0.35);
  background: rgba(154, 171, 149, 0.12);
}

.panel-inner,
.setting-card,
.about-grid article,
.meeting-panel,
.item,
.day-cell,
.viewer-frame,
.auth-aside {
  background: rgba(255, 255, 255, 0.04);
}

.tag,
.day-pill {
  border-color: rgba(154, 171, 149, 0.35);
  background: rgba(154, 171, 149, 0.12);
  color: var(--text);
}

input,
textarea,
.field-select {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--line);
}

input:focus,
textarea:focus,
.field-select:focus {
  border-color: rgba(142, 160, 138, 0.55);
  box-shadow: 0 0 0 3px rgba(154, 171, 149, 0.22);
}

.meta-chip,
.status {
  background: rgba(255, 255, 255, 0.06);
}

.status.pending {
  color: #fcd34d;
}

.status.accepted {
  color: #111827;
}

.status.in_progress {
  color: #dbeafe;
  background: rgba(86, 118, 170, 0.18);
  border-color: rgba(129, 153, 194, 0.22);
}

.status.needs_clarification {
  color: #f9d694;
  background: rgba(199, 154, 60, 0.16);
  border-color: rgba(214, 176, 92, 0.24);
}

.status.declined {
  color: #fca5a5;
}

.user-pill {
  background: rgba(255, 255, 255, 0.08);
}

.auth-page {
  background:
    radial-gradient(circle at 84% 8%, rgba(214, 178, 94, 0.16), transparent 42%),
    radial-gradient(circle at 10% 0%, rgba(154, 171, 149, 0.2), transparent 40%),
    var(--bg);
}

/* ---- SF Resolve Flow Dropdown Match ---- */
.field-select {
  background: linear-gradient(180deg, rgba(142, 160, 138, 0.22), rgba(11, 18, 32, 0.08));
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
}

.field-select:focus {
  border-color: rgba(142, 160, 138, 0.55);
  box-shadow: 0 0 0 3px rgba(154, 171, 149, 0.22);
}

.field-select option {
  background-color: rgba(11, 18, 32, 0.95);
  color: #ffffff;
}

/* ---- Day Inspector ---- */
.day-inspector {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.day-inspector__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 16, 0.72);
}

.day-inspector__panel {
  position: relative;
  width: min(900px, calc(100% - 1.4rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  margin: 1rem auto;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(11, 18, 32, 0.96);
  box-shadow: var(--shadow);
}

.client-day-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.2rem;
}

.client-day-summary__card {
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
}

.client-day-summary__card span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.client-day-summary__card strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.35rem;
}

.client-day-summary__card--meeting {
  border-color: rgba(98, 149, 112, 0.28);
  background: rgba(98, 149, 112, 0.12);
}

.client-day-summary__card--request {
  border-color: rgba(246, 168, 34, 0.28);
  background: rgba(246, 168, 34, 0.12);
}

.client-day-summary__card--document {
  border-color: rgba(34, 168, 111, 0.28);
  background: rgba(34, 168, 111, 0.12);
}

.day-schedule {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.day-schedule__row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.75rem;
  align-items: start;
}

.day-schedule__time {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.68rem 0.8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: 0.04em;
}

.day-schedule__slot {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.62rem 0.68rem;
  min-height: 0;
}

.day-schedule__row--start .day-schedule__slot {
  min-height: 88px;
}

.day-schedule__row--available .day-schedule__slot {
  border-style: dashed;
  border-color: rgba(34, 168, 111, 0.25);
  background: rgba(34, 168, 111, 0.08);
  padding: 0.4rem 0.58rem;
}

.day-schedule__availability {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  min-height: 0;
}

.day-schedule__availability strong {
  color: #9ff0c5;
  font-size: 0.92rem;
}

.day-schedule__availability span {
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

.day-schedule__cards {
  display: grid;
  gap: 0.55rem;
}

.day-schedule__continuations {
  display: grid;
  gap: 0.42rem;
  margin-top: 0.45rem;
}

.day-schedule__continuation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.44rem 0.58rem;
}

.day-schedule__continuation strong {
  color: #ffd27a;
  font-size: 0.82rem;
}

.day-schedule__continuation span {
  color: var(--muted);
  font-size: 0.78rem;
  text-align: right;
}

.day-schedule__card {
  border-radius: 12px;
  border: 1px solid var(--line);
  border-left: 4px solid transparent;
  padding: 0.72rem 0.78rem;
  background: rgba(255, 255, 255, 0.05);
}

.day-schedule__card--meeting {
  border-color: rgba(98, 149, 112, 0.28);
  border-left-color: #629570;
  background: rgba(98, 149, 112, 0.12);
}

.day-schedule__card--request {
  border-color: rgba(246, 168, 34, 0.28);
  border-left-color: #f6a822;
  background: rgba(246, 168, 34, 0.12);
}

.day-schedule__card--document {
  border-color: rgba(34, 168, 111, 0.28);
  border-left-color: #22a86f;
  background: rgba(34, 168, 111, 0.12);
}

.day-schedule__card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
}

.day-schedule__card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.28;
}

.day-schedule__eyebrow {
  margin: 0 0 0.18rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.day-inspector__section {
  margin-top: 1rem;
}

.day-inspector__section-header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 0.65rem;
}

.day-inspector__section-header h3 {
  margin: 0;
  font-size: 1rem;
}

.day-inspector__section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.timeline-list {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.6rem;
}

.timeline-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 0.7rem;
  border-left-width: 5px;
}

.timeline-item--meeting {
  background: rgba(98, 149, 112, 0.12);
  border-color: rgba(98, 149, 112, 0.28);
  border-left-color: #629570;
}

.timeline-item--request {
  background: rgba(246, 168, 34, 0.12);
  border-color: rgba(246, 168, 34, 0.28);
  border-left-color: #f6a822;
}

.timeline-item--document {
  background: rgba(34, 168, 111, 0.12);
  border-color: rgba(34, 168, 111, 0.28);
  border-left-color: #22a86f;
}

.timeline-item__time {
  font-weight: 800;
  color: var(--accent);
  font-size: 0.82rem;
  align-self: start;
}

.timeline-item--meeting .timeline-item__time {
  color: #4f7660;
}

.timeline-item--request .timeline-item__time {
  color: #ffd27a;
}

.timeline-item--document .timeline-item__time {
  color: #79e0af;
}

.timeline-item__body h3 {
  margin: 0;
  font-size: 1rem;
}

body.day-inspector-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .client-day-summary {
    grid-template-columns: 1fr;
  }

  .day-schedule__row {
    grid-template-columns: 1fr;
  }

  .day-schedule__time {
    width: fit-content;
  }

  .day-schedule__availability {
    display: grid;
    justify-content: start;
  }

  .day-schedule__availability span {
    text-align: left;
  }

  .day-schedule__continuation {
    display: grid;
    justify-content: start;
  }

  .day-schedule__continuation span {
    text-align: left;
  }

  .day-inspector__section-header {
    flex-direction: column;
    align-items: start;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}

/* ---- Logo Asset ---- */
.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.45rem;
  background: url("softresolve-logo.png") center / contain no-repeat;
  box-shadow: none;
}

/* ---- Overview UX ---- */
.stat-link {
  text-decoration: none;
  color: inherit;
  border-color: rgba(154, 171, 149, 0.22);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.stat-link:hover {
  transform: translateY(-2px);
  border-color: rgba(142, 160, 138, 0.55);
  background: rgba(154, 171, 149, 0.10);
}

.status-board {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

@media (max-width: 980px) {
  .status-board {
    grid-template-columns: 1fr;
  }
}

/* ---- Large Logo Header ---- */
.brand {
  gap: 0.85rem;
  align-items: center;
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.brand strong {
  display: flex;
  align-items: baseline;
  gap: 0.38rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.18rem, 1.7vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1;
}

.brand-primary {
  color: rgba(124, 196, 255, 0.98);
}

.brand-secondary {
  color: rgba(214, 178, 94, 0.98);
}

.brand-secondary::after {
  content: " Flow";
  color: rgba(238, 229, 204, 0.96);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-mark {
  display: none;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.82rem;
  background:
    radial-gradient(circle at 28% 24%, rgba(214, 178, 94, 0.82), transparent 38%),
    linear-gradient(145deg, rgba(142, 160, 138, 0.98), rgba(77, 96, 74, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 24px rgba(2, 6, 23, 0.36);
}

.brand-mark::before {
  content: "SF";
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: "Space Grotesk", Tahoma, sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #f8f3e7;
}

@media (max-width: 620px) {
  .brand {
    gap: 0.65rem;
  }

  .brand strong {
    gap: 0.28rem;
    font-size: 1rem;
  }

  .brand small {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  .brand-mark {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.7rem;
  }

  .brand-mark::before {
    font-size: 0.8rem;
  }
}

/* ---- Confirm Popup ---- */
.confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(15, 23, 42, 0.48);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.confirm-dialog {
  width: min(420px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.confirm-dialog h3 {
  margin: 0;
  font-size: 1.05rem;
}

.confirm-dialog p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.confirm-actions {
  margin-top: 0.9rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

@media (max-width: 620px) {
  .confirm-actions {
    flex-direction: column;
  }

  .confirm-actions .button {
    width: 100%;
  }
}
.confirm-important {
  color: var(--danger);
  font-weight: 800;
}


.confirm-target {
  margin-top: 0.35rem;
  font-weight: 700;
  color: var(--text);
  word-break: break-word;
}

/* ---- Owner/Client Controls ---- */
.client-switcher {
  display: grid;
  gap: 0.3rem;
  flex: 0 1 18rem;
  min-width: 13rem;
  max-width: 18rem;
}

.client-switcher label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.client-switcher .field-select {
  margin: 0;
}

.client-dashboard-main {
  padding: 1rem 0 2rem;
}

.confirm-warning {
  color: var(--muted);
}

@media (max-width: 620px) {
  .client-switcher {
    min-width: 0;
    max-width: 100%;
  }
}









.field-hint {
  margin: -0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.workspace-scope {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.workspace-scope__copy {
  display: grid;
  gap: 0.35rem;
}

.workspace-scope__copy p:last-child {
  color: var(--muted);
}

.workspace-scope__controls {
  display: grid;
  gap: 0.85rem;
  justify-items: end;
  width: min(100%, 24rem);
}

.workspace-scope__selector {
  display: grid;
  gap: 0.35rem;
  width: 100%;
}

.workspace-scope__label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workspace-scope__hint {
  color: var(--muted);
  font-size: 0.92rem;
}

.workspace-scope__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.workspace-scope--picker .workspace-scope__controls {
  justify-items: start;
}

.availability-pill {
  border-radius: 999px;
  padding: 0.18rem 0.42rem;
  font-size: 0.68rem;
  font-weight: 700;
}

.availability-pill.available {
  background: rgba(34, 168, 111, 0.18);
  color: #8df0bf;
}

.availability-pill.busy {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

.day-cell--available {
  border-color: rgba(34, 168, 111, 0.24);
  background: rgba(34, 168, 111, 0.09);
}

.day-cell--busy {
  border-color: rgba(239, 68, 68, 0.24);
  background: rgba(239, 68, 68, 0.08);
}

.day-cell--busy .day-events span {
  color: #ffd0d0;
}

@media (max-width: 820px) {
  .workspace-scope {
    flex-direction: column;
  }

  .workspace-scope__controls,
  .workspace-scope__actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ---- About Page ---- */
.about-page .hero {
  padding: 4.1rem 0 1.7rem;
}

.about-page .hero-grid {
  grid-template-columns: 1.08fr 0.92fr;
}

.about-page .hero-copy h1 {
  max-width: 12ch;
}

.about-page .about-support-line {
  margin-top: 0.9rem;
  color: rgba(248, 250, 252, 0.94);
  font-size: 1.05rem;
  font-weight: 600;
}

.about-page .hero-panel h2,
.about-page .about-focus-card h2,
.about-page .about-proof-panel h2,
.about-page .about-fit-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #f8fafc;
}

.about-page .mini-stack strong {
  color: #f8fafc;
  font-size: 1.02rem;
}

.about-page .about-focus-card,
.about-page .about-proof-panel {
  background: linear-gradient(180deg, rgba(19, 29, 50, 0.96), rgba(15, 23, 42, 0.94));
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 28px;
  box-shadow: 0 20px 46px rgba(2, 6, 23, 0.3);
  padding: 1.9rem 2rem;
}

.about-page .about-focus-copy,
.about-page .about-proof-panel > p {
  margin-top: 0.95rem;
  color: rgba(226, 232, 240, 0.8);
}

.about-page .about-focus-copy {
  display: grid;
  gap: 0.9rem;
}

.about-page .about-proof-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-page .about-proof-item {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.12);
  color: #f8fafc;
  font-weight: 700;
  text-align: center;
}

.about-page .about-fit-card {
  width: min(44rem, 100%);
}

.about-page .about-fit-note {
  margin-top: 1rem;
  color: rgba(226, 232, 240, 0.78);
}

.about-page .site-footer .shell-row {
  justify-content: center;
  gap: 1.5rem;
}

@media (max-width: 1120px) {
  .about-page .about-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .about-page .hero-grid {
    grid-template-columns: 1fr;
  }

  .about-page .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .about-page .about-focus-card,
  .about-page .about-proof-panel {
    padding: 1.35rem;
  }

  .about-page .about-proof-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Public White Surface Refresh ---- */
body.landing-page {
  color: #172033;
  background: #ffffff;
}

.landing-page main,
.landing-page .hero,
.landing-page .value-strip,
.landing-page .section-block,
.landing-page .section-block.alt,
.landing-page .preview-section,
.landing-page .final-cta {
  background: transparent;
}

.landing-page .hero-copy,
.landing-page .hero-panel,
.landing-page .value-card,
.landing-page .control-card,
.landing-page .feature-card,
.landing-page .price-box,
.landing-page .cta-panel,
.about-page .about-focus-card,
.about-page .about-proof-panel {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08) !important;
}

.landing-page .hero-copy h1,
.landing-page .preview-copy h2,
.landing-page .section-head h2,
.landing-page .price-box h2,
.landing-page .cta-panel h2,
.about-page .hero-panel h2,
.about-page .about-focus-card h2,
.about-page .about-proof-panel h2,
.about-page .about-fit-card h2,
.landing-page .value-card strong,
.landing-page .control-card h3,
.landing-page .feature-card h3,
.about-page .mini-stack strong {
  color: #111827 !important;
}

.landing-page .lead,
.landing-page .preview-copy p,
.landing-page .feature-card p,
.landing-page .control-card p,
.landing-page .value-card p,
.landing-page .price-box p,
.landing-page .mini-stack p,
.landing-page .site-footer,
.about-page .about-focus-copy,
.about-page .about-proof-panel > p,
.about-page .about-fit-note {
  color: rgba(31, 41, 55, 0.84) !important;
}

.landing-page .eyebrow,
.landing-page .price-period {
  color: #a67816;
}

.landing-page .price-amount,
.about-page .about-support-line,
.about-page .about-proof-item {
  color: #111827 !important;
}

.landing-page .button.ghost {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: #162033;
}

.landing-page .mockup-window,
.landing-page .preview-card {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
}

.about-page .about-proof-item {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}

.landing-page .mockup-bar,
.landing-page .mockup-sidebar,
.landing-page .preview-badge,
.landing-page .mockup-summary div,
.landing-page .preview-footer div {
  background: rgba(226, 232, 240, 0.8) !important;
}

.landing-page .mockup-nav,
.landing-page .mockup-row,
.landing-page .preview-title,
.landing-page .preview-line {
  background: rgba(148, 163, 184, 0.35) !important;
}

.landing-page .mockup-banner {
  background: rgba(239, 244, 255, 0.95) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
}

.landing-page .site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.landing-page .site-footer a {
  color: #4f6d52;
}

/* ---- Shared Public Header Tone ---- */
body:not(.app-page) .site-header {
  background: linear-gradient(180deg, rgba(154, 171, 149, 0.96), rgba(142, 160, 138, 0.94));
  border-bottom: 1px solid rgba(92, 108, 89, 0.24);
  box-shadow: 0 8px 24px rgba(77, 96, 74, 0.12);
}

body:not(.app-page) .site-nav > a:not(.button) {
  color: rgba(19, 29, 28, 0.86);
}

body:not(.app-page) .brand small {
  color: rgba(24, 34, 24, 0.72);
}

body:not(.app-page) .brand-primary {
  color: #d6b25e !important;
}

body:not(.app-page) .brand-secondary {
  color: #d6b25e !important;
}

body:not(.app-page) .brand-flow {
  color: #f3efe8 !important;
}

body:not(.app-page) {
  background: #f7faf4 !important;
  color: #111827 !important;
}

body:not(.app-page) main,
body:not(.app-page) .auth-shell,
body:not(.app-page) .pricing-wrap,
body:not(.app-page) .section-block,
body:not(.app-page) .hero,
body:not(.app-page) .value-strip {
  background: transparent !important;
}

body:not(.app-page) .hero-copy,
body:not(.app-page) .hero-panel,
body:not(.app-page) .feature-card,
body:not(.app-page) .price-box,
body:not(.app-page) .auth-card,
body:not(.app-page) .auth-aside,
body:not(.app-page) .panel {
  background: #f4f8ef !important;
  border-color: rgba(111, 128, 107, 0.14) !important;
  box-shadow: 0 18px 42px rgba(77, 96, 74, 0.06) !important;
}

body:not(.app-page) h1,
body:not(.app-page) h2,
body:not(.app-page) h3,
body:not(.app-page) .lead,
body:not(.app-page) .panel-note,
body:not(.app-page) p,
body:not(.app-page) li,
body:not(.app-page) label,
body:not(.app-page) span {
  color: #111827;
}

body:not(.app-page) input,
body:not(.app-page) textarea,
body:not(.app-page) .field-select {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}

body:not(.app-page) input::placeholder,
body:not(.app-page) textarea::placeholder {
  color: rgba(31, 41, 55, 0.58) !important;
}

body:not(.app-page) .legal-card {
  padding: 32px;
}

body:not(.app-page) .legal-card p:last-child,
body:not(.app-page) .legal-card ul:last-child {
  margin-bottom: 0;
}

body:not(.app-page) .legal-card ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

body:not(.app-page) .legal-card li {
  margin-bottom: 8px;
  color: #172033 !important;
}

/* ---- Shared Logged-In Workspace Theme ---- */
.app-page {
  background:
    radial-gradient(circle at 12% -8%, rgba(214, 178, 94, 0.08), transparent 30%),
    radial-gradient(circle at 88% 0%, rgba(154, 171, 149, 0.16), transparent 40%),
    #f7faf4 !important;
  color: #111827;
  color-scheme: light;
}

.app-page .app-header {
  background: linear-gradient(180deg, rgba(154, 171, 149, 0.96), rgba(142, 160, 138, 0.94)) !important;
  border-bottom: 1px solid rgba(92, 108, 89, 0.24) !important;
  box-shadow: 0 8px 24px rgba(77, 96, 74, 0.12);
}

.app-page .brand-primary,
.app-page .brand-secondary {
  color: #d6b25e !important;
}

.app-page .brand-flow {
  color: #f3efe8 !important;
}

.brand strong {
  display: block;
  width: clamp(13rem, 24vw, 18rem);
  height: clamp(1.55rem, 2.9vw, 2.2rem);
  background: url("sfresolveflow-ombre-wordmark.svg") left center / contain no-repeat;
  overflow: hidden;
}

.brand strong span {
  opacity: 0;
}

.brand-secondary::after {
  content: none !important;
}

.app-page .brand small,
.app-page .app-actions,
.app-page .site-nav > a:not(.button),
.app-page .page-header p,
.app-page .sidebar-note p,
.app-page .panel-note,
.app-page .lead,
.app-page .hero-points,
.app-page .mini-stack p {
  color: rgba(24, 34, 24, 0.74) !important;
}

.app-page .sidebar,
.app-page .panel,
.app-page .stat-card,
.app-page .setting-card,
.app-page .panel-inner,
.app-page .meeting-panel,
.app-page .item,
.app-page .day-cell,
.app-page .viewer-frame {
  background: #f4f8ef !important;
  border-color: rgba(111, 128, 107, 0.14) !important;
  box-shadow: 0 18px 42px rgba(77, 96, 74, 0.06) !important;
}

.app-page h1,
.app-page h2,
.app-page h3,
.app-page strong,
.app-page p,
.app-page li,
.app-page label,
.app-page span {
  color: #111827;
}

.app-page .side-nav a {
  color: #41505e;
}

.app-page .side-nav a:hover {
  background: rgba(154, 171, 149, 0.12) !important;
  border-color: rgba(111, 128, 107, 0.16) !important;
  color: #111827 !important;
}

.app-page .side-nav a.active {
  color: #111827 !important;
  border-color: rgba(111, 128, 107, 0.18) !important;
  background: rgba(214, 178, 94, 0.18) !important;
}

.app-page .sidebar-note {
  border-top-color: rgba(111, 128, 107, 0.18) !important;
}

.app-page .button.ghost {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(111, 128, 107, 0.16) !important;
  color: #162033 !important;
}

.app-page .app-actions .user-pill {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  color: #faf5e8 !important;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(9, 18, 15, 0.12);
}

.app-page .app-actions .user-pill span {
  color: #faf5e8 !important;
}

.app-page .tag,
.app-page .day-pill {
  border-color: rgba(214, 178, 94, 0.26) !important;
  background: rgba(214, 178, 94, 0.12) !important;
  color: #5e4c1d !important;
}

.app-page input,
.app-page textarea,
.app-page .field-select {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(111, 128, 107, 0.16) !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}

.app-page input::placeholder,
.app-page textarea::placeholder {
  color: rgba(31, 41, 55, 0.58) !important;
}

.app-page .day-inspector__backdrop {
  background: rgba(54, 67, 55, 0.28) !important;
}

.app-page .day-inspector__panel {
  background: #f4f8ef !important;
  border-color: rgba(111, 128, 107, 0.16) !important;
  box-shadow: 0 24px 60px rgba(77, 96, 74, 0.12) !important;
}

.app-page .client-day-summary__card,
.app-page .day-schedule__time,
.app-page .day-schedule__slot,
.app-page .day-schedule__continuation,
.app-page .timeline-item {
  background: rgba(244, 248, 239, 0.96) !important;
  border-color: rgba(111, 128, 107, 0.14) !important;
}

.app-page .day-schedule__time {
  color: #111827 !important;
}

.app-page .day-schedule__availability strong {
  color: #2f7a54 !important;
}

.app-page .day-schedule__availability span,
.app-page .day-schedule__continuation span,
.app-page .day-inspector__section-header p,
.app-page .timeline-item__body p {
  color: #566270 !important;
}

.app-page .day-schedule__continuation strong {
  color: #8f6b12 !important;
}

.app-page .day-schedule__card {
  box-shadow: 0 10px 24px rgba(77, 96, 74, 0.06);
}

.app-page .day-schedule__card--meeting {
  border-color: rgba(98, 149, 112, 0.26) !important;
  background: rgba(98, 149, 112, 0.12) !important;
}

.app-page .day-schedule__card--request {
  border-color: rgba(214, 178, 94, 0.28) !important;
  background: rgba(214, 178, 94, 0.14) !important;
}

.app-page .day-schedule__card--document {
  border-color: rgba(98, 149, 112, 0.26) !important;
  background: rgba(98, 149, 112, 0.12) !important;
}

.app-page .timeline-item--meeting {
  background: rgba(98, 149, 112, 0.12) !important;
  border-color: rgba(98, 149, 112, 0.26) !important;
}

.app-page .timeline-item--request {
  background: rgba(214, 178, 94, 0.14) !important;
  border-color: rgba(214, 178, 94, 0.28) !important;
}

.app-page .timeline-item--document {
  background: rgba(98, 149, 112, 0.12) !important;
  border-color: rgba(98, 149, 112, 0.26) !important;
}

.app-page .timeline-item__time {
  color: #8f6b12 !important;
}

.app-page .timeline-item--meeting .timeline-item__time {
  color: #4f7660 !important;
}

.app-page .timeline-item--request .timeline-item__time {
  color: #8f6b12 !important;
}

.app-page .timeline-item--document .timeline-item__time {
  color: #2f7a54 !important;
}

.button[data-request-action="accept"],
.button[data-client-request-action="accept"] {
  background: linear-gradient(135deg, #e2ebe0, #d6e2d3) !important;
  border-color: rgba(97, 128, 101, 0.28) !important;
  color: #2d4431 !important;
  box-shadow: 0 6px 16px rgba(97, 128, 101, 0.08);
}

.button[data-request-action="accept"]:hover,
.button[data-client-request-action="accept"]:hover {
  background: linear-gradient(135deg, #e6efe4, #dbe6d8) !important;
  border-color: rgba(97, 128, 101, 0.36) !important;
  color: #243929 !important;
}

.button[data-request-action="accept"]:focus,
.button[data-client-request-action="accept"]:focus {
  box-shadow: 0 0 0 3px rgba(159, 176, 154, 0.18), 0 6px 16px rgba(97, 128, 101, 0.08);
}

.button[data-request-action="decline"],
.button[data-client-request-action="decline"] {
  background: linear-gradient(135deg, #f0e7c8, #e6dbb6) !important;
  border-color: rgba(161, 138, 74, 0.3) !important;
  color: #56451c !important;
  box-shadow: 0 6px 16px rgba(161, 138, 74, 0.08);
}

.button[data-request-action="decline"]:hover,
.button[data-client-request-action="decline"]:hover {
  background: linear-gradient(135deg, #f3ebcf, #eae0bd) !important;
  border-color: rgba(161, 138, 74, 0.38) !important;
  color: #4b3c18 !important;
}

.button[data-request-action="decline"]:focus,
.button[data-client-request-action="decline"]:focus {
  box-shadow: 0 0 0 3px rgba(197, 181, 128, 0.18), 0 6px 16px rgba(161, 138, 74, 0.08);
}

.button[data-request-action="delete"],
.button[data-client-request-action="delete"] {
  background: linear-gradient(135deg, #edd6d1, #e3c4bd) !important;
  border-color: rgba(151, 91, 83, 0.28) !important;
  color: #5a2f2b !important;
  box-shadow: 0 6px 16px rgba(151, 91, 83, 0.08);
}

.button[data-request-action="delete"]:hover,
.button[data-client-request-action="delete"]:hover {
  background: linear-gradient(135deg, #f0ddd8, #e6cbc4) !important;
  border-color: rgba(151, 91, 83, 0.36) !important;
  color: #4f2825 !important;
}

.button[data-request-action="delete"]:focus,
.button[data-client-request-action="delete"]:focus {
  box-shadow: 0 0 0 3px rgba(190, 149, 141, 0.18), 0 6px 16px rgba(151, 91, 83, 0.08);
}

/* --- £59 reference homepage --- */
body.reference-home {
  color: #1b231b;
  background:
    radial-gradient(circle at 8% 12%, rgba(233, 214, 167, 0.34), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(186, 197, 174, 0.18), transparent 24%),
    linear-gradient(180deg, #f5efe4 0%, #f1eadc 48%, #f5efe5 100%);
}

.reference-home .site-header {
  background:
    radial-gradient(circle at 14% 18%, rgba(57, 81, 56, 0.18), transparent 32%),
    radial-gradient(circle at 82% 10%, rgba(92, 112, 86, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(8, 20, 13, 0.99), rgba(11, 25, 17, 0.985)) !important;
  border-bottom: 1px solid rgba(214, 176, 84, 0.18) !important;
  box-shadow: 0 16px 30px rgba(6, 14, 10, 0.28) !important;
}

.reference-home .site-header .container {
  width: min(1280px, calc(100% - 2.8rem));
  min-height: 8.35rem;
  padding-left: 0.85rem;
  padding-right: 0.4rem;
}

.reference-home .brand-mark {
  display: none !important;
}

.reference-home .reference-brand {
  gap: 1.35rem;
  align-items: center;
  flex: 1 1 auto;
  padding-left: 0.05rem;
}

.reference-home .reference-crest {
  display: block;
  width: clamp(31.5rem, 53vw, 46.5rem);
  height: clamp(7.75rem, 11.25vw, 9.95rem);
  flex: 0 0 auto;
  margin-right: -3.4rem;
  background: url("approved-header-logo-transparent.png") left center / contain no-repeat;
  filter: drop-shadow(0 14px 22px rgba(4, 9, 7, 0.25));
}

.reference-home .reference-brand-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reference-home .site-nav {
  gap: 1.1rem;
}

.reference-home .site-nav > a:not(.button) {
  position: relative;
  padding-bottom: 0.45rem;
  color: rgba(247, 240, 221, 0.9) !important;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reference-home .site-nav > a[aria-current="page"] {
  color: #ddb75a !important;
}

.reference-home .site-nav > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ddb75a, #f1d896);
}

.reference-home .site-nav .button.solid,
.reference-home .reference-price-card .button.solid,
.reference-home .reference-cta-card .button.solid {
  background: linear-gradient(180deg, #d3ab4f, #ba9135) !important;
  color: #fff8eb !important;
  border: 1px solid rgba(255, 245, 221, 0.08);
  box-shadow: 0 14px 26px rgba(122, 89, 22, 0.18) !important;
}

.reference-home .site-nav .button.solid:hover,
.reference-home .reference-price-card .button.solid:hover,
.reference-home .reference-cta-card .button.solid:hover {
  background: linear-gradient(180deg, #deba67, #c79d42) !important;
}

.reference-home .reference-hero {
  padding: 3.4rem 0 0;
  position: relative;
}

.reference-home .reference-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: center;
}

.reference-home .reference-copy {
  padding: 1rem 0 3.3rem;
  max-width: 35rem;
}

.reference-home .reference-copy .eyebrow {
  color: #bf9031;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.reference-home .reference-copy h1 {
  margin-top: 0.75rem;
  max-width: 10.8ch;
  font-size: clamp(3rem, 5.6vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #101713;
}

.reference-home .reference-copy h1 span {
  display: inline;
  font-style: italic;
  font-weight: 600;
  color: #c69739;
}

.reference-home .reference-divider {
  width: 13rem;
  height: 2px;
  margin: 1.75rem 0 1.65rem;
  background: linear-gradient(90deg, #c69739, rgba(198, 151, 57, 0.22));
}

.reference-home .reference-lead {
  max-width: 29rem;
  color: rgba(40, 49, 40, 0.9);
  font-size: 1.28rem;
  line-height: 1.7;
}

.reference-home .hero-actions {
  margin-top: 1.7rem;
  gap: 0.9rem;
}

.reference-home .reference-copy .button.solid {
  background: linear-gradient(180deg, #143227, #10261e) !important;
  color: #e9c86e !important;
  border: 1px solid rgba(199, 158, 67, 0.22);
  box-shadow: 0 16px 30px rgba(16, 38, 30, 0.18) !important;
}

.reference-home .reference-copy .button.ghost {
  background: rgba(252, 247, 238, 0.72) !important;
  border: 1px solid rgba(186, 141, 48, 0.66) !important;
  color: #b18427 !important;
}

.reference-home .reference-visual {
  min-height: 35rem;
}

.reference-home .reference-visual-frame {
  position: relative;
  min-height: 35rem;
  overflow: hidden;
  border-radius: 2.2rem;
  border: 1px solid rgba(212, 183, 112, 0.18);
  box-shadow: 0 30px 55px rgba(42, 35, 22, 0.14);
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 251, 242, 0.9), transparent 34%),
    linear-gradient(115deg, rgba(250, 245, 236, 0.88) 0%, rgba(248, 243, 234, 0.74) 35%, rgba(240, 233, 220, 0.92) 100%);
}

.reference-home .reference-visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 251, 242, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.12));
  pointer-events: none;
}

.reference-home .reference-visual-badge {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  z-index: 1;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(16, 38, 30, 0.82);
  color: #e9c86e;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(214, 173, 77, 0.16);
}

.reference-home .reference-floating-card {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 1;
  width: 13.6rem;
  padding: 1rem 1rem 0.95rem;
  border-radius: 1.2rem;
  background: rgba(255, 251, 242, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(186, 141, 48, 0.16);
  box-shadow: 0 16px 26px rgba(95, 82, 54, 0.1);
}

.reference-home .reference-floating-card p {
  margin: 0;
  color: #183022;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reference-home .reference-floating-line {
  height: 0.72rem;
  margin-top: 0.7rem;
  border-radius: 999px;
  background: rgba(121, 132, 116, 0.26);
}

.reference-home .reference-floating-line.wide {
  width: 100%;
}

.reference-home .reference-floating-line:not(.wide) {
  width: 78%;
}

.reference-home .reference-floating-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.reference-home .reference-floating-stats span {
  display: block;
  padding: 0.42rem 0.3rem;
  border-radius: 0.75rem;
  text-align: center;
  background: rgba(245, 236, 214, 0.88);
  color: #6e571f;
  font-size: 0.66rem;
  font-weight: 700;
}

.reference-home .reference-window-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(102deg, rgba(255, 255, 255, 0) 0%, rgba(255, 252, 243, 0.28) 48%, rgba(255, 252, 243, 0.62) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06));
}

.reference-home .reference-window-glow::before,
.reference-home .reference-window-glow::after {
  content: "";
  position: absolute;
  top: -4%;
  width: 22%;
  height: 78%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.06));
  filter: blur(1px);
  transform: skewX(-8deg);
}

.reference-home .reference-window-glow::before {
  right: 26%;
}

.reference-home .reference-window-glow::after {
  right: 8%;
}

.reference-home .reference-desk-scene {
  position: absolute;
  inset: 0;
}

.reference-home .reference-desk-scene::before {
  content: "";
  position: absolute;
  left: 38%;
  right: -8%;
  bottom: 12%;
  height: 26%;
  border-radius: 2rem 0 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(238, 230, 214, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.reference-home .reference-pencil-cup {
  position: absolute;
  right: 35%;
  bottom: 22%;
  width: 3.3rem;
  height: 4.3rem;
  border-radius: 1rem 1rem 0.9rem 0.9rem;
  background: linear-gradient(180deg, #ece3cf, #d7c7a4);
  box-shadow: 0 14px 22px rgba(120, 105, 70, 0.12);
}

.reference-home .reference-pencil-cup span {
  position: absolute;
  bottom: 3.4rem;
  width: 0.34rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #e3b64e, #c49133);
}

.reference-home .reference-pencil-cup span:nth-child(1) {
  left: 0.9rem;
  height: 2.3rem;
  transform: rotate(-14deg);
}

.reference-home .reference-pencil-cup span:nth-child(2) {
  left: 1.45rem;
  height: 2.1rem;
}

.reference-home .reference-pencil-cup span:nth-child(3) {
  left: 2rem;
  height: 2.5rem;
  transform: rotate(12deg);
}

.reference-home .reference-mug {
  position: absolute;
  right: 22%;
  bottom: 20.5%;
  width: 4.3rem;
  height: 4.5rem;
  border-radius: 0.7rem 0.7rem 1rem 1rem;
  background: linear-gradient(180deg, #42413d, #242322);
  box-shadow: 0 14px 22px rgba(33, 29, 22, 0.16);
}

.reference-home .reference-mug::after {
  content: "";
  position: absolute;
  right: -1.1rem;
  top: 1rem;
  width: 1.25rem;
  height: 1.55rem;
  border: 0.22rem solid #3a3836;
  border-left: 0;
  border-radius: 0 1rem 1rem 0;
}

.reference-home .reference-plant {
  position: absolute;
  right: 6%;
  bottom: 17.5%;
  width: 10rem;
  height: 16rem;
}

.reference-home .reference-plant .leaf {
  position: absolute;
  bottom: 3.9rem;
  left: 50%;
  width: 2.25rem;
  height: 7.4rem;
  transform-origin: bottom center;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(180deg, #4d733a, #16331b);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.reference-home .reference-plant .leaf-a { transform: translateX(-50%) rotate(-54deg); }
.reference-home .reference-plant .leaf-b { transform: translateX(-50%) rotate(-28deg); height: 8rem; }
.reference-home .reference-plant .leaf-c { transform: translateX(-50%) rotate(-8deg); height: 8.5rem; }
.reference-home .reference-plant .leaf-d { transform: translateX(-50%) rotate(12deg); height: 8.8rem; }
.reference-home .reference-plant .leaf-e { transform: translateX(-50%) rotate(32deg); height: 8rem; }
.reference-home .reference-plant .leaf-f { transform: translateX(-50%) rotate(52deg); }
.reference-home .reference-plant .leaf-g { transform: translateX(-50%) rotate(72deg); height: 7rem; }
.reference-home .reference-plant .leaf-h { transform: translateX(-50%) rotate(-74deg); height: 6.8rem; }

.reference-home .reference-pot {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 7.2rem;
  height: 6.2rem;
  transform: translateX(-50%);
  border-radius: 1.1rem 1.1rem 1.5rem 1.5rem;
  background: linear-gradient(180deg, #efe8d5, #d7c7a8);
  box-shadow: 0 14px 22px rgba(120, 105, 70, 0.12);
}

.reference-home .reference-pot::before {
  content: "";
  position: absolute;
  left: -0.35rem;
  right: -0.35rem;
  top: 0.25rem;
  height: 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f5efdf, #ded0b3);
}

.reference-home .reference-notebook {
  position: absolute;
  left: 54%;
  bottom: 10%;
  width: 10.4rem;
  height: 1.6rem;
  transform: rotate(8deg);
  border-radius: 0.35rem;
  background: linear-gradient(180deg, #f3e6c7, #e2cfab);
  box-shadow: 0 18px 24px rgba(120, 105, 70, 0.14);
}

.reference-home .reference-notebook::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  top: 0.12rem;
  bottom: 0.12rem;
  width: 0.8rem;
  background: repeating-linear-gradient(180deg, rgba(77, 77, 77, 0.9) 0 2px, transparent 2px 5px);
}

.reference-home .reference-pen {
  position: absolute;
  left: 64%;
  bottom: 13.2%;
  width: 4.5rem;
  height: 0.35rem;
  transform: rotate(10deg);
  border-radius: 999px;
  background: linear-gradient(90deg, #8b6b2b, #d2a84a);
  box-shadow: 0 8px 14px rgba(120, 105, 70, 0.12);
}

.reference-home .reference-laptop {
  position: absolute;
  right: 2.4%;
  bottom: 8%;
  width: 15.3rem;
  height: 10.6rem;
  transform: perspective(720px) rotateX(17deg) rotateY(-22deg);
}

.reference-home .reference-screen {
  position: absolute;
  right: 0;
  top: 0;
  width: 11rem;
  height: 7.4rem;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04)), linear-gradient(180deg, #f4f6f7, #c9d0d4 60%, #abb4ba);
  border: 0.28rem solid #8b949b;
  box-shadow: 0 18px 26px rgba(66, 74, 77, 0.12);
}

.reference-home .reference-screen::after {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border-radius: 0.3rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.06)), linear-gradient(180deg, #f8f8f6, #dfe4e8);
}

.reference-home .reference-base {
  position: absolute;
  right: 1.2rem;
  bottom: 0;
  width: 11.5rem;
  height: 3rem;
  border-radius: 0.55rem 0.55rem 1rem 1rem;
  background: linear-gradient(180deg, #c9d0d4, #9ea7ad);
  box-shadow: 0 16px 24px rgba(66, 74, 77, 0.16);
}

.reference-home .reference-base::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  top: 0.55rem;
  height: 0.95rem;
  border-radius: 0.32rem;
  background: repeating-linear-gradient(90deg, rgba(94, 103, 108, 0.92) 0 6px, rgba(202, 210, 214, 0.95) 6px 8px);
}

.reference-home .reference-base::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  width: 1.65rem;
  height: 0.3rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(126, 135, 140, 0.82);
}

.reference-home .reference-service-grid {
  position: relative;
  z-index: 1;
  margin-top: -2.35rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reference-home .reference-service-card,
.reference-home .reference-detail-card,
.reference-home .reference-price-card {
  background: rgba(251, 246, 236, 0.98);
  border: 1px solid rgba(125, 102, 58, 0.08);
  border-radius: 1.7rem;
  box-shadow: 0 18px 34px rgba(52, 43, 28, 0.08);
}

.reference-home .reference-service-card {
  padding: 1.55rem 1.35rem 1.45rem;
  text-align: center;
}

.reference-home .reference-service-icon {
  width: 4.1rem;
  height: 4.1rem;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 1.25rem;
  color: #be9131;
  background: linear-gradient(180deg, rgba(255, 248, 230, 0.94), rgba(247, 237, 213, 0.96));
  border: 1px solid rgba(190, 145, 49, 0.2);
}

.reference-home .reference-service-icon svg {
  width: 2rem;
  height: 2rem;
}

.reference-home .reference-service-card h3,
.reference-home .reference-detail-card h3 {
  font-family: "Space Grotesk", "Segoe UI", Tahoma, sans-serif;
  font-size: 1.42rem;
  font-weight: 700;
  color: #101713;
}

.reference-home .reference-service-card p,
.reference-home .reference-detail-card p,
.reference-home .reference-price-card p {
  margin-top: 0.65rem;
  color: rgba(58, 67, 58, 0.84);
  font-size: 1rem;
  line-height: 1.6;
}

.reference-home .reference-strap {
  padding: 2rem 0 0.8rem;
}

.reference-home .reference-strap-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.reference-home .reference-strap-line span {
  width: min(12vw, 4.3rem);
  height: 2px;
  border-radius: 999px;
  background: rgba(190, 145, 49, 0.55);
}

.reference-home .reference-strap-line p {
  font-size: 1.45rem;
  font-weight: 500;
  color: #2a342a;
  text-align: center;
}

.reference-home .section-block {
  padding: 2.2rem 0;
}

.reference-home .section-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto;
}

.reference-home .section-head h2,
.reference-home .reference-preview-copy h2,
.reference-home .reference-price-card h2,
.reference-home .reference-cta-card h2 {
  color: #101713;
}

.reference-home .section-head h2 {
  margin-top: 0.55rem;
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
}

.reference-home .reference-control-grid,
.reference-home .reference-core-grid {
  margin-top: 1.35rem;
  display: grid;
  gap: 1rem;
}

.reference-home .reference-control-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reference-home .reference-core-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reference-home .reference-detail-card {
  padding: 1.45rem 1.35rem;
}

.reference-home .reference-preview {
  padding-top: 1.2rem;
}

.reference-home .reference-preview-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
}

.reference-home .reference-preview-copy h2 {
  margin-top: 0.5rem;
  font-size: clamp(2.3rem, 4vw, 3.3rem);
}

.reference-home .reference-preview-copy p {
  margin-top: 0.9rem;
  color: rgba(58, 67, 58, 0.84);
  font-size: 1.08rem;
  line-height: 1.7;
}

.reference-home .reference-preview-card {
  overflow: hidden;
  border-radius: 2rem;
  background: rgba(251, 246, 237, 0.98);
  border: 1px solid rgba(125, 102, 58, 0.08);
  box-shadow: 0 22px 40px rgba(52, 43, 28, 0.09);
}

.reference-home .reference-preview-toolbar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.95rem 1.1rem;
  background: linear-gradient(180deg, #143227, #10261e);
}

.reference-home .reference-preview-toolbar span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(255, 248, 229, 0.48);
}

.reference-home .reference-preview-pill {
  margin-left: auto;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(214, 173, 77, 0.18);
  color: #efd287;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(214, 173, 77, 0.22);
}

.reference-home .reference-preview-body {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  min-height: 26rem;
}

.reference-home .reference-preview-side {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: 1rem 0.8rem;
  background: rgba(233, 226, 208, 0.62);
  border-right: 1px solid rgba(125, 102, 58, 0.08);
}

.reference-home .reference-preview-nav {
  height: 0.92rem;
  border-radius: 999px;
  background: rgba(143, 152, 138, 0.46);
}

.reference-home .reference-preview-nav.active {
  background: linear-gradient(90deg, #d0a44a, #f0ddaf);
}

.reference-home .reference-preview-nav.short {
  width: 68%;
}

.reference-home .reference-preview-main {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
}

.reference-home .reference-preview-banner {
  height: 4rem;
  border-radius: 1.4rem;
  background: linear-gradient(135deg, rgba(16, 38, 30, 0.08), rgba(214, 173, 77, 0.18));
  border: 1px solid rgba(190, 145, 49, 0.18);
}

.reference-home .reference-preview-table {
  display: grid;
  gap: 0.75rem;
}

.reference-home .reference-preview-row {
  height: 1rem;
  border-radius: 999px;
  background: rgba(143, 152, 138, 0.38);
}

.reference-home .reference-preview-row.short {
  width: 72%;
}

.reference-home .reference-preview-summary {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reference-home .reference-preview-summary div {
  height: 4.5rem;
  border-radius: 1.2rem;
  background: rgba(239, 231, 213, 0.88);
  border: 1px solid rgba(125, 102, 58, 0.08);
}

.reference-home .reference-pricing {
  padding-top: 2.5rem;
}

.reference-home .reference-price-card {
  width: min(42rem, 100%);
  margin: 0 auto;
  padding: 1.9rem 1.7rem;
  text-align: center;
  border-top: 3px solid rgba(190, 145, 49, 0.74);
}

.reference-home .reference-price-card .price-line {
  justify-content: center;
}

.reference-home .reference-price-card .price-amount {
  color: #101713;
}

.reference-home .reference-price-card .price-period {
  color: #b18427;
}

.reference-home .reference-price-card ul {
  margin: 1.05rem auto 1.45rem;
  padding-left: 1.1rem;
  width: fit-content;
  text-align: left;
  color: rgba(58, 67, 58, 0.86);
  display: grid;
  gap: 0.45rem;
}

.reference-home .reference-final-cta {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.reference-home .reference-cta-card {
  padding: 2rem 1.6rem;
  text-align: center;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(11, 26, 18, 0.96), rgba(14, 31, 22, 0.97)),
    linear-gradient(135deg, rgba(214, 173, 77, 0.16), rgba(255, 248, 229, 0.04));
  border: 1px solid rgba(214, 173, 77, 0.18);
  box-shadow: 0 22px 42px rgba(8, 18, 13, 0.18);
}

.reference-home .reference-cta-card h2 {
  color: #fff5de;
}

.reference-home .reference-cta-card p {
  max-width: 38rem;
  margin: 0.95rem auto 0;
  color: rgba(248, 241, 223, 0.76);
}

.reference-home .reference-cta-card .button {
  margin-top: 1.3rem;
}

.reference-home .site-footer {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(125, 102, 58, 0.12);
  color: rgba(54, 65, 54, 0.8);
}

.reference-home .site-footer .shell-row {
  justify-content: center;
  gap: 1.5rem;
}

.reference-home .site-footer a {
  color: #7a5f2e;
}

@media (max-width: 1180px) {
  .reference-home .reference-service-grid,
  .reference-home .reference-control-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .reference-home .site-header .container {
    width: min(1280px, calc(100% - 1.8rem));
    min-height: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 0.35rem;
    padding-right: 0.15rem;
  }

  .reference-home .reference-hero-grid,
  .reference-home .reference-preview-grid,
  .reference-home .reference-core-grid {
    grid-template-columns: 1fr;
  }

  .reference-home .reference-copy {
    max-width: none;
    padding-bottom: 1rem;
  }

  .reference-home .reference-copy h1 {
    max-width: none;
  }

  .reference-home .reference-visual,
  .reference-home .reference-visual-frame {
    min-height: 29rem;
  }

  .reference-home .reference-crest {
    width: clamp(26rem, 68vw, 36rem);
    height: clamp(6.8rem, 12vw, 8rem);
    margin-right: -2.25rem;
  }

  .reference-home .reference-service-grid {
    margin-top: 1.2rem;
  }
}

@media (max-width: 760px) {
  .reference-home .site-nav {
    justify-content: center;
    gap: 0.95rem;
  }

  .reference-home .reference-brand {
    width: 100%;
    justify-content: center;
    padding-left: 0;
    gap: 1.2rem;
  }

  .reference-home .reference-crest {
    margin-right: 0;
  }

  .reference-home .shell-row {
    flex-direction: column;
  }

  .reference-home .reference-service-grid,
  .reference-home .reference-control-grid,
  .reference-home .reference-core-grid,
  .reference-home .reference-preview-summary {
    grid-template-columns: 1fr;
  }

  .reference-home .reference-preview-body {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .reference-home .reference-floating-card {
    left: 1rem;
    bottom: 1rem;
    width: 11.8rem;
  }

  .reference-home .reference-strap-line {
    gap: 0.8rem;
  }

  .reference-home .reference-strap-line p {
    font-size: 1.2rem;
  }
}

@media (max-width: 580px) {
  .reference-home .container {
    width: min(var(--max), calc(100% - 1.2rem));
  }

  .reference-home .reference-copy h1 {
    font-size: clamp(2.35rem, 10vw, 3.3rem);
  }

  .reference-home .reference-lead {
    font-size: 1.05rem;
  }

  .reference-home .reference-visual,
  .reference-home .reference-visual-frame {
    min-height: 22rem;
  }

  .reference-home .reference-visual-frame {
    border-radius: 1.6rem;
  }

  .reference-home .reference-crest {
    width: min(100%, 24rem);
    height: 5.7rem;
  }

  .reference-home .reference-plant {
    right: 2%;
    width: 8rem;
    height: 13rem;
  }

  .reference-home .reference-laptop {
    right: 1%;
    width: 11.5rem;
    height: 8rem;
  }

  .reference-home .reference-screen {
    width: 8rem;
    height: 5.6rem;
  }

  .reference-home .reference-base {
    width: 8.7rem;
    height: 2.3rem;
  }

  .reference-home .reference-notebook {
    width: 7.8rem;
  }

  .reference-home .reference-floating-card {
    left: 0.8rem;
    bottom: 0.8rem;
    width: 10.6rem;
    padding: 0.8rem;
  }

  .reference-home .reference-service-card,
  .reference-home .reference-detail-card,
  .reference-home .reference-price-card,
  .reference-home .reference-cta-card {
    border-radius: 1.35rem;
  }
}

/* ---- £59 unified site chrome ---- */
:root {
  --bg: #f4eee3;
  --bg-soft: #efe6d8;
  --surface: #f6f0e6;
  --text: #121821;
  --muted: #4f555a;
  --line: rgba(199, 154, 60, 0.18);
  --brand: #203b31;
  --brand-deep: #142720;
  --accent: #c79a3c;
  --accent-soft: #d8b56b;
  --shadow: 0 18px 40px rgba(18, 24, 33, 0.08);
  --max: 1200px;
}

body:not(.reference-home) {
  background: #f4eee3 !important;
  color: #121821 !important;
}

body:not(.reference-home).auth-page {
  background:
    radial-gradient(circle at 10% -4%, rgba(199, 154, 60, 0.12), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(32, 59, 49, 0.09), transparent 38%),
    #f4eee3 !important;
}

body:not(.reference-home) .site-header,
.app-page .app-header {
  background: linear-gradient(90deg, #09120f 0%, #0e1714 52%, #09120f 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  backdrop-filter: none;
}

body:not(.reference-home) .shell-row,
.app-page .shell-row {
  min-height: 96px;
  gap: 1.35rem;
}

body:not(.reference-home) .brand,
.app-page .brand {
  gap: 0;
  min-width: 0;
}

body:not(.reference-home) .brand-mark,
.app-page .brand-mark {
  display: none !important;
}

body:not(.reference-home) .brand strong,
.app-page .brand strong {
  display: block;
  width: clamp(190px, 24vw, 360px);
  height: clamp(3.05rem, 5vw, 3.9rem);
  background: url("approved-header-logo-transparent.png") left center / contain no-repeat !important;
  color: transparent;
}

body:not(.reference-home) .brand strong span,
.app-page .brand strong span {
  opacity: 0;
}

body:not(.reference-home) .brand small {
  display: none !important;
}

.app-page .brand small {
  margin-top: 0.35rem;
  color: rgba(242, 239, 232, 0.74) !important;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body:not(.reference-home) .site-nav {
  gap: 1rem;
}

body:not(.reference-home) .site-nav > a:not(.button) {
  position: relative;
  color: rgba(242, 239, 232, 0.88) !important;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body:not(.reference-home) .site-nav > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: #c79a3c;
}

body:not(.reference-home) .site-nav > .button.solid,
.app-page .button.solid {
  background: #c79a3c !important;
  color: #faf5e8 !important;
  box-shadow: 0 10px 20px rgba(199, 154, 60, 0.18) !important;
}

body:not(.reference-home) .button.ghost,
.app-page .button.ghost {
  border-color: rgba(199, 154, 60, 0.18) !important;
  background: rgba(250, 245, 232, 0.9) !important;
  color: #162033 !important;
}

body:not(.reference-home) .hero-copy,
body:not(.reference-home) .hero-panel,
body:not(.reference-home) .feature-card,
body:not(.reference-home) .price-box,
body:not(.reference-home) .auth-card,
body:not(.reference-home) .auth-aside,
body:not(.reference-home) .panel,
body:not(.reference-home) .legal-card,
.app-page .sidebar,
.app-page .panel,
.app-page .stat-card,
.app-page .setting-card,
.app-page .panel-inner,
.app-page .meeting-panel,
.app-page .item,
.app-page .day-cell,
.app-page .viewer-frame {
  background: #f6f0e6 !important;
  border-color: rgba(199, 154, 60, 0.14) !important;
  box-shadow: 0 18px 40px rgba(18, 24, 33, 0.08) !important;
}

body:not(.reference-home) h1,
body:not(.reference-home) h2,
body:not(.reference-home) h3,
body:not(.reference-home) .lead,
body:not(.reference-home) .panel-note,
body:not(.reference-home) p,
body:not(.reference-home) li,
body:not(.reference-home) label,
body:not(.reference-home) span,
.app-page h1,
.app-page h2,
.app-page h3,
.app-page strong,
.app-page p,
.app-page li,
.app-page label,
.app-page span {
  color: #121821;
}

body:not(.reference-home) .eyebrow,
.app-page .eyebrow,
.app-page .tag,
.app-page .day-pill {
  color: #c79a3c !important;
}

.app-page {
  background:
    radial-gradient(circle at 12% -8%, rgba(199, 154, 60, 0.08), transparent 30%),
    radial-gradient(circle at 88% 0%, rgba(32, 59, 49, 0.1), transparent 40%),
    #f4eee3 !important;
  color: #121821;
}

.app-page .side-nav a {
  color: #4f555a;
}

.storage-meter {
  width: 100%;
  height: 0.7rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(18, 24, 33, 0.08);
  border: 1px solid rgba(199, 154, 60, 0.18);
  margin: 1rem 0;
}

.storage-meter > span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c79a3c, #203b31);
  transition: width 220ms ease;
}

.storage-meter.storage-meter--warning > span {
  background: linear-gradient(90deg, #d8a23a, #b7791f);
}

.storage-meter.storage-meter--danger > span {
  background: linear-gradient(90deg, #c55f36, #8f2d22);
}

.storage-overview {
  margin: 1.25rem 0 1.6rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(199, 154, 60, 0.2);
  border-radius: 1.1rem;
  background: rgba(255, 252, 245, 0.58);
  box-shadow: 0 1rem 2.5rem rgba(18, 24, 33, 0.06);
}

.storage-summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.storage-summary-line .panel-note {
  margin: 0;
}

.storage-notice {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-weight: 700;
}

.storage-notice--warning {
  color: #9f6a10;
}

.storage-notice--danger {
  color: #9b2c1f;
}

.compact-grid {
  margin-top: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.storage-addon-card {
  padding: 1rem !important;
}

.storage-section {
  scroll-margin-top: var(--app-header-clearance, 7rem);
}

.storage-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.storage-addon-heading {
  margin-top: 1rem;
}

.storage-usage-row {
  align-items: center;
}

.storage-usage-row strong {
  color: #121821;
  text-align: right;
  white-space: nowrap;
}

.storage-usage-row strong span {
  color: #6b5a35;
  font-size: 0.78rem;
  font-weight: 700;
}

.app-page .side-nav a:hover {
  background: rgba(199, 154, 60, 0.08) !important;
  border-color: rgba(199, 154, 60, 0.14) !important;
  color: #121821 !important;
}

.app-page .side-nav a.active {
  color: #121821 !important;
  border-color: rgba(199, 154, 60, 0.2) !important;
  background: rgba(199, 154, 60, 0.14) !important;
}

.app-page .page-header p,
.app-page .sidebar-note p,
.app-page .panel-note,
.app-page .lead,
.app-page .hero-points,
.app-page .mini-stack p {
  color: #4f555a !important;
}

.app-page input,
.app-page textarea,
.app-page .field-select,
body:not(.reference-home) input,
body:not(.reference-home) textarea,
body:not(.reference-home) .field-select {
  background: rgba(255, 252, 247, 0.94) !important;
  border-color: rgba(199, 154, 60, 0.16) !important;
  color: #121821 !important;
  -webkit-text-fill-color: #121821 !important;
}

.app-page .day-inspector__backdrop {
  background: rgba(27, 37, 32, 0.24) !important;
}

.app-page .day-inspector__panel,
.app-page .client-day-summary__card,
.app-page .day-schedule__time,
.app-page .day-schedule__slot,
.app-page .day-schedule__continuation,
.app-page .timeline-item {
  background: #f6f0e6 !important;
  border-color: rgba(199, 154, 60, 0.14) !important;
}

body:not(.reference-home) .site-footer,
.app-page .site-footer {
  border-top: 1px solid rgba(199, 154, 60, 0.14) !important;
}

body:not(.reference-home) .site-footer a,
.app-page .site-footer a {
  color: #5b5f58 !important;
}

@media (max-width: 820px) {
  body:not(.reference-home) .shell-row,
  .app-page .shell-row {
    min-height: 84px;
  }

  body:not(.reference-home) .brand strong,
  .app-page .brand strong {
    width: clamp(250px, 32vw, 290px);
  }
}

@media (max-width: 620px) {
  body:not(.reference-home) .shell-row,
  .app-page .shell-row {
    min-height: 76px;
  }

  body:not(.reference-home) .brand strong,
  .app-page .brand strong {
    width: clamp(170px, 42vw, 220px);
    height: clamp(2.1rem, 9vw, 2.8rem);
  }

  body:not(.reference-home) .site-nav {
    gap: 0.75rem;
  }

  body:not(.reference-home) .site-nav > a:not(.button) {
    font-size: 12.5px;
    letter-spacing: 0.06em;
  }
}

/* --- Fluid page scale correction --- */
html {
  font-size: clamp(16px, 0.24vw + 13px, 24px);
}

:root {
  --max: 1760px;
}

.container {
  width: min(var(--max), calc(100% - clamp(1.25rem, 3.2vw, 5.5rem)));
}

body:not(.reference-home) .shell-row,
.app-page .shell-row {
  min-height: clamp(5.25rem, 4.2vw, 6.5rem);
  gap: clamp(1rem, 1.7vw, 2rem);
}

body:not(.reference-home) .brand strong,
.app-page .brand strong {
  width: clamp(230px, 21vw, 430px);
  height: clamp(3rem, 4.1vw, 4.7rem);
}

body:not(.reference-home) .site-nav {
  gap: clamp(0.8rem, 1.15vw, 1.55rem);
}

body:not(.reference-home) .site-nav > a:not(.button) {
  font-size: clamp(0.88rem, 0.16vw + 0.76rem, 1.02rem);
}

body:not(.reference-home) .site-nav > .button.solid,
.app-page .button.solid {
  min-height: clamp(2.55rem, 2vw, 3.1rem);
  padding-inline: clamp(1rem, 1vw, 1.45rem);
}

.site-footer {
  padding-block: clamp(1rem, 1.6vw, 2.35rem);
}

.site-footer .container,
.legal-footer .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 1.8vw, 2.5rem);
  flex-wrap: wrap;
}

.workspace.container {
  width: min(1880px, calc(100% - clamp(1.25rem, 3vw, 5.5rem)));
  grid-template-columns: clamp(14rem, 14vw, 20rem) minmax(0, 1fr);
  gap: clamp(1rem, 1.8vw, 2.5rem);
}

.app-main {
  gap: clamp(1rem, 1.35vw, 1.75rem);
}

.page-header h1 {
  font-size: clamp(1.9rem, 1.1rem + 1.6vw, 3.25rem);
}

.stats-grid {
  gap: clamp(0.8rem, 1.1vw, 1.4rem);
}

.panel,
.stat-card,
.setting-card,
.sidebar {
  padding: clamp(1rem, 1.25vw, 1.55rem);
}

body:not(.reference-home) .hero {
  padding-block: clamp(3rem, 4.4vw, 6rem) clamp(2.2rem, 3vw, 4.2rem);
}

body:not(.reference-home) .hero-grid,
body:not(.reference-home) .grid-two,
body:not(.reference-home) .about-grid,
body:not(.reference-home) .access-layout {
  gap: clamp(1.4rem, 2.1vw, 3.25rem);
}

body:not(.reference-home) .hero-copy h1 {
  font-size: clamp(2.25rem, 1.15rem + 3.25vw, 5rem);
}

body:not(.reference-home) .lead,
body:not(.reference-home) .panel-note,
body:not(.reference-home) .legal-card p,
body:not(.reference-home) .legal-card li {
  font-size: clamp(1rem, 0.84rem + 0.28vw, 1.22rem);
}

@media (min-width: 1900px) {
  :root {
    --max: 2120px;
  }

  .workspace.container {
    width: min(2200px, calc(100% - clamp(2rem, 3vw, 6rem)));
  }

  body:not(.reference-home) .brand strong,
  .app-page .brand strong {
    width: clamp(350px, 19vw, 500px);
    height: clamp(3.9rem, 3.8vw, 5.35rem);
  }
}

@media (max-width: 760px) {
  body:not(.reference-home) .shell-row,
  .app-page .shell-row {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 0.75rem 0.9rem;
  }

  body:not(.reference-home) .site-nav,
  .app-page .app-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .workspace.container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  html {
    font-size: 16px;
  }

  .container,
  .workspace.container {
    width: min(var(--max), calc(100% - 1.2rem));
  }

  body:not(.reference-home) .brand strong,
  .app-page .brand strong {
    width: clamp(170px, 42vw, 230px);
    height: clamp(2.1rem, 9vw, 2.85rem);
  }
}

/* ---- Landing Page Fluid Scaling ---- */
body.landing-page {
  --landing-max: 1680px;
  --landing-gutter: clamp(1rem, 2.8vw, 2.9rem);
  --landing-header-gutter: clamp(0.85rem, 2vw, 2rem);
  --landing-block-gap: clamp(1.7rem, 1.1rem + 1.25vw, 2.65rem);
  --landing-card-pad: clamp(1.35rem, 1rem + 1.1vw, 2.35rem);
}

.landing-page .container {
  width: min(var(--landing-max), calc(100% - (var(--landing-gutter) * 2)));
}

.landing-page .site-header .container {
  width: calc(100% - (var(--landing-header-gutter) * 2));
  max-width: none;
}

.landing-page .site-header .shell-row {
  display: grid;
  grid-template-columns: minmax(max-content, auto) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 1.8vw, 2.2rem);
}

.landing-page .brand {
  justify-self: start;
  gap: clamp(0.68rem, 0.45rem + 0.55vw, 0.95rem);
}

.landing-page .brand strong {
  font-size: clamp(1.16rem, 0.94rem + 0.82vw, 1.58rem);
}

.landing-page .brand small {
  font-size: clamp(0.58rem, 0.5rem + 0.18vw, 0.72rem);
}

.landing-page .site-nav {
  min-width: 0;
  justify-self: end;
  justify-content: flex-end;
  gap: clamp(0.4rem, 0.28rem + 0.45vw, 0.8rem);
  flex-wrap: nowrap;
}

.landing-page .site-nav > a {
  white-space: nowrap;
}

.landing-page .site-nav .button {
  padding-inline: clamp(0.85rem, 0.72rem + 0.4vw, 1.16rem);
}

.landing-page .hero {
  padding: clamp(3.6rem, 4.5vw, 5.5rem) 0 clamp(2rem, 2.6vw, 3.15rem);
}

.landing-page .hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
}

.landing-page .hero-grid,
.landing-page .preview-grid {
  gap: clamp(1.2rem, 0.95rem + 1.1vw, 2.3rem);
}

.landing-page .hero-copy,
.landing-page .hero-panel,
.landing-page .price-box,
.landing-page .cta-panel {
  padding: var(--landing-card-pad);
}

.landing-page .hero-copy h1 {
  font-size: clamp(2.85rem, 2.05rem + 2.9vw, 5rem);
}

.landing-page .lead,
.landing-page .preview-copy p,
.landing-page .value-card p,
.landing-page .control-card p,
.landing-page .feature-card p,
.landing-page .price-box p,
.landing-page .cta-panel p {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.12rem);
}

.landing-page .lead {
  max-width: 62ch;
}

.landing-page .section-block {
  padding: var(--landing-block-gap) 0;
}

.landing-page .section-head h2,
.landing-page .preview-copy h2,
.landing-page .price-box h2,
.landing-page .cta-panel h2 {
  font-size: clamp(2.05rem, 1.45rem + 1.9vw, 3.3rem);
}

.landing-page .value-grid,
.landing-page .feature-grid,
.landing-page .control-grid {
  gap: clamp(0.9rem, 0.72rem + 0.45vw, 1.25rem);
}

.landing-page .value-card,
.landing-page .control-card,
.landing-page .feature-card {
  padding: clamp(1.15rem, 0.92rem + 0.55vw, 1.55rem);
}

.landing-page .pricing-wrap {
  place-items: stretch;
}

.landing-page .price-box {
  width: min(100%, 52rem);
  justify-self: center;
}

.landing-page .price-amount {
  font-size: clamp(3rem, 2.35rem + 2.45vw, 4.35rem);
}

.landing-page .cta-panel p {
  max-width: 44rem;
}

@media (max-width: 1120px) {
  .landing-page .site-nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .landing-page .site-header .shell-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .landing-page .site-nav {
    width: 100%;
    justify-self: stretch;
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .landing-page .hero-grid,
  .landing-page .preview-grid,
  .landing-page .value-grid,
  .landing-page .feature-grid {
    grid-template-columns: 1fr;
  }

  .landing-page .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .landing-page .container {
    width: min(var(--landing-max), calc(100% - 1.4rem));
  }

  .landing-page .site-nav .button {
    width: auto;
  }
}

.topic-box {
  min-height: 120px;
  line-height: 1.55;
  resize: vertical;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.details-box {
  min-height: 150px;
}

.pricing-suitability-note {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid #d6b25e;
  border-radius: 0.85rem;
  background: rgba(214, 178, 94, 0.13);
  color: #111827;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.addon-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
  margin: 1.1rem 0 1.2rem;
}

.addon-column {
  padding: 1rem;
  border: 1px solid rgba(214, 178, 94, 0.18);
  border-radius: 1rem;
  background: transparent;
  box-shadow: none;
}

.addon-column h4 {
  margin: 0 0 0.75rem;
  color: #111827;
  font-size: clamp(1rem, 0.94rem + 0.2vw, 1.12rem);
}

.addon-column ul {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .addon-columns {
    grid-template-columns: 1fr;
  }
}
