/* Public product page */
.landing-page {
  min-height: 100vh;
  overflow-x: clip;
  background: radial-gradient(ellipse at 76% 22%, rgb(123 158 78 / 11%), transparent 34%), var(--bg);
  color: var(--text);
  font-size: 15px;
}

.landing-page::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  background-image: linear-gradient(rgb(135 159 140 / 3%) 1px, transparent 1px), linear-gradient(90deg, rgb(135 159 140 / 3%) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
  pointer-events: none;
}

.landing-header,
.landing-main,
.landing-footer {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}

.landing-header {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(61 78 72 / 55%);
}

.landing-page .brand { display: inline-flex; min-height: 44px; align-items: center; gap: 11px; width: fit-content; }
.landing-page .brand-mark { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border: 1px solid #394935; border-radius: 10px; background: linear-gradient(145deg, #1b2920, #121b1d); color: var(--accent); }
.landing-page .brand-mark svg { width: 30px; height: 30px; }
.landing-page .brand-copy { display: grid; gap: 2px; }
.landing-page .brand-copy strong { font-size: 16px; font-weight: 740; letter-spacing: -.04em; line-height: 1.05; }
.landing-page .brand-copy small { color: #9ba89f; font-size: 9px; font-weight: 720; letter-spacing: .13em; }

.landing-nav { display: flex; align-items: center; gap: 24px; color: #b5c0b8; font-size: 14px; }
.landing-login:hover, .landing-secondary-action:hover { color: var(--text); }
.landing-nav-cta { min-height: 44px; padding: 0 16px; font-size: 13px; }
.landing-nav-cta svg, .landing-primary-cta svg, .landing-secondary-action svg { width: 16px; height: 16px; flex: 0 0 auto; }

.landing-main { padding-bottom: 24px; }
.landing-hero { display: grid; min-height: 558px; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; gap: clamp(36px, 6vw, 84px); padding: 58px 0 68px; }
.landing-copy { position: relative; z-index: 2; max-width: 620px; }
.landing-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: #b5c1b7; font-size: 11px; font-weight: 730; letter-spacing: .13em; line-height: 1.4; }
.landing-kicker > span { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); box-shadow: 0 0 15px rgb(173 221 106 / 35%); }
.landing-copy h1 { max-width: 640px; margin: 23px 0 18px; color: #f0f4ef; font-size: clamp(46px, 5.8vw, 72px); font-weight: 650; letter-spacing: -.067em; line-height: 1.01; }
.landing-copy h1 span { color: #b5dc82; }
.landing-intro { max-width: 540px; margin: 0; color: #aab6ad; font-size: 17px; line-height: 1.7; }
.landing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.landing-primary-cta { min-height: 48px; padding: 0 17px; font-size: 14px; }
.landing-secondary-action { display: inline-flex; min-height: 44px; align-items: center; gap: 9px; color: #c1cbc3; font-size: 14px; font-weight: 600; transition: color 140ms ease; }
.landing-proof { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 32px 0 0; padding: 0; color: #b1bdb4; font-size: 12px; list-style: none; }
.landing-proof li { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.landing-proof li svg { width: 17px; height: 17px; flex: 0 0 auto; color: #c3e796; }

.landing-visual { position: relative; display: grid; min-width: 0; min-height: 420px; place-items: center; isolation: isolate; }
.preview-glow { position: absolute; z-index: -2; width: 74%; height: 74%; border-radius: 50%; background: rgb(124 166 81 / 13%); filter: blur(58px); }
.landing-visual::before { position: absolute; z-index: -1; inset: 4% 2%; border: 1px solid rgb(74 93 80 / 25%); border-radius: 50%; content: ""; transform: perspective(560px) rotateX(62deg) rotateZ(-21deg) scale(1.15); background: radial-gradient(ellipse, transparent 22%, rgb(140 164 129 / 7%) 23%, transparent 24%, transparent 48%, rgb(140 164 129 / 7%) 49%, transparent 50%); }
.account-preview { position: relative; width: min(100%, 510px); padding: 22px; border: 1px solid #34433e; border-radius: 16px; background: linear-gradient(145deg, rgb(20 30 31 / 98%), rgb(12 19 21 / 98%)); box-shadow: 0 32px 90px rgb(0 0 0 / 48%), inset 0 1px rgb(255 255 255 / 4%); }
.preview-topbar { display: flex; min-height: 28px; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #2b3838; color: #92a097; font-size: 10px; font-weight: 730; letter-spacing: .1em; }
.preview-window-dots { display: inline-flex; gap: 5px; }
.preview-window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #52605a; }
.preview-window-dots i:first-child { background: #d7a17e; }
.preview-window-dots i:nth-child(2) { background: #d8c27f; }
.preview-window-dots i:last-child { background: #8ebd7a; }
.preview-label { margin-left: auto; padding: 4px 7px; border: 1px solid #3c493e; border-radius: 5px; color: #c4d6ad; font-size: 9px; letter-spacing: .08em; }
.preview-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 1px 18px; }
.preview-summary > div { display: grid; gap: 7px; }
.preview-summary > div > span { color: #8b9a90; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.preview-summary > div > strong { color: #e6eee7; font-size: 17px; font-weight: 640; }
.preview-account-count { color: #e6eee7; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 28px; font-weight: 600; letter-spacing: -.04em; }
.preview-account-count small { display: block; margin-top: 2px; color: #89988e; font-family: inherit; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-align: right; }
.preview-divider { height: 1px; background: #283537; }
.preview-list-heading { display: flex; align-items: center; justify-content: space-between; padding: 17px 1px 8px; }
.preview-list-heading strong { color: #dce6de; font-size: 13px; font-weight: 630; }
.preview-list-heading span { color: #8e9c93; font-size: 11px; }
.preview-account { display: grid; min-height: 72px; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 10px; border: 1px solid transparent; border-radius: 9px; }
.preview-account-selected { border-color: #394a37; background: linear-gradient(90deg, rgb(41 61 36 / 43%), rgb(26 37 31 / 48%)); }
.preview-container-icon { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #42553b; border-radius: 9px; background: #1d2a1d; color: #badc8a; }
.preview-container-icon svg { width: 22px; height: 22px; }
.preview-container-icon-muted { border-color: #364346; background: #182124; color: #9ba9a1; }
.preview-account-copy { display: grid; min-width: 0; gap: 5px; }
.preview-account-copy strong { overflow: hidden; color: #e0e9e1; font-size: 13px; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
.preview-account-copy small { color: #95a298; font-size: 11px; }
.preview-state { display: inline-flex; align-items: center; gap: 6px; color: #a6b4aa; font-size: 9px; font-weight: 760; letter-spacing: .07em; white-space: nowrap; }
.preview-state-ready { color: #c6e5a6; }
.preview-state-ready i { width: 7px; height: 7px; border-radius: 50%; background: #83cd8a; }
.preview-footer { display: flex; align-items: center; gap: 9px; margin-top: 13px; padding: 13px 2px 0; border-top: 1px solid #293638; color: #a1aea5; font-size: 11px; }
.preview-footer-mark { color: #b7d78a; font-size: 17px; }
.preview-caption { position: absolute; right: -4px; bottom: -6px; display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid #344240; border-radius: 7px; background: #0e1518; box-shadow: 0 10px 28px rgb(0 0 0 / 24%); color: #aab6ad; font-size: 11px; }
.caption-bar { width: 3px; height: 18px; border-radius: 3px; background: var(--accent); }

.landing-capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 84px; }
.capability-card { min-height: 154px; padding: 21px 22px; border: 1px solid #2c393b; border-radius: 11px; background: linear-gradient(145deg, rgb(17 25 28 / 94%), rgb(14 21 24 / 94%)); }
.capability-number { display: inline-flex; min-height: 25px; align-items: center; padding: 0 8px; border: 1px solid #35443a; border-radius: 5px; background: #18221a; color: #c1dc9b; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; }
.capability-card h2 { margin: 16px 0 7px; color: #e2ebe3; font-size: 16px; font-weight: 620; letter-spacing: -.02em; }
.capability-card p { max-width: 330px; margin: 0; color: #a4b0a7; font-size: 14px; line-height: 1.65; }

.landing-workflow { display: grid; grid-template-columns: minmax(230px, .75fr) minmax(0, 1.5fr); gap: clamp(24px, 6vw, 72px); padding: 32px 0 36px; border-top: 1px solid #2b383a; border-bottom: 1px solid #2b383a; }
.workflow-heading h2 { max-width: 300px; margin: 12px 0 0; color: #e7eee8; font-size: clamp(24px, 3vw, 34px); font-weight: 640; letter-spacing: -.05em; line-height: 1.12; }
.workflow-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.workflow-steps article { display: flex; align-items: flex-start; gap: 12px; }
.workflow-steps article > span { display: grid; width: 29px; height: 29px; flex: 0 0 auto; place-items: center; border: 1px solid #3b493c; border-radius: 8px; color: #bddb91; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; }
.workflow-steps h3 { margin: 3px 0 6px; color: #dce6de; font-size: 14px; font-weight: 630; }
.workflow-steps p { margin: 0; color: #a0ada4; font-size: 14px; line-height: 1.6; }

.landing-bottom-cta { display: flex; min-height: 144px; align-items: center; justify-content: space-between; gap: 24px; margin: 52px 0 24px; padding: 26px 30px; border: 1px solid #34443a; border-radius: 13px; background: linear-gradient(110deg, rgb(26 40 29 / 88%), rgb(17 26 27 / 96%) 70%); }
.landing-bottom-cta h2 { margin: 8px 0 0; color: #e6eee7; font-size: clamp(20px, 2.6vw, 27px); font-weight: 640; letter-spacing: -.04em; }
.landing-footer { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid #263336; color: #9ba79f; font-size: 11px; }

@media (max-width: 960px) {
  .landing-header, .landing-main, .landing-footer { width: min(100% - 48px, 760px); }
  .landing-hero { min-height: 0; grid-template-columns: 1fr; gap: 30px; padding: 66px 0 54px; }
  .landing-copy { max-width: 700px; }
  .landing-copy h1 { max-width: 700px; font-size: clamp(48px, 8.5vw, 70px); }
  .landing-intro { max-width: 620px; }
  .landing-visual { min-height: 420px; }
  .account-preview { width: min(100%, 600px); }
  .landing-capabilities { margin-bottom: 66px; }
  .landing-workflow { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .landing-header, .landing-main, .landing-footer { width: calc(100% - 36px); }
  .landing-header { min-height: 70px; }
  .landing-page .brand-mark { width: 34px; height: 34px; }
  .landing-page .brand-mark svg { width: 27px; height: 27px; }
  .landing-page .brand-copy strong { font-size: 15px; }
  .landing-page .brand-copy small { font-size: 8px; }
  .landing-nav { gap: 14px; font-size: 13px; }
  .landing-nav-cta { min-height: 42px; padding: 0 11px; font-size: 12px; }
  .landing-hero { gap: 22px; padding: 50px 0 44px; }
  .landing-kicker { font-size: 10px; }
  .landing-copy h1 { margin: 18px 0 14px; font-size: clamp(42px, 11vw, 58px); }
  .landing-intro { font-size: 16px; line-height: 1.6; }
  .landing-actions { align-items: flex-start; gap: 10px 17px; margin-top: 22px; }
  .landing-primary-cta { min-height: 48px; padding: 0 14px; font-size: 13px; }
  .landing-secondary-action { min-height: 48px; font-size: 13px; }
  .landing-proof { gap: 11px 14px; margin-top: 22px; font-size: 11px; }
  .landing-proof li { white-space: normal; }
  .landing-visual { min-height: 345px; }
  .account-preview { padding: 15px; border-radius: 13px; }
  .preview-topbar { gap: 8px; padding-bottom: 11px; font-size: 9px; }
  .preview-summary { padding: 17px 1px 14px; }
  .preview-summary > div > strong { font-size: 15px; }
  .preview-account-count { font-size: 24px; }
  .preview-list-heading { padding-top: 14px; }
  .preview-account { min-height: 64px; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px; padding: 7px 5px; }
  .preview-container-icon { width: 32px; height: 32px; border-radius: 8px; }
  .preview-container-icon svg { width: 19px; height: 19px; }
  .preview-account-copy strong { font-size: 12px; }
  .preview-account-copy small { font-size: 10px; }
  .preview-state { font-size: 8px; }
  .preview-caption { right: 0; bottom: -8px; font-size: 10px; }
  .landing-capabilities { grid-template-columns: 1fr; gap: 10px; margin-bottom: 54px; }
  .capability-card { min-height: 0; padding: 18px; }
  .capability-card h2 { margin-top: 12px; font-size: 16px; }
  .capability-card p { font-size: 15px; }
  .workflow-steps { grid-template-columns: 1fr; gap: 18px; }
  .workflow-steps p { font-size: 15px; }
  .landing-bottom-cta { min-height: 0; flex-direction: column; align-items: flex-start; margin: 38px 0 20px; padding: 21px; }
  .landing-bottom-cta .landing-primary-cta { width: 100%; }
  .landing-footer { min-height: 62px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; padding: 10px 0; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page *, .landing-page *::before, .landing-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
