@charset "UTF-8";

:root {
  --bg: #f7f8f4;
  --paper: #fff;
  --ink: #28382d;
  --muted: #858b81;
  --line: #e7eae2;
  --green: #344c37;
  --sage: #e9efdc;
  --accent: #dbe7b9;
  --shadow: 0 5px 25px #26342205;
  --sans: "PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  --serif: "Songti SC","Noto Serif CJK SC","Source Han Serif SC","STSong",Georgia,serif;
  --mono: "SFMono-Regular",Consolas,"Liberation Mono",monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

button,input,textarea,select {
  font: inherit;
}

button,a,input,textarea,select {
  -webkit-tap-highlight-color: transparent;
}

button,a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:disabled {
  opacity: .55;
  cursor: wait;
}

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

button {
  color: inherit;
}

button:focus-visible,a:focus-visible {
  outline: 3px solid #8aab64;
  outline-offset: 4px;
}

input:focus,textarea:focus,select:focus {
  outline: 2px solid #a0b582;
  outline-offset: 1px;
}

::selection {
  background: #dbe7b9;
  color: #28382d;
}

h1,h2,h3,p {
  margin: 0;
}

button .icon,a .icon {
  flex-shrink: 0;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}

button {
  border: 0;
  background: none;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 232px minmax(0,1fr);
}

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 232px;
  display: flex;
  flex-direction: column;
  background: #fcfcf9;
  border-right: 1px solid var(--line);
  padding: 36px 20px 20px;
  z-index: 30;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 7px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: 2px;
  line-height: 1.4;
}

.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 4px;
  font-weight: 500;
  margin-top: 3px;
  color: #939a89;
}

.brand-mark {
  width: 41px;
  height: 43px;
  background: #e3eacb;
  border-radius: 13px;
  display: grid;
  place-items: center;
  transform: rotate(-5deg);
  color: #4d6241;
}

.brand-mark .icon {
  width: 26px;
  height: 26px;
}

.nav-caption {
  font-size: 11px;
  letter-spacing: 1.6px;
  color: #9b9f94;
  padding: 27px 12px 26px;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 13px;
  color: #777e73;
  min-height: 46px;
  transition: background .2s,color .2s;
}

.nav-link .icon {
  width: 19px;
  height: 19px;
}

.nav-link:hover {
  background: #f0f3e9;
  color: var(--green);
}

.nav-link.active {
  background: #eaf0dd;
  color: #344c37;
  font-weight: 600;
}

.nav-active-dot {
  width: 5px;
  height: 5px;
  background: #748d4b;
  border-radius: 50%;
  margin-left: auto;
}

.sidebar-divider {
  border-top: 1px solid var(--line);
  margin: 25px 12px;
}

.sidebar-note {
  margin: auto 12px 26px;
  padding: 30px 0 0;
  color: #737d68;
  position: relative;
}

.note-orbit {
  width: 38px;
  height: 38px;
  border: 1px solid #d5debf;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #a2b280;
  margin-bottom: 16px;
}

.note-orbit .icon {
  width: 19px;
}

.sidebar-note p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 1px;
}

.sidebar-note small {
  display: block;
  font-size: 7px;
  letter-spacing: 1.6px;
  color: #a7ad9d;
  margin-top: 14px;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 22px 5px 0;
  text-align: left;
  min-width: 0;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e9eddf;
  color: #70825a;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 13px;
}

.avatar .icon {
  width: 18px;
  height: 18px;
}

.sidebar-user strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
  max-width: 125px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user small {
  font-size: 9px;
  color: #9ca292;
  white-space: nowrap;
}

.sidebar-user>.icon {
  width: 13px;
  margin-left: auto;
  color: #a8ae9f;
}

.workspace {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.topbar {
  height: 83px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  background: #fbfcf9;
  gap: 16px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #9ba093;
  font-size: 12px;
}

.breadcrumb>.icon {
  width: 11px;
  height: 11px;
  color: #b2b6ab;
}

.breadcrumb strong {
  color: #596350;
  font-weight: 500;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.today {
  font-family: var(--mono),var(--sans);
  font-size: 10px;
  letter-spacing: .3px;
  color: #949b89;
}

.icon-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding: 0;
  color: #737d69;
}

.icon-button:hover {
  background: #edf1e6;
}

.notification-button {
  position: relative;
}

.notification-dot {
  position: absolute;
  right: 7px;
  top: 4px;
  width: 5px;
  height: 5px;
  background: #b08a50;
  border-radius: 50%;
  border: 1px solid #fbfcf9;
}

.top-divider {
  height: 22px;
  width: 1px;
  background: var(--line);
}

.top-avatar {
  width: 32px;
  height: 32px;
}

.mobile-menu {
  display: none;
}

main {
  flex: 1;
}

.page {
  max-width: 1440px;
  padding: 39px 44px 26px;
  margin: 0 auto;
  animation: page-in .35s ease both;
}

.hero {
  min-height: 363px;
  background: #f0f2e8;
  border: 1px solid #e6e9dd;
  border-radius: 12px;
  padding: 38px 42px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  isolation: isolate;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.12' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: .23;
  z-index: -1;
  pointer-events: none;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 2px;
  color: #8c9872;
  display: block;
  line-height: 1.8;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 8px;
}

.tiny-star {
  font-size: 15px;
  color: #84935b;
  line-height: 1;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 46px;
  line-height: 1.4;
  letter-spacing: 4px;
  margin-top: 18px;
}

.hero h1>span {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.hero h1>span:after {
  content: "";
  position: absolute;
  left: 0;
  right: 4px;
  bottom: 9px;
  height: 10px;
  background: #d8e2b8;
  z-index: -1;
  transform: rotate(-1deg);
}

.hero-copy>p {
  font-size: 11px;
  line-height: 2;
  color: #7f8973;
  margin: 16px 0 22px;
  letter-spacing: .3px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 11px 19px;
  min-height: 43px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  transition: background .18s,transform .18s,box-shadow .18s;
}

.button:hover {
  transform: translateY(-1px);
}

.button .icon {
  width: 16px;
  height: 16px;
}

.button.primary {
  background: var(--green);
  color: #f8faef;
  box-shadow: 0 3px 6px #344c370d;
}

.button.primary:hover {
  background: #49613d;
  box-shadow: 0 4px 10px #344c3715;
}

.button.secondary {
  background: #fff;
  border-color: #e1e6d8;
  color: #59674c;
}

.button.secondary:hover {
  background: #f4f6ed;
}

.button.danger {
  background: #a34e46;
  color: #fff;
}

.button.danger-text {
  color: #a16c61;
  background: transparent;
  font-weight: 400;
}

.hero .button {
  min-height: 41px;
  padding: 10px 21px;
  font-size: 11px;
}

.hero .button .icon {
  margin-left: 14px;
  width: 16px;
}

.hero-assurances {
  display: flex;
  gap: 17px;
  margin-top: 25px;
  font-size: 8px;
  color: #89937e;
}

.hero-assurances span {
  display: flex;
  gap: 4px;
  align-items: center;
  white-space: nowrap;
}

.hero-assurances .icon {
  width: 11px;
  height: 11px;
}

.hero-edition {
  position: absolute;
  bottom: 18px;
  right: 28px;
  color: #a8af99;
  font-size: 7px;
  font-family: var(--mono);
  letter-spacing: 1.4px;
}

.envelope-scene {
  position: relative;
  align-self: center;
  height: 300px;
  transform: translate(8px,-1px);
}

.orbit {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 290px;
  height: 290px;
  transform: translateX(-50%) rotate(-24deg);
  border: 1px solid #dfe4d1;
  border-radius: 50%;
}

.orbit-two {
  width: 350px;
  height: 230px;
  top: 47px;
  border-style: dashed;
  border-color: #dce1cf;
  transform: translateX(-50%) rotate(-33deg);
}

.floating-note {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 216px;
  height: 204px;
  background: #fffef9;
  border: 1px solid #e9e9de;
  padding: 23px;
  transform: translateX(-45%) rotate(7deg);
  box-shadow: 3px 6px 25px #59633f10;
  z-index: 2;
  animation: note-in .9s ease both;
}

.floating-note>span:first-child {
  font-family: var(--mono);
  color: #9da38f;
  font-size: 7px;
  letter-spacing: 1.5px;
}

.handwritten {
  font-family: var(--serif);
  color: #73805c;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 1px;
  margin-top: 12px;
}

.note-line {
  height: 1px;
  width: 80%;
  background: #e7e9db;
  margin: 14px 0 8px;
}

.note-line.short {
  width: 62%;
  margin-top: 0;
}

.note-sign {
  font-family: Georgia,serif;
  font-size: 9px;
  font-style: italic;
  color: #a3ab94;
  display: block;
  margin-top: 16px;
}

.envelope {
  position: absolute;
  left: 50%;
  top: 103px;
  transform: translateX(-50%) rotate(-9deg);
  width: 266px;
  height: 169px;
  background: #dedfc8;
  border-radius: 4px;
  box-shadow: -2px 18px 28px #65684812;
  z-index: 3;
  animation: envelope-in 1s ease both;
}

.envelope-inside {
  position: absolute;
  inset: 0;
  background: #dedfc5;
  clip-path: polygon(0 0,50% 60%,100% 0);
}

.envelope-front {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg,#e8e8d3,#e5e4cd);
  clip-path: polygon(0 0,50% 53%,100% 0,100% 100%,0 100%);
  border-radius: 4px;
}

.envelope-front:after {
  content: "";
  position: absolute;
  inset: 0;
  background: #e9e8d4;
  clip-path: polygon(0 100%,50% 41%,100% 100%);
}

.envelope-flap {
  position: absolute;
  inset: 0;
  background: #efefdb;
  clip-path: polygon(0 0,50% 58%,100% 0);
  filter: drop-shadow(0 2px 1px #b4b39750);
}

.wax-seal {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%,-32%) rotate(9deg);
  height: 57px;
  width: 57px;
  border-radius: 47% 50% 46% 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #9bab70;
  color: #eaf0dc;
  box-shadow: 1px 3px 7px #69734938,inset 0 0 0 3px #a8b67f,inset 0 0 0 4px #8b9b63;
  outline: 2px solid #a5b47b;
  outline-offset: 1px;
}

.wax-seal span {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.15;
}

.wax-seal small {
  font-family: var(--mono);
  font-size: 4px;
  letter-spacing: 1px;
  margin-top: 3px;
}

.floating-label {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-42%) rotate(3deg);
  padding: 9px 14px;
  white-space: nowrap;
  background: #fffefa;
  border: 1px solid #e8eadc;
  box-shadow: 0 4px 12px #52652e06;
  font-size: 8px;
  letter-spacing: .5px;
  color: #8b957e;
  border-radius: 4px;
  z-index: 4;
}

.floating-label .icon {
  width: 11px;
  height: 11px;
  margin-right: 4px;
}

.scene-spark {
  position: absolute;
  color: #b3b480;
  font-size: 37px;
  left: 8%;
  top: 50px;
  z-index: 5;
}

.spark-two {
  font-size: 24px;
  left: auto;
  right: 9%;
  top: 112px;
  color: #b8bf94;
}

.scene-dot {
  position: absolute;
  right: 15%;
  bottom: 36px;
  width: 7px;
  height: 7px;
  border: 1px solid #b1bf8f;
  border-radius: 50%;
}

.template-section {
  padding-top: 33px;
  scroll-margin-top: 20px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-heading .eyebrow {
  font-size: 7px;
  color: #a5ad96;
  margin-bottom: 6px;
  letter-spacing: 1.7px;
}

.section-heading h2 {
  font-size: 20px;
  letter-spacing: .5px;
  font-weight: 550;
}

.heading-dot {
  color: #9aaa6f;
  font-size: 27px;
  margin-left: 3px;
}

.section-heading p {
  font-size: 10px;
  color: #98a08f;
  margin-top: 5px;
}

.segmented {
  display: flex;
  align-items: center;
  background: #ecefe7;
  border-radius: 6px;
  padding: 4px;
  gap: 2px;
  margin-bottom: 3px;
}

.segmented button {
  font-size: 9px;
  color: #909985;
  padding: 6px 11px;
  border-radius: 4px;
  white-space: nowrap;
}

.segmented .selected {
  background: #fff;
  color: #5d6e4b;
  box-shadow: 0 1px 4px #475a2520;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 15px;
}

.template-card {
  border: 1px solid #e3e7d8;
  border-radius: 9px;
  position: relative;
  padding: 22px 21px 15px;
  background: #fff;
  transition: transform .25s,box-shadow .25s;
  overflow: hidden;
}

.template-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 9px 18px #3b4c2910;
}

.sage {
  background: #edf2e3;
  color: #6b8250;
}

.sand {
  background: #f4efdf;
  color: #aa9563;
}

.rose {
  background: #f6e9e4;
  color: #ba8c7c;
}

.mist {
  background: #e9eef0;
  color: #81949b;
}

.template-card.sage {
  background: #edf2e3;
  border-color: #e2e8d4;
}

.template-card.sand {
  background: #f5f1e5;
  border-color: #ebe6d8;
}

.template-card.rose {
  background: #f6ece7;
  border-color: #eee2db;
}

.template-card.mist {
  background: #edf0ef;
  border-color: #e2e7e4;
}

.template-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  min-height: 39px;
}

.template-tag {
  font-size: 8px;
  letter-spacing: .3px;
  border: 1px solid #ffffffb3;
  background: #ffffff80;
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 3px;
}

.template-illustration {
  width: 38px;
  height: 40px;
  display: grid;
  place-items: center;
  transform: rotate(-7deg);
  margin-top: -4px;
}

.template-illustration .icon {
  width: 32px;
  height: 32px;
  stroke-width: 1.1;
}

.template-card h3 {
  font-size: 17px;
  color: #46563c;
  font-weight: 550;
  letter-spacing: .4px;
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.template-card p {
  font-size: 10px;
  color: #8c927e;
  line-height: 1.95;
  margin-top: 10px;
  min-height: 58px;
}

.recommended {
  font-size: 7px;
  color: #718346;
  background: #e2eacb;
  border: 1px solid #d7e1bd;
  border-radius: 3px;
  font-weight: 400;
  padding: 1px 4px;
  letter-spacing: 0;
}

.template-bottom {
  margin-top: 20px;
  padding-top: 13px;
  border-top: 1px solid #dce3ce;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.template-card.sand .template-bottom {
  border-color: #e7dfcd;
}

.template-card.rose .template-bottom {
  border-color: #eadbd2;
}

.template-card.mist .template-bottom {
  border-color: #dce3df;
}

.template-bottom>span {
  font-size: 7px;
  white-space: nowrap;
  letter-spacing: .2px;
  opacity: .85;
}

.template-cta {
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: .6;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.template-cta:hover {
  opacity: 1;
  background: #ffffff80;
}

.template-cta .icon {
  width: 12px;
  height: 12px;
}

.home-bottom {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 23px;
  margin-top: 29px;
}

.recent-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 23px 24px 8px;
  min-width: 0;
}

.section-heading.compact {
  align-items: center;
}

.section-heading.compact h2 {
  font-size: 14px;
  font-weight: 550;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-heading.compact p {
  font-size: 9px;
}

.count-bubble {
  font-family: var(--mono);
  color: #8b9b70;
  font-size: 9px;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  background: #eef2e6;
  border: 1px solid #e6ebdb;
  border-radius: 5px;
  vertical-align: middle;
}

.text-link {
  font-size: 10px;
  color: #7e8e68;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.text-link:hover {
  color: #344c37;
}

.text-link .icon {
  width: 13px;
  height: 13px;
}

.empty-state {
  text-align: center;
  padding: 57px 20px;
}

.empty-state.small {
  padding: 17px 15px 27px;
}

.empty-state h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 13px 0 7px;
  color: #6e7c60;
}

.empty-state p {
  font-size: 11px;
  color: #a0a691;
  line-height: 1.9;
  max-width: 440px;
  margin: 0 auto 14px;
}

.empty-state .button {
  margin-top: 13px;
}

.empty-icon {
  height: 48px;
  width: 48px;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f2f5eb;
  color: #adba95;
}

.empty-icon .icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.25;
}

.empty-state.small .empty-icon {
  height: 38px;
  width: 38px;
}

.empty-state.small .empty-icon .icon {
  height: 22px;
  width: 22px;
}

.empty-state.small h3 {
  font-size: 11px;
  color: #8a947d;
  margin-top: 11px;
  margin-bottom: 5px;
}

.empty-state.small p {
  font-size: 9px;
  margin-bottom: 8px;
}

.empty-state.small .text-link {
  font-size: 9px;
}

.journey-panel {
  border-radius: 9px;
  background: #3e503e;
  color: #edf0e0;
  padding: 28px 28px 19px;
  position: relative;
  overflow: hidden;
}

.journey-panel:after {
  content: "";
  position: absolute;
  right: -25px;
  top: 25px;
  width: 135px;
  height: 135px;
  border: 1px solid #73836535;
  border-radius: 50%;
  box-shadow: 0 0 0 20px #7383650c,0 0 0 40px #73836508;
  pointer-events: none;
}

.journey-panel .eyebrow {
  font-size: 6px;
  letter-spacing: 1.2px;
  color: #a2ad8d;
}

.journey-panel h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.6;
  letter-spacing: 3px;
  margin-top: 14px;
}

.journey-steps {
  display: flex;
  gap: 16px;
  margin-top: 21px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.journey-steps span {
  font-size: 8px;
  color: #c6ceb6;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.journey-steps i {
  font-family: var(--mono);
  font-size: 7px;
  font-style: normal;
  color: #9ea98a;
}

.journey-bottom {
  border-top: 1px solid #ffffff12;
  margin-top: 20px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 7px;
  color: #a6b095;
  gap: 7px;
}

.journey-bottom .icon {
  width: 20px;
  height: 20px;
  color: #b6c297;
  stroke-width: .9;
}

.trust-line {
  font-size: 8px;
  color: #a4ab99;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 23px 0 0;
  flex-wrap: wrap;
}

.trust-line>.icon {
  width: 12px;
  height: 12px;
}

.trust-line a {
  color: #82936c;
  margin-left: 9px;
  display: flex;
  gap: 4px;
  align-items: center;
}

.trust-line a .icon {
  width: 10px;
  height: 10px;
}

.page-footer {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 44px 22px;
  font-size: 8px;
  color: #a5ac9b;
}

.page-footer a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.page-footer .icon {
  width: 10px;
  height: 10px;
}

.footer-dot {
  padding: 0 5px;
}

.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 6px 0 32px;
}

.page-heading h1 {
  font-family: var(--serif);
  font-size: 33px;
  font-weight: 500;
  letter-spacing: 1.5px;
  line-height: 1.5;
  margin-top: 9px;
  overflow-wrap: anywhere;
}

.page-heading p {
  font-size: 12px;
  color: #939c87;
  margin-top: 8px;
}

.muted {
  color: #9aa58b;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  min-width: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
  margin: 0 0 26px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 22px 25px;
}

.stat-card>span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #929b85;
}

.stat-card>span .icon {
  color: #a6b491;
  width: 18px;
}

.stat-card strong {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 36px;
  line-height: 1.5;
  font-family: var(--serif);
  font-weight: 400;
  margin-top: 9px;
  color: #506341;
}

.stat-card strong small {
  font-family: var(--sans);
  font-size: 10px;
  color: #a4ac98;
  font-weight: 400;
}

.capsule-list-panel {
  overflow: hidden;
}

.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 16px 24px;
}

.tabs {
  display: flex;
  gap: 20px;
}

.tabs button {
  font-size: 11px;
  padding: 8px 0;
  color: #959c8c;
  position: relative;
  white-space: nowrap;
}

.tabs button.selected {
  color: #50693b;
  font-weight: 600;
}

.tabs button.selected:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 2px;
  background: #7e975b;
}

.list-toolbar input {
  background: #f8f9f5;
  border: 1px solid #e8ecdf;
  padding: 7px 12px;
  border-radius: 5px;
  font-size: 11px;
  width: 190px;
  color: #526044;
  min-width: 0;
}

.capsule-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid #f0f2ea;
  transition: background .2s;
}

.capsule-row:last-child {
  border-bottom: 0;
}

.capsule-row:hover {
  background: #fafbf6;
}

.row-icon {
  width: 43px;
  height: 43px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.row-icon .icon {
  width: 22px;
  height: 22px;
}

.row-info {
  flex: 1;
  min-width: 0;
}

.row-info strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-info small {
  font-size: 9px;
  color: #9ba28e;
  margin-top: 5px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-info small span {
  padding: 0 4px;
}

.capsule-row>.icon {
  width: 12px;
  height: 12px;
  color: #aab29e;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #e5e9dc;
  background: #f3f6ec;
  border-radius: 5px;
  color: #83936b;
  padding: 4px 8px;
  font-size: 9px;
  white-space: nowrap;
}

.status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.status.escalating,.status.awaiting_consent {
  color: #ae9462;
  border-color: #ede5d1;
  background: #faf6ea;
}

.status.delivered {
  color: #738e92;
  border-color: #dfe8e7;
  background: #eff6f3;
}

.status.cancelled,.status.paused {
  color: #959b8e;
  border-color: #e6e8df;
  background: #f6f7f3;
}

.status.large {
  font-size: 11px;
  padding: 7px 13px;
}

.recent-panel .capsule-row {
  padding: 15px 0;
}

.recent-panel .row-info strong {
  font-size: 11px;
}

.recent-panel .row-info small {
  font-size: 8px;
}

.recent-panel .row-icon {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

.recent-panel .row-icon .icon {
  width: 18px;
}

.recent-panel .status {
  font-size: 7px;
  padding: 3px 5px;
}

.back-link {
  font-size: 11px;
  color: #94a082;
  display: inline-block;
  margin-bottom: 24px;
}

.back-link:hover {
  color: var(--green);
}

.create-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.create-heading h1 {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 2px;
  font-weight: 400;
}

.create-heading p {
  font-size: 11px;
  color: #99a18e;
  margin-top: 2px;
}

.create-heading>.row-icon {
  width: 54px;
  height: 54px;
}

.draft-badge {
  margin-left: auto;
  color: #9ca590;
  background: #eef1e7;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 9px;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 0 28px;
  max-width: 760px;
}

.step {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #a4ad99;
  flex: 1;
  position: relative;
}

.step:not(:last-child):after {
  content: "";
  height: 1px;
  flex: 1;
  background: #e2e8d8;
  margin-left: 10px;
}

.step>span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid #e1e5d7;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 10px;
  background: #fafbf7;
  flex-shrink: 0;
}

.step>strong {
  font-size: 11px;
  font-weight: 400;
  white-space: nowrap;
}

.step.current {
  color: #4c653b;
}

.step.current>span {
  background: #e1eacb;
  border-color: #d3dfb8;
  color: #637d45;
}

.step.done {
  color: #879a6b;
}

.step.done>span {
  background: #edf3e1;
  border-color: #dce7ca;
}

.step .icon {
  width: 13px;
  height: 13px;
}

.create-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 260px;
  gap: 29px;
  align-items: start;
}

.create-form {
  padding: 32px;
}

.create-form>h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  margin-top: 9px;
  letter-spacing: 1px;
}

.form-intro {
  font-size: 11px;
  color: #9ba48e;
  margin: 9px 0 28px;
}

.field {
  display: flex;
  flex-direction: column;
  margin: 20px 0;
  gap: 9px;
  min-width: 0;
}

.field>span {
  font-size: 11px;
  color: #657456;
  font-weight: 500;
}

.field>span>small {
  font-size: 9px;
  font-weight: 400;
  color: #a8af9a;
  margin-left: 9px;
}

.field input,.field textarea,.field select {
  width: 100%;
  min-width: 0;
  border: 1px solid #e0e5d7;
  border-radius: 5px;
  background: #fdfefb;
  padding: 11px 13px;
  font-size: 12px;
  color: #526044;
  line-height: 1.8;
  transition: background .2s;
}

.field input::placeholder,.field textarea::placeholder {
  color: #b1b8a5;
  font-size: 11px;
}

.field textarea {
  resize: vertical;
  min-height: 60px;
}

.field input:focus,.field textarea:focus,.field select:focus {
  background: #fff;
}

.field-hint {
  font-size: 9px;
  color: #a1aa95;
  line-height: 1.8;
}

.editor-footer {
  font-size: 8px;
  display: flex;
  justify-content: space-between;
  color: #a6af99;
  margin-top: -13px;
  gap: 8px;
}

.editor-footer .icon {
  width: 10px;
  height: 10px;
  margin-right: 3px;
}

.attachments {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 12px;
  gap: 12px;
  flex-wrap: wrap;
}

.attachment-button {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px dashed #dce3d0;
  border-radius: 5px;
  padding: 7px 11px;
  font-size: 10px;
  color: #8c9a78;
  cursor: pointer;
}

.attachment-button .icon {
  width: 13px;
  height: 13px;
}

.attachments>small {
  font-size: 8px;
  color: #a6af99;
}

.file-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.file-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #edf2e3;
  padding: 5px 8px;
  font-size: 9px;
  color: #7c8c66;
  border-radius: 4px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.file-chip .icon {
  width: 12px;
  height: 12px;
}

.file-chip button {
  padding: 0;
  display: flex;
  color: #95a580;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  border-top: 1px solid #edf0e6;
  padding-top: 23px;
  gap: 16px;
}

.form-actions>span {
  font-size: 9px;
  color: #abb29e;
}

.form-error {
  font-size: 11px;
  color: #b07463;
  margin-top: 12px;
  min-height: 0;
}

.form-error:empty {
  display: none;
}

.mini-seal-card {
  border: 1px solid #e0e6d5;
  border-radius: 9px;
  padding: 24px;
  text-align: center;
  position: relative;
  background: #f0f3e8;
  color: #607348;
  overflow: hidden;
}

.mini-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #94a17e;
  font-size: 8px;
  letter-spacing: .9px;
  gap: 10px;
}

.mini-card-top .icon {
  width: 16px;
  height: 16px;
}

.mini-seal-card>.eyebrow {
  font-size: 7px;
  margin-top: 40px;
  letter-spacing: 1.3px;
}

.mini-seal-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 1px;
  margin-top: 9px;
  overflow-wrap: anywhere;
  min-height: 75px;
}

.mini-wax {
  height: 65px;
  width: 65px;
  border: 1px solid #a7b788;
  box-shadow: inset 0 0 0 4px #e5ebd6,inset 0 0 0 5px #b9c7a1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin: 22px auto 28px;
  font-family: var(--serif);
  font-size: 29px;
  color: #809963;
  transform: rotate(-10deg);
  background: #e8eedb;
}

.mini-seal-card>p {
  font-size: 9px;
  color: #9eaa8b;
}

.mini-card-bottom {
  border-top: 1px solid #dfe6d3;
  margin-top: 25px;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 8px;
}

.mini-card-bottom small {
  font-size: 7px;
  color: #a4ad97;
}

.creation-assurances {
  padding: 24px 9px;
}

.creation-assurances h3 {
  font-size: 11px;
  font-weight: 500;
  color: #81946a;
  margin-bottom: 13px;
}

.creation-assurances p {
  font-size: 9px;
  color: #9da78f;
  margin-top: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.creation-assurances .icon {
  width: 12px;
  height: 12px;
  color: #a3b58b;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f8f4e8;
  color: #a18c61;
  border: 1px solid #eee6d1;
  border-radius: 6px;
  padding: 14px;
  font-size: 10px;
  line-height: 1.9;
  margin: 22px 0;
}

.notice>.icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.notice.soft {
  background: #f3f6ec;
  border-color: #e6edda;
  color: #8a9b71;
}

.form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-columns .field {
  margin: 10px 0;
}

.escalation-preview {
  border: 1px solid #e4e9db;
  background: #f7f9f1;
  border-radius: 6px;
  padding: 20px;
  margin: 22px 0;
  color: #8e9c79;
  font-size: 10px;
}

.escalation-preview>strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: #6b8052;
}

.escalation-preview .icon {
  width: 15px;
  height: 15px;
}

.escalation-preview ol {
  line-height: 2.1;
  padding-left: 22px;
}

.escalation-preview p {
  font-size: 9px;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.choice {
  border: 1px solid #e2e7d7;
  border-radius: 6px;
  padding: 16px;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 7px;
  position: relative;
  cursor: pointer;
  color: #98a48c;
}

.choice>input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  right: 15px;
  top: 15px;
}

.choice>strong {
  font-size: 11px;
  font-weight: 500;
}

.choice>small {
  grid-column: 1/-1;
  font-size: 8px;
}

.choice.chosen {
  background: #f2f6e8;
  border-color: #aaba8b;
  color: #6b8052;
}

.choice:focus-within {
  outline: 2px solid #a0b582;
  outline-offset: 2px;
}

.choice .icon {
  width: 16px;
  height: 16px;
}

.check-line {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 10px;
  color: #8e9a7e;
  line-height: 1.85;
  margin: 20px 0;
  cursor: pointer;
}

.check-line input {
  accent-color: #6d8751;
  width: 14px;
  height: 14px;
  margin: 3px 0 0;
  flex-shrink: 0;
}

.check-line a {
  text-decoration: underline;
}

.seal-agreement {
  background: #fafbf7;
  padding: 14px;
  border: 1px solid #e9edde;
  border-radius: 5px;
  margin-top: 27px;
  font-size: 9px;
}

.seal-agreement strong {
  font-weight: 500;
  color: #708259;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 260px;
  gap: 25px;
  align-items: start;
}

.detail-panel {
  padding: 27px 30px;
  margin-bottom: 24px;
}

.detail-panel h2 {
  font-size: 15px;
  font-weight: 500;
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 18px;
}

.detail-panel h2>.icon {
  width: 19px;
  height: 19px;
  color: #8fa477;
}

.detail-panel>p {
  font-size: 12px;
  line-height: 2;
  color: #96a086;
  margin: 13px 0 20px;
}

.sealed-description {
  padding: 25px 20px;
  border: 1px dashed #e1e7d6;
  background: #fafcf5;
  border-radius: 5px;
  text-align: center;
  font-size: 11px !important;
  color: #9ca98c !important;
}

.detail-facts {
  margin: 22px 0;
}

.detail-facts>div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  font-size: 11px;
}

.detail-facts dt {
  color: #a2aa95;
  flex-shrink: 0;
}

.detail-facts dd {
  text-align: right;
  color: #6d7b5a;
  margin: 0;
  overflow-wrap: anywhere;
}

.detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.proof-hash {
  background: #f6f8f1;
  border: 1px solid #e9edde;
  border-radius: 5px;
  padding: 17px;
  margin-top: 22px;
}

.proof-hash>span {
  font-size: 9px;
  color: #93a17d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.proof-hash .icon {
  width: 13px;
  height: 13px;
}

.proof-hash code {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  word-break: break-all;
  color: #758963;
  line-height: 2;
  margin: 9px 0;
}

.proof-hash small {
  font-size: 8px;
  color: #a8b096;
}

.aside-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 19px;
}

.full {
  width: 100%;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 19px 0;
}

.contact-row strong {
  font-size: 11px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.contact-row small {
  display: block;
  font-size: 9px;
  color: #a2ad94;
  margin-top: 3px;
}

.delivery-receipt {
  border-top: 1px solid var(--line);
  padding: 16px 0 0;
  margin-top: 18px;
  display: flex;
  gap: 15px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.delivery-receipt>span {
  font-size: 9px;
  color: #97a484;
  display: flex;
  align-items: center;
  gap: 5px;
}

.delivery-receipt .icon {
  width: 13px;
  height: 13px;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.timeline li {
  display: flex;
  gap: 16px;
  position: relative;
  padding: 0 0 23px 0;
  align-items: flex-start;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li:not(:last-child):before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  bottom: 0;
  width: 1px;
  background: #e2e8d6;
}

.timeline-node {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid #a3b788;
  background: #eef4e3;
  margin-top: 5px;
  flex-shrink: 0;
}

.timeline strong {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.85;
  color: #839173;
  display: block;
}

.timeline small {
  font-size: 8px;
  color: #b0b89f;
  margin-top: 4px;
  display: block;
}

.security-hero {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 30px;
  border: 1px solid #e1e7d5;
  background: #edf2e2;
  border-radius: 10px;
  margin-bottom: 25px;
}

.security-seal {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  border: 1px solid #bfcca9;
  box-shadow: inset 0 0 0 6px #e6edd9;
  display: grid;
  place-items: center;
  color: #89a169;
  flex-shrink: 0;
}

.security-seal .icon {
  width: 35px;
  height: 35px;
  stroke-width: 1.2;
}

.security-hero h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 1px;
}

.security-hero p {
  font-size: 11px;
  color: #96a283;
  margin-top: 10px;
  line-height: 2;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 24px;
}

.security-grid .detail-panel {
  margin: 0;
}

.feature-icon {
  width: 45px;
  height: 45px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.feature-icon .icon {
  width: 23px;
  height: 23px;
  stroke-width: 1.3;
}

.security-grid h2 {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: .5px;
  margin-bottom: 12px;
}

.security-grid p {
  font-size: 11px;
  color: #8c997c;
  line-height: 2;
  margin-bottom: 16px;
}

.security-grid small {
  font-size: 9px;
  color: #a8b097;
  line-height: 1.9;
  display: block;
  border-top: 1px solid #edf0e6;
  padding-top: 14px;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.settings-row strong {
  font-size: 12px;
  font-weight: 500;
  color: #778968;
}

.settings-row p {
  font-size: 10px;
  color: #9ba88c;
  line-height: 1.9;
  margin-top: 5px;
}

.settings-row>.icon {
  color: #a2b38a;
  width: 20px;
  flex-shrink: 0;
}

.settings-row .button {
  flex-shrink: 0;
}

.activity-layout {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.all-calm {
  padding: 20px 0;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  color: #97a584;
}

.all-calm>.icon {
  background: #eef3e5;
  box-sizing: content-box;
  padding: 10px;
  border-radius: 50%;
  color: #8ca471;
  width: 18px;
  height: 18px;
}

.all-calm strong {
  font-size: 12px;
  font-weight: 400;
  display: block;
}

.all-calm p {
  font-size: 10px;
  color: #aab39b;
  margin-top: 5px;
}

.activity-feed>a {
  display: flex;
  gap: 15px;
  border-bottom: 1px solid #edf0e6;
  padding: 21px 0;
  align-items: flex-start;
}

.activity-feed>a:last-child {
  border-bottom: 0;
}

.activity-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #adc191;
  flex-shrink: 0;
  margin-top: 7px;
}

.activity-feed>a>div {
  flex: 1;
}

.activity-feed strong {
  font-size: 12px;
  font-weight: 500;
}

.activity-feed p {
  font-size: 10px;
  color: #96a382;
  margin: 5px 0;
}

.activity-feed small {
  font-size: 9px;
  color: #b1b99f;
}

.activity-feed>a>.icon {
  width: 13px;
  height: 13px;
  color: #acb89a;
}

.inbox-notice {
  margin-top: -10px;
  margin-bottom: 25px;
}

.mail-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mail-card {
  padding: 23px 27px;
}

.mail-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
}

.mail-heading strong {
  font-size: 12px;
  font-weight: 500;
}

.mail-heading small {
  font-size: 10px;
  color: #a0ac90;
  display: block;
  overflow-wrap: anywhere;
}

.mail-heading time {
  font-size: 9px;
  color: #a5af97;
  margin-left: auto;
}

.mail-body {
  margin: 18px 0 0 55px;
  white-space: pre-wrap;
  font-size: 11px;
  line-height: 2;
  color: #8d9b7c;
  overflow-wrap: anywhere;
}

.mail-body a {
  color: #657e49;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.review-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
  align-items: center;
}

.review-item strong {
  font-size: 12px;
  font-weight: 500;
}

.review-item p {
  font-size: 11px;
  color: #929e81;
  margin: 6px 0;
}

.review-item small {
  font-size: 9px;
  color: #a9b29a;
}

.button-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.public-page {
  max-width: 850px;
}

.public-intro {
  text-align: center;
  padding: 35px 0 42px;
}

.public-intro .eyebrow {
  font-size: 8px;
  letter-spacing: 3px;
}

.public-intro h1 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 3px;
  line-height: 1.65;
  margin: 16px 0;
}

.public-intro>p {
  font-size: 12px;
  line-height: 2;
  color: #98a388;
}

.proof-card {
  background: #f1f4e9;
  border: 1px solid #dfe6d3;
  border-radius: 10px;
  padding: 32px 39px;
  text-align: center;
  margin-bottom: 27px;
}

.mini-wax.big {
  width: 88px;
  height: 88px;
  font-size: 37px;
  margin: 35px auto 23px;
}

.proof-card>h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 1px;
  overflow-wrap: anywhere;
}

.proof-card>p {
  font-size: 11px;
  color: #9ba989;
  margin: 13px 0 20px;
}

.proof-card>.detail-facts {
  border-top: 1px solid #dce5cd;
  padding-top: 15px;
  margin-top: 30px;
}

.proof-card .proof-hash {
  text-align: left;
}

.proof-card .button-group {
  justify-content: center;
  margin-top: 24px;
}

.public-end-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1.8;
  color: #8b9b76;
  margin: 35px 0 15px;
  text-align: center;
}

.public-end-cta .icon {
  width: 16px;
  height: 16px;
}

.letter {
  background: #fffef9;
  border: 1px solid #e7e7db;
  border-radius: 4px;
  box-shadow: 0 8px 25px #45553205;
  padding: 37px 43px;
  margin-bottom: 28px;
  position: relative;
}

.letter:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(transparent,transparent 30px,#eeeeea24 31px);
  opacity: .4;
}

.letter>* {
  position: relative;
}

.letter-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  font-size: 9px;
  color: #9ca98b;
  padding-bottom: 23px;
  border-bottom: 1px solid #ebeede;
  flex-wrap: wrap;
}

.letter-top>span:last-child {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 8px;
  color: #91a177;
}

.letter-top .icon {
  width: 12px;
  height: 12px;
}

.letter h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 27px 0 20px;
  overflow-wrap: anywhere;
}

.letter-content {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2.2;
  color: #748263;
}

.letter-signature {
  font-family: Georgia,serif;
  font-size: 16px;
  font-style: italic;
  color: #9ea88b;
  margin-top: 40px;
  text-align: right;
}

.letter-signature span {
  display: block;
  font-family: var(--sans);
  font-size: 8px;
  font-style: normal;
  margin-top: 9px;
  color: #a7b096;
}

.reveal-files {
  margin-top: 25px;
}

.reveal-file {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  color: #8a9b74;
  overflow-wrap: anywhere;
}

.reveal-file .icon {
  width: 14px;
  height: 14px;
}

.external-links {
  margin-top: 25px;
  border-top: 1px solid #e9eddc;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.external-links h3 {
  font-size: 11px;
  font-weight: 500;
  color: #8a9978;
}

.external-links a {
  font-size: 11px;
  color: #829767;
  overflow-wrap: anywhere;
  text-decoration: underline;
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.external-links .icon {
  width: 13px;
  height: 13px;
  margin-top: 4px;
}

.external-links small {
  font-size: 8px;
  color: #a6b095;
}

.recipient-rights {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 8px;
  color: #a5af97;
}

.recipient-rights button {
  font-size: 8px;
  color: #9ba88c;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}

.recovery-box {
  margin-top: 30px;
  background: #f3f7eb;
  border: 1px solid #e2e9d7;
  border-radius: 6px;
  padding: 20px;
}

.recovery-box h3 {
  font-size: 13px;
  font-weight: 500;
  color: #7a8f61;
}

.recovery-box p {
  font-size: 10px;
  color: #9ca98b;
  margin: 10px 0 15px;
  line-height: 1.9;
}

.recovery-box code {
  display: block;
  overflow-wrap: anywhere;
  font-size: 10px;
  color: #81956b;
  margin-bottom: 17px;
}

.modal {
  border: 1px solid #e0e6d5;
  border-radius: 12px;
  background: #fffffc;
  box-shadow: 0 20px 100px #263c2326;
  width: min(440px,calc(100% - 32px));
  padding: 35px;
  color: var(--ink);
  max-height: calc(100dvh - 40px);
  overflow: auto;
}

.modal::backdrop {
  background: #30402c40;
  backdrop-filter: blur(4px);
}

.modal-close {
  position: absolute;
  right: 13px;
  top: 12px;
  width: 27px;
  height: 27px;
  color: #a6b197;
}

.modal-close .icon {
  width: 16px;
}

.modal>h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 25px;
  letter-spacing: 1px;
  line-height: 1.6;
  margin: 9px 0 13px;
}

.modal>p {
  font-size: 11px;
  line-height: 2;
  color: #98a387;
  margin: 12px 0 24px;
  overflow-wrap: anywhere;
}

.modal .field {
  margin: 18px 0;
}

.modal .feature-icon {
  margin-bottom: 17px;
}

.modal .eyebrow {
  font-size: 7px;
  letter-spacing: 1.4px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 27px;
}

.modal .check-line {
  font-size: 9px;
}

.dev-login-note {
  font-size: 9px;
  line-height: 1.8;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  background: #f6f4e8;
  border: 1px solid #eee9d6;
  padding: 12px;
  border-radius: 5px;
  color: #ac9c70;
  margin-top: 20px;
}

.dev-login-note .icon {
  width: 13px;
  height: 13px;
  margin-top: 2px;
}

.otp-input {
  text-align: center;
  letter-spacing: 12px;
  font-size: 23px !important;
  font-family: var(--mono);
  padding: 14px !important;
}

.text-button {
  font-size: 10px;
  color: #9aaa86;
  display: block;
  margin: 17px auto 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pause-options {
  display: flex;
  gap: 12px;
}

.pause-options .button {
  flex: 1;
  padding: 15px;
}

.modal .button.full+.button {
  margin-top: 12px;
}

#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%,20px);
  background: #354a35;
  color: #f3f6ea;
  border: 1px solid #7a8e6550;
  border-radius: 8px;
  box-shadow: 0 5px 22px #364c3320;
  padding: 13px 23px;
  font-size: 12px;
  line-height: 1.8;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s,transform .2s;
  z-index: 100;
  max-width: calc(100% - 40px);
  width: max-content;
}

#toast.visible {
  opacity: 1;
  transform: translate(-50%,0);
}

.error-page {
  margin: 40px auto;
  padding: 70px 25px;
  max-width: 760px;
}

.error-page h1 {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  margin: 20px 0 13px;
}

.boot {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  color: #8d9c77;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 2px;
}

.boot-seal {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid #b6c59d;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 28px;
  background: #eaf0de;
  animation: breathe 1.5s ease-in-out infinite;
}

.appear {
  animation: page-in .65s ease both;
}

.delay-0 {
  animation-delay: .1s;
}

.delay-1 {
  animation-delay: .17s;
}

.delay-2 {
  animation-delay: .24s;
}

.delay-3 {
  animation-delay: .31s;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

}

@keyframes note-in {
  from {
    opacity: 0;
    transform: translate(-45%,12px) rotate(3deg);
  }

  to {
    opacity: 1;
    transform: translate(-45%,0) rotate(7deg);
  }

}

@keyframes envelope-in {
  from {
    opacity: 0;
    transform: translate(-50%,12px) rotate(-6deg);
  }

  to {
    opacity: 1;
    transform: translate(-50%,0) rotate(-9deg);
  }

}

@keyframes breathe {
  50% {
    opacity: .5;
    transform: scale(.96);
  }

}

@media (min-width:1600px) {
  .page {
    padding-top: 48px;
  }

  .hero {
    min-height: 405px;
    padding: 47px 51px;
  }

  .hero h1 {
    font-size: 53px;
  }

  .hero-copy>p {
    font-size: 12px;
  }

  .hero-assurances {
    font-size: 9px;
    margin-top: 28px;
  }

  .template-card {
    padding: 26px 25px 19px;
  }

  .template-card p {
    font-size: 11px;
    min-height: 64px;
  }

  .template-card h3 {
    font-size: 19px;
  }

  .template-tag {
    font-size: 9px;
  }

  .template-bottom>span {
    font-size: 8px;
  }

  .section-heading h2 {
    font-size: 22px;
  }

  .template-section {
    padding-top: 40px;
  }

  .home-bottom {
    margin-top: 34px;
  }

  .journey-panel {
    padding: 31px;
  }

  .journey-panel h3 {
    font-size: 29px;
  }

  .journey-steps {
    margin-top: 25px;
  }

}

@media (max-width:1250px) {
  .app-shell {
    grid-template-columns: 205px minmax(0,1fr);
  }

  .sidebar {
    width: 205px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 35px;
    height: 38px;
  }

  .topbar {
    padding: 0 30px;
  }

  .page {
    padding: 30px 30px 25px;
  }

  .page-footer {
    padding-left: 30px;
    padding-right: 30px;
  }

  .hero {
    padding: 32px;
    min-height: 355px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-assurances {
    gap: 10px;
    font-size: 7px;
  }

  .template-grid {
    gap: 12px;
  }

  .template-card {
    padding: 17px 15px 12px;
  }

  .template-tag {
    font-size: 7px;
    padding: 3px 5px;
  }

  .template-illustration {
    width: 26px;
  }

  .template-illustration .icon {
    width: 25px;
    height: 25px;
  }

  .template-card h3 {
    font-size: 15px;
    gap: 5px;
  }

  .template-card p {
    font-size: 9px;
    min-height: 69px;
  }

  .template-bottom>span {
    font-size: 6px;
    letter-spacing: 0;
  }

  .template-bottom {
    margin-top: 10px;
  }

  .template-cta {
    width: 20px;
    height: 20px;
  }

  .recommended {
    font-size: 6px;
    padding: 1px 3px;
  }

  .envelope-scene {
    transform: scale(.9);
    transform-origin: center;
    min-width: 250px;
  }

  .home-bottom {
    gap: 18px;
  }

  .journey-panel {
    padding: 23px;
  }

  .journey-steps {
    gap: 10px;
  }

  .create-layout,.detail-layout {
    grid-template-columns: minmax(0,1fr) 235px;
    gap: 20px;
  }

  .create-form {
    padding: 26px;
  }

  .mini-seal-card {
    padding: 20px;
  }

  .list-toolbar {
    padding-left: 20px;
    padding-right: 20px;
  }

  .tabs {
    gap: 15px;
  }

  .stat-card {
    padding: 20px;
  }

  .detail-panel {
    padding: 24px;
  }

  .create-heading>.draft-badge {
    font-size: 8px;
  }

  .sidebar-user small {
    font-size: 8px;
  }

  .today {
    font-size: 9px;
  }

}

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

  .template-card {
    padding: 22px 23px 16px;
  }

  .template-card h3 {
    font-size: 18px;
  }

  .template-card p {
    font-size: 11px;
    min-height: 44px;
  }

  .template-tag {
    font-size: 9px;
  }

  .template-illustration .icon {
    width: 32px;
    height: 32px;
  }

  .template-bottom>span {
    font-size: 8px;
  }

  .template-cta {
    width: 25px;
    height: 25px;
  }

  .recommended {
    font-size: 7px;
  }

  .template-top {
    min-height: 35px;
  }

  .template-card h3 {
    margin-top: 12px;
  }

  .template-bottom {
    margin-top: 18px;
  }

  .hero {
    grid-template-columns: 1.1fr 1fr;
    padding: 30px 26px;
  }

  .hero h1 {
    font-size: 37px;
    letter-spacing: 2px;
  }

  .hero-copy>p {
    font-size: 10px;
  }

  .hero-assurances {
    flex-wrap: wrap;
    max-width: 260px;
    gap: 6px 10px;
    font-size: 7px;
  }

  .envelope-scene {
    transform: scale(.75) translateX(-5px);
    min-width: 220px;
  }

  .hero-edition {
    font-size: 6px;
  }

  .section-heading h2 {
    font-size: 18px;
  }

  .segmented button {
    padding: 6px 8px;
    font-size: 8px;
  }

  .home-bottom {
    grid-template-columns: 1.4fr 1fr;
  }

  .journey-panel h3 {
    font-size: 24px;
  }

  .journey-steps {
    gap: 8px;
    flex-direction: column;
    margin-top: 17px;
  }

  .journey-steps span {
    font-size: 8px;
  }

  .journey-panel .eyebrow {
    font-size: 5px;
  }

  .journey-bottom {
    margin-top: 15px;
  }

  .create-layout,.detail-layout {
    grid-template-columns: minmax(0,1fr) 210px;
    gap: 17px;
  }

  .mini-seal-card {
    padding: 17px;
  }

  .mini-seal-card h3 {
    font-size: 19px;
  }

  .mini-card-top {
    font-size: 6px;
    letter-spacing: .5px;
  }

  .create-form {
    padding: 25px;
  }

  .form-actions>span {
    display: none;
  }

  .form-actions {
    justify-content: flex-end;
  }

  .detail-facts>div {
    font-size: 10px;
    gap: 13px;
  }

  .page-heading h1 {
    font-size: 29px;
  }

  .stats-grid {
    gap: 14px;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-card>span {
    font-size: 10px;
  }

  .stat-card strong {
    font-size: 31px;
  }

  .list-toolbar {
    flex-wrap: wrap;
  }

  .tabs {
    gap: 19px;
  }

  .list-toolbar input {
    width: 150px;
  }

  .tabs button {
    font-size: 10px;
  }

  .security-grid {
    gap: 17px;
  }

  .settings-row {
    gap: 20px;
  }

  .create-heading h1 {
    font-size: 25px;
  }

  .draft-badge {
    max-width: 160px;
    text-align: center;
  }

  .choice {
    padding: 12px;
  }

  .choice>small {
    font-size: 7px;
  }

  .choice>strong {
    font-size: 10px;
  }

  .choice-grid {
    gap: 9px;
  }

}

@media (max-width:850px) {
  .app-shell {
    grid-template-columns: 185px minmax(0,1fr);
  }

  .sidebar {
    width: 185px;
    padding-top: 28px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand {
    font-size: 16px;
    letter-spacing: 1px;
    gap: 8px;
  }

  .brand small {
    font-size: 7px;
    letter-spacing: 3px;
  }

  .brand-mark {
    width: 32px;
    height: 35px;
    border-radius: 10px;
  }

  .brand-mark .icon {
    width: 22px;
  }

  .nav-caption {
    font-size: 9px;
    padding: 25px 10px;
  }

  .nav-link {
    font-size: 11px;
    padding: 11px 12px;
    gap: 10px;
  }

  .nav-link .icon {
    width: 17px;
    height: 17px;
  }

  .sidebar-note {
    margin-left: 10px;
  }

  .sidebar-note p {
    font-size: 16px;
  }

  .sidebar-note small {
    font-size: 6px;
    letter-spacing: 1.3px;
  }

  .sidebar-user {
    gap: 7px;
    padding-top: 19px;
  }

  .sidebar-user strong {
    font-size: 10px;
    max-width: 100px;
  }

  .sidebar-user small {
    font-size: 6.5px;
  }

  .sidebar-user .avatar {
    width: 28px;
    height: 28px;
  }

  .topbar {
    height: 70px;
    padding: 0 23px;
  }

  .page {
    padding: 27px 23px 25px;
  }

  .topbar-right {
    gap: 12px;
  }

  .today {
    font-size: 8px;
  }

  .breadcrumb {
    font-size: 10px;
    gap: 9px;
  }

  .hero {
    grid-template-columns: 1fr .8fr;
    padding: 26px 23px;
    min-height: 335px;
  }

  .hero h1 {
    font-size: 34px;
    margin-top: 19px;
  }

  .hero .eyebrow {
    font-size: 6px;
    letter-spacing: 1.4px;
  }

  .hero-copy>p {
    font-size: 9px;
    white-space: nowrap;
    line-height: 2.1;
  }

  .hero .button {
    font-size: 10px;
    padding: 9px 14px;
    min-height: 36px;
  }

  .hero-assurances {
    max-width: 200px;
    margin-top: 20px;
  }

  .envelope-scene {
    transform: scale(.65) translateX(-20px);
    min-width: 180px;
  }

  .hero-edition {
    right: 20px;
    font-size: 5px;
  }

  .section-heading {
    gap: 12px;
    align-items: flex-start;
  }

  .section-heading h2 {
    font-size: 17px;
  }

  .section-heading p {
    font-size: 9px;
  }

  .segmented {
    padding: 3px;
    margin-top: 5px;
  }

  .segmented button {
    font-size: 7px;
    padding: 6px;
  }

  .template-section {
    padding-top: 28px;
  }

  .template-card {
    padding: 19px 18px 14px;
  }

  .template-card p {
    font-size: 10px;
    min-height: 58px;
  }

  .template-tag {
    font-size: 7px;
  }

  .template-card h3 {
    font-size: 17px;
  }

  .template-bottom>span {
    font-size: 7px;
  }

  .home-bottom {
    grid-template-columns: 1fr;
  }

  .journey-panel {
    padding: 22px 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }

  .journey-panel>.eyebrow {
    grid-column: 1/-1;
    font-size: 6px;
  }

  .journey-panel h3 {
    font-size: 24px;
    grid-row: 2/4;
  }

  .journey-steps {
    flex-direction: row;
    gap: 10px;
    align-self: center;
  }

  .journey-bottom {
    align-self: end;
    font-size: 6px;
  }

  .recent-panel {
    padding: 22px 23px 5px;
  }

  .page-footer {
    padding-left: 23px;
    padding-right: 23px;
    font-size: 7px;
  }

  .create-layout,.detail-layout {
    grid-template-columns: 1fr;
  }

  .create-aside {
    display: none;
  }

  .detail-layout>aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
  }

  .detail-layout>aside .mini-seal-card {
    min-height: 270px;
  }

  .detail-layout>aside .mini-seal-card>.eyebrow {
    margin-top: 22px;
  }

  .detail-layout>aside .mini-seal-card h3 {
    min-height: 0;
  }

  .detail-layout>aside .mini-wax {
    width: 50px;
    height: 50px;
    font-size: 22px;
    margin: 20px auto;
  }

  .detail-layout>aside .mini-card-bottom {
    margin-top: 20px;
  }

  .create-heading>.draft-badge {
    font-size: 7px;
    max-width: 140px;
  }

  .page-heading {
    gap: 14px;
  }

  .page-heading h1 {
    font-size: 27px;
  }

  .page-heading p {
    font-size: 10px;
  }

  .page-heading .button {
    font-size: 10px;
    padding: 10px 12px;
    min-height: 38px;
    white-space: nowrap;
  }

  .stats-grid {
    gap: 10px;
  }

  .stat-card {
    padding: 16px 13px;
  }

  .stat-card strong {
    font-size: 29px;
    gap: 7px;
  }

  .stat-card strong small {
    font-size: 8px;
  }

  .list-toolbar {
    gap: 15px;
  }

  .tabs {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .tabs button.selected:after {
    bottom: -7px;
  }

  .list-toolbar input {
    width: 100%;
    margin-top: 5px;
  }

  .capsule-row {
    padding: 18px 20px;
    gap: 12px;
  }

  .row-info small {
    font-size: 8px;
  }

  .status {
    font-size: 8px;
  }

  .row-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .row-icon .icon {
    width: 20px;
    height: 20px;
  }

  .capsule-row>.icon {
    display: none;
  }

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

  .security-hero {
    padding: 23px;
    gap: 20px;
  }

  .security-seal {
    width: 60px;
    height: 60px;
  }

  .security-seal .icon {
    width: 30px;
    height: 30px;
  }

  .security-hero h2 {
    font-size: 21px;
  }

  .security-hero p {
    font-size: 10px;
  }

  .settings-row {
    gap: 15px;
    align-items: flex-start;
  }

  .settings-row .button {
    font-size: 10px;
    padding: 9px 12px;
  }

  .mail-card {
    padding: 20px;
  }

  .mail-body {
    margin-left: 0;
  }

  .mail-heading {
    gap: 10px;
  }

  .mail-heading time {
    margin-left: 0;
  }

  .public-intro h1 {
    font-size: 30px;
  }

  .public-page .page-heading {
    display: block;
  }

  .proof-card {
    padding: 27px;
  }

  .letter {
    padding: 28px;
  }

  .letter-content {
    font-size: 15px;
  }

  .review-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .public-page .button-group {
    justify-content: flex-start;
  }

}

@media (max-width:640px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    transform: translateX(-100%);
    width: 228px;
    transition: transform .25s;
    box-shadow: 15px 0 80px #2e402030;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar.open:after {
    content: "";
    position: fixed;
    top: 0;
    left: 228px;
    width: calc(100vw - 228px);
    height: 100vh;
    background: #30402a26;
    z-index: -1;
  }

  .sidebar-note {
    margin-bottom: 25px;
  }

  .sidebar-user small {
    font-size: 9px;
  }

  .sidebar-user strong {
    font-size: 12px;
  }

  .sidebar .nav-link {
    font-size: 13px;
  }

  .sidebar .brand {
    font-size: 19px;
  }

  .sidebar .brand small {
    font-size: 9px;
  }

  .sidebar .brand-mark {
    height: 39px;
    width: 37px;
  }

  .sidebar .nav-caption {
    font-size: 10px;
  }

  .sidebar-note p {
    font-size: 18px;
  }

  .sidebar-note small {
    font-size: 7px;
  }

  .mobile-menu {
    display: grid;
    width: 26px;
    height: 30px;
    border-radius: 5px;
  }

  .mobile-menu .icon {
    width: 19px;
  }

  .topbar {
    height: 63px;
    padding: 0 20px;
    background: #fafbf7;
    gap: 10px;
  }

  .breadcrumb {
    gap: 9px;
    font-size: 10px;
  }

  .topbar-right {
    gap: 11px;
  }

  .today {
    display: none;
  }

  .top-divider {
    display: none;
  }

  .top-avatar {
    width: 29px;
    height: 29px;
  }

  .notification-button {
    width: 26px;
    height: 29px;
  }

  .notification-button .icon {
    width: 18px;
    height: 18px;
  }

  .page {
    padding: 23px 19px 25px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 28px 27px 26px;
    border-radius: 10px;
    isolation: isolate;
  }

  .hero-copy {
    position: relative;
    z-index: 5;
  }

  .hero h1 {
    font-size: 39px;
    line-height: 1.45;
    letter-spacing: 3px;
    margin-top: 18px;
  }

  .hero h1>span:after {
    bottom: 7px;
    height: 8px;
  }

  .hero-copy>p {
    font-size: 10px;
    line-height: 2;
    white-space: normal;
    margin: 15px 0 19px;
    max-width: 290px;
  }

  .hero .eyebrow {
    font-size: 6px;
    letter-spacing: 1.5px;
  }

  .hero .tiny-star {
    font-size: 13px;
  }

  .hero .button {
    padding: 10px 16px;
    font-size: 10px;
    min-height: 39px;
  }

  .hero .button .icon {
    width: 14px;
    margin-left: 10px;
  }

  .hero-assurances {
    margin-top: 24px;
    max-width: none;
    font-size: 7px;
    gap: 13px;
  }

  .hero-assurances .icon {
    width: 10px;
    height: 10px;
  }

  .envelope-scene {
    position: absolute;
    right: -30px;
    top: 35px;
    width: 240px;
    min-width: 0;
    height: 300px;
    transform: scale(.62) rotate(3deg);
    transform-origin: right top;
    opacity: .75;
    z-index: 1;
    pointer-events: none;
  }

  .hero h1 {
    max-width: 250px;
  }

  .floating-note {
    top: 5px;
    width: 200px;
  }

  .handwritten {
    font-size: 12px;
  }

  .envelope {
    top: 100px;
    width: 238px;
    height: 151px;
  }

  .floating-label {
    display: none;
  }

  .orbit-one {
    height: 250px;
    width: 250px;
  }

  .orbit-two {
    width: 285px;
    height: 215px;
  }

  .spark-one {
    top: 48px;
    left: -10px;
  }

  .spark-two {
    right: 0;
    top: 100px;
  }

  .scene-dot {
    right: 0;
    bottom: 40px;
  }

  .hero-edition {
    display: none;
  }

  .template-section {
    padding-top: 29px;
  }

  .section-heading {
    display: block;
    margin-bottom: 18px;
  }

  .section-heading .eyebrow {
    font-size: 6px;
    margin-bottom: 5px;
  }

  .section-heading h2 {
    font-size: 19px;
    letter-spacing: .3px;
  }

  .section-heading p {
    font-size: 10px;
    margin-top: 6px;
  }

  .segmented {
    display: inline-flex;
    margin-top: 16px;
    padding: 3px;
  }

  .segmented button {
    font-size: 9px;
    padding: 6px 12px;
  }

  .template-grid {
    gap: 13px;
    grid-template-columns: 1fr 1fr;
  }

  .template-card {
    padding: 17px 15px 13px;
    border-radius: 8px;
  }

  .template-top {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 9px;
    min-height: 77px;
  }

  .template-illustration {
    height: 32px;
    width: 34px;
    align-self: flex-start;
    margin-left: 0;
    margin-top: 0;
  }

  .template-illustration .icon {
    width: 31px;
    height: 31px;
  }

  .template-tag {
    font-size: 7px;
    padding: 3px 5px;
    letter-spacing: 0;
    margin-top: 0;
  }

  .template-card h3 {
    font-size: 16px;
    letter-spacing: 0;
    margin-top: 10px;
    gap: 4px;
  }

  .recommended {
    font-size: 6px;
    padding: 1px 3px;
  }

  .template-card p {
    font-size: 9px;
    line-height: 2;
    min-height: 71px;
    margin-top: 8px;
  }

  .template-bottom {
    margin-top: 13px;
    padding-top: 12px;
    gap: 3px;
  }

  .template-bottom>span {
    font-size: 6px;
    letter-spacing: 0;
    white-space: normal;
    max-width: 88px;
    line-height: 1.8;
  }

  .template-cta {
    width: 22px;
    height: 22px;
  }

  .template-cta .icon {
    width: 12px;
    height: 12px;
  }

  .home-bottom {
    margin-top: 25px;
    gap: 20px;
  }

  .recent-panel {
    padding: 21px 20px 5px;
  }

  .section-heading.compact {
    display: flex;
    margin-bottom: 15px;
  }

  .section-heading.compact h2 {
    font-size: 13px;
  }

  .section-heading.compact p {
    font-size: 8px;
  }

  .section-heading.compact .text-link {
    font-size: 8px;
    gap: 4px;
  }

  .recent-panel .empty-state {
    padding: 17px 0 24px;
  }

  .empty-state.small h3 {
    font-size: 11px;
  }

  .empty-state.small p {
    font-size: 9px;
    max-width: 240px;
  }

  .journey-panel {
    padding: 23px 24px 20px;
    column-gap: 14px;
  }

  .journey-panel h3 {
    font-size: 24px;
    letter-spacing: 2px;
    margin-top: 12px;
  }

  .journey-steps {
    gap: 9px;
    margin-top: 12px;
    flex-direction: column;
  }

  .journey-bottom {
    font-size: 6px;
    margin-top: 12px;
    line-height: 1.9;
    align-items: flex-end;
  }

  .journey-bottom .icon {
    width: 17px;
    height: 17px;
  }

  .journey-panel>.eyebrow {
    font-size: 5px;
    letter-spacing: 1px;
  }

  .trust-line {
    padding-top: 20px;
    line-height: 2;
    font-size: 7px;
    gap: 3px;
    text-align: center;
  }

  .trust-line>.icon {
    width: 11px;
    height: 11px;
  }

  .trust-line a {
    margin-left: 0;
    font-size: 7px;
  }

  .page-footer {
    padding: 0 19px 21px;
    font-size: 6px;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    line-height: 2;
  }

  .page-footer .icon {
    width: 8px;
    height: 8px;
  }

  .page-footer>a {
    display: none;
  }

  .page-heading {
    align-items: flex-start;
    margin: 5px 0 25px;
    gap: 12px;
  }

  .page-heading h1 {
    font-size: 27px;
    letter-spacing: 1px;
  }

  .page-heading .eyebrow {
    font-size: 6px;
    letter-spacing: 1.5px;
  }

  .page-heading p {
    font-size: 10px;
    line-height: 1.9;
  }

  .page-heading>.button {
    font-size: 9px;
    padding: 8px 11px;
    min-height: 35px;
    margin-top: 10px;
  }

  .page-heading>.button .icon {
    width: 13px;
    height: 13px;
  }

  .stats-grid {
    gap: 9px;
    margin-bottom: 20px;
  }

  .stat-card {
    padding: 13px 11px;
  }

  .stat-card>span {
    font-size: 8px;
    gap: 5px;
  }

  .stat-card>span .icon {
    display: none;
  }

  .stat-card strong {
    font-size: 28px;
    gap: 5px;
    margin-top: 7px;
    line-height: 1.4;
  }

  .stat-card strong small {
    font-size: 7px;
  }

  .list-toolbar {
    padding: 13px 15px;
  }

  .tabs {
    gap: 9px;
  }

  .tabs button {
    font-size: 9px;
  }

  .list-toolbar input {
    font-size: 10px;
  }

  .capsule-row {
    padding: 17px 15px;
    gap: 10px;
  }

  .row-info strong {
    font-size: 11px;
  }

  .row-info small {
    font-size: 7px;
  }

  .row-icon {
    height: 34px;
    width: 34px;
  }

  .row-icon .icon {
    width: 19px;
    height: 19px;
  }

  .status {
    font-size: 7px;
    padding: 4px 6px;
    gap: 4px;
  }

  .status.large {
    font-size: 8px;
    padding: 6px 9px;
    margin-top: 12px;
  }

  .back-link {
    font-size: 10px;
    margin-bottom: 20px;
  }

  .create-heading {
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
  }

  .create-heading h1 {
    font-size: 25px;
  }

  .create-heading p {
    font-size: 10px;
  }

  .create-heading>.row-icon {
    width: 46px;
    height: 46px;
  }

  .draft-badge {
    font-size: 7px;
    max-width: none !important;
    flex-basis: 100%;
    margin: 0 0 0 58px;
    padding: 0;
    background: transparent;
    text-align: left;
  }

  .stepper {
    gap: 13px;
    margin-bottom: 23px;
  }

  .step {
    gap: 7px;
  }

  .step>span {
    height: 24px;
    width: 24px;
    font-size: 8px;
  }

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

  .step:not(:last-child):after {
    margin-left: 2px;
  }

  .create-form {
    padding: 24px 22px;
  }

  .create-form>.eyebrow {
    font-size: 6px;
    letter-spacing: 1.2px;
  }

  .create-form>h2 {
    font-size: 24px;
  }

  .form-intro {
    font-size: 10px;
    margin: 9px 0 24px;
  }

  .field {
    margin: 19px 0;
  }

  .field>span {
    font-size: 11px;
  }

  .field input,.field textarea,.field select {
    font-size: 12px;
    padding: 10px 12px;
  }

  .field input[type=datetime-local] {
    font-size: 11px;
    min-height: 43px;
  }

  .field-hint {
    font-size: 8px;
  }

  .field input::placeholder,.field textarea::placeholder {
    font-size: 10px;
  }

  .editor-footer {
    font-size: 7px;
  }

  .attachments {
    gap: 9px;
  }

  .attachment-button {
    font-size: 9px;
    padding: 6px 9px;
  }

  .attachments>small {
    font-size: 7px;
  }

  .form-actions {
    gap: 10px;
    margin-top: 26px;
    padding-top: 21px;
    justify-content: space-between;
  }

  .form-actions .button {
    font-size: 11px;
    padding: 10px 14px;
  }

  .form-actions>.button:only-child {
    margin-left: auto;
  }

  .notice {
    padding: 12px;
    font-size: 9px;
    gap: 8px;
    line-height: 1.9;
  }

  .notice>.icon {
    width: 14px;
    height: 14px;
  }

  .form-columns {
    gap: 12px;
  }

  .choice-grid {
    gap: 10px;
  }

  .choice {
    padding: 13px 10px;
  }

  .choice>strong {
    font-size: 10px;
  }

  .choice>small {
    font-size: 7px;
  }

  .check-line {
    font-size: 9px;
  }

  .seal-agreement {
    padding: 12px;
  }

  .detail-panel {
    padding: 23px 21px;
    margin-bottom: 20px;
  }

  .detail-panel h2 {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .detail-panel>p {
    font-size: 11px;
  }

  .detail-facts {
    margin: 19px 0;
  }

  .detail-facts>div {
    font-size: 9px;
    gap: 12px;
    line-height: 1.9;
  }

  .detail-actions {
    gap: 10px;
  }

  .detail-actions .button {
    font-size: 10px;
    min-height: 40px;
  }

  .detail-layout {
    gap: 0;
  }

  .detail-layout>aside {
    gap: 17px;
    align-items: start;
    margin-top: 3px;
  }

  .detail-layout>aside .mini-seal-card {
    padding: 16px;
    min-height: 265px;
  }

  .detail-layout>aside .mini-card-top {
    font-size: 5px;
    letter-spacing: 0;
  }

  .detail-layout>aside .mini-card-top .icon {
    width: 12px;
  }

  .detail-layout>aside .mini-seal-card h3 {
    font-size: 17px;
  }

  .detail-layout>aside .mini-seal-card>p {
    font-size: 7px;
  }

  .detail-layout>aside .mini-seal-card>.eyebrow {
    font-size: 5px;
    letter-spacing: 0;
    margin-top: 20px;
  }

  .detail-layout>aside .mini-card-bottom {
    font-size: 6px;
    flex-wrap: wrap;
  }

  .detail-layout>aside .mini-card-bottom>small {
    font-size: 6px;
  }

  .aside-actions {
    margin-top: 40px;
    gap: 13px;
  }

  .aside-actions .button {
    font-size: 9px;
    padding: 10px 9px;
    gap: 5px;
  }

  .aside-actions .button .icon {
    width: 13px;
    height: 13px;
  }

  .proof-hash {
    padding: 13px;
  }

  .proof-hash code {
    font-size: 8px;
    line-height: 1.9;
  }

  .proof-hash>span {
    font-size: 8px;
  }

  .proof-hash>small {
    font-size: 7px;
  }

  .contact-row strong {
    font-size: 10px;
  }

  .contact-row small {
    font-size: 8px;
  }

  .contact-row .avatar {
    height: 30px;
    width: 30px;
  }

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

  .timeline small {
    font-size: 7px;
  }

  .security-hero {
    padding: 22px 19px;
    gap: 16px;
    align-items: flex-start;
  }

  .security-hero h2 {
    font-size: 20px;
  }

  .security-hero p {
    font-size: 9px;
    margin-top: 9px;
  }

  .security-seal {
    width: 47px;
    height: 47px;
    box-shadow: inset 0 0 0 4px #e6edd9;
  }

  .security-seal .icon {
    width: 24px;
    height: 24px;
  }

  .security-grid {
    gap: 17px;
  }

  .security-grid .detail-panel {
    padding: 23px;
  }

  .security-grid h2 {
    font-size: 20px;
  }

  .security-grid p {
    font-size: 10px;
  }

  .security-grid small {
    font-size: 8px;
  }

  .settings-row {
    gap: 12px;
    padding: 20px 0;
    flex-wrap: wrap;
  }

  .settings-row>div {
    flex: 1;
    min-width: 190px;
  }

  .settings-row strong {
    font-size: 11px;
  }

  .settings-row p {
    font-size: 9px;
  }

  .settings-row .button {
    font-size: 9px;
    padding: 8px 12px;
  }

  .settings-row>.icon {
    display: none;
  }

  .mail-card {
    padding: 18px;
  }

  .mail-heading {
    gap: 10px;
  }

  .mail-heading>div {
    flex: 1;
    min-width: 180px;
  }

  .mail-heading strong {
    font-size: 11px;
  }

  .mail-heading small {
    font-size: 9px;
  }

  .mail-heading time {
    font-size: 8px;
    margin-left: 44px;
  }

  .mail-heading .status {
    font-size: 7px;
  }

  .mail-body {
    font-size: 10px;
    margin-top: 15px;
  }

  .inbox-notice {
    font-size: 8px;
    margin-top: -5px;
  }

  .mail-list {
    gap: 17px;
  }

  .public-intro {
    padding: 25px 0 31px;
  }

  .public-intro .eyebrow {
    font-size: 6px;
    letter-spacing: 1.6px;
  }

  .public-intro h1 {
    font-size: 28px;
    letter-spacing: 2px;
    line-height: 1.7;
  }

  .public-intro>p {
    font-size: 10px;
  }

  .proof-card {
    padding: 23px;
  }

  .proof-card>h2 {
    font-size: 25px;
  }

  .proof-card>.mini-card-top {
    font-size: 7px;
  }

  .proof-card>.detail-facts {
    margin-top: 25px;
  }

  .proof-card>p {
    font-size: 10px;
  }

  .proof-card .button {
    font-size: 10px;
    padding: 10px 14px;
  }

  .mini-wax.big {
    width: 75px;
    height: 75px;
    font-size: 31px;
  }

  .letter {
    padding: 25px 23px;
  }

  .letter-top {
    font-size: 8px;
    padding-bottom: 20px;
  }

  .letter-top>span:last-child {
    font-size: 7px;
  }

  .letter h2 {
    font-size: 23px;
    margin-top: 22px;
  }

  .letter-content {
    font-size: 14px;
    line-height: 2.1;
  }

  .letter-signature {
    font-size: 14px;
    margin-top: 30px;
  }

  .letter-signature>span {
    font-size: 7px;
  }

  .recipient-rights {
    gap: 10px;
    font-size: 7px;
    line-height: 2;
  }

  .recipient-rights button {
    font-size: 7px;
  }

  .public-end-cta {
    font-size: 10px;
    margin: 30px 0 15px;
  }

  .recovery-box {
    padding: 16px;
  }

  .recovery-box h3 {
    font-size: 12px;
  }

  .recovery-box p {
    font-size: 9px;
  }

  .recovery-box code {
    font-size: 9px;
  }

  .all-calm {
    font-size: 10px;
  }

  .all-calm strong {
    font-size: 11px;
  }

  .all-calm p {
    font-size: 9px;
  }

  .activity-feed strong {
    font-size: 11px;
  }

  .activity-feed p {
    font-size: 9px;
  }

  .activity-feed small {
    font-size: 8px;
  }

  .modal {
    padding: 29px 25px;
    border-radius: 11px;
  }

  .modal>h2 {
    font-size: 24px;
  }

  .modal>p {
    font-size: 10px;
  }

  .modal .field>span {
    font-size: 10px;
  }

  .modal .check-line {
    font-size: 8px;
  }

  .modal .eyebrow {
    font-size: 6px;
  }

  .modal .button {
    font-size: 11px;
  }

  .modal .dev-login-note {
    font-size: 8px;
  }

  #toast {
    bottom: 22px;
    font-size: 10px;
    padding: 12px 17px;
  }

  .error-page {
    padding: 50px 22px;
    margin: 25px 0;
  }

  .error-page h1 {
    font-size: 23px;
  }

  .error-page p {
    font-size: 10px;
  }

  .review-item {
    gap: 15px;
  }

  .review-item .button {
    font-size: 9px;
    padding: 9px 12px;
  }

  .feature-icon {
    height: 41px;
    width: 41px;
  }

  .feature-icon .icon {
    width: 21px;
    height: 21px;
  }

}

@media (max-width:360px) {
  .hero {
    padding: 25px 22px;
  }

  .hero h1 {
    font-size: 35px;
  }

  .hero-copy>p {
    font-size: 9px;
  }

  .envelope-scene {
    right: -35px;
    transform: scale(.5);
    top: 50px;
    opacity: .5;
  }

  .hero-assurances {
    font-size: 6px;
    gap: 9px;
  }

  .template-grid {
    gap: 10px;
  }

  .template-card {
    padding: 16px 13px 12px;
  }

  .template-card h3 {
    font-size: 15px;
  }

  .template-card p {
    font-size: 8px;
    min-height: 65px;
  }

  .template-tag {
    font-size: 6px;
  }

  .template-bottom>span {
    font-size: 5px;
  }

  .template-cta {
    width: 20px;
    height: 20px;
  }

  .recommended {
    display: none;
  }

  .stat-card>span {
    font-size: 7px;
  }

  .stat-card strong {
    font-size: 25px;
  }

  .detail-layout>aside {
    grid-template-columns: 1fr;
  }

  .aside-actions {
    margin-top: 5px;
  }

  .create-form {
    padding: 23px 19px;
  }

  .stepper {
    gap: 9px;
  }

  .step>strong {
    font-size: 8px;
  }

  .step>span {
    width: 22px;
    height: 22px;
  }

  .journey-steps {
    font-size: 7px;
  }

  .page-heading h1 {
    font-size: 25px;
  }

  .topbar {
    padding: 0 17px;
  }

  .page {
    padding-left: 16px;
    padding-right: 16px;
  }

}

@media (prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

}
