:root {
  --orange: #f47a00;
  --orange-dark: #ba5600;
  --blue: #004b8d;
  --blue-dark: #07345f;
  --ink: #162232;
  --muted: #5f6f80;
  --line: #d8e4ef;
  --soft: #f3f8fc;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.top-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 32px;
  padding: 5px 16px;
  color: #ffffff;
  background: var(--blue);
  font-size: .9rem;
  font-weight: 800;
}

.top-strip a {
  color: #ffd9b0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(230px, 330px) 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding: 6px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand img {
  display: block;
  width: 62px;
  height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.nav a,
.header-login,
.secondary-action,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 6px;
  font-weight: 800;
  white-space: nowrap;
}

.nav a {
  padding: 0 13px;
  color: var(--blue-dark);
  font-size: .95rem;
}

.nav a:hover {
  color: var(--orange-dark);
}

.header-login,
.primary-action {
  padding: 0 18px;
  color: #ffffff;
  background: var(--orange);
  box-shadow: 0 10px 24px rgba(244, 122, 0, .2);
}

.header-login:hover,
.primary-action:hover {
  background: var(--orange-dark);
}

.secondary-action {
  padding: 0 18px;
  color: var(--blue);
  border: 1px solid var(--line);
  background: #ffffff;
}

.secondary-action:hover {
  border-color: rgba(0, 75, 141, .36);
  box-shadow: 0 12px 26px rgba(0, 46, 88, .08);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  min-height: 0;
  padding: clamp(32px, 4.5vw, 58px) clamp(18px, 5vw, 70px) clamp(34px, 4.5vw, 58px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(0, 75, 141, .1), transparent 52%),
    linear-gradient(0deg, #ffffff 0%, #f6fbff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -170px;
  z-index: -1;
  width: 720px;
  height: 720px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(0, 75, 141, .06) 49%, rgba(0, 75, 141, .06) 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(244, 122, 0, .09) 49%, rgba(244, 122, 0, .09) 51%, transparent 52%);
  background-size: 74px 74px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 6px;
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 9vw, 7.2rem);
  line-height: .85;
  text-shadow: 0 2px 0 rgba(122, 65, 0, .16);
}

h2 {
  color: var(--blue-dark);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.04;
}

h3 {
  color: var(--blue);
  font-size: clamp(1.18rem, 1.8vw, 1.7rem);
  line-height: 1.15;
}

.motto {
  margin-bottom: 12px;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.22rem, 2.4vw, 1.9rem);
  font-weight: 700;
}

.intro {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.45vw, 1.18rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hero-actions .primary-action,
.hero-actions .secondary-action {
  min-height: 44px;
  padding-inline: 22px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hero-points span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, .72);
  font-size: .92rem;
  font-weight: 800;
}

.product-preview {
  width: min(100%, 700px);
  margin-left: auto;
  border: 1px solid rgba(0, 75, 141, .14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(0, 46, 88, .17);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  color: var(--blue-dark);
  background: #eef5fb;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
  font-weight: 900;
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.browser-bar span:nth-child(2) {
  background: #ffbd72;
}

.browser-bar span:nth-child(3) {
  margin-right: 8px;
  background: var(--blue);
}

.preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
  padding: 16px;
}

.preview-main {
  min-width: 0;
}

.panel-top,
.preview-side div,
.cash-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-top {
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-weight: 900;
}

.panel-top strong {
  color: var(--orange-dark);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.metric-grid div,
.preview-side div {
  padding: 11px;
  border-radius: 6px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.metric-grid div {
  min-height: 78px;
}

.metric-grid span,
.preview-side span {
  display: block;
  color: var(--muted);
  font-size: .83rem;
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-size: 1.25rem;
}

.chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 10px;
  height: 130px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 6px;
  background:
    linear-gradient(180deg, transparent, transparent 31%, rgba(0, 75, 141, .08) 32%, transparent 33%, transparent 64%, rgba(0, 75, 141, .08) 65%, transparent 66%),
    #fff;
  border: 1px solid var(--line);
}

.chart span {
  display: block;
  min-height: 28px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--orange), var(--blue));
}

.preview-side {
  display: grid;
  align-content: start;
  gap: 8px;
}

.preview-side div {
  min-height: 58px;
  flex-direction: column;
  align-items: flex-start;
}

.preview-side strong {
  margin-top: 6px;
  color: var(--blue);
}

.quick-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px clamp(18px, 5vw, 70px);
  background: var(--blue-dark);
}

.quick-links a {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, .1);
  display: inline-flex;
  align-items: center;
  font-weight: 800;
}

.quick-links a:hover {
  background: var(--orange);
}

.section,
.feature-story,
.industry-section,
.workflow,
.support {
  padding: clamp(36px, 5vw, 62px) clamp(18px, 5vw, 70px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 22px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.55;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.why-grid article {
  min-height: 184px;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(0, 46, 88, .06);
}

.why-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 6px;
  color: #ffffff;
  background: var(--blue);
  font-weight: 900;
}

.why-grid h3 {
  font-size: 1.32rem;
}

.why-grid p,
.feature-row p,
.support p {
  color: var(--muted);
  line-height: 1.7;
}

.feature-story {
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(320px, .78fr);
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  max-width: 1180px;
  margin: 0 auto 14px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  grid-template-columns: minmax(320px, .78fr) minmax(0, .94fr);
}

.feature-row.reverse > div:first-child {
  grid-column: 2;
}

.feature-row.reverse > div:last-child {
  grid-column: 1;
  grid-row: 1;
}

.feature-kicker {
  margin-bottom: 6px;
  color: var(--orange-dark);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mini-window {
  min-height: 176px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(0, 75, 141, .16);
  background: linear-gradient(180deg, #ffffff, #f8fbfe);
  box-shadow: 0 18px 40px rgba(0, 46, 88, .1);
}

.ledger-window {
  display: grid;
  gap: 8px;
  align-content: center;
}

.ledger-window div {
  display: flex;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 6px;
  align-items: center;
  background: var(--soft);
}

.ledger-window span,
.cash-line span,
.report-window span {
  color: var(--muted);
}

.ledger-window strong,
.cash-line strong {
  color: var(--blue);
}

.invoice-window {
  display: grid;
  align-content: center;
  gap: 10px;
}

.invoice-total {
  color: var(--blue-dark);
  font-size: 1.1rem;
  font-weight: 900;
}

.invoice-window span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: #c9d8e6;
}

.invoice-window button {
  width: fit-content;
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  background: var(--orange);
  font-weight: 900;
}

.cash-window {
  display: grid;
  gap: 8px;
  align-content: center;
}

.cash-line {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 6px;
  background: var(--soft);
}

.stock-window {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-content: center;
}

.stock-card {
  min-height: 88px;
  padding: 12px 10px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--blue);
  display: grid;
  place-items: center;
  text-align: center;
}

.stock-card:nth-child(2) {
  background: var(--orange);
}

.stock-card strong {
  font-size: 1.6rem;
}

.stock-card span {
  font-size: .85rem;
  font-weight: 800;
}

.report-window {
  display: grid;
  grid-template-columns: 116px 1fr;
  align-items: center;
  gap: 18px;
}

.report-ring {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  background:
    radial-gradient(circle at center, #fff 0 52%, transparent 53%),
    conic-gradient(var(--orange) 0 73%, #d7e4ef 73% 100%);
  font-size: 1.6rem;
  font-weight: 900;
}

.report-window div:last-child {
  display: grid;
  gap: 8px;
}

.report-window span {
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--soft);
  font-weight: 800;
}

.industry-section {
  background: #ffffff;
}

.industry-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 980px;
  margin: 0 auto;
}

.industry-list span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--blue-dark);
  background: #ffffff;
  font-weight: 900;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(22px, 4vw, 48px);
  background: var(--blue-dark);
  color: #ffffff;
}

.workflow h2 {
  color: #ffffff;
}

.workflow .eyebrow {
  color: #ffad5a;
}

.steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  min-height: 58px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.steps span {
  color: #ffad5a;
  font-weight: 900;
}

.support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background: linear-gradient(90deg, #fff, #f7fbff);
  border-top: 1px solid var(--line);
}

.support div {
  max-width: 740px;
}

.contact-bar {
  display: grid;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 122px;
  padding: 18px 20px;
  color: #ffffff;
  background: var(--blue);
  border-top: 4px solid var(--orange);
  text-align: center;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 30px;
}

.contact-item svg {
  width: 22px;
  height: 22px;
  color: #ffbd72;
  flex: 0 0 auto;
}

.contact-item strong,
.contact-item span {
  font-weight: 900;
}

.contact-bar a:hover {
  text-decoration: underline;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .workflow,
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }

  .product-preview {
    margin: 0;
  }

  .feature-row.reverse > div:first-child,
  .feature-row.reverse > div:last-child {
    grid-column: auto;
    grid-row: auto;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .support {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .top-strip {
    flex-direction: column;
    gap: 3px;
    text-align: center;
  }

  .site-header {
    min-height: 60px;
    gap: 12px;
    padding: 6px 14px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand {
    gap: 9px;
    font-size: 1.55rem;
  }

  .header-login {
    min-height: 38px;
    padding-inline: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 4.8rem);
  }

  .preview-grid,
  .metric-grid,
  .stock-window,
  .report-window {
    grid-template-columns: 1fr;
  }

  .chart {
    height: 118px;
    gap: 8px;
  }

  .mini-window {
    min-height: auto;
  }

  .report-ring {
    margin: 0 auto;
  }
}
