/* store-inbox.com: one stylesheet for every page. */
:root {
  --green: #0b5a3c;
  --green-dark: #08452e;
  --green-soft: #e7f3ee;
  --ink: #1d1d1b;
  --muted: #5c5f62;
  --line: #e3e3e3;
  --bg: #ffffff;
  --bg-alt: #f6f6f4;
  --radius: 14px;
  --max: 1080px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green);
}

a:hover {
  color: var(--green-dark);
}

:focus-visible {
  outline: 3px solid #2f80ed;
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 10;
  background: #fff;
  padding: 8px 12px;
}

/* Header and footer */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: saturate(1.4) blur(8px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  gap: 20px;
  font-size: 15px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 80px;
  padding: 32px 0 48px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer a {
  color: var(--muted);
}

/* Buttons */
.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: var(--green-dark);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--green);
  box-shadow: inset 0 0 0 1.5px var(--green);
}

/* Home */
.hero {
  background: var(--green);
  color: #fff;
  padding: 72px 0 0;
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 auto 16px;
  max-width: 820px;
  text-align: center;
}

.hero p.lede {
  font-size: clamp(18px, 2.2vw, 21px);
  color: #cfeee0;
  margin: 0 auto 28px;
  max-width: 640px;
  text-align: center;
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero .button {
  background: #fff;
  color: var(--green);
}

.hero .button:hover {
  background: var(--green-soft);
  color: var(--green-dark);
}

.hero .note {
  text-align: center;
  font-size: 14px;
  color: #a9d9c4;
  margin: 0 0 40px;
}

.hero figure {
  margin: 0 auto;
  max-width: 980px;
}

.hero figure img {
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -10px 60px rgba(0, 0, 0, 0.25);
}

section {
  padding: 72px 0 0;
}

h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.section-intro {
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 32px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
}

.feature h3 {
  font-size: 18px;
  margin: 0 0 6px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.showcase {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}

.showcase.flip {
  grid-template-columns: 1fr 1.1fr;
}

.showcase.flip figure {
  order: 2;
}

.showcase figure {
  margin: 0;
}

.showcase figure img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.showcase h3 {
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 10px;
}

.showcase p {
  color: var(--muted);
  margin: 0;
}

.pricing {
  background: var(--green-soft);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}

.price {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--green);
}

.price span {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
}

.pricing ul {
  margin: 0;
  padding-left: 20px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
}

.faq details p {
  color: var(--muted);
  margin: 10px 0 0;
}

/* Long-form pages (privacy, terms, support) */
.doc {
  max-width: 760px;
  padding-top: 56px;
}

.doc h1 {
  font-size: clamp(32px, 4.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.doc .updated {
  color: var(--muted);
  margin: 0 0 32px;
}

.doc h2 {
  font-size: 24px;
  margin: 40px 0 10px;
}

.doc h3 {
  font-size: 18px;
  margin: 24px 0 6px;
}

.doc li {
  margin: 4px 0;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 12px 0;
}

.doc th,
.doc td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.doc th {
  background: var(--bg-alt);
}

.table-scroll {
  overflow-x: auto;
}

.callout {
  background: var(--green-soft);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}

.callout p {
  margin: 0;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}

.contact-card .email {
  font-size: 22px;
  font-weight: 600;
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .site-nav {
    gap: 14px;
    font-size: 14px;
  }

  .site-nav .optional {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  .showcase,
  .showcase.flip,
  .pricing {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .showcase.flip figure {
    order: 0;
  }

  .pricing {
    padding: 28px;
  }

  section {
    padding-top: 56px;
  }
}
