:root {
  --paper: #ffffff;
  --mist: #f4f7fd;
  --sky: #e9f0fc;
  --ink: #0f1a33;
  --ink-soft: #4a5570;
  --blue: #1e40af;
  --blue-deep: #152c73;
  --blue-bright: #3b6ff0;
  --accent: #f2884b;
  --green: #1f9d6b;
  --hair: #e2e8f4;
  --white: #ffffff;
  --muted: #4a5570;
  --navy-900: #0f1a33;
  --navy-800: #152c73;
  --teal: #1f9d6b;
  --gold: #f2884b;
  --cream: #f4f7fd;
  --radius: 9px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Instrument Sans", sans-serif;
  line-height: 1.55;
  overflow-x: clip;
}
::selection { background: rgba(59, 111, 240, 0.2); color: var(--ink); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  line-height: 1.06;
  letter-spacing: -0.018em;
}
a { color: inherit; }
a:focus-visible {
  border-radius: 8px;
  outline: 3px solid rgba(59, 111, 240, 0.3);
  outline-offset: 4px;
}
.wrap { width: min(1120px, calc(100% - 52px)); margin-right: auto; margin-left: auto; }
.nav-inner,
.nav-actions,
.hero-cta,
.trust-line {
  display: flex;
  align-items: center;
}
.nav-inner { justify-content: space-between; gap: 24px; }
.nav-actions { gap: 12px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-cta,
.trust-line { flex-wrap: wrap; gap: 13px; }
.hero-cta { margin-bottom: 24px; }
.hero-visual { display: grid; place-items: center; }
.preview-card { width: min(440px, 100%); padding: 26px; border-radius: 10px; }
.preview-top { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; }
.metric { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 15px 0; }
.mini-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.mini-actions div { padding: 11px; border-radius: 8px; text-align: center; font-size: 12px; font-weight: 600; }
.section-head { margin-right: auto; margin-left: auto; text-align: center; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.card { padding: 26px; }
.card p { margin-top: 9px; font-size: 15px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.check-list { display: grid; gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 18px; }
.check::before { width: 10px; height: 10px; flex: none; margin-top: 7px; border-radius: 999px; content: ""; }
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.pricing.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price-card { padding: 30px; }
.price { margin: 12px 0; font-size: 40px; font-weight: 800; }
.price small { font-size: 15px; color: var(--muted); }
.cta { padding: 70px 0; text-align: center; }
.cta h2 { margin-bottom: 12px; color: #fff; }
.cta p { max-width: 620px; margin: 0 auto 24px; color: rgba(255, 255, 255, 0.72); }
.footer { padding: 44px 0; color: rgba(255, 255, 255, 0.72); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer a { display: block; margin: 8px 0; color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.footer h4 { margin-bottom: 13px; color: #fff; font-size: 14px; }
.footer p { max-width: 330px; margin-top: 13px; color: rgba(255, 255, 255, 0.58); font-size: 13.5px; }
.eyebrow {
  color: var(--blue-bright);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(226, 232, 244, 0.9);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.2s ease;
}
.nav.scrolled { box-shadow: 0 10px 30px -24px rgba(15, 26, 51, 0.7); }
.nav-inner { height: 64px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 17px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  overflow: hidden;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--blue-bright), var(--blue-deep));
  box-shadow: 0 8px 18px -10px rgba(30, 64, 175, 0.9);
  transition: transform 0.2s ease;
}
.brand:hover .brand-mark { transform: rotate(-4deg) scale(1.04); }
.brand-mark img { display: none; }
.brand-mark::after {
  content: "T";
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}
.brand-dot { color: var(--accent); }
.nav-links { color: var(--ink-soft); font-size: 14px; font-weight: 500; }
.nav-links a {
  position: relative;
  text-decoration: none;
  transition: color 0.18s ease;
}
.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-bright);
  content: "";
  transform: scaleX(0);
  transition: transform 0.18s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.signin {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  color: var(--ink-soft);
  font-weight: 600;
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid transparent;
  padding: 12px 22px;
  border-radius: 9px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(242, 136, 75, 0.7);
}
.btn.primary:hover { background: #df7438; }
.btn.dark-outline {
  border-color: var(--hair);
  background: #fff;
  color: var(--ink);
}
.btn.dark-outline:hover {
  border-color: #c4d0e7;
  box-shadow: 0 12px 28px -22px rgba(15, 26, 51, 0.65);
}
.btn.white { color: var(--blue); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(820px 420px at 80% -10%, rgba(242, 136, 75, 0.14), transparent 60%),
    radial-gradient(760px 480px at 10% 0%, rgba(59, 111, 240, 0.12), transparent 55%),
    var(--mist);
}
.hero::after {
  right: -55px;
  bottom: 38px;
  left: auto;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(242, 136, 75, 0.25);
  border-radius: 50%;
  background: transparent;
}
.hero-inner {
  min-height: 650px;
  padding: 72px 0 78px;
}
.hero-copy .eyebrow { color: var(--blue-bright); }
.eyebrow { text-transform: uppercase; }
.hero-copy h1 {
  margin: 16px 0 20px;
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(40px, 5.4vw, 64px);
}
.hero-copy h1 span { color: var(--blue); }
.hero-copy .sub {
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.7vw, 19px);
}
.trust-line { color: var(--ink-soft); font-size: 13.5px; font-weight: 600; }
.trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 6px 16px -12px rgba(15, 26, 51, 0.4);
}
.trust-line span::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}
.hero-visual { min-height: 440px; }
.preview-card {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--hair);
  box-shadow: 0 28px 65px -34px rgba(15, 26, 51, 0.45);
  backdrop-filter: blur(18px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.preview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 34px 72px -34px rgba(15, 26, 51, 0.55);
}
.preview-top { border-bottom-color: var(--hair); }
.preview-top h3,
.preview-top h3[style] { color: var(--ink) !important; }
.pill {
  padding: 5px 9px;
  border: 1px solid #bde8d5;
  border-radius: 999px;
  color: var(--green);
  background: #e3f6ee;
  font-size: 11px;
  font-weight: 700;
}
.metric { border-bottom-color: var(--hair); }
.metric span { color: var(--ink-soft); }
.metric strong { color: var(--ink); }
.metric b { color: var(--green); }
.mini-actions div {
  color: var(--blue);
  background: var(--sky);
  transition: transform 0.18s ease, background-color 0.18s ease;
}
.mini-actions div:hover { transform: translateY(-2px); background: #dce7fb; }

section { padding: 74px 0; }
.section-head { max-width: 700px; margin-bottom: 42px; }
.section-head h2,
.split h2 {
  color: var(--ink);
  font-size: clamp(29px, 3.7vw, 44px);
}
.section-head > p:last-child,
.split > div > p:last-child { font-size: 16.5px; }
.feature-grid { gap: 16px; }
.card,
.check,
.quote,
.price-card {
  border: 1px solid var(--hair);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 42px -34px rgba(15, 26, 51, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover,
.check:hover,
.price-card:hover {
  border-color: #c8d5ed;
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -32px rgba(15, 26, 51, 0.55);
}
.card h3,
.check h3,
.price-card h3 { color: var(--ink); }
.check::before { background: var(--green); }
#workflow { background: var(--mist) !important; }
#pricing { background: #fff; }
.price-card.featured {
  border: 2px solid var(--blue-bright);
  box-shadow: 0 24px 50px -34px rgba(30, 64, 175, 0.65);
}
.price { color: var(--ink); }

.cta {
  position: relative;
  overflow: hidden;
  background: var(--blue-deep);
}
.cta::after {
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
}
.cta h2 { font-size: clamp(29px, 3.7vw, 44px); }
.footer { background: #0b1429; }

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

body[data-product="impact"] { --accent: #1f9d6b; }
body[data-product="impact"] .brand-mark.impact-logo {
  width: 42px;
  height: 42px;
  border: 1px solid #d6e8e2;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 8px 18px -12px rgba(15, 118, 110, 0.75);
}
body[data-product="impact"] .brand-mark.impact-logo::after { display: none; }
body[data-product="impact"] .brand-mark.impact-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
body[data-product="hotel"] { --accent: #f2884b; }
body[data-product="accounting"] { --accent: #3b6ff0; }
body[data-product="accounting"] .accounting-brand { flex: none; }
body[data-product="accounting"] .brand-mark.accounting-logo {
  width: 174px;
  height: 52px;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}
body[data-product="accounting"] .brand-mark.accounting-logo::after { display: none; }
body[data-product="accounting"] .brand-mark.accounting-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
body[data-product="accounting"] .footer-accounting-brand .brand-mark.accounting-logo {
  width: 190px;
  height: 76px;
}
body[data-product="accounting"] .btn.primary { background: var(--blue); box-shadow: 0 10px 24px -14px rgba(30, 64, 175, 0.8); }
body[data-product="accounting"] .btn.primary:hover { background: var(--blue-deep); }

@media (max-width: 900px) {
  .hero-inner,
  .split,
  .pricing, .pricing.three { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hero-inner { min-height: auto; gap: 24px; padding: 64px 0 72px; }
  .hero-visual { min-height: auto; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .feature-grid,
  .footer-grid,
  .mini-actions { grid-template-columns: 1fr; }
  .nav-actions { gap: 8px; }
  .nav-actions .signin {
    padding: 9px 10px;
    border: 1px solid rgba(30, 64, 175, 0.14);
    border-radius: 12px;
    background: #fff;
    color: var(--blue);
    font-size: 13px;
    box-shadow: 0 8px 20px -18px rgba(15, 26, 51, 0.7);
  }
  section { padding: 58px 0; }
  .hero-inner { padding: 56px 0 62px; }
  .hero-copy h1 { font-size: clamp(36px, 12vw, 52px); }
  .nav-actions .btn { padding: 10px 14px; font-size: 13px; }
  body[data-product="accounting"] .brand-mark.accounting-logo { width: 126px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
