/* ---------------------------------------------------------------------------
   Messy Calendar — marketing site
   Clean, modern, warm-white with the extension's dark-red accent (#a4161a).
--------------------------------------------------------------------------- */

:root {
  --red: #a4161a;
  --red-dark: #7d1114;
  --red-tint: #fbeaea;
  --ink: #1a1712;
  --body: #4a463f;
  --muted: #8a857c;
  --bg: #ffffff;
  --soft: #faf9f7;
  --soft-2: #f4f2ee;
  --border: #ece9e3;
  --border-strong: #ddd9d1;
  --card: #f2f2f0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(26, 23, 18, 0.05), 0 4px 12px rgba(26, 23, 18, 0.05);
  --shadow-lg: 0 12px 34px rgba(26, 23, 18, 0.1), 0 4px 10px rgba(26, 23, 18, 0.05);
  --shadow-xl: 0 30px 70px rgba(26, 23, 18, 0.16), 0 8px 20px rgba(26, 23, 18, 0.08);
  --maxw: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* ---------- Type ---------- */
h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.lead {
  font-size: 19px;
  color: var(--body);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 16px rgba(164, 22, 26, 0.28);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}
.btn-ghost {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--soft);
}
.btn[disabled],
.btn.is-soon {
  cursor: default;
  opacity: 1;
}
.btn.is-soon {
  background: var(--soft-2);
  color: var(--muted);
  box-shadow: none;
}

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  background: var(--red-tint);
  border: 1px solid rgba(164, 22, 26, 0.14);
  padding: 6px 12px;
  border-radius: 999px;
}
.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(164, 22, 26, 0.16);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand img {
  width: 30px;
  height: 30px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 40px;
}
.hero::before {
  content: "";
  position: absolute;
  top: -260px;
  right: -180px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle at center, rgba(164, 22, 26, 0.1), rgba(164, 22, 26, 0) 62%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: 54px;
  margin: 20px 0 18px;
}
.hero h1 .accent {
  color: var(--red);
}
.hero .lead {
  font-size: 20px;
  max-width: 30ch;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}
.hero-art {
  display: flex;
  justify-content: center;
  position: relative;
}
.hero-art img {
  width: 340px;
  filter: drop-shadow(0 30px 60px rgba(26, 23, 18, 0.18));
}

/* ---------- Trust strip ---------- */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--soft);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  justify-content: center;
  padding: 20px 0;
  font-size: 14.5px;
  color: var(--body);
}
.trust-inner span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.trust-inner svg {
  color: var(--red);
  flex-shrink: 0;
}

/* ---------- Section shell ---------- */
.section {
  padding: 88px 0;
}
.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 {
  font-size: 38px;
  margin: 14px 0 14px;
}
.section-head p {
  font-size: 18px;
}

/* ---------- Pillars (3 jobs) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pillar {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.pillar .p-ico {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--red);
  margin-bottom: 16px;
}
.pillar h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.pillar p {
  font-size: 15px;
}

/* ---------- Feature cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.f-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.f-thumb {
  padding: 14px 14px 0;
}
.f-thumb img {
  width: 100%;
  display: block;
  border-radius: 10px;
}
.f-body {
  padding: 16px 20px 22px;
}
.f-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--red-tint);
  color: var(--red);
  font-weight: 700;
  font-size: 12.5px;
  margin-bottom: 10px;
}
.f-card h3 {
  font-size: 17.5px;
  margin-bottom: 6px;
}
.f-card p {
  font-size: 14.5px;
  color: var(--body);
}

/* ---------- Privacy highlight ---------- */
.privacy-band {
  background: var(--ink);
  color: #efece6;
  border-radius: 28px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.privacy-band h2 {
  color: #fff;
  font-size: 34px;
  margin-bottom: 14px;
}
.privacy-band p {
  color: #c9c4ba;
  font-size: 17px;
}
.privacy-points {
  display: grid;
  gap: 16px;
}
.privacy-points li {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  color: #e7e3db;
}
.privacy-points .pk {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff9ea1;
  flex-shrink: 0;
}

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  padding: 90px 0;
}
.cta h2 {
  font-size: 40px;
  margin-bottom: 14px;
}
.cta p {
  font-size: 18px;
  max-width: 46ch;
  margin: 0 auto 28px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--soft);
  padding: 44px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer .brand {
  font-size: 16px;
}
.footer-links {
  display: flex;
  gap: 26px;
  font-size: 14.5px;
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--ink);
}
.footer-copy {
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- Legal (privacy page) ---------- */
.legal {
  padding: 64px 0 96px;
}
.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.legal h1 {
  font-size: 40px;
  margin-bottom: 10px;
}
.legal .updated {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 22px;
  margin: 40px 0 12px;
}
.legal h3 {
  font-size: 17px;
  margin: 24px 0 8px;
  font-weight: 700;
}
.legal p,
.legal li {
  font-size: 16px;
  color: var(--body);
}
.legal p {
  margin-bottom: 14px;
}
.legal ul {
  margin: 0 0 16px 22px;
}
.legal li {
  margin-bottom: 8px;
}
.legal strong {
  color: var(--ink);
}
.legal a {
  color: var(--red);
  font-weight: 600;
}
.legal-note {
  background: var(--soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 15px;
  margin: 22px 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid,
  .privacy-band {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-art {
    order: -1;
  }
  .hero-art img {
    width: 280px;
  }
  .nav-links {
    display: none;
  }
  .privacy-band {
    padding: 36px 26px;
    border-radius: 20px;
  }
  .section-head h2 {
    font-size: 30px;
  }
}

@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 34px;
  }
  .section {
    padding: 60px 0;
  }
}
