@font-face {
  font-family:"Lexend Deca";
  src:url("./assets/lexend-deca-latin.woff2") format("woff2");
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
}
:root {
  --primary:#713c83;
  --primary-hover:#582e67;
  --accent:#f2ab27;
  --ink:#282330;
  --muted:#696171;
  --line:#e5dfe9;
  --page:#faf8fb;
  --error:#a12035;
  font-family:"Lexend Deca",Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:var(--page);
  font-synthesis:none;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
}
button,input,select {
  font:inherit;
}
button {
  cursor:pointer;
}
a {
  color:var(--primary);
}
button,a,input,select,[tabindex] {
  outline-offset:4px;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible {
  outline:3px solid #8d429d;
}
button:disabled {
  cursor:wait;
}
[hidden] {
  display:none!important;
}
.skip-link {
  position:absolute;
  top:8px;
  left:12px;
  padding:12px;
  background:#fff;
  transform:translateY(-160%);
  z-index:10;
}
.skip-link:focus {
  transform:none;
}
.site-header {
  height:88px;
  max-width:1320px;
  margin:auto;
  display:flex;
  align-items:center;
  gap:25px;
  padding:0 48px;
  border-bottom:1px solid var(--line);
}
.brand-home {
  display:flex;
  align-items:center;
  min-height:44px;
}
.brand-home img {
  display:block;
  object-fit:contain;
}
.header-divider {
  height:26px;
  width:1px;
  background:var(--line);
}
.header-caption {
  font-size:10px;
  letter-spacing:1.7px;
  font-weight:700;
  color:var(--muted);
}
.internal-label {
  margin-left:auto;
  color:var(--muted);
  font-size:12px;
}
.page-shell {
  max-width:1280px;
  margin:auto;
  padding:42px 48px 0;
}
.intro {
  margin-bottom:34px;
}
h1 {
  font-size:52px;
  letter-spacing:-2px;
  line-height:1.1;
  margin:0 0 12px;
  font-weight:700;
}
h1 span {
  color:var(--primary);
  position:relative;
}
h1 span::after {
  content:"";
  position:absolute;
  height:5px;
  background:var(--accent);
  bottom:0;
  left:1px;
  right:0;
  z-index:-1;
}
.intro-description {
  font-size:15px;
  color:var(--muted);
  line-height:1.6;
  margin:0;
}
.workspace {
  display:grid;
  grid-template-columns:minmax(260px,340px) minmax(0,1fr);
  gap:36px;
  align-items:stretch;
}
.form-panel {
  min-width:0;
  padding:8px 0 0;
  display:flex;
  flex-direction:column;
}
#signature-form {
  display:flex;
  flex-direction:column;
  flex:1;
}
#work-details {
  display:flow-root;
  margin-bottom:20px;
}
#work-details .field:last-child {
  margin-bottom:0;
}
.section-heading {
  display:flex;
  gap:12px;
  align-items:center;
}
h2 {
  font-size:18px;
  line-height:1.35;
  letter-spacing:-.3px;
  margin:0;
}
.required-note {
  font-size:12px;
  line-height:1.6;
  color:var(--muted);
  margin:24px 0 18px;
}
.field {
  margin-bottom:20px;
}
.field label {
  display:block;
  font-size:12px;
  font-weight:700;
  margin-bottom:8px;
}
.field label span {
  font-weight:400;
  color:var(--muted);
  font-size:12px;
}
input,select {
  width:100%;
  min-width:0;
  min-height:44px;
  border:1px solid #92849d;
  border-radius:5px;
  padding:11px 12px;
  color:var(--ink);
  background:#fff;
  font-size:13px;
}
input::placeholder {
  color:#77717e;
}
input:focus,select:focus {
  border-color:var(--primary);
}
input[aria-invalid=true] {
  border:2px solid var(--error);
  padding:10px 11px;
  background:#fff8f9;
}
.email-input {
  display:flex;
  align-items:center;
  gap:8px;
}
.email-input input {
  min-width:0;
  flex:1;
}
.email-domain {
  flex-shrink:0;
  color:var(--ink);
  font-size:13px;
}
.field-error {
  color:var(--error);
  font-size:12px;
  line-height:1.5;
  margin:6px 0 0;
}
.banner-selector {
  min-width:0;
}
.banner-selector select {
  cursor:pointer;
}
.banner-description {
  font-size:12px;
  line-height:1.6;
  color:var(--muted);
  margin:8px 0 0;
}
.banner-selector #banner-status {
  color:var(--error);
}
.reset-button {
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  min-height:52px;
  padding:12px 16px;
  border:1px solid var(--line);
  border-radius:6px;
  background:#fff;
  color:var(--primary);
  font-size:14px;
  font-weight:700;
}
.reset-button:hover {
  border-color:var(--primary);
  background:#f2edf5;
}
.reset-button span {
  font-size:24px;
  line-height:1;
}
.privacy-note {
  border-top:1px solid var(--line);
  padding-top:16px;
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
  margin:16px 0 0;
  display:flex;
  gap:8px;
}
.privacy-note span {
  font-size:18px;
  color:var(--primary);
}
.preview-panel {
  min-width:0;
  padding-top:7px;
  display:flex;
  flex-direction:column;
}
.preview-heading {
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  margin-bottom:18px;
}
.email-paper {
  flex:1;
  background:#fff;
  border:1px solid #e5dfe9;
  border-radius:6px;
  box-shadow:none;
  padding:0 24px 28px;
  min-width:0;
}
.email-meta {
  border-bottom:1px solid #f0ebf3;
  padding:18px 0;
  margin-bottom:20px;
  font-size:13px;
  line-height:1.6;
  overflow-wrap:anywhere;
}
.email-meta dl {
  margin:0;
}
.email-meta dl>div {
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  gap:8px;
}
.email-meta dl>div+div {
  margin-top:8px;
}
.email-meta dt {
  color:var(--muted);
}
.email-meta dd {
  margin:0;
  color:var(--ink);
}
.email-message {
  max-width:550px;
  font-size:14px;
  line-height:1.6;
  color:#222;
  margin-bottom:24px;
}
.email-message p {
  margin:0 0 14px;
}
.email-message p:last-child {
  margin-bottom:0;
}
.sample-note {
  color:var(--muted);
  font-size:12px;
  line-height:1.6;
  margin:0 0 18px;
}
.signature-content {
  max-width:550px;
  overflow-wrap:anywhere;
}
.signature-content>table {
  width:100%!important;
  table-layout:fixed;
}
.signature-content img {
  max-width:100%;
  height:auto!important;
}
.signature-content a:focus-visible {
  outline:2px solid var(--primary);
}
.preview-disclaimer {
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
  margin:12px 2px 20px;
}
.copy-area {
  display:flex;
  gap:18px;
  align-items:center;
}
.primary-button {
  min-height:48px;
  padding:14px 22px;
  border:0;
  border-radius:8px;
  background:var(--primary);
  color:#fff;
  font-size:13px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  box-shadow:0 4px 10px #713c8315;
}
.primary-button:hover {
  background:var(--primary-hover);
}
.primary-button [aria-hidden] {
  font-size:18px;
}
.copy-area>p {
  max-width:170px;
  font-size:12px;
  line-height:1.7;
  color:var(--muted);
  margin:0;
}
.copy-status {
  font-size:13px;
  line-height:1.6;
  margin:12px 0 0;
  color:var(--primary);
  min-height:21px;
}
.setup-notice {
  border:1px solid #e6cc90;
  border-radius:7px;
  padding:12px 14px;
  background:#fff9ed;
  color:#634816;
  margin-bottom:18px;
  font-size:12px;
  line-height:1.6;
}
.setup-notice p {
  margin:4px 0 0;
}
.setup-notice strong {
  font-size:12px;
}
.manual-copy {
  margin-top:18px;
  border:1px solid var(--line);
  border-radius:10px;
  padding:18px;
  background:#fff;
  min-width:0;
}
.manual-copy h3 {
  font-size:15px;
  margin:0;
}
.manual-copy p {
  font-size:12px;
  line-height:1.7;
  color:var(--muted);
}
.manual-copy .signature-content {
  padding:18px 0;
}
.secondary-button {
  min-height:44px;
  padding:10px 14px;
  border:1px solid var(--primary);
  border-radius:6px;
  color:var(--primary);
  background:#fff;
  font-size:12px;
  font-weight:700;
}
#outlook-help.secondary-button {
  min-height:48px;
  padding:11px 18px;
  border:2px solid #47004e;
  border-radius:5px;
  background:#f7b01a;
  color:#47004e;
  font-size:13px;
  box-shadow:3px 3px 0 #47004e;
}
#outlook-help.secondary-button:hover {
  background:#ffd36c;
}
.site-footer {
  max-width:1184px;
  margin:38px auto 0;
  padding:22px 0 26px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  color:var(--muted);
  font-size:12px;
  line-height:1.6;
}
.noscript-message {
  padding:20px;
  background:#fff3dd;
  color:#634816;
}
@media(min-width:1500px) {
  .page-shell {
    padding-top:54px;
  }
  .intro {
    margin-bottom:42px;
  }
}
@media(max-width:1050px) {
  .site-header {
    padding:0 28px;
  }
  .page-shell {
    padding:32px 28px 0;
  }
  .workspace {
    grid-template-columns:minmax(240px,300px) minmax(0,1fr);
    gap:24px;
  }
  .form-panel {
    padding:8px 0 0;
  }
  .preview-heading {
    align-items:flex-start;
    flex-direction:column;
  }
  .email-paper {
    padding:0 20px 24px;
  }
  .copy-area {
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }
  .copy-area>p {
    max-width:none;
  }
  .site-footer {
    margin:30px 28px 0;
  }
}
@media(max-width:760px) {
  .site-header {
    height:76px;
    padding:0 20px;
    gap:18px;
  }
  .header-caption {
    display:none;
  }
  .header-divider {
    display:none;
  }
  .internal-label {
    font-size:12px;
  }
  .page-shell {
    padding:30px 20px 0;
  }
  .intro {
    margin-bottom:28px;
  }
  h1 {
    font-size:40px;
    letter-spacing:-1.6px;
  }
  .intro-description {
    font-size:13px;
    max-width:300px;
  }
  .workspace {
    grid-template-columns:minmax(0,1fr);
    gap:30px;
  }
  .form-panel {
    padding:4px 0 0;
  }
  .preview-heading {
    flex-direction:row;
    align-items:center;
  }
  .section-heading h2 {
    font-size:16px;
  }
  .email-paper {
    padding:0 16px 20px;
  }
  .signature-content>table>tbody>tr>td>table.signature-company {
    table-layout:fixed;
  }
  .signature-content>table>tbody>tr>td>table.signature-company>tbody>tr>td:first-child {
    width:30%!important;
    padding-right:12px!important;
  }
  .signature-content>table>tbody>tr>td>table.signature-company>tbody>tr>td:last-child {
    padding-left:12px!important;
  }
  .copy-area {
    align-items:stretch;
  }
  .primary-button {
    justify-content:center;
  }
  .copy-area>p {
    text-align:center;
  }
  .site-footer {
    margin:30px 20px 0;
    gap:18px;
    font-size:12px;
  }
  .site-footer span {
    max-width:50%;
  }
  .preview-disclaimer {
    font-size:12px;
  }
  .email-meta {
    margin-bottom:22px;
  }
  .sample-note {
    font-size:12px;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}
.page-shell {
  container-type:inline-size;
}
.preview-heading {
  flex-wrap:wrap;
}
@container(max-width:700px) {
  .workspace {
    grid-template-columns:minmax(0,1fr);
  }
  .copy-area {
    flex-wrap:wrap;
  }
  .preview-heading {
    align-items:flex-start;
  }
}

.intro-heading {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px 28px;
  margin-bottom:12px;
}
.intro-heading h1 {
  margin:0;
}
.error-summary {
  border:2px solid var(--error);
  border-radius:7px;
  background:#fff8f9;
  padding:12px 14px;
  margin-bottom:18px;
  color:var(--error);
  font-size:12px;
  line-height:1.6;
}
.error-summary p {
  margin:0 0 4px;
  font-weight:700;
}
.error-summary ul {
  margin:0;
  padding-left:18px;
}
.error-summary a {
  display:inline-block;
  color:var(--error);
  padding:4px 0;
}
.help-dialog {
  width:calc(100% - 32px);
  max-width:620px;
  max-height:calc(100% - 32px);
  padding:26px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  color:var(--ink);
  box-shadow:0 16px 70px #28233033;
  overflow-wrap:anywhere;
}
.help-dialog::backdrop {
  background:#28233099;
}
.dialog-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
}
.dialog-heading h2 {
  margin:0;
  font-size:22px;
}
.help-dialog h3 {
  font-size:15px;
  margin:24px 0 8px;
}
.help-dialog p,.help-dialog ol {
  font-size:13px;
  line-height:1.8;
  color:var(--muted);
}
.help-dialog ol {
  padding-left:22px;
}
.help-dialog li {
  padding:3px 0;
}
.help-dialog .paste-tip {
  padding:12px;
  border-radius:7px;
  background:var(--page);
}
.guide-invitation {
  display:flex;
  align-items:center;
  gap:24px;
  padding:22px;
  margin-top:22px;
  border:1px solid #d9c8e1;
  border-radius:10px;
  background:#f4eef7;
}
.guide-invitation h2 {
  font-size:17px;
}
.guide-invitation p {
  font-size:14px;
  line-height:1.7;
  margin:8px 0 0;
  max-width:660px;
}
.guide-welcome-actions {
  display:flex;
  flex-direction:column;
  gap:10px;
  flex-shrink:0;
}
.guide-welcome-actions button {
  justify-content:center;
}
.guide-card .guide-progress {
  margin:0;
  color:var(--primary);
  font-size:12px;
  font-weight:700;
}
.guide-exit {
  min-height:44px;
  padding:8px;
  border:0;
  border-radius:4px;
  background:#f4eef7;
  color:var(--primary);
  font-size:12px;
  font-weight:700;
}
.guide-card h2 {
  font-size:21px;
  line-height:1.4;
}
.guide-card p {
  font-size:14px;
  line-height:1.7;
  margin:12px 0;
  overflow-wrap:anywhere;
}
.guide-feedback {
  padding:12px;
  border-radius:6px;
  background:#f4eef7;
}
.guide-navigation {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--line);
}
.guide-card button:disabled {
  cursor:default;
  background:#eeeaf0;
  color:#696171;
  border-color:#d5cddc;
  box-shadow:none;
}
@media(max-width:760px) {
  .guide-invitation {
    flex-direction:column;
    align-items:stretch;
    padding:18px;
    gap:18px;
  }
  .guide-card h2 {
    font-size:19px;
  }
}

/* The tutorial is a self-contained view; its content scrolls on short screens. */
body.guide-active {
  overflow:hidden;
}
.guide-card[open] {
  position:fixed;
  inset:var(--guide-top,0px) 0 auto;
  display:flex;
  flex-direction:column;
  width:100%;
  height:var(--guide-height,100dvh);
  max-width:none;
  max-height:none;
  margin:0;
  padding:0;
  overflow:hidden;
  border:0;
  border-radius:0;
  background:var(--page);
  box-shadow:none;
  animation:none;
}
.guide-card::backdrop {
  background:var(--page);
}
.guide-header,.guide-content,.guide-navigation {
  width:100%;
  max-width:1120px;
  margin:0 auto;
}
.guide-header {
  flex:none;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:6px 16px;
  padding:24px 28px 16px;
}
.guide-header h2 {
  margin-top:4px;
}
.guide-card .guide-header p {
  margin:0;
}
.guide-header #guide-text {
  grid-column:1 / -1;
}
.guide-content {
  flex:1;
  min-height:0;
  display:grid;
  grid-template-columns:minmax(0,340px) minmax(0,1fr);
  align-content:start;
  align-items:start;
  gap:24px;
  padding:12px 28px 24px;
  overflow:auto;
  overscroll-behavior:contain;
}
.guide-editor,.guide-result {
  min-width:0;
  padding:20px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
}
.guide-card[data-step="4"] .guide-content {
  grid-template-columns:minmax(0,1fr);
}
.guide-card[data-step="4"] .guide-editor {
  display:none;
}
.guide-editor .field:last-child,
.guide-editor #work-details {
  margin-bottom:0;
}
.guide-editor #work-details .field:last-child {
  margin-bottom:0;
}
.guide-editor label {
  display:block;
  margin-bottom:8px;
  font-size:13px;
  font-weight:700;
}
.guide-editor .copy-area {
  align-items:stretch;
  flex-direction:column;
}
.guide-editor .copy-area>p {
  max-width:none;
}
.guide-editor #outlook-help {
  margin-top:16px;
}
.guide-result h3 {
  margin:0 0 16px;
  color:var(--primary);
  font-size:14px;
  line-height:1.4;
}
.guide-result #guide-preview {
  min-width:0;
  overflow-wrap:anywhere;
}
.guide-card .guide-empty {
  margin:0;
  color:var(--muted);
}
.guide-result .manual-copy {
  margin:0;
  padding:0;
  border:0;
}
.guide-outlook h3 {
  margin:0 0 8px;
  color:var(--ink);
}
.guide-card .guide-outlook p,.guide-outlook ol {
  font-size:13px;
  line-height:1.65;
}
.guide-outlook ol {
  padding-left:22px;
}
.guide-card .guide-feedback {
  margin:12px 0 0;
}
.guide-navigation {
  flex:none;
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:14px 28px max(14px,env(safe-area-inset-bottom));
  border-top:1px solid var(--line);
  background:var(--page);
}
.guide-navigation button {
  min-width:88px;
  justify-content:center;
}
@media(max-width:760px) {
  .guide-header {
    padding:12px 16px 8px;
  }
  .guide-content {
    grid-template-columns:minmax(0,1fr);
    gap:10px;
    padding:8px 16px 16px;
  }
  .guide-editor,.guide-result {
    padding:12px;
  }
  .guide-editor .field {
    margin-bottom:10px;
  }
  .guide-result h3 {
    margin-bottom:10px;
  }
  .guide-navigation {
    padding:10px 16px max(10px,env(safe-area-inset-bottom));
  }
}
@media(max-height:500px) {
  .guide-header {
    padding-top:8px;
    padding-bottom:4px;
  }
  .guide-content {
    padding-top:4px;
    padding-bottom:8px;
  }
  .guide-navigation {
    padding-top:6px;
    padding-bottom:6px;
  }
}
