:root {
  --product-ink: #132d2a;
  --product-muted: #647773;
  --product-teal: #0a6a61;
  --product-teal-deep: #064d48;
  --product-mint: #e7f2ee;
  --product-warm: #d6a84c;
  --product-canvas: #f2f6f3;
  --product-line: rgba(19, 45, 42, 0.13);
  --product-shadow: 0 28px 80px rgba(19, 45, 42, 0.12);
  --product-font: "Segoe UI Variable Text", "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Noto Sans", sans-serif;
  --product-display-font: "Segoe UI Variable Display", "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Noto Sans", sans-serif;
}

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(87, 164, 145, 0.16), transparent 31rem),
    radial-gradient(circle at 94% 13%, rgba(214, 168, 76, 0.12), transparent 28rem),
    linear-gradient(180deg, #f8faf8 0, var(--product-canvas) 38rem, #f8faf8 100%);
  color: var(--product-ink);
  font-family: var(--product-font);
  font-optical-sizing: auto;
}

h1,
h2,
h3 {
  font-family: var(--product-display-font);
}

button,
select,
input,
textarea {
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(10, 106, 97, 0.2);
  outline-offset: 2px;
}

.site-header {
  width: min(1180px, calc(100% - 56px));
  height: 78px;
}

.brand {
  gap: 11px;
  color: var(--product-ink);
  font-size: 16px;
  font-weight: 700;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(7, 90, 87, 0.22);
}

.header-actions {
  gap: 12px;
}

.language-picker select,
.nav-action {
  min-height: 40px;
  border: 1px solid var(--product-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.language-picker select {
  padding: 0 12px;
}

.nav-action {
  padding: 0 16px;
  color: var(--product-teal-deep);
  font-weight: 650;
}

.nav-action:hover {
  border-color: rgba(10, 106, 97, 0.24);
  background: #fff;
}

.page-shell {
  width: min(1180px, calc(100% - 56px));
  margin: 54px auto 86px;
}

.intro-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, 0.78fr);
  gap: clamp(42px, 6vw, 84px);
  align-items: center;
  margin-bottom: 42px;
}

.intro-main {
  position: relative;
  padding: 10px 0 16px;
}

.intro-main::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 180px;
  height: 180px;
  top: -34px;
  left: -70px;
  border: 1px solid rgba(10, 106, 97, 0.13);
  border-radius: 50%;
  box-shadow: inset 0 0 0 28px rgba(255, 255, 255, 0.25);
}

.eyebrow,
.step-label,
.journey-kicker {
  color: var(--product-teal);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.intro-main h1 {
  max-width: 650px;
  font-size: clamp(46px, 5.4vw, 66px);
  font-weight: 650;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.intro-copy {
  max-width: 630px;
  margin-top: 18px;
  color: var(--product-muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
}

.hero-skip {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 46px;
  margin-top: 22px;
  padding: 5px 7px 5px 16px;
  border: 1px solid rgba(10, 106, 97, 0.2);
  border-radius: 999px;
  color: var(--product-muted);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 22px rgba(19, 45, 42, 0.06);
  font-size: 12px;
  text-decoration: none;
}

.hero-skip strong {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  color: white;
  background: var(--product-teal);
  font-size: 13px;
  font-weight: 650;
}

.hero-skip:hover {
  border-color: rgba(10, 106, 97, 0.35);
  background: white;
  transform: translateY(-1px);
}

.hero-skip:hover strong {
  background: var(--product-teal-deep);
}

.trust-list {
  gap: 9px 18px;
  margin-top: 20px;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  color: #536c67;
  background: transparent;
  font-size: 13px;
}

.trust-list li > span:first-child {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--product-teal);
  font-size: 10px;
}

.journey-card {
  position: relative;
  overflow: hidden;
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 26px;
  color: white;
  background:
    radial-gradient(circle at 100% 0%, rgba(110, 188, 168, 0.24), transparent 18rem),
    linear-gradient(145deg, #0b5e57, #083f3d);
  box-shadow: 0 24px 65px rgba(7, 77, 72, 0.23);
}

.journey-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -105px;
  bottom: -115px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.journey-card-heading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.journey-badge {
  flex: none;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #c9e7df;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.journey-card .journey-kicker {
  margin: 1px 0 6px;
  color: #a9d9ce;
}

.journey-card h2 {
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 620;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.journey-list {
  display: grid;
  gap: 0;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

.journey-list li {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 14px 0;
}

.journey-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: -2px;
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.2);
}

.journey-list li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #bce3d9;
  font-size: 10px;
}

.journey-list li div {
  display: grid;
  gap: 4px;
}

.journey-list strong {
  font-size: 14px;
  font-weight: 620;
}

.journey-list small {
  color: rgba(234, 247, 243, 0.68);
  font-size: 13px;
  line-height: 1.5;
}

.desk {
  scroll-margin-top: 18px;
  overflow: visible;
  border: 1px solid rgba(19, 45, 42, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--product-shadow);
  backdrop-filter: blur(20px);
}

.service-switcher {
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--product-line);
  border-radius: 28px 28px 0 0;
  background: #f7f9f7;
}

.service-switcher .tab {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  padding: 13px 16px;
  border: 1px solid transparent;
  border-radius: 17px;
  text-align: left;
}

.service-switcher .tab-secondary {
  display: none;
}

.service-switcher .tab:hover {
  border-color: rgba(10, 106, 97, 0.14);
  background: #fff;
}

.service-switcher .tab.active {
  border-color: rgba(10, 106, 97, 0.16);
  color: var(--product-ink);
  background: white;
  box-shadow: 0 8px 24px rgba(19, 45, 42, 0.08);
}

.tab-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, var(--product-teal), var(--product-teal-deep));
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tab-mark-proposal {
  color: #73581f;
  background: #f2e7cf;
  font-size: 18px;
}

.tab-copy {
  display: grid;
  gap: 3px;
}

.tab-copy strong {
  color: inherit;
  font-size: 15px;
  font-weight: 680;
}

.tab-copy small {
  color: var(--product-muted);
  font-size: 13px;
  font-weight: 450;
}

.tab-arrow {
  color: #91a09d;
  font-size: 18px;
}

.tab.active .tab-arrow {
  color: var(--product-teal);
  transform: translateX(2px);
}

.panel {
  padding: 42px 44px 48px;
}

.panel-heading-rich {
  margin-bottom: 28px;
}

.panel-heading-rich > div:first-child {
  max-width: 720px;
}

.panel-heading-rich .step-label {
  margin-bottom: 8px;
}

.panel-heading-rich h2 {
  color: var(--product-ink);
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.panel-description {
  max-width: 690px;
  margin: 9px 0 0;
  color: var(--product-muted);
  font-size: 15px;
  line-height: 1.6;
}

.availability,
.review-note {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--product-line);
  border-radius: 999px;
  color: var(--product-muted);
  background: #f8faf8;
}

.journey-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.journey-progress li {
  position: relative;
  display: flex;
  gap: 9px;
  align-items: center;
  color: #91a09d;
  font-size: 13px;
}

.journey-progress li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 16px;
  left: 38px;
  right: 8px;
  height: 1px;
  background: #dbe2df;
}

.journey-progress li > span {
  position: relative;
  z-index: 1;
  display: grid;
  flex: none;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #d7dfdc;
  border-radius: 50%;
  background: white;
  font-size: 11px;
  font-weight: 700;
}

.journey-progress li.active {
  color: var(--product-teal-deep);
}

.journey-progress li.active > span {
  border-color: var(--product-teal);
  color: white;
  background: var(--product-teal);
  box-shadow: 0 0 0 5px rgba(10, 106, 97, 0.09);
}

.journey-progress li.complete {
  color: var(--product-teal);
}

.journey-progress li.complete > span {
  border-color: #a9cec5;
  color: var(--product-teal);
  background: var(--product-mint);
}

.journey-progress li.complete:not(:last-child)::after {
  background: #9bc9bd;
}

.intake-start-layout,
.proposal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.45fr);
  gap: 18px;
  align-items: stretch;
}

.stage-guidance,
.proposal-guide {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: 20px;
  color: white;
  background:
    radial-gradient(circle at 0% 100%, rgba(106, 186, 166, 0.18), transparent 17rem),
    var(--product-teal-deep);
}

.guidance-number {
  display: inline-grid;
  min-width: 42px;
  height: 26px;
  place-items: center;
  margin-bottom: 46px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #b9ded5;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.stage-guidance .journey-kicker {
  margin: 0 0 9px;
  color: #a9d9ce;
}

.stage-guidance h3,
.proposal-guide h3 {
  margin: 0;
  color: white;
  font-size: 24px;
  font-weight: 620;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.stage-guidance > p:last-of-type {
  margin: 16px 0 0;
  color: rgba(235, 247, 243, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

.guidance-points {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  list-style: none;
}

.guidance-points li {
  position: relative;
  padding-left: 20px;
  color: rgba(242, 250, 248, 0.83);
  font-size: 13px;
  line-height: 1.5;
}

.guidance-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #87cbb9;
}

.profile-form-card,
.proposal-form-card {
  padding: 28px;
  border: 1px solid var(--product-line);
  border-radius: 20px;
  background: #fff;
}

.form-section-heading,
.form-divider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--product-line);
}

.form-section-heading > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.form-section-heading > div > span {
  color: var(--product-teal);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.form-section-heading strong,
.form-divider > span {
  color: var(--product-ink);
  font-size: 15px;
  font-weight: 670;
}

.form-section-heading small,
.form-divider small {
  color: #8c9996;
  font-size: 12px;
}

.ai-mode-intro {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--product-line);
  border-radius: 13px;
  background: #f8faf8;
}

.ai-mode-intro > div {
  display: grid;
  grid-template-columns: 9px 1fr;
  gap: 10px;
  align-items: start;
}

.ai-mode-intro p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.ai-mode-intro strong {
  color: var(--product-ink);
  font-size: 12px;
}

.ai-mode-intro small {
  color: var(--product-muted);
  font-size: 11px;
  line-height: 1.45;
}

.mode-dot {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
}

.mode-dot-inquiry { background: var(--product-teal); }
.mode-dot-explore { background: var(--product-warm); }

.mode-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #91a09d;
  font-size: 11px;
  text-transform: uppercase;
}

.mode-divider::before,
.mode-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--product-line);
}

.explore-skip-button {
  min-height: 48px;
  border: 1px solid rgba(10, 106, 97, 0.23);
  border-radius: 12px;
  color: var(--product-teal-deep);
  background: #fff;
  font-size: 13px;
  font-weight: 680;
}

.explore-skip-button:hover {
  border-color: var(--product-teal);
  background: var(--product-mint);
  transform: translateY(-1px);
}

.explore-skip-note {
  margin: -5px 0 0;
  color: #84938f;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.profile-form-card .form-grid,
.proposal-form-card .form-grid {
  gap: 15px 16px;
}

label > span {
  color: #314945;
  font-size: 13px;
  font-weight: 620;
}

input,
select,
textarea {
  border-color: rgba(19, 45, 42, 0.16);
  border-radius: 10px;
  background: #fbfcfb;
}

input,
select {
  height: 46px;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(10, 106, 97, 0.28);
}

.optional-fields {
  border-color: var(--product-line);
  border-radius: 12px;
  background: #fafcfa;
}

.primary-button {
  min-height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--product-teal), var(--product-teal-deep));
  box-shadow: 0 10px 24px rgba(7, 77, 72, 0.16);
  font-weight: 680;
}

.primary-button:hover {
  background: linear-gradient(135deg, #08776c, #064d48);
  transform: translateY(-1px);
}

.chat-workspace {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--product-line);
  border-radius: 22px;
  background: #fff;
}

.chat-workspace-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 82px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--product-line);
  background: #fbfcfb;
}

.assistant-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.assistant-avatar {
  display: grid;
  flex: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: white;
  background: linear-gradient(145deg, var(--product-teal), var(--product-teal-deep));
  box-shadow: 0 8px 18px rgba(7, 77, 72, 0.2);
  font-size: 16px;
  font-weight: 720;
}

.assistant-identity > div {
  display: grid;
  gap: 3px;
}

.assistant-identity strong {
  color: var(--product-ink);
  font-size: 14px;
  font-weight: 680;
}

.assistant-name-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-mode-badge {
  padding: 3px 7px;
  border: 1px solid rgba(10, 106, 97, 0.18);
  border-radius: 999px;
  color: var(--product-teal-deep);
  background: var(--product-mint);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.chat-workspace.explore-mode .chat-mode-badge {
  border-color: rgba(214, 168, 76, 0.3);
  color: #72571f;
  background: #f8eed9;
}

.assistant-identity > div > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--product-muted);
  font-size: 12px;
}

.assistant-identity i,
.live-indicator i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25a47c;
  box-shadow: 0 0 0 3px rgba(37, 164, 124, 0.12);
}

.chat-workspace-header > p {
  max-width: 590px;
  margin: 0;
  color: var(--product-muted);
  font-size: 12px;
  line-height: 1.55;
  text-align: right;
}

.chat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.78fr);
  min-height: 650px;
}

.chat-workspace.explore-mode .chat-grid {
  display: block;
  min-height: 650px;
}

.chat-workspace.explore-mode .conversation-pane {
  min-height: 650px;
  border-right: 0;
}

.conversation-pane,
.brief-pane {
  min-width: 0;
  padding: 24px;
}

.conversation-pane {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--product-line);
  background: #fff;
}

.brief-pane {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #f6f8f6;
}

.conversation-label,
.brief-pane-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.conversation-label {
  margin-bottom: 14px;
}

.conversation-label > span {
  color: var(--product-ink);
  font-size: 14px;
  font-weight: 680;
}

.conversation-label small {
  color: #8b9996;
  font-size: 12px;
}

.chat-log {
  flex: 1;
  height: 430px;
  min-height: 360px;
  padding: 22px 18px;
  border: 0;
  border-radius: 16px;
  background:
    linear-gradient(rgba(245, 248, 246, 0.92), rgba(245, 248, 246, 0.92)),
    radial-gradient(circle at 1px 1px, rgba(10, 106, 97, 0.16) 1px, transparent 0);
  background-size: auto, 18px 18px;
  scrollbar-color: #c7d4d0 transparent;
}

.message {
  position: relative;
  width: min(86%, 530px);
  margin-bottom: 15px;
  padding: 13px 15px;
  border: 1px solid rgba(19, 45, 42, 0.09);
  border-radius: 6px 16px 16px 16px;
  box-shadow: 0 4px 14px rgba(19, 45, 42, 0.05);
}

.message.user {
  border-color: rgba(10, 106, 97, 0.14);
  border-radius: 16px 6px 16px 16px;
  background: #dff0eb;
}

.message span {
  color: #7a8d89;
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.02em;
}

.message p {
  color: #27403c;
  font-size: 15px;
  line-height: 1.65;
}

.typing-indicator {
  width: 88px;
}

.typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 16px;
}

.typing-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--product-teal);
  animation: amana-thinking 1.1s infinite ease-in-out;
}

.typing-dots i:nth-child(2) { animation-delay: 140ms; }
.typing-dots i:nth-child(3) { animation-delay: 280ms; }

@keyframes amana-thinking {
  0%, 70%, 100% { opacity: 0.28; transform: translateY(0); }
  35% { opacity: 1; transform: translateY(-3px); }
}

.prompt-starter {
  gap: 9px;
  margin-top: 12px;
  padding: 0;
  border: 0;
}

.prompt-starter > span {
  color: #84938f;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prompt-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.prompt-chips button {
  min-height: 42px;
  padding: 8px 11px;
  border-color: var(--product-line);
  border-radius: 10px;
  color: #38524d;
  background: #fbfcfb;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}

.prompt-chips button:hover {
  border-color: rgba(10, 106, 97, 0.28);
  background: var(--product-mint);
  transform: translateY(-1px);
}

.chat-compose {
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 12px;
  padding: 7px;
  border: 1px solid rgba(19, 45, 42, 0.16);
  border-radius: 15px;
  background: white;
  box-shadow: 0 8px 24px rgba(19, 45, 42, 0.07);
}

.chat-compose:focus-within {
  border-color: var(--product-teal);
  box-shadow: 0 0 0 3px rgba(10, 106, 97, 0.1), 0 8px 24px rgba(19, 45, 42, 0.07);
}

.chat-compose textarea {
  min-height: 54px;
  padding: 9px 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.chat-compose textarea:focus {
  box-shadow: none;
}

.chat-compose button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 48px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--product-teal), var(--product-teal-deep));
  font-size: 12px;
}

.conversation-warning {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 12px 2px 0;
  color: #82918e;
  font-size: 11px;
  line-height: 1.5;
}

.conversation-warning > span:first-child {
  display: grid;
  flex: none;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid #bdc9c6;
  border-radius: 50%;
  font-size: 9px;
}

.status-message {
  min-height: 0;
  margin-top: 8px;
  font-size: 12px;
}

.brief-pane-heading {
  align-items: flex-start;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--product-line);
}

.brief-pane-heading .journey-kicker {
  margin: 0 0 5px;
}

.brief-pane-heading h3 {
  margin: 0;
  color: var(--product-ink);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.live-indicator {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #7a8d89;
  font-size: 10px;
  white-space: nowrap;
}

.brief-empty-state {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 28px;
  border: 1px dashed rgba(10, 106, 97, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.brief-empty-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 13px;
  color: var(--product-teal);
  background: var(--product-mint);
  font-size: 18px;
}

.brief-empty-state strong {
  color: var(--product-ink);
  font-size: 14px;
}

.brief-empty-state p {
  max-width: 260px;
  margin: 8px 0 0;
  color: var(--product-muted);
  font-size: 12px;
  line-height: 1.6;
}

.intake-review-panel {
  gap: 13px;
  padding: 0;
  border: 0;
  background: transparent;
}

.intake-review-title {
  color: var(--product-ink);
  font-size: 13px;
}

.brief-pane .intake-review-title {
  display: none;
}

.intake-review-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.intake-chip {
  display: grid;
  gap: 2px;
  min-width: 0;
  min-height: 44px;
  padding: 7px 9px;
  border-color: var(--product-line);
  border-radius: 10px;
  background: white;
}

.intake-chip span {
  overflow: hidden;
  color: #82918e;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intake-chip strong {
  overflow: hidden;
  color: #2d4641;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intake-readiness {
  padding: 12px;
  border: 1px solid var(--product-line);
  border-radius: 12px;
  background: #fff;
}

.intake-readiness-track {
  height: 5px;
}

.intake-working-brief {
  margin: 0;
  padding: 10px 11px;
  border-left-color: var(--product-teal);
  color: #38514d;
  background: rgba(231, 242, 238, 0.72);
  font-size: 12px;
  line-height: 1.6;
}

.intake-review-section {
  gap: 7px;
}

.intake-review-label {
  color: #7b8b88;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.intake-missing-list {
  gap: 5px;
}

.intake-missing-list span {
  min-height: 24px;
  padding: 3px 7px;
  border-color: var(--product-line);
  color: #516864;
  background: white;
  font-size: 10px;
}

.intake-review-section p {
  color: #435b57;
  font-size: 12px;
}

.handoff-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  margin-top: auto;
  padding: 15px;
  border: 1px solid rgba(10, 106, 97, 0.16);
  border-radius: 15px;
  background: #edf6f3;
}

.handoff-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: var(--product-teal);
  background: #d8ebe5;
  font-size: 9px;
  font-weight: 750;
}

.handoff-card > div {
  display: grid;
  gap: 4px;
}

.handoff-card strong {
  color: var(--product-ink);
  font-size: 13px;
}

.handoff-card p {
  margin: 0;
  color: var(--product-muted);
  font-size: 11px;
  line-height: 1.55;
}

.handoff-card .followup-submit {
  grid-column: 1 / -1;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  color: white;
  background: var(--product-teal);
  font-size: 12px;
  font-weight: 670;
}

.handoff-card .followup-submit:hover {
  background: var(--product-teal-deep);
}

.handoff-card .followup-submit:disabled {
  color: var(--product-teal-deep);
  background: #cfdfda;
}

.ai-tracking-area {
  justify-content: space-between;
  margin: 0;
  padding: 10px 12px;
  border-color: var(--product-line);
  border-radius: 11px;
  background: white;
}

.ai-tracking-area > div {
  display: grid;
  gap: 2px;
}

#aiTrackingCode {
  font-size: 11px;
}

.workspace-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 22px;
  border-top: 1px solid var(--product-line);
  color: #83918e;
  background: #fbfcfb;
  font-size: 11px;
}

.text-button {
  color: var(--product-teal);
  font-weight: 650;
}

.text-button:disabled {
  cursor: wait;
  opacity: 0.45;
}

.proposal-guide {
  color: white;
}

.proposal-guide .guidance-number {
  margin-bottom: 34px;
}

.proposal-guide ol {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  list-style: none;
}

.proposal-guide li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 11px;
}

.proposal-guide li > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  color: #b6ddd3;
  font-size: 10px;
}

.proposal-guide li div {
  display: grid;
  gap: 3px;
}

.proposal-guide li strong {
  font-size: 13px;
}

.proposal-guide li small {
  color: rgba(235, 247, 243, 0.67);
  font-size: 11px;
  line-height: 1.5;
}

.proposal-guide-note {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(235, 247, 243, 0.66);
  font-size: 11px;
  line-height: 1.6;
}

.proposal-form-card {
  gap: 17px;
}

.form-divider {
  margin-top: 6px;
  padding: 11px 0;
  border-top: 1px solid var(--product-line);
  border-bottom: 0;
}

.receipt,
.status-view,
.recent-item,
.progress-empty {
  border-color: var(--product-line);
  border-radius: 16px;
}

.receipt {
  background: var(--product-mint);
}

.progress-empty {
  min-height: 240px;
  background: #fafcfa;
}

.recent-tracking {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.recent-item {
  background: #fafcfa;
}

.status-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0 0 20px;
  padding: 18px;
  border: 1px solid var(--product-line);
  border-radius: 14px;
  background: #fafcfa;
  list-style: none;
}

.status-timeline-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #8b9996;
  text-align: center;
}

.status-timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 13px;
  left: calc(50% + 18px);
  right: calc(-50% + 18px);
  height: 1px;
  background: #d7dfdc;
}

.status-timeline-step > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid #d4ddda;
  border-radius: 50%;
  background: white;
  font-size: 9px;
  font-weight: 700;
}

.status-timeline-step strong {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
}

.status-timeline-step.complete,
.status-timeline-step.active {
  color: var(--product-teal);
}

.status-timeline-step.complete > span,
.status-timeline-step.active > span {
  border-color: var(--product-teal);
  color: white;
  background: var(--product-teal);
}

.status-timeline-step.complete:not(:last-child)::after {
  background: #83bbae;
}

footer {
  width: min(1180px, calc(100% - 56px));
  margin-bottom: 42px;
  border-top-color: var(--product-line);
}

@media (max-width: 1020px) {
  .site-header,
  .page-shell,
  footer {
    width: min(900px, calc(100% - 40px));
  }

  .intro-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
    gap: 38px;
  }

  .intro-main h1 {
    font-size: clamp(44px, 6.4vw, 60px);
  }

  .panel {
    padding: 36px 32px 40px;
  }

  .intake-start-layout,
  .proposal-layout {
    grid-template-columns: minmax(230px, 0.65fr) minmax(0, 1.35fr);
  }

  .stage-guidance,
  .proposal-guide {
    padding: 27px 24px;
  }

  .chat-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.72fr);
  }

  .conversation-pane,
  .brief-pane {
    padding: 20px;
  }

  .chat-workspace-header > p {
    max-width: 430px;
  }
}

@media (max-width: 820px) {
  .page-shell {
    margin-top: 36px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 34px;
  }

  .intro-main {
    padding-bottom: 4px;
  }

  .journey-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.75fr) 1fr;
    gap: 24px;
    align-items: center;
  }

  .journey-card-heading {
    padding: 0;
    border: 0;
  }

  .journey-list {
    margin: 0;
  }

  .intake-start-layout,
  .proposal-layout {
    grid-template-columns: 1fr;
  }

  .stage-guidance,
  .proposal-guide {
    min-height: 0;
  }

  .guidance-number {
    margin-bottom: 24px;
  }

  .guidance-points {
    grid-template-columns: repeat(3, 1fr);
  }

  .chat-grid {
    grid-template-columns: 1fr;
  }

  .conversation-pane {
    border-right: 0;
    border-bottom: 1px solid var(--product-line);
  }

  .brief-pane {
    min-height: 480px;
  }

  .chat-workspace-header > p {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: calc(100% - 28px);
    height: 64px;
  }

  .language-picker select,
  .nav-action {
    min-height: 36px;
    border-radius: 10px;
  }

  .page-shell {
    width: calc(100% - 24px);
    margin-top: 26px;
    margin-bottom: 54px;
  }

  .intro-grid {
    gap: 20px;
    margin-bottom: 30px;
  }

  .intro-main::before {
    display: none;
  }

  .intro-main h1 {
    max-width: 480px;
    font-size: clamp(36px, 11.5vw, 48px);
    line-height: 1.06;
  }

  .intro-copy {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.6;
  }

  .hero-skip {
    min-height: 44px;
    margin-top: 18px;
    padding: 5px;
  }

  .hero-skip > span:first-child {
    display: none;
  }

  .hero-skip strong {
    min-height: 34px;
    padding: 0 15px;
    font-size: 13px;
  }

  .trust-list {
    display: grid;
    gap: 8px;
    margin-top: 21px;
  }

  .journey-card {
    display: block;
    padding: 23px 21px;
    border-radius: 20px;
  }

  .journey-card-heading {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .journey-card h2 {
    font-size: 19px;
  }

  .journey-list {
    margin-top: 5px;
  }

  .journey-list li {
    padding: 13px 0;
  }

  .desk {
    border-radius: 20px;
  }

  .service-switcher {
    gap: 7px;
    padding: 8px;
    border-radius: 20px 20px 0 0;
  }

  .service-switcher .tab {
    grid-template-columns: 34px 1fr;
    gap: 9px;
    min-height: 68px;
    padding: 10px;
    border-radius: 13px;
  }

  .tab-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 9px;
  }

  .tab-mark-proposal {
    font-size: 15px;
  }

  .tab-copy strong {
    font-size: 13px;
  }

  .tab-copy small,
  .tab-arrow {
    display: none;
  }

  .panel {
    padding: 25px 15px 28px;
  }

  .panel-heading-rich {
    display: grid;
    gap: 12px;
    margin-bottom: 22px;
  }

  .panel-heading-rich h2 {
    font-size: 27px;
  }

  .availability,
  .review-note {
    justify-self: start;
    margin: 0;
  }

  .journey-progress {
    margin-bottom: 22px;
  }

  .journey-progress li {
    align-items: flex-start;
    gap: 6px;
  }

  .journey-progress li strong {
    max-width: 70px;
    padding-top: 7px;
    font-size: 10px;
    line-height: 1.25;
  }

  .journey-progress li:not(:last-child)::after {
    right: 3px;
  }

  .stage-guidance,
  .proposal-guide {
    padding: 24px 21px;
    border-radius: 16px;
  }

  .stage-guidance h3,
  .proposal-guide h3 {
    font-size: 21px;
  }

  .guidance-points {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .profile-form-card,
  .proposal-form-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .chat-workspace {
    margin: 0 -4px;
    border-radius: 17px;
  }

  .chat-workspace-header {
    min-height: 70px;
    padding: 14px;
  }

  .conversation-pane,
  .brief-pane {
    padding: 14px;
  }

  .conversation-label {
    align-items: flex-start;
  }

  .conversation-label small {
    max-width: 150px;
    text-align: right;
  }

  .chat-log {
    height: 420px;
    min-height: 350px;
    padding: 16px 12px;
    border-radius: 13px;
  }

  .message {
    width: 91%;
  }

  .prompt-chips {
    grid-template-columns: 1fr;
  }

  .chat-compose {
    grid-template-columns: 1fr auto;
  }

  .chat-compose button {
    width: auto;
    min-width: 66px;
  }

  .brief-pane {
    min-height: 420px;
  }

  .workspace-footer {
    align-items: flex-start;
    padding: 12px 14px;
  }

  .recent-tracking {
    grid-template-columns: 1fr;
  }

  .status-timeline {
    padding: 14px 7px;
  }

  .status-timeline-step strong {
    font-size: 9px;
  }

  footer {
    width: calc(100% - 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
