:root {
  --pm-blue-dark: #072a4d;
  --pm-blue: #0b72d9;
  --pm-blue-bright: #2ea8e8;
  --pm-teal: #14c7b5;
  --pm-ink: #0a1930;
  --pm-ink-soft: #4a5a72;
  --pm-bg: #f6f9fc;
  --pm-card: #ffffff;
  --pm-border: #e3eaf2;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 20px 45px -25px rgba(7, 42, 77, 0.35);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--pm-ink);
  background: var(--pm-bg);
  line-height: 1.6;
}

a { color: var(--pm-blue); text-decoration: none; }
a:hover { color: var(--pm-blue-dark); }

img { max-width: 100%; }
a img { border: 0; }

h1, h2, h3, .tagline { text-wrap: balance; }
p { text-wrap: pretty; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--pm-blue);
  outline-offset: 3px;
}
.hero :focus-visible, .feature-card :focus-visible { outline-color: #fff; }

section[id] { scroll-margin-top: 88px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .btn-primary:hover, .btn-outline-light:hover, .product-card:hover { transform: none; }
}

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

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pm-border);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.site-nav .logo img { height: 52px; display: block; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 130px;
  background: radial-gradient(120% 140% at 15% -10%, #123a66 0%, var(--pm-blue-dark) 45%, var(--pm-ink) 100%);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(46, 168, 232, 0.35) 0, transparent 40%),
    radial-gradient(circle at 90% 65%, rgba(20, 199, 181, 0.25) 0, transparent 45%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pm-blue-bright);
  background: rgba(46, 168, 232, 0.12);
  border: 1px solid rgba(46, 168, 232, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  max-width: 780px;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn { min-width: 180px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--pm-blue-bright); color: #06233f; }
.btn-primary:hover { background: #57bdf0; color: #06233f; transform: translateY(-1px); }
.btn-outline-light { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); color: #fff; transform: translateY(-1px); }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: #fff; }
.section-header { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-header .eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pm-blue);
  margin-bottom: 12px;
}
.section-header h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0 0 14px; }
.section-header p { color: var(--pm-ink-soft); margin: 0; }

/* Product feature: Eagersheet */
.feature-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, #234548, #14262a);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  box-shadow: var(--shadow-soft);
}
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.badge-prerelease {
  background: rgba(20, 199, 181, 0.18);
  color: var(--pm-teal);
  border: 1px solid rgba(20, 199, 181, 0.4);
}
.feature-card h2 { font-size: 1.9rem; margin: 0 0 8px; }
.feature-card .tagline {
  font-size: 1.05rem;
  color: #7cc4b0;
  font-weight: 600;
  margin: 0 0 18px;
}
.feature-card p { color: rgba(255,255,255,0.78); margin: 0 0 24px; }
.feature-card p.cta-prompt { color: #fff; font-weight: 600; margin: 0 0 12px; }
.feature-visual {
  position: relative;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.screenshot-crop {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.5);
}
.screenshot-crop img {
  width: 200%;
  max-width: none;
  height: auto;
  display: block;
}

/* Product grid (Boost + minimized apps) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--pm-card);
  border: 1px solid var(--pm-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.product-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.icon-blue { background: rgba(11, 114, 217, 0.1); color: var(--pm-blue); }
.icon-teal { background: rgba(20, 199, 181, 0.12); color: var(--pm-teal); }
.product-card h3 { font-size: 1.2rem; margin: 0 0 6px; }
.product-card .subtitle { color: var(--pm-ink-soft); font-size: 0.85rem; font-weight: 600; margin: 0 0 14px; }
.product-card p { color: var(--pm-ink-soft); font-size: 0.92rem; margin: 0 0 18px; }
.product-card .link-arrow { font-weight: 600; font-size: 0.9rem; }


/* About */
.about-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
.about-avatar {
  width: 220px; height: 220px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-soft);
}
.about-body h3 { margin: 0 0 4px; font-size: 1.4rem; }
.about-body .role { color: var(--pm-blue); font-weight: 600; margin: 0 0 18px; }
.about-body p { color: var(--pm-ink-soft); margin: 0 0 16px; }
.about-links { display: flex; gap: 14px; margin-top: 8px; }

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--pm-card);
  border: 1px solid var(--pm-border);
  border-radius: var(--radius-lg);
  padding: 56px;
  box-shadow: var(--shadow-soft);
}
.contact-info h2 { font-size: 1.7rem; margin: 0 0 14px; }
.contact-info p { color: var(--pm-ink-soft); margin-bottom: 24px; }
.contact-info .addr { font-size: 0.92rem; font-style: normal; color: var(--pm-ink-soft); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #8494a9;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fbfcfe;
}
.form-group input:focus-visible, .form-group textarea:focus-visible {
  outline: 3px solid var(--pm-blue);
  outline-offset: 1px;
  border-color: var(--pm-blue);
}
.form-note { font-size: 0.8rem; color: var(--pm-ink-soft); margin-top: 12px; }
.grecaptcha-badge { visibility: hidden; }
.btn:disabled { cursor: progress; opacity: 0.85; transform: none; }
.btn .spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .btn .spinner { animation-duration: 2s; }
}
.contact-success { padding: 24px 0; }
.contact-success:focus { outline: none; }
.contact-success h3 { font-size: 1.4rem; margin: 0 0 8px; }
.contact-success p { color: var(--pm-ink-soft); margin: 0; }
.form-status { font-size: 0.88rem; margin-top: 12px; }
.form-status:empty { margin: 0; }
.form-status.success { color: #147d3f; }
.form-status.error { color: #c0362c; }

/* Footer */
footer.site-footer {
  background: var(--pm-ink);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
  font-size: 0.88rem;
}
footer.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
footer.site-footer a { color: rgba(255,255,255,0.7); }
footer.site-footer a:hover { color: #fff; }

@media (max-width: 900px) {
  .feature-card { grid-template-columns: 1fr; padding: 36px; }
  .about-wrap { grid-template-columns: 1fr; }
  .about-avatar { width: 180px; height: 180px; }
  .contact-wrap { grid-template-columns: 1fr; padding: 32px; }
}
