/* mailtoyou.org — clean white editorial design.
   Deliberately unlike MXroute: white ground, serif display,
   blue accent, generous whitespace, no terminal motifs. */

:root {
  --paper:      #ffffff;
  --paper-2:    #ffffff;
  --card:       #ffffff;
  --ink:        #10151c;
  --ink-2:      #4a5461;
  --ink-3:      #62707f;
  --rule:       #e5e9ee;
  --clay:       #1f6feb;
  --clay-dark:  #1857c4;
  --clay-soft:  #e8f1fe;
  --moss:       #1a7f5a;
  --moss-soft:  #e4f4ee;
  --gold:       #b4801f;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans:  ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1120px;
  --r: 14px;
  --shadow: 0 1px 2px rgba(16,21,28,.05), 0 8px 24px -12px rgba(16,21,28,.14);
  --shadow-lg: 0 2px 4px rgba(16,21,28,.06), 0 24px 48px -20px rgba(16,21,28,.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--clay); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clay-dark); }

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

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1.1em; color: var(--ink-2); }
.lede { font-size: clamp(1.1rem, 2vw, 1.29rem); color: var(--ink-2); line-height: 1.6; }

.eyebrow {
  font-family: var(--sans); font-size: .74rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--clay);
  margin: 0 0 14px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-size: .97rem; font-weight: 600;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--clay); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--clay-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { background: #f4f7fa; color: var(--ink); border-color: var(--ink-3); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: .9rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.32rem; font-weight: 600; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: 0 0 34px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--clay); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--rule); border-radius: 9px; padding: 8px 10px; cursor: pointer; color: var(--ink); margin-left: auto; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 18px 24px 24px; margin: 0;
  }
  .nav-links.open a { padding: 10px 0; font-size: 1.05rem; width: 100%; }
}

/* ---------- hero ---------- */
.hero { padding: 84px 0 64px; position: relative; overflow: hidden; }
.hero::after { content: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .32em; }
.hero h1 em { font-style: italic; color: var(--clay); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 30px 0 22px; }
.hero-note { font-size: .9rem; color: var(--ink-3); margin: 0; }
.hero-note strong { color: var(--ink-2); font-weight: 600; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 56px 0 48px; } }

/* inbox illustration */
.inbox {
  background: var(--card); border: 1px solid var(--rule); border-radius: 18px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.inbox-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--rule); background: var(--paper); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rule); }
.dot:nth-child(1) { background: #f0666f; } .dot:nth-child(2) { background: #f2bd4c; } .dot:nth-child(3) { background: #4cc38a; }
.inbox-title { margin-left: 8px; font-size: .82rem; color: var(--ink-3); font-weight: 600; letter-spacing: .02em; }
.inbox-row { display: flex; gap: 13px; padding: 15px 17px; border-bottom: 1px solid var(--rule); align-items: flex-start; }
.inbox-row:last-child { border-bottom: 0; }
.inbox-row.unread { background: color-mix(in srgb, var(--clay-soft) 60%, transparent); }
.avatar { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .82rem; color: #fff; background: var(--moss); font-family: var(--sans); }
.avatar.c2 { background: var(--clay); } .avatar.c3 { background: var(--gold); }
.inbox-txt { min-width: 0; flex: 1; }
.inbox-from { font-weight: 650; font-size: .92rem; color: var(--ink); display: flex; justify-content: space-between; gap: 10px; }
.inbox-time { font-weight: 500; color: var(--ink-3); font-size: .78rem; white-space: nowrap; }
.inbox-sub { font-size: .89rem; color: var(--ink-2); margin: 1px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-foot { padding: 12px 17px; background: var(--paper); border-top: 1px solid var(--rule); font-size: .78rem; color: var(--ink-3); display: flex; gap: 16px; flex-wrap: wrap; }
.inbox-foot span { display: inline-flex; align-items: center; gap: 5px; }
.tick { color: var(--moss); font-weight: 700; }

/* ---------- trust strip ---------- */
.strip { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper); padding: 26px 0; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.strip-n { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
.strip-l { font-size: .8rem; color: var(--ink-3); letter-spacing: .04em; margin-top: 3px; }
@media (max-width: 700px) { .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--rule); }
.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
@media (max-width: 700px) { .section { padding: 60px 0; } }

/* ---------- features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--r);
  padding: 28px 26px; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feat-ico { width: 42px; height: 42px; border-radius: 11px; background: var(--clay-soft); color: var(--clay); display: grid; place-items: center; margin-bottom: 17px; }
.feat-ico svg { width: 22px; height: 22px; }
.feat h3 { font-size: 1.16rem; margin-bottom: .35em; }
.feat p { font-size: .95rem; margin: 0; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 980px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .price-grid { grid-template-columns: 1fr; } }
.plan {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--r);
  padding: 30px 26px 26px; display: flex; flex-direction: column; position: relative;
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.plan.featured { border-color: var(--clay); border-width: 2px; box-shadow: var(--shadow-lg); }
.plan-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--clay); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: 5px 15px; border-radius: 999px; white-space: nowrap;
}
.plan-name { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.plan-store { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; color: var(--ink); line-height: 1; margin-bottom: 14px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan-amt { font-family: var(--serif); font-size: 2.5rem; font-weight: 600; color: var(--ink); line-height: 1; }
.plan-per { font-size: .92rem; color: var(--ink-3); }
.plan-compare { font-size: .82rem; color: var(--moss); font-weight: 600; margin: 0 0 20px; }
.plan-compare s { color: var(--ink-3); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.plan li { position: relative; padding-left: 26px; font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 15px; height: 15px;
  background: var(--moss-soft); border-radius: 50%;
}
.plan li::after {
  content: ""; position: absolute; left: 4.5px; top: .68em; width: 6px; height: 3px;
  border-left: 1.8px solid var(--moss); border-bottom: 1.8px solid var(--moss);
  transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; }

.price-foot { margin-top: 34px; text-align: center; font-size: .9rem; color: var(--ink-3); }
.price-foot strong { color: var(--ink-2); }

/* ---------- split / compare ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 15px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; }
.checklist .ck {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--moss-soft); color: var(--moss); display: grid; place-items: center; margin-top: 2px;
}
.checklist .ck svg { width: 12px; height: 12px; }
.checklist strong { display: block; color: var(--ink); font-size: .99rem; font-weight: 650; }
.checklist span.d { font-size: .92rem; color: var(--ink-2); }

/* ---------- honest / policy box ---------- */
.notice {
  background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--gold);
  border-radius: 12px; padding: 26px 28px;
}
.notice h3 { font-size: 1.1rem; margin-bottom: .4em; }
.notice p:last-child { margin-bottom: 0; }
.notice p { font-size: .94rem; }

/* ---------- faq ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--card); border: 1px solid var(--rule); border-radius: 12px;
  padding: 18px 22px; transition: box-shadow .15s ease;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; font-weight: 650; font-size: 1.01rem; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--clay); font-weight: 400; line-height: 1; flex: 0 0 auto; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 14px 0 0; font-size: .95rem; }
.faq details p:last-child { margin-bottom: 0; }

/* ---------- cta ---------- */
.cta-band { background: var(--paper); color: var(--ink); padding: 72px 0; text-align: center; border-top: 1px solid var(--rule); }
.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--ink-2); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: var(--clay); }
.cta-band .btn-ghost { color: var(--ink); border-color: var(--rule); }
.cta-band .btn-ghost:hover { background: #f4f7fa; color: var(--ink); }
.cta-actions { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---------- footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--rule); padding: 56px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
.foot-about p { font-size: .9rem; margin: 14px 0 0; max-width: 300px; }
.foot-col h4 { font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-col a { color: var(--ink-2); text-decoration: none; font-size: .92rem; }
.foot-col a:hover { color: var(--clay); }
.foot-bot {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .85rem; color: var(--ink-3);
}
.foot-bot a { color: var(--ink-3); }

/* ---------- page header (subpages) ---------- */
.page-head { padding: 64px 0 40px; border-bottom: 1px solid var(--rule); background: var(--paper); }
.page-head h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); margin-bottom: .3em; }
.page-head p { max-width: 640px; margin: 0; }

/* ---------- prose (legal pages) ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.13rem; margin-top: 1.6em; }
.prose ul, .prose ol { color: var(--ink-2); padding-left: 22px; margin: 0 0 1.1em; }
.prose li { margin-bottom: .5em; font-size: .97rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .93rem; }
.prose th, .prose td { text-align: left; padding: 11px 13px; border-bottom: 1px solid var(--rule); }
.prose th { font-family: var(--sans); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.muted { color: var(--ink-3); font-size: .88rem; }

/* ---------- misc ---------- */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 24px; top: 12px; z-index: 200; background: var(--clay); color: #fff; padding: 10px 18px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- pricing toggle ---------- */
.ptoggle {
  display: inline-flex; gap: 4px; padding: 5px;
  background: var(--card); border: 1px solid var(--rule); border-radius: 999px;
  margin: 0 auto 14px; box-shadow: var(--shadow);
}
.ptoggle-wrap, .section-head + .ptoggle { display: flex; }
#pricing .ptoggle { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }
.ptoggle-btn {
  font-family: var(--sans); font-size: .94rem; font-weight: 600;
  padding: 11px 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: transparent; color: var(--ink-2); transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.ptoggle-btn:hover { color: var(--ink); }
.ptoggle-btn.is-active { background: var(--clay); color: #fff; }
.ptoggle-note {
  text-align: center; max-width: 620px; margin: 0 auto 34px;
  font-size: .96rem; color: var(--ink-3);
}
.ptoggle-note strong { color: var(--ink-2); }
@media (max-width: 480px) {
  #pricing .ptoggle { width: 100%; }
  .ptoggle-btn { flex: 1; padding: 11px 12px; font-size: .87rem; }
}

/* ---------- crypto pay link under each plan ---------- */
.pay-crypto {
  display: block; text-align: center; margin-top: 10px;
  font-size: .84rem; color: var(--ink-3); text-decoration: none;
  border-bottom: 1px dotted var(--rule); padding-bottom: 8px;
}
.pay-crypto:hover { color: var(--clay); border-bottom-color: var(--clay); }
