/* MailboxTemp — homepage-only styles (loaded after style.css; the generated
   SEO pages do not include this file). Uses the shared design tokens. */

/* Wider canvas for the landing page */
.home .wrap { max-width: 980px; }
.home .hero .wrap { max-width: 880px; }

/* ---------- Nav: mobile menu ---------- */
.nav-toggle { display: none; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); place-items: center; }
.nav-toggle svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .home .nav-toggle { display: grid; }
  .home .nav-links { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px 14px 14px; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
    display: none; }
  .home .nav-links.open { display: flex; }
  .home .nav-links a, .home .nav-links a:not(.pill) { display: block; padding: 11px 12px; border-radius: 10px; font-size: 15px; }
  .home .nav-links a.pill { border: none; background: color-mix(in srgb, var(--mint) 14%, transparent); color: var(--mint-dark); }
  .home .nav-right { display: flex; align-items: center; gap: 6px; }
}
.nav-right { display: flex; align-items: center; gap: 6px; }

/* ---------- Hero ---------- */
.home .hero { padding: 48px 0 28px; position: relative; }
.home .hero::before { content: ""; position: absolute; inset: -64px 0 auto 0; height: 520px; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 0%, color-mix(in srgb, var(--mint) 16%, transparent), transparent 70%); }
.home .hero h1 { font-size: clamp(34px, 6vw, 56px); }
.home .hero p.sub { max-width: 560px; margin-bottom: 22px; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 0 auto 28px; font-size: 13.5px; color: var(--muted); list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; flex: none;
  background: color-mix(in srgb, var(--mint) 18%, transparent) center / 8px no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300C98A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* ---------- Inbox card upgrades ---------- */
.home .card { box-shadow: 0 20px 60px rgba(15,25,35,.10), var(--shadow-sm); }
[data-theme="dark"] .home .card { box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.home .addr-bar { padding: 14px 16px; gap: 8px; }
.home .addr { font-size: 17px; }
.domain-pick { position: relative; flex: none; }
.domain-pick select { appearance: none; -webkit-appearance: none; height: 38px; padding: 0 30px 0 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface); color: var(--ink); font-family: var(--font-mono); font-size: 13px; cursor: pointer; max-width: 190px; }
.domain-pick select:focus { outline: none; border-color: var(--mint); }
.domain-pick::after { content: ""; position: absolute; right: 11px; top: 50%; width: 7px; height: 7px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.home .ttl-bar { flex-wrap: wrap; row-gap: 8px; position: relative; padding-bottom: 12px; }
.ttl-track { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.ttl-fill { height: 100%; width: 100%; background: var(--mint); transition: width 1s linear; }
.ttl-fill.low { background: var(--danger); }
.live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 6px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--border); }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.live-dot.on { color: var(--mint-dark); border-color: color-mix(in srgb, var(--mint) 40%, transparent); }
.live-dot.on::before { background: var(--mint); animation: pulse 2s infinite; }
.kbd-hint { font-size: 12px; color: var(--muted); }
.kbd-hint kbd { font-family: var(--font-mono); font-size: 11px; padding: 1px 6px; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 5px; background: var(--surface); }
@media (max-width: 640px) { .kbd-hint { display: none; } .home .addr { font-size: 16px; } .domain-pick select { max-width: 150px; } }

/* ---------- Steps strip ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px auto 0; text-align: left; }
.step { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--border); }
.step .n { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--mint-dark); background: color-mix(in srgb, var(--mint) 16%, transparent); }
.step b { display: block; font-size: 14px; margin-bottom: 2px; }
.step span { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 36px auto 0; opacity: 0; transition: opacity .4s; }
.stats.ready { opacity: 1; }
.stat { text-align: center; padding: 16px 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.stat b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.stat span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat b { font-size: 22px; } }

/* ---------- Sections ---------- */
.home section { padding: 56px 0 0; }
.home .section-head { text-align: center; max-width: 620px; margin: 0 auto 28px; }
.home .section-head .section-title { margin-bottom: 8px; }
.home .section-head .section-lead { margin: 0 auto; }
.home .features { padding-top: 56px; }
.home .features .grid { grid-template-columns: repeat(3, 1fr); }
.home .feature p a { color: var(--mint-dark); }
@media (max-width: 860px) { .home .features .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .home .features .grid { grid-template-columns: 1fr; } }

/* Signup chips */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips a, .chips span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--ink); transition: border-color .15s, transform .12s; }
.chips a:hover { border-color: var(--mint-dark); transform: translateY(-1px); }
.chips span { cursor: default; }
.chips a.more { color: var(--mint-dark); border-style: dashed; }
.chips i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.plan.pro { border-color: color-mix(in srgb, var(--mint) 50%, transparent); box-shadow: 0 10px 30px color-mix(in srgb, var(--mint) 12%, transparent); }
.plan h3 { font-family: var(--font-display); font-size: 18px; margin-bottom: 4px; display: flex; align-items: baseline; justify-content: space-between; }
.plan h3 small { font-family: var(--font-ui); font-size: 14px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; margin: 14px 0 18px; }
.plan li { font-size: 14px; padding: 5px 0; color: var(--ink); display: flex; gap: 8px; }
.plan li::before { content: "✓"; color: var(--mint-dark); font-weight: 700; }
.plan .cta { display: block; text-align: center; padding: 11px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.plan .cta.ghost { background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); }
.plan .cta.primary { background: var(--mint); color: #04231a; }
.plan .cta.primary:hover { background: var(--mint-dark); }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }

/* Tools */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tool { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); transition: transform .12s, box-shadow .15s; }
.tool:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.tool b { display: block; font-family: var(--font-display); font-size: 16px; margin-bottom: 4px; }
.tool span { font-size: 13.5px; color: var(--muted); }
.tool em { display: inline-block; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--mint-dark); margin-bottom: 8px; }
@media (max-width: 760px) { .tools { grid-template-columns: 1fr; } }

/* Two-column explainer */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.col h3 { font-family: var(--font-display); font-size: 17px; margin-bottom: 8px; }
.col p { font-size: 14.5px; color: var(--muted); margin-bottom: 10px; line-height: 1.6; }
.col p:last-child { margin-bottom: 0; }
.col a { color: var(--mint-dark); }
.col.bad h3::before { content: "✕ "; color: var(--danger); }
.col.good h3::before { content: "✓ "; color: var(--mint-dark); }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; } }

/* Blog cards on the home page */
.home .post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.home .post-card h2 { font-size: 15.5px; line-height: 1.35; }
.home .post-card p { font-size: 13.5px; }
@media (max-width: 860px) { .home .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .home .post-grid { grid-template-columns: 1fr; } }
.center { text-align: center; margin-top: 18px; }
.link-more { color: var(--mint-dark); font-weight: 500; }

/* FAQ spacing on the home page */
.home .faq { padding: 56px 0 24px; }

/* ---------- Footer ---------- */
.home .footer { margin-top: 56px; background: var(--surface); }
.home .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; padding: 40px 0 28px; }
.home .footer-grid h4 { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.home .footer-grid a { display: block; font-size: 14px; color: var(--ink); padding: 4px 0; }
.home .footer-grid a:hover { color: var(--mint-dark); }
.home .footer-brand p { font-size: 13.5px; color: var(--muted); max-width: 300px; margin: 10px 0 14px; line-height: 1.6; }
.home .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 0 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .home .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .home .footer-grid { grid-template-columns: 1fr; } }
