/* Shared styles for Instant Mail web pages (light theme) */
:root {
  --bg: #ffffff;
  --panel: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --brand: #00c97c; /* primary */
  --brand-2: #00b371;
  --border: #e2e8f0;
  --shadow: 0 2px 10px rgba(2, 6, 23, 0.06);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 20px;
}
.nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }

.hero { padding: 72px 0 24px; background: linear-gradient(180deg, #ffffff 0%, #f6fff9 100%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.hero h1 { font-size: 44px; line-height: 1.1; margin: 0 0 12px; }
.lead { color: var(--muted); font-size: 18px; }
.hero-points { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-points span { background: var(--panel); border: 1px solid var(--border); padding: 6px 10px; border-radius: 999px; font-size: 14px; }

.app-icon {
  width: 72px; height: 72px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-visual { display: flex; justify-content: center; }
.screenshot-figure { margin: 0; }
.screenshot { width: 100%; max-width: 640px; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow); }

.hero-visual .phone {
  width: 320px; height: 620px; margin: 0 auto; border-radius: 36px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow);
  position: relative; padding: 16px; display: flex; flex-direction: column; gap: 12px;
}
.phone .status { height: 24px; border-radius: 8px; background: #f1f5f9; border: 1px solid var(--border); }
.phone .screen { flex: 1; border-radius: 20px; border: 1px solid var(--border); background: #f8fafc; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.inbox-row { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px; }
.inbox-row .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.lines .line { height: 10px; border-radius: 6px; background: #e2e8f0; margin: 3px 0; }
.lines .line.muted { background: #eef2f7; }
.line.w-70 { width: 70%; }
.line.w-60 { width: 60%; }
.line.w-50 { width: 50%; }
.line.w-40 { width: 40%; }
.line.w-35 { width: 35%; }
.line.w-30 { width: 30%; }

.cta-group { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  background: var(--brand);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow);
}
.btn:hover { filter: saturate(1.05) brightness(1.02); }
.btn-small { padding: 8px 12px; font-size: 14px; }
.btn.outline { background: #fff; color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.store.ios::before { content: " "; }
.store.android::before { content: "▶ "; }

.section { padding: 56px 0; }
.features .grid,
.use-cases .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.card h3 { margin-top: 8px; margin-bottom: 6px; }
.feature .icon { font-size: 20px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: #eafff4; color: #067f52; }

.how .steps { padding-left: 18px; }
.how .steps li { margin: 6px 0; }

.trust .panel { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.bullets { margin: 0; padding-left: 18px; }
.faq .faq-item + .faq-item { margin-top: 14px; }

.screenshots-grid .shot { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.screenshots-grid .shot img { display: block; width: 100%; height: auto; }

.cta-band { background: linear-gradient(90deg, #eafff4, #ffffff); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.doc { padding: 32px 0 48px; }
.doc h1 { margin-bottom: 4px; }
.muted { color: var(--muted); }
.back-link { margin-top: 24px; }

.site-footer { border-top: 1px solid var(--border); background: #ffffff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.footer-right a { color: var(--muted); text-decoration: none; margin-left: 16px; }
.footer-right a:hover { color: var(--text); }

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .features .grid, .use-cases .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
}
