/* troposvue.com: navy hero with gold call to action, light feature grid (design 1.2). */
:root {
  --navy-900: #0B2545;
  --navy-800: #163862;
  --navy-700: #1D4E89;
  --navy-600: #2C5C99;
  --navy-300: #B7CCEA;
  --gold: #C7972C;
  --gold-light: #E0B75C;
  --gold-pale: #FBF1DD;
  --text: #1B1F27;
  --text-2: #5A6472;
  --bg: #F4F6F9;
  --surface: #FFFFFF;
  --border: #DCE2EA;
  --critical: #C4463A;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--text); background: var(--bg); }
a { color: var(--navy-700); }
h1, h2, h3 { line-height: 1.2; color: var(--navy-900); margin: 0 0 12px; }
h1 { font-size: clamp(32px, 6vw, 52px); }
h2 { font-size: clamp(24px, 4vw, 34px); }
h3 { font-size: 18px; }
p { margin: 0 0 12px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
.muted { color: var(--text-2); }
.fine { font-size: 13px; color: var(--text-2); }
.center { text-align: center; margin-top: 28px; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; background: var(--navy-900); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: 0.01em; }
.brand.small { font-size: 15px; gap: 6px; }
.top nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { color: #fff; text-decoration: none; font-size: 15px; opacity: 0.9; }
.top nav a:hover { opacity: 1; text-decoration: underline; }

.cta { display: inline-block; background: var(--gold-light); color: var(--navy-900) !important; font-weight: 700; text-decoration: none !important; padding: 12px 22px; border-radius: 8px; border: 0; font-size: 16px; cursor: pointer; opacity: 1 !important; }
.cta:hover { background: var(--gold); }
.cta:disabled { opacity: 0.6 !important; cursor: default; }
.cta.small { padding: 7px 14px; font-size: 14px; }
.ghost { display: inline-block; color: #fff; text-decoration: none; padding: 11px 20px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 8px; background: transparent; font-size: 16px; cursor: pointer; }
.ghost.dark { color: var(--navy-900); border-color: var(--border); }
.ghost.small { padding: 7px 14px; font-size: 14px; }

.hero { background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%); color: #fff; padding: 72px 0 80px; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero .lead { font-size: clamp(17px, 2.2vw, 20px); max-width: 60ch; color: var(--navy-300); }
.hero .fine { color: var(--navy-300); margin-top: 14px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; color: var(--gold-light); font-weight: 700; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.section { padding: 64px 0; }
.section.alt { background: var(--surface); }
.section-lead { font-size: 18px; color: var(--text-2); max-width: 65ch; margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.grid article { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--navy-700); border-radius: 10px; padding: 18px 20px; }
.grid article p { color: var(--text-2); font-size: 15px; margin: 0; }
.steps { padding-left: 22px; font-size: 17px; }
.steps li { margin-bottom: 10px; }
.steps.compact { font-size: 15px; }

.tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.tier { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.tier.featured { border: 2px solid var(--gold); box-shadow: 0 6px 24px rgba(11, 37, 69, 0.12); }
.tier .price { font-size: 32px; font-weight: 800; color: var(--navy-900); margin: 4px 0; }
.tier .price span { font-size: 15px; font-weight: 400; color: var(--text-2); }
.tier .cap { font-weight: 600; margin: 0; }
.tier .muted { font-size: 14px; flex: 1; }
.tier a { align-self: flex-start; margin-top: 8px; }
.pricing-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 32px; }
.pricing-notes table { border-collapse: collapse; width: 100%; max-width: 420px; margin-bottom: 8px; font-size: 15px; }
.pricing-notes td { padding: 6px 0; border-bottom: 1px solid var(--border); }
.pricing-notes td:last-child { text-align: right; font-weight: 600; }

details { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 600; color: var(--navy-900); }
details p { margin: 10px 0 0; color: var(--text-2); }

.foot { background: var(--navy-900); color: var(--navy-300); padding: 24px 0; font-size: 14px; }
.foot .wrap { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.foot a { color: var(--gold-light); }

/* Trial page */
.trial-page { background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%) fixed; min-height: 100vh; }
.trial-wrap { max-width: 560px; margin: 40px auto; padding: 0 16px; }
.card { background: var(--surface); border-radius: 14px; padding: 28px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25); }
.card h1 { font-size: 28px; }
.card h2 { font-size: 20px; margin-top: 20px; }
form { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; color: var(--navy-900); }
input, select { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--text); }
input:focus, select:focus { outline: 2px solid var(--navy-600); outline-offset: 1px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.error { color: var(--critical); font-size: 14px; margin: 0; }
.key { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: var(--gold-pale); border: 1px solid var(--gold-light); border-radius: 10px; padding: 14px; margin: 12px 0 6px; }
.key code { font: 600 18px/1.3 'Cascadia Mono', Consolas, monospace; letter-spacing: 0.03em; color: var(--navy-900); overflow-wrap: anywhere; flex: 1 1 260px; }

@media (max-width: 640px) {
  .top nav a:not(.cta) { display: none; }
  .hero { padding: 48px 0 56px; }
  .section { padding: 44px 0; }
  .card { padding: 20px; }
}
