.email-cases-page {
  --ec-green: #123b26;
  --ec-deep: #082719;
  --ec-mint: #dff3df;
  --ec-sage: #eaf1e8;
  --ec-paper: #fffdf8;
  --ec-line: #d5dfd6;
  --ec-muted: #5c6e63;
}

.email-cases-page .site-nav { background: rgba(255, 253, 248, .96); }
.email-cases-page .home-section { padding: clamp(82px, 8.5vw, 124px) 0; }
.email-cases-page h1,
.email-cases-page h2 { text-wrap: balance; }
.email-cases-page p { text-wrap: pretty; }

.email-hero { padding-top: clamp(82px, 9vw, 132px); }
.email-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .82fr); gap: clamp(50px, 7vw, 104px); align-items: center; }
.email-hero .home-hero-copy { width: 100%; }
.email-hero h1 { max-width: 850px; font-size: var(--type-display-hero); line-height: .98; }
.email-hero .home-hero-lead { max-width: 790px; }
.email-hero .home-hero-actions { flex-wrap: wrap; }
.email-text-link { display: inline-flex; min-height: 54px; align-items: center; color: var(--ec-green); font-weight: 780; text-decoration: none; }
.email-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.email-hero .home-hero-note { margin-top: 23px; color: #51665a; }

.email-hero-visual { border: 1px solid var(--ec-line); background: #f6f9f3; box-shadow: 0 38px 90px -64px rgba(8, 39, 25, .78); }
.email-window-top { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ec-line); padding: 16px 22px; color: #2c4736; font-size: .72rem; }
.email-window-top > span { display: flex; gap: 5px; }
.email-window-top > span i { width: 7px; height: 7px; border-radius: 50%; background: #a8b7ac; }
.email-window-top small { margin-left: auto; color: #7a887f; }
.email-message { margin: 24px; border: 1px solid #d2ddd4; padding: 20px; background: white; }
.email-message > span { color: #75847a; font-size: .65rem; }
.email-message > strong { display: block; margin-top: 9px; color: var(--ec-deep); font-size: 1rem; }
.email-message p { margin: 13px 0 0; color: #43594b; font-size: .84rem; line-height: 1.6; }
.email-understanding { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0 24px; background: #d6dfd7; }
.email-understanding > div { display: flex; align-items: center; gap: 9px; padding: 14px; background: #eef4eb; color: #486052; font-size: .68rem; font-weight: 720; }
.email-understanding i { color: #408557; font-size: 1rem; }
.email-outcomes { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; padding: 24px; }
.email-outcomes > span { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #cad6cc; padding: 13px 10px; background: white; color: #4f6256; font-size: .68rem; }
.email-outcomes > span.is-auto { border-color: #82ba8e; background: #e2f2e2; color: #28673c; }
.email-outcomes i { font-size: 1rem; }
.email-outcomes em { color: #87938b; font-size: .61rem; font-style: normal; }

.email-demo-section { background: var(--home-bg); }
.email-demo { margin-top: clamp(40px, 5vw, 68px); }
.email-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #cad6cc; border-bottom: 0; background: #eaf1e8; }
.email-tab { display: flex; min-height: 80px; align-items: center; gap: 13px; border: 0; border-right: 1px solid #cad6cc; padding: 19px 23px; background: transparent; color: #63736a; cursor: pointer; text-align: left; }
.email-tab:last-child { border-right: 0; }
.email-tab span { color: #87948c; font-family: var(--font-display); font-size: .76rem; }
.email-tab strong { font-size: .92rem; }
.email-tab:hover { color: var(--ec-green); }
.email-tab.is-active { background: var(--ec-green); color: white; }
.email-tab.is-active span { color: #a8d3b0; }
.email-tab:focus-visible { position: relative; z-index: 2; outline: 3px solid #5aae72; outline-offset: -4px; }
.email-demo-stage { border: 1px solid #cad6cc; background: white; box-shadow: 0 32px 90px -72px rgba(8, 39, 25, .82); }
.email-stage-top { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #dce4dd; padding: 17px clamp(22px, 3vw, 36px); color: #718078; font-size: .7rem; font-weight: 760; }
.email-stage-top > div { display: flex; align-items: center; gap: 10px; color: var(--ec-deep); }
.email-q { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 8px; background: var(--ec-green); color: var(--ec-mint); font-family: var(--font-display); font-size: 1.1rem; }
.email-scenario { display: grid; grid-template-columns: minmax(300px, .68fr) minmax(0, 1.2fr); min-height: 560px; }
.email-scenario[hidden] { display: none; }
.email-incoming { display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #dce4dd; padding: clamp(32px, 4vw, 52px); background: #f6f8f4; }
.email-incoming > span:first-child,
.email-decision-label { color: #718078; font-size: .67rem; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.email-from { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; border-bottom: 1px solid #d7e0d8; padding-bottom: 14px; }
.email-from b { color: #253d2e; font-size: .78rem; }
.email-from small { color: #7b877f; font-size: .61rem; }
.email-incoming h3 { margin: 31px 0 13px; color: var(--ec-deep); font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.2; }
.email-incoming > p { margin: 0; color: #43594b; font-size: .92rem; line-height: 1.7; }
.email-attachment { display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; margin-top: 28px; border: 1px solid #c7d5ca; padding: 9px 11px; background: white; color: #44614f; font-size: .65rem; }
.email-attachment i { font-size: 1rem; }
.email-attachment.muted { color: #77857c; }
.email-decision { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 4vw, 55px); }
.email-process { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.email-process span { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #ced9d0; border-radius: 99px; padding: 8px 11px; color: #587063; font-size: .66rem; font-weight: 720; }
.email-process span::before { width: 6px; height: 6px; border-radius: 50%; background: #4ca866; content: ""; }
.email-source { display: flex; align-items: center; gap: 12px; margin-top: 23px; border: 1px solid #d6e0d7; padding: 13px 15px; background: #f5f8f3; }
.email-source i { color: #4f7b5d; }
.email-source p { margin: 0; }
.email-source small,
.email-source strong { display: block; }
.email-source small { color: #7a887f; font-size: .59rem; text-transform: uppercase; }
.email-source strong { margin-top: 3px; color: #304a39; font-size: .72rem; }
.email-draft { margin-top: 16px; border-left: 3px solid #57a76b; padding: 17px 19px; background: #f1f7ef; }
.email-draft span { color: #3e7650; font-size: .61rem; font-weight: 820; letter-spacing: .07em; text-transform: uppercase; }
.email-draft p { margin: 8px 0 0; color: #32493a; font-size: .82rem; line-height: 1.6; }
.email-final-state { display: flex; align-items: center; gap: 11px; margin-top: 16px; border: 1px solid #d1ddd3; padding: 14px 16px; }
.email-final-state i { font-size: 1.25rem; }
.email-final-state p { margin: 0; }
.email-final-state strong,
.email-final-state small { display: block; }
.email-final-state strong { font-size: .72rem; }
.email-final-state small { margin-top: 4px; font-size: .61rem; }
.email-final-state.is-auto { border-color: #8ec39a; background: #e4f3e4; color: #2f7243; }
.email-final-state.needs-review { border-color: #dcc891; background: #faf2dc; color: #715a21; }
.email-final-state.is-action { border-color: #94b8c6; background: #e7f1f4; color: #315e6e; }

.email-split { display: grid; grid-template-columns: minmax(0, .76fr) minmax(470px, 1.12fr); gap: clamp(58px, 8vw, 114px); align-items: center; }
.email-copy h2 { margin: 15px 0 24px; color: var(--ec-deep); font-family: var(--font-display); font-size: var(--type-display-section); line-height: 1.02; }
.email-copy > p:not(.home-kicker) { color: var(--ec-muted); font-size: clamp(1rem, 1.35vw, 1.12rem); line-height: 1.75; }
.email-copy > small { display: block; margin-top: 22px; color: #77867d; line-height: 1.5; }

.email-routing-section { background: var(--ec-paper); }
.routing-tree { border: 1px solid var(--ec-line); padding: clamp(22px, 3vw, 36px); background: #f4f8f1; }
.routing-start { display: flex; max-width: 340px; align-items: center; gap: 13px; margin: 0 auto 34px; border: 1px solid #c8d6ca; padding: 16px; background: white; }
.routing-start > i { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: #dfeede; color: var(--ec-green); }
.routing-start p { margin: 0; }
.routing-start strong,
.routing-start small { display: block; }
.routing-start strong { color: #263f2f; font-size: .75rem; }
.routing-start small { margin-top: 4px; color: #748178; font-size: .61rem; }
.routing-branches { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.routing-branches::before { position: absolute; top: -34px; left: 25%; width: 50%; height: 34px; border-top: 1px solid #9eb1a2; border-right: 1px solid #9eb1a2; border-left: 1px solid #9eb1a2; content: ""; }
.routing-branches article { position: relative; border: 1px solid #cad6cc; padding: 22px; background: white; }
.routing-branches header { display: flex; align-items: center; gap: 11px; border-bottom: 1px solid #dce4dd; padding-bottom: 16px; }
.routing-branches header > i { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 8px; }
.routing-branches header strong,
.routing-branches header span { display: block; }
.routing-branches header strong { color: #263f2f; font-size: .78rem; }
.routing-branches header span { margin-top: 3px; font-size: .59rem; }
.route-auto header > i { background: #dff1df; color: #2e7b45; }
.route-auto header span { color: #3e8453; }
.route-review header > i { background: #f7edd2; color: #85682b; }
.route-review header span { color: #82672e; }
.routing-branches ul { display: grid; gap: 9px; margin: 18px 0; padding: 0; list-style: none; }
.routing-branches li { display: flex; gap: 8px; color: #56695c; font-size: .67rem; }
.routing-branches li::before { color: #4e9160; content: "✓"; font-weight: 900; }
.routing-branches footer { display: flex; align-items: center; gap: 8px; border-top: 1px solid #dce4dd; padding-top: 15px; color: #315d3e; font-size: .67rem; }
.routing-branches footer i { font-size: 1rem; }

.email-inbox-section { background: var(--ec-deep); color: #eff5ef; }
.email-inbox-section .home-kicker { color: #a3d2ac; }
.email-inbox-section .home-section-head h2 { color: white; }
.email-inbox-section .home-section-head > p:not(.home-kicker) { color: #b5c6b9; }
.inbox-canvas { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(0, 1.5fr); min-height: 670px; margin-top: clamp(42px, 6vw, 70px); border: 1px solid #405a48; background: #f8faf7; color: #263e2f; box-shadow: 0 38px 100px -70px #000; }
.inbox-list { border-right: 1px solid #d5dfd6; background: #f1f5ef; }
.inbox-list > header { display: flex; align-items: center; justify-content: space-between; padding: 21px 22px; }
.inbox-list > header > div { display: flex; align-items: center; gap: 8px; }
.inbox-list > header span { font-size: .72rem; font-weight: 780; }
.inbox-list > header strong { display: grid; min-width: 24px; height: 24px; place-items: center; border-radius: 99px; background: #dce9db; color: #3b6e49; font-size: .61rem; }
.inbox-list > header i { color: #65776c; font-size: 1rem; }
.inbox-list nav { display: flex; gap: 15px; border-top: 1px solid #d9e1da; border-bottom: 1px solid #d9e1da; padding: 13px 22px; color: #78857d; font-size: .61rem; }
.inbox-list nav .is-active { color: var(--ec-green); font-weight: 820; }
.inbox-item { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; border-bottom: 1px solid #dbe3dc; padding: 18px 20px; }
.inbox-item.is-selected { background: white; box-shadow: inset 3px 0 #4b9c61; }
.inbox-item > i { width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; }
.status-review { background: #d89d3e; }
.status-new { background: #478d5a; }
.status-auto { background: #68a979; }
.status-wait { background: #809087; }
.inbox-item p { min-width: 0; margin: 0; }
.inbox-item p strong,
.inbox-item p span,
.inbox-item p small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-item p strong { font-size: .7rem; }
.inbox-item p span { margin-top: 5px; color: #495d50; font-size: .68rem; }
.inbox-item p small { margin-top: 8px; color: #7a887f; font-size: .57rem; }
.inbox-item p small b { color: #4a7656; }
.inbox-item > em { border-radius: 99px; padding: 5px 7px; background: #e2ebe1; color: #587061; font-size: .54rem; font-style: normal; }
.inbox-thread { display: grid; grid-template-rows: auto auto auto 1fr auto; min-width: 0; background: white; }
.inbox-thread > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #dce4dd; padding: 20px 26px; }
.inbox-thread > header span { color: #7b887f; font-size: .59rem; }
.inbox-thread h3 { margin: 5px 0 0; color: #213a2a; font-size: 1.05rem; }
.inbox-thread > header > div:last-child { display: flex; align-items: center; gap: 9px; }
.inbox-thread > header > div:last-child > span { display: flex; align-items: center; gap: 6px; border: 1px solid #d3ddd5; padding: 8px 10px; color: #53675a; }
.inbox-thread > header i { font-size: .95rem; }
.inbox-thread button { border: 1px solid #d3ddd5; padding: 8px; background: white; color: #4f6356; font: inherit; }
.thread-message { margin: 25px 27px 0; border: 1px solid #d9e2da; padding: 19px; }
.thread-message > div { display: flex; align-items: center; gap: 10px; }
.thread-message > div > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #e3ece1; color: #3a6847; font-size: .62rem; font-weight: 820; }
.thread-message > div p { margin: 0; }
.thread-message strong,
.thread-message small { display: block; }
.thread-message strong { font-size: .7rem; }
.thread-message small { margin-top: 3px; color: #7b8780; font-size: .57rem; }
.thread-message > p { margin: 17px 0 0; color: #3f5547; font-size: .78rem; }
.ai-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 13px 27px 0; border: 1px solid #bcd3c0; padding: 15px; background: #edf6eb; }
.ai-summary > div { display: flex; align-items: center; gap: 10px; }
.ai-summary p { margin: 0; }
.ai-summary p strong,
.ai-summary p small { display: block; }
.ai-summary p strong { color: #2f6840; font-size: .65rem; }
.ai-summary p small { max-width: 430px; margin-top: 3px; color: #5d7464; font-size: .59rem; line-height: 1.4; }
.summary-decision { flex: 0 0 auto; border-left: 1px solid #bed1c1; padding-left: 15px; }
.summary-decision b,
.summary-decision em { display: block; }
.summary-decision b { color: #66806d; font-size: .56rem; }
.summary-decision em { margin-top: 4px; color: #347748; font-size: .61rem; font-style: normal; font-weight: 800; }
.thread-draft { margin: 13px 27px 25px; border: 1px solid #d5dfd6; padding: 18px; }
.thread-draft label { color: #4a7657; font-size: .61rem; font-weight: 820; text-transform: uppercase; }
.thread-draft p { margin: 12px 0; color: #344b3b; font-size: .75rem; line-height: 1.55; }
.thread-draft span { color: #718078; font-size: .62rem; }
.inbox-thread > footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #dce4dd; padding: 17px 27px; }
.inbox-thread > footer > div { display: flex; gap: 7px; }
.inbox-thread > footer button { display: flex; align-items: center; gap: 5px; font-size: .61rem; font-weight: 720; }
.inbox-thread > footer .edit { padding-inline: 15px; }
.inbox-thread > footer .approve { border-color: var(--ec-green); padding-inline: 15px; background: var(--ec-green); color: white; }

.email-systems-section { background: #edf3ea; }
.system-actions { border-top: 1px solid #cad6cc; }
.system-actions article { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; border-bottom: 1px solid #cad6cc; padding: 23px 0; }
.system-actions article > span { color: #3f6c4d; font-size: .7rem; font-weight: 820; }
.system-actions p { margin: 0; }
.system-actions strong,
.system-actions small { display: block; }
.system-actions strong { color: #273f30; font-size: .82rem; }
.system-actions small { margin-top: 6px; color: #6c7b72; font-size: .67rem; }

.email-aftersales-section { background: var(--ec-deep); color: #eef5ee; }
.email-aftersales-section .home-kicker { color: #a3d2ac; }
.email-aftersales-section .email-copy h2 { color: white; }
.email-aftersales-section .email-copy > p:not(.home-kicker) { color: #b6c7ba; }
.complaint-flow { border: 1px solid #3e5947; padding: clamp(24px, 3.5vw, 42px); background: #102f20; }
.complaint-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.complaint-inputs span,
.complaint-checks span { display: flex; align-items: center; gap: 8px; border: 1px solid #405d49; padding: 12px; color: #d4e0d5; font-size: .66rem; }
.complaint-inputs i,
.complaint-checks i { color: #8fc49b; font-size: 1rem; }
.complaint-core { display: grid; justify-items: center; gap: 7px; margin: 24px 0; }
.complaint-core span { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: var(--ec-mint); color: var(--ec-green); font-family: var(--font-display); font-size: 1.8rem; }
.complaint-core b { color: #a8bbaa; font-size: .66rem; }
.complaint-checks { display: grid; gap: 7px; }
.complaint-checks span { background: #163b27; }
.complaint-checks .is-missing { border-color: #76683b; background: #3a351e; color: #f0dfac; }
.complaint-checks .is-missing i { color: #e1bd5d; }
.complaint-next { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin-top: 19px; }
.complaint-next span { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #52715b; padding: 13px; color: #d6e2d7; font-size: .65rem; }
.complaint-next i { color: #92c49b; font-size: 1rem; }
.complaint-next > b { color: #7d9583; }

.email-control-section { background: var(--ec-paper); }
.control-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(420px, 1fr); gap: clamp(50px, 8vw, 105px); align-items: center; margin-top: clamp(42px, 6vw, 72px); }
.control-rules { border-top: 1px solid var(--ec-line); }
.control-rules article { display: grid; grid-template-columns: 40px 1fr; gap: 18px; border-bottom: 1px solid var(--ec-line); padding: 25px 0; }
.control-rules article > span { color: #8ba093; font-family: var(--font-display); font-size: .72rem; }
.control-rules h3 { margin: 0; color: var(--ec-deep); font-size: 1rem; }
.control-rules p { margin: 8px 0 0; color: var(--ec-muted); font-size: .78rem; line-height: 1.6; }
.email-testcenter { border: 1px solid #ced9cf; padding: clamp(23px, 3.5vw, 37px); background: #f7faf5; box-shadow: 0 30px 80px -63px rgba(8, 39, 25, .75); }
.email-testcenter > header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #d9e2da; padding-bottom: 18px; }
.email-testcenter > header > div { display: flex; align-items: center; gap: 10px; }
.email-testcenter header p { margin: 0; }
.email-testcenter header strong,
.email-testcenter header small { display: block; }
.email-testcenter header strong { color: var(--ec-deep); font-size: .75rem; }
.email-testcenter header small { margin-top: 3px; color: #748178; font-size: .59rem; }
.email-testcenter > header > b { color: #347d49; font-size: .68rem; }
.test-mail { padding: 23px 0; }
.test-mail span,
.test-mail strong { display: block; }
.test-mail span { color: #748178; font-size: .59rem; font-weight: 800; text-transform: uppercase; }
.test-mail strong { margin-top: 8px; color: #263f2f; font-size: .9rem; }
.test-conditions { display: grid; gap: 8px; }
.test-conditions > span { display: flex; gap: 11px; border: 1px solid #d9e2da; padding: 12px; background: white; }
.test-conditions > span > i { color: #398150; font-style: normal; font-weight: 900; }
.test-conditions > span:last-child > i { color: #93603c; }
.test-conditions p { margin: 0; }
.test-conditions b,
.test-conditions small { display: block; }
.test-conditions b { color: #52675a; font-size: .6rem; }
.test-conditions small { margin-top: 3px; color: #7a867f; font-size: .58rem; }
.email-testcenter > footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #d9e2da; margin-top: 17px; padding-top: 17px; }
.email-testcenter footer > span { display: flex; align-items: center; gap: 6px; color: #357d49; font-size: .65rem; }
.email-testcenter footer i { font-size: 1rem; }
.email-testcenter footer small { color: #7a867f; font-size: .58rem; }

.email-team-section { background: #eaf1e8; }
.team-tools { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 5vw, 65px); border-top: 1px solid #c9d5cb; border-left: 1px solid #c9d5cb; }
.team-tools > span { display: flex; min-height: 118px; align-items: center; gap: 15px; border-right: 1px solid #c9d5cb; border-bottom: 1px solid #c9d5cb; padding: 22px; }
.team-tools > span > i { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; background: #dbe8da; color: var(--ec-green); font-size: 1.1rem; }
.team-tools p { margin: 0; }
.team-tools strong,
.team-tools small { display: block; }
.team-tools strong { color: #293f31; font-size: .76rem; }
.team-tools small { margin-top: 5px; color: #68786f; font-size: .64rem; line-height: 1.45; }

.email-knowledge-section { background: var(--ec-paper); }
.email-knowledge-flow { display: grid; grid-template-columns: 1fr auto minmax(190px, .6fr) auto 1fr; gap: 27px; align-items: center; margin-top: clamp(45px, 6vw, 72px); }
.knowledge-inputs,
.knowledge-outputs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.knowledge-inputs span,
.knowledge-outputs span { border: 1px solid #cbd6cd; padding: 13px; background: #f1f5ee; color: #53675a; font-size: .68rem; font-weight: 730; text-align: center; }
.knowledge-outputs { grid-template-columns: 1fr; }
.knowledge-outputs .is-primary { border-color: #79b488; background: #dceedd; color: #286a3d; }
.email-knowledge-flow > b { color: #87998d; }
.knowledge-core { display: grid; justify-items: center; border: 1px solid #b8c9bb; padding: 27px 17px; background: var(--ec-deep); color: white; text-align: center; }
.knowledge-core > span { display: grid; width: 55px; height: 55px; place-items: center; border-radius: 50%; background: var(--ec-mint); color: var(--ec-green); font-family: var(--font-display); font-size: 1.8rem; }
.knowledge-core strong { margin-top: 12px; font-size: .76rem; }
.knowledge-core small { margin-top: 5px; color: #9db2a2; font-size: .58rem; }

.email-cta-section { background: var(--ec-paper); }
.email-cta { border: 1px solid #bed0c1; padding: clamp(42px, 7vw, 90px); background: var(--ec-deep); color: white; text-align: center; }
.email-cta .home-kicker { justify-content: center; color: #9fd0a9; }
.email-cta h2 { max-width: 900px; margin: 16px auto 24px; color: white; font-family: var(--font-display); font-size: var(--type-display-section); line-height: 1.02; }
.email-cta > p { max-width: 720px; margin: 0 auto; color: #bac9bd; font-size: clamp(1rem, 1.4vw, 1.13rem); line-height: 1.7; }
.email-cta > a { margin-top: 32px; }
.email-cta > small { display: block; margin-top: 21px; color: #91a697; }

@media (max-width: 1100px) {
  .email-hero-grid,
  .email-split,
  .control-layout { grid-template-columns: 1fr; }
  .email-hero-visual { max-width: 760px; }
  .email-split { gap: 48px; }
  .inbox-canvas { grid-template-columns: minmax(250px, .62fr) 1fr; }
  .inbox-thread > footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .email-cases-page .home-section { padding: 70px 0; }
  .email-hero { padding-top: 62px; }
  .email-hero .email-hero-grid { display: block; width: calc(100% - 36px); min-width: 0; }
  .email-hero-copy { min-width: 0; max-width: 100%; }
  .email-hero h1 { max-width: 100%; font-size: var(--type-display-hero-mobile); line-height: .98; overflow-wrap: anywhere; text-wrap: wrap; }
  .email-hero .home-hero-lead { max-width: 100%; overflow-wrap: anywhere; }
  .email-hero .home-hero-actions,
  .email-hero .home-button,
  .email-text-link { max-width: 100%; }
  .email-hero-visual { width: 100%; max-width: 100%; margin-top: 44px; box-sizing: border-box; }
  .email-understanding { grid-template-columns: 1fr; }
  .email-outcomes { grid-template-columns: 1fr; }
  .email-outcomes em { text-align: center; }
  .email-tabs { grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid #cad6cc; }
  .email-tab { min-height: 67px; border-bottom: 1px solid #cad6cc; padding: 14px; }
  .email-tab:nth-child(2) { border-right: 0; }
  .email-tab:nth-child(n+3) { border-bottom: 0; }
  .email-scenario { grid-template-columns: 1fr; }
  .email-incoming { border-right: 0; border-bottom: 1px solid #dce4dd; padding: 29px 22px; }
  .email-decision { padding: 30px 22px; }
  .routing-branches { grid-template-columns: 1fr; }
  .routing-branches::before { top: -34px; left: 50%; width: 1px; border-right: 0; }
  .inbox-canvas { grid-template-columns: 1fr; min-height: 0; }
  .inbox-list { border-right: 0; border-bottom: 1px solid #d5dfd6; }
  .inbox-item:nth-of-type(n+4) { display: none; }
  .inbox-thread > header { align-items: flex-start; padding: 18px; }
  .inbox-thread > header > div:last-child > span { display: none; }
  .thread-message,
  .ai-summary,
  .thread-draft { margin-right: 18px; margin-left: 18px; }
  .ai-summary { align-items: flex-start; flex-direction: column; }
  .summary-decision { border-top: 1px solid #bed1c1; border-left: 0; padding-top: 10px; padding-left: 0; }
  .inbox-thread > footer { padding: 15px 18px; }
  .inbox-thread > footer > div:first-child button span { display: none; }
  .system-actions article { grid-template-columns: 90px 1fr; gap: 15px; }
  .complaint-inputs { grid-template-columns: 1fr; }
  .complaint-next { grid-template-columns: 1fr; }
  .complaint-next > b { transform: rotate(90deg); justify-self: center; }
  .team-tools { grid-template-columns: 1fr; }
  .team-tools > span { min-height: 0; }
  .email-knowledge-flow { grid-template-columns: 1fr; gap: 14px; }
  .email-knowledge-flow > b { transform: rotate(90deg); justify-self: center; }
  .email-cta { padding: 40px 22px; }
  .email-cta h2 { font-size: var(--type-display-section-mobile); }
}

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