:root {
  color-scheme: light;
  --ink: #253e30;
  --muted: #657267;
  --line: #dce2d7;
  background: #f8f9f5;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
button {
  font: inherit;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #688329;
  outline-offset: 5px;
}
main:focus {
  outline: none;
}
.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 5;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
  padding: 12px;
}
.skip:focus {
  transform: none;
}
.site-header,
main,
.site-footer {
  width: min(1184px, calc(100% - 96px));
  margin-inline: auto;
}
.site-header {
  height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.site-header a {
  text-decoration: none;
  font-size: 12px;
}
.site-header .brand {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand b {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #eff3df;
  height: 32px;
  width: 32px;
  border-radius: 7px;
  font:
    26px Georgia,
    serif;
  padding-bottom: 4px;
}
.brand > span {
  color: #9ba98e;
  font-weight: 400;
}
.hero {
  padding: 72px 0 51px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 25px;
}
i {
  width: 6px;
  height: 6px;
  background: #6a8748;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
.hero h1 {
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.12;
  letter-spacing: -3.5px;
  font-weight: 500;
  margin-bottom: 29px;
}
.hero h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #75816d;
  letter-spacing: -2px;
}
.hero-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.hero-bottom p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}
.count {
  text-align: right;
  font-size: 18px;
}
.count small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.3px;
  color: var(--muted);
  margin-top: 9px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 25px 0;
}
.section-heading h2 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}
.section-heading > span {
  color: var(--muted);
  font-size: 11px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
.template-card {
  text-decoration: none;
  min-width: 0;
}
.thumbnail {
  height: 305px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  padding: 28px 29px 0;
  background: #e4e9db;
  border: 1px solid #dbe1d1;
}
.thumbnail.sand {
  background: #ece6d9;
  border-color: #e5ddcd;
}
.thumbnail.lavender {
  background: #e5e7ef;
  border-color: #dbdeea;
}
.mini-email {
  background: #fffdf8;
  max-width: 270px;
  margin: auto;
  min-height: 350px;
  box-shadow: 0 4px 15px #253e3008;
  transform: rotate(-3deg);
  transition: transform 0.2s ease;
}
.sand .mini-email {
  transform: rotate(2deg);
}
.lavender .mini-email {
  transform: rotate(-2deg);
}
.template-card:hover .mini-email {
  transform: translateY(-5px) rotate(0);
}
.mini-brand {
  padding: 16px 19px 12px;
  border-bottom: 1px solid #e5e7de;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mini-brand span {
  font-size: 4px;
  letter-spacing: 1px;
}
.mini-content {
  padding: 20px;
}
.mini-eyebrow {
  font-size: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.mini-content h3 {
  font-family: Georgia, serif;
  font-size: 23px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.7px;
  margin: 14px 0;
}
.mini-line {
  height: 3px;
  background: #d7dbd1;
  width: 100%;
  margin: 6px 0;
}
.mini-line.short {
  width: 73%;
}
.mini-button {
  font-size: 6px;
  background: #294b38;
  color: white;
  padding: 8px 12px;
  display: inline-block;
  margin: 13px 0;
}
.mini-step {
  font-size: 10px;
  border-top: 1px solid #e6e8e0;
  padding: 11px 0;
  color: #7a876b;
}
.mini-step b {
  font-family: Arial, sans-serif;
  font-size: 6px;
  padding-left: 10px;
  color: #364931;
}
.mini-appointment {
  padding: 13px;
  background: #eef0e7;
  margin-top: 15px;
  font-size: 7px;
}
.mini-appointment span {
  display: block;
  font-size: 6px;
  margin-top: 9px;
}
.mini-code {
  padding: 19px 8px;
  background: #eef0f8;
  color: #3c4969;
  font-family: monospace;
  letter-spacing: 4px;
  font-size: 23px;
  margin-top: 22px;
  text-align: center;
}
.preview-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 17px;
  background: linear-gradient(transparent, #e4e9db 45%);
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #57664f;
}
.sand .preview-caption {
  background: linear-gradient(transparent, #ece6d9 45%);
}
.lavender .preview-caption {
  background: linear-gradient(transparent, #e5e7ef 45%);
}
.card-meta {
  display: flex;
  justify-content: space-between;
  margin: 21px 0 12px;
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.3px;
}
.template-card > h3 {
  font-size: 17px;
  letter-spacing: -0.5px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.template-card > p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 290px;
  min-height: 44px;
  margin-bottom: 22px;
}
.card-bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.card-bottom > span:first-child {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
}
.collection-note {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 65px 0;
  padding: 30px;
  background: #eef1e7;
  border: 1px solid #e2e7d9;
  border-radius: 8px;
}
.note-symbol {
  font-size: 39px;
  color: #6d7e54;
}
.collection-note h2 {
  font-size: 15px;
  margin: 0 0 9px;
}
.collection-note p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 590px;
  margin: 0;
}
.note-label {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 8px;
  line-height: 1.9;
  letter-spacing: 1.1px;
  color: var(--muted);
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
.detail-heading {
  padding: 35px 0;
}
.back-link {
  display: inline-block;
  font-size: 12px;
  text-decoration: none;
  margin-bottom: 34px;
}
.detail-heading .eyebrow {
  margin-bottom: 15px;
}
.detail-heading h1,
.not-found h1 {
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  letter-spacing: -1.8px;
  margin-bottom: 13px;
}
.detail-heading > p:last-child {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}
.preview-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 24px;
  background: #fff;
}
.preview-label {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.device-controls {
  display: flex;
  gap: 3px;
  background: #f1f3ed;
  padding: 4px;
  border-radius: 6px;
}
.device-controls button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  padding: 9px 18px;
  border-radius: 4px;
  cursor: pointer;
}
.device-controls button[aria-pressed="true"] {
  background: var(--ink);
  color: white;
}
.width-label {
  font-size: 10px;
  color: var(--muted);
  min-width: 78px;
  text-align: right;
}
.mail-meta {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
}
.mail-meta > div {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.mail-meta > div:last-child {
  margin-bottom: 0;
}
.mail-meta > div > span:first-child {
  width: 47px;
  flex-shrink: 0;
  color: var(--muted);
}
.mail-meta strong {
  font-weight: 500;
  min-width: 0;
}
.preview-stage {
  background: #e9ede5;
  padding: 32px 24px;
}
.email-viewport {
  width: 100%;
  max-width: 640px;
  margin: auto;
  border: 1px solid #d8dfd2;
  border-radius: 3px;
  overflow: hidden;
  background: #fffdf8;
}
.email-viewport.mobile {
  max-width: 375px;
}
iframe {
  display: block;
  width: 100%;
  border: 0;
  min-height: 100px;
}
.preview-disclaimer {
  margin: 0;
  padding: 14px;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  background: #f1f3ed;
}
.about-template {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 45px;
  padding: 53px 0;
}
.about-template h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 29px;
}
.about-template .eyebrow {
  font-size: 9px;
  margin-bottom: 16px;
}
.about-copy h3 {
  font-size: 13px;
  margin-bottom: 8px;
}
.about-copy p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 23px;
}
.tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.tags span {
  font-size: 10px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.about-copy .compatibility-note {
  font-size: 11px;
  margin: 18px 0 0;
}
.other-templates {
  display: flex;
  align-items: center;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding: 25px 0 48px;
  font-size: 12px;
}
.other-templates > span {
  color: var(--muted);
  margin-right: auto;
}
.other-templates a {
  text-decoration: none;
}
.not-found {
  padding: 80px 0;
}
.not-found p {
  line-height: 1.8;
}
@media (min-width: 1440px) {
  .thumbnail {
    height: 330px;
  }
}
@media (max-width: 1024px) {
  .site-header,
  main,
  .site-footer {
    width: calc(100% - 64px);
  }
  .card-grid {
    gap: 18px;
  }
  .thumbnail {
    padding: 24px 17px 0;
    height: 275px;
  }
  .mini-content {
    padding: 16px;
  }
  .mini-content h3 {
    font-size: 20px;
  }
  .note-label {
    display: none;
  }
  .template-card > h3 {
    font-size: 15px;
  }
}
@media (max-width: 760px) {
  .site-header,
  main,
  .site-footer {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 78px;
  }
  .hero {
    padding: 48px 0 35px;
  }
  .hero h1 {
    letter-spacing: -2px;
  }
  .hero-bottom p {
    font-size: 12px;
  }
  .count {
    display: none;
  }
  .card-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .thumbnail {
    height: 320px;
    padding: 27px 30px 0;
  }
  .mini-content h3 {
    font-size: 25px;
  }
  .template-card > h3 {
    font-size: 19px;
  }
  .template-card > p {
    max-width: none;
    min-height: 0;
    font-size: 13px;
    margin-bottom: 17px;
  }
  .card-meta {
    margin-top: 18px;
  }
  .section-heading > span {
    font-size: 9px;
    max-width: 120px;
    text-align: right;
    line-height: 1.6;
  }
  .collection-note {
    margin: 42px 0;
    padding: 22px;
    gap: 16px;
  }
  .collection-note p {
    font-size: 11px;
  }
  .site-footer {
    flex-direction: column;
    font-size: 9px;
    gap: 9px;
  }
  .about-template {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 35px 0;
  }
  .about-template h2 {
    margin-bottom: 12px;
  }
  .preview-toolbar {
    padding: 12px;
    flex-wrap: wrap;
  }
  .preview-label {
    font-size: 10px;
  }
  .width-label {
    display: none;
  }
  .device-controls button {
    padding: 10px 13px;
  }
  .mail-meta {
    padding: 17px 14px;
    font-size: 11px;
  }
  .mail-meta > div {
    gap: 8px;
  }
  .preview-stage {
    padding: 16px 8px;
  }
  .preview-disclaimer {
    font-size: 9px;
    line-height: 1.6;
  }
  .other-templates {
    flex-wrap: wrap;
    gap: 20px;
  }
  .other-templates > span {
    width: 100%;
  }
  .detail-heading h1 {
    letter-spacing: -1px;
  }
  .site-header > a:last-child {
    font-size: 10px;
  }
  .site-header .brand {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
