* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #18202b;
  background:
    radial-gradient(circle at top left, rgba(27, 99, 255, 0.12), transparent 34rem),
    linear-gradient(180deg, #f3efe6 0%, #f8f4eb 45%, #efe9dc 100%);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
}

.section {
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(243, 239, 230, 0.82);
  border-bottom: 1px solid rgba(24, 32, 43, 0.08);
}

.site-header.compact {
  position: static;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-logo {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.brand-product {
  padding-left: 16px;
  border-left: 1px solid rgba(24, 32, 43, 0.12);
  font-size: 1.05rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #667085;
  font-size: 0.95rem;
}

.main-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: #1b63ff;
}

.hero {
  padding-top: 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(27, 99, 255, 0.18);
  border-radius: 999px;
  color: #1b63ff;
  background: rgba(27, 99, 255, 0.08);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  line-height: 1.06;
  letter-spacing: -0.055em;
  margin: 0;
}

h1 {
  margin-top: 24px;
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  max-width: 900px;
}

h2 {
  font-size: clamp(2.1rem, 4.4vw, 4rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
  color: #667085;
}

.hero-text {
  margin-top: 24px;
  max-width: 650px;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #8b6d4a, #59422c);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, #1b63ff, #1b63ff);
  box-shadow: 0 18px 40px rgba(27, 99, 255, 0.28);
}

.download-note {
  font-size: 0.95rem;
}

.hero-card {
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 12%;
  background: rgba(27, 99, 255, 0.16);
  filter: blur(70px);
  border-radius: 50%;
}

.app-window {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(24, 32, 43, 0.1);
  border-radius: 32px;
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
  backdrop-filter: blur(20px);
}

.window-dots {
  display: flex;
  gap: 7px;
  padding: 4px 0 16px 8px;
}

.window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(24, 32, 43, 0.18);
}

.invoice-preview {
  padding: 28px;
  border-radius: 24px;
  background: #fffaf0;
  border: 1px solid rgba(24, 32, 43, 0.08);
}

.preview-top,
.preview-row,
.preview-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.small-label {
  display: block;
  color: #667085;
  font-size: 0.85rem;
}

.status-pill {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(27, 99, 255, 0.1);
  color: #1b63ff;
  font-weight: 800;
  font-size: 0.82rem;
}

.preview-line {
  height: 12px;
  width: 64%;
  margin: 24px 0 12px;
  border-radius: 999px;
  background: #edf0f5;
}

.preview-line.wide {
  width: 88%;
  margin-top: 30px;
}

.preview-row {
  padding: 16px 0;
  border-bottom: 1px solid rgba(24, 32, 43, 0.08);
  color: #667085;
}

.preview-row strong {
  color: #18202b;
}

.preview-total {
  margin-top: 28px;
  padding: 22px;
  border-radius: 18px;
  color: white;
  background: #101828;
}

.preview-total span {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2,
.split h2,
.roadmap-card h2,
.beta-box h2,
.legal-page h1 {
  margin-top: 18px;
}

.feature-grid,
.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card,
.notice-card,
.roadmap-card,
.beta-box,
.screen-card,
.legal-page .narrow {
  border: 1px solid rgba(24, 32, 43, 0.1);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.06);
}

.feature-card {
  padding: 30px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 16px;
  color: white;
  background: #101828;
  font-weight: 900;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.verifactu-section {
  background: rgba(255, 255, 255, 0.28);
  border-block: 1px solid rgba(24, 32, 43, 0.08);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.split p {
  margin-top: 20px;
  font-size: 1.08rem;
  max-width: 680px;
}

.notice-card {
  padding: 34px;
  background: #101828;
}

.notice-card h3 {
  color: white;
  margin-bottom: 12px;
}

.notice-card p {
  color: rgba(255, 255, 255, 0.72);
}

.screen-card {
  padding: 14px;
}

.screen-placeholder {
  min-height: 245px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #667085;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(27, 99, 255, 0.12), rgba(255, 255, 255, 0.62));
  border: 1px dashed rgba(27, 99, 255, 0.25);
}

.roadmap-card {
  padding: clamp(34px, 6vw, 72px);
  text-align: center;
}

.roadmap-card p {
  margin: 22px auto 0;
  max-width: 720px;
  font-size: 1.08rem;
}

.beta-section {
  padding-top: 0;
}

.beta-box {
  padding: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  background: #101828;
}

.beta-box h2 {
  color: white;
}

.beta-box p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 700px;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid rgba(24, 32, 43, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 20px;
  color: #667085;
}

.legal-page .narrow {
  padding: clamp(32px, 6vw, 72px);
}

.legal-page p {
  margin-top: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 32px;
  color: #1b63ff;
  font-weight: 800;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .split,
  .feature-grid,
  .screens-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .section {
    padding: 72px 0;
  }

  .beta-box,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {

  .container,
  .narrow {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-logo {
    width: 116px;
  }

  .brand-product {
    font-size: 0.95rem;
    padding-left: 10px;
  }

  h1 {
    font-size: 3rem;
  }

  .invoice-preview {
    padding: 20px;
  }

  .btn {
    width: 100%;
  }
}

.screen-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: zoom-in;
  border-radius: 18px;
}

.screen-button:focus-visible,
.btn:focus-visible,
.lightbox button:focus-visible {
  outline: 4px solid rgba(27, 99, 255, 0.35);
  outline-offset: 4px;
}

.screen-button:hover .screen-placeholder {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.12);
}

.screen-placeholder {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn-primary,
.beta-box .btn-primary {
  color: #fffaf0 !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
}

.btn-primary:visited,
.beta-box .btn-primary:visited {
  color: #fffaf0 !important;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 88px;
  align-items: center;
  gap: 18px;
  padding: 34px;
  background: rgba(16, 24, 40, 0.82);
  backdrop-filter: blur(20px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-content {
  margin: 0;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.lightbox-image {
  width: min(100%, 1080px);
  min-height: min(68vh, 680px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, rgba(27, 99, 255, 0.22), rgba(255, 250, 240, 0.96));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
  display: grid;
  place-items: center;
  color: #18202b;
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 4.6rem);
  text-align: center;
  padding: 36px;
}

.lightbox-content figcaption {
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  font-size: 3rem;
  line-height: 0.8;
  justify-self: center;
}

.sticky-download {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(140%);
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  width: min(720px, calc(100% - 32px));
  padding: 18px 22px;
  border-radius: 28px;

  background: rgba(55, 45, 34, 0.96);
  color: #fff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);

  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
}

.sticky-download.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-download span {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.sticky-download .btn {
  min-height: 52px;
  padding: 0 24px;
  font-size: 1rem;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .lightbox {
    grid-template-columns: 1fr;
    padding: 84px 18px 28px;
  }

  .lightbox-prev,
  .lightbox-next {
    position: fixed;
    bottom: 24px;
  }

  .lightbox-prev {
    left: 24px;
  }

  .lightbox-next {
    right: 24px;
  }

  .lightbox-image {
    min-height: 54vh;
    border-radius: 20px;
  }

  .sticky-download {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    bottom: 16px;
    padding: 16px;
    border-radius: 24px;
  }

  .sticky-download span {
    text-align: center;
  }

  .sticky-download .btn {
    width: 100%;
    justify-content: center;
  }
}