@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./fonts/google-sans-thai.woff2") format("woff2");
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./fonts/google-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{
  color-scheme:dark;
  --bg:#101417;
  --panel:#182025;
  --border:#2e3e43;
  --ink:#f1f6ef;
  --muted:#a8b6b6;
  --green:#cbf86e;
  --mint:#a7e0cb;
  font-family: "Google Sans", "Leelawadee UI", "Noto Sans Thai", Tahoma, "Segoe UI", system-ui, sans-serif;
  scroll-behavior:smooth
}

*{
  box-sizing:border-box
}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink)
}

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

button{
  font:inherit
}

p{
  line-height:1.6
}

img,video{
  display:block;
  max-width:100%;
  height:auto
}

:focus-visible{
  outline:2px solid var(--green);
  outline-offset:4px
}

.skip{
  position:absolute;
  left:1rem;
  top:-6rem;
  background:var(--green);
  color:var(--bg);
  padding:1rem;
  z-index:2
}

.skip:focus{
  top:1rem
}

.wrap{
  width:min(1120px,calc(100% - 48px));
  margin:auto
}

.top{
  width:min(1240px,calc(100% - 48px));
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:76px;
  border-bottom:1px solid #283236;
  gap:16px
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  font-size:1.19rem;
  letter-spacing:-.035em
}

.brand-mark{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border:1px solid #52705c;
  border-radius:8px;
  background:#1c3027;
  color:var(--green);
  font-size:1.6rem;
  line-height:1
}

.top nav{
  display:flex;
  gap:32px;
  color:var(--muted);
  font-size:.92rem
}

.top nav a:hover,footer a:hover{
  color:var(--green)
}

.nav-download{
  border:1px solid #425048;
  border-radius:8px;
  padding:9px 14px;
  font-size:.88rem
}

.nav-download span{
  color:var(--green);
  margin-left:5px
}

.hero{
  position:relative;
  text-align:center;
  padding-top:70px;
  isolation:isolate
}

.eyebrow{
  display:inline-flex;
  gap:8px;
  align-items:center;
  color:var(--mint);
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: .02em;
  text-transform:uppercase
}

.eyebrow span{
  background:var(--green);
  width:6px;
  height:6px;
  border-radius:50%;
  box-shadow:0 0 10px #cbf866a0
}

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

h1{
  font-size: clamp(2.7rem, 7vw, 5.75rem);
  line-height: 1.18;
  letter-spacing: -.012em;
  margin:14px auto 24px;
  font-weight:700
}

h1 em{
  color:var(--green);
  font-style:normal
}

.intro{
  font-size:clamp(1rem,2vw,1.22rem);
  max-width:590px;
  margin:0 auto 24px;
  color:#b6c6c4
}

.actions{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap
}

.button{
  min-height:46px;
  display:inline-flex;
  gap:15px;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  padding:10px 17px;
  font-weight:650;
  font-size:.92rem
}

.primary{
  background:var(--green);
  color:#152111
}

.primary:hover{
  background:#e0ff9b
}

.secondary{
  border:1px solid #51625a;
  background:#182422
}

.secondary:hover{
  background:#263d31
}

.product-frame{
  overflow:hidden;
  border:1px solid #51644d
}

.product-frame img{
  width:100%
}

figcaption,#release-status{
  color:var(--muted);
  font-size:.85rem
}

.checks,.demo,.download{
  margin-top:105px;
  scroll-margin-top:25px
}

.section-title{
  display:grid;
  grid-template-columns:1fr 350px;
  gap:24px;
  align-items:end;
  margin-bottom:24px
}

.section-title h2,.download h2{
  font-size:clamp(2rem,5vw,3.8rem);
  line-height: 1.18;
  letter-spacing: -.012em;
  margin-bottom:0
}

.section-title p,.download p{
  margin-bottom:0;
  color:var(--muted)
}

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

.cards article{
  padding:24px;
  background:linear-gradient(155deg,#1c292a,#171f24 70%);
  border:1px solid var(--border);
  border-radius:12px
}

.cards h3{
  margin:14px 0 8px;
  font-size:1.16rem
}

.cards p{
  margin:0;
  color:var(--muted);
  font-size:.94rem
}

.glyph{
  display:inline-grid;
  place-items:center;
  width:34px;
  height:34px;
  color:var(--green);
  background:#273b2d;
  border-radius:7px;
  font-size:1.25rem
}

.walkthrough{
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
  background:#141b1f
}

.steps{
  display:flex;
  gap:6px;
  padding:10px;
  flex-wrap:wrap
}

.steps button{
  border:1px solid transparent;
  border-radius:6px;
  padding:8px 14px;
  background:transparent;
  color:var(--muted);
  cursor:pointer
}

.steps button[aria-pressed=true]{
  background:#263b2e;
  border-color:#405b47;
  color:var(--green)
}

figure{
  margin:0
}

figure img{
  width:100%;
  background:#172025
}

figcaption{
  padding:12px 16px
}

.demo-video{
  border:1px solid var(--border);
  border-radius:12px;
  width:100%
}

.download{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:34px;
  background:#1b2b23;
  border:1px solid #425b48;
  border-radius:12px
}

.download h2{
  margin:10px 0 12px
}

.download .actions{
  flex-direction:column;
  align-items:flex-start;
  min-width:240px
}

footer{
  margin-top:50px!important;
  min-height:75px;
  border-top:1px solid var(--border);
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:var(--muted)
}

.doc{
  max-width:740px;
  padding:60px 0
}

.doc h1{
  font-size:clamp(2.4rem,7vw,4.6rem)
}

.doc h2{
  margin:28px 0 8px
}

.doc li{
  margin-bottom:12px;
  line-height:1.5
}

.doc p{
  color:var(--muted)
}

.doc a:not(.brand){
  color:var(--green);
  text-decoration:underline
}

@media(max-width:760px){
  .section-title{
    grid-template-columns:1fr;
    gap:12px
  }
  .cards{
    grid-template-columns:repeat(2,1fr)
  }
  .download{
    flex-direction:column;
    align-items:flex-start
  }
  .checks,.demo,.download{
    margin-top:68px
  }
  .hero{
    padding-top:52px
  }
}

@media(max-width:460px){
  .wrap,.top{
    width:calc(100% - 28px)
  }
  .top nav{
    gap:10px
  }
  .top nav a:first-child{
    display:none
  }
  .nav-download{
    padding:7px;
    font-size:.76rem
  }
  .cards{
    grid-template-columns:1fr
  }
  .steps button{
    padding:7px 9px
  }
  .download{
    padding:20px
  }
}

@media (max-width: 360px) {
  .top {
    gap: 8px;
  }

  .top .brand {
    gap: 6px;
    font-size: 1.05rem;
  }

  .top .brand-mark {
    width: 26px;
    height: 26px;
  }
}

@media(prefers-reduced-motion:reduce){
  :root{
    scroll-behavior:auto
  }
}

.sample-run {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 18px;
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
}

.sample-run h3, .sample-run p {
  margin-bottom: 0;
}

.sample-run p, .sample-run li span {
  color: var(--muted);
}

.sample-run ul {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sample-run li {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding: 10px 0;
}

.sample-run button:disabled {
  opacity: .62;
}

@media (max-width: 520px) {
  .sample-run {
    grid-template-columns: 1fr;
  }
}

/* Product landing page */
.showcase {
  --bg: #0a0d0c;
  --panel: #141a18;
  --border: #29342d;
  --muted: #aab7ae;
  --green: #cbf86e;
}

.showcase .top {
  position: sticky;
  z-index: 3;
  top: 0;
  min-height: 66px;
  background: #0a0d0cef;
  backdrop-filter: blur(18px);
}

.showcase .top nav a {
  transition: color 160ms ease;
}

.showcase .nav-download {
  border-color: #556a46;
  border-radius: 999px;
}

.showcase .nav-download:hover {
  border-color: var(--green);
  color: var(--green);
}

.showcase .hero {
  padding-top: clamp(48px, 7.5vw, 100px);
}

.hero-atmosphere {
  position: absolute;
  z-index: -1;
  inset: 0 0 15%;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 51%, #30492a80, transparent 66%);
}

.hero-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#aebf9a0d 1px, transparent 1px),
    linear-gradient(90deg, #aebf9a0d 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at center, #000 14%, transparent 66%);
}

.showcase h1 {
  font-size: clamp(2.5rem, 7.3vw, 6.6rem);
  letter-spacing: -.025em;
  margin: 5px auto 20px;
}

.showcase h1 span, .showcase h1 em {
  display: block;
}

.showcase h1 em {
  color: var(--green);
  background: linear-gradient(103deg, #f5ffce 17%, #ccfa7c 52%, #a0e98b 84%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.showcase .intro {
  text-wrap: pretty;
  max-width: 540px;
  margin-bottom: 25px;
}

.showcase .button {
  border-radius: 999px;
  padding-inline: 20px;
  transition: background 170ms ease, border-color 170ms ease, box-shadow 170ms ease, translate 170ms ease;
}

.showcase .button:hover:not(:disabled) {
  translate: 0 -2px;
}

.showcase .primary {
  box-shadow: 0 4px 24px #a7e76225;
}

.showcase .primary:hover:not(:disabled) {
  box-shadow: 0 6px 28px #a7e76247;
}

.showcase .secondary {
  background: #111713;
  border-color: #38483c;
}

.showcase .secondary:hover {
  border-color: #819473;
}

.hero-preview {
  margin-top: clamp(34px, 5vw, 62px);
}

.showcase .product-frame {
  position: relative;
  padding: 0;
  margin: 0;
  background: #121a16;
  border-color: #51644d;
  border-radius: 21px;
  box-shadow: 0 30px 100px #000a, 0 0 90px #7ca95c18;
}

.preview-bar,
.preview-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
}

.preview-bar {
  border-bottom: 1px solid #3b4b3e;
}

.preview-summary {
  border-top: 1px solid #2e4032;
}

.preview-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dde8d8;
  font-weight: 650;
}

.preview-tag {
  color: #b8c7b9;
  font-size: .76rem;
}

.preview-image {
  position: relative;
  overflow: hidden;
}

.signal-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: currentColor;
}

.preview-bar .signal-dot {
  color: var(--green);
  box-shadow: 0 0 12px #a7e762;
}

.preview-statuses {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.preview-statuses li, .result-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 4px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 650;
}

.status-ok {
  color: #b0eb9a;
}

.status-warning {
  color: #ffd08a;
}

.status-critical {
  color: #ffaaa4;
}

.showcase .checks, .showcase .screens, .showcase .demo, .showcase .download {
  margin-top: clamp(78px, 10vw, 144px);
  scroll-margin-top: 92px;
}

.showcase .section-title {
  grid-template-columns: minmax(0, 1fr) minmax(230px, 330px);
  align-items: end;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.showcase .section-title h2 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  text-wrap: balance;
}

.showcase .cards {
  gap: 10px;
}

.showcase .cards article {
  position: relative;
  padding: clamp(18px, 2.2vw, 26px);
  overflow: hidden;
  background: linear-gradient(150deg, #1a231d, #111613 78%);
  border-radius: 16px;
  transition: border-color 220ms ease;
}

.showcase .cards article:hover {
  border-color: #637653;
}

.showcase .glyph {
  width: 42px;
  height: 42px;
  background: #293925;
  border: 1px solid #354b31;
  border-radius: 11px;
}

[data-spotlight]::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(330px circle at var(--spot-x, 50%) var(--spot-y, 0%), #ceffa31c, transparent 88%);
  transition: opacity 220ms ease;
}

[data-spotlight][data-lit]::after {
  opacity: 1;
}

.showcase .walkthrough {
  border-radius: 17px;
  background: #111813;
}

.showcase .steps {
  border-bottom: 1px solid var(--border);
  padding-inline: 14px;
}

.showcase .steps button {
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.showcase .steps button:hover {
  color: var(--ink);
}

.showcase .steps button[aria-pressed=true] {
  background: var(--green);
  color: #162310;
}

.showcase .expand-screen {
  margin-left: auto;
}

.screen-dialog {
  padding: 0;
  width: min(1160px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100% - 24px);
  color: var(--ink);
  background: #111813;
  border: 1px solid #55654c;
  border-radius: 16px;
}

.screen-dialog::backdrop {
  background: #070a08dd;
}

.dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 15px;
}

.dialog-bar h2 {
  margin: 0;
  font-size: 1rem;
}

.screen-dialog img {
  width: 100%;
  max-height: calc(100dvh - 92px);
  object-fit: contain;
}

.demo-extra {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 12px;
  align-items: start;
}

.showcase .sample-run, .video-panel {
  margin: 0;
  padding: clamp(16px, 2.3vw, 26px);
  background: #151d17;
  border: 1px solid var(--border);
  border-radius: 17px;
}

.showcase .sample-run {
  align-content: start;
}

.showcase .sample-run #sample-progress {
  grid-column: 1 / -1;
  width: 100%;
  height: 8px;
  appearance: none;
  border: 0;
  border-radius: 99px;
  background: #29372b;
  color: var(--green);
  accent-color: var(--green);
}

#sample-progress::-webkit-progress-bar {
  border-radius: inherit;
  background: #29372b;
}

#sample-progress::-webkit-progress-value {
  border-radius: inherit;
  background: var(--green);
  transition: width 260ms ease;
}

#sample-progress::-moz-progress-bar {
  border-radius: inherit;
  background: var(--green);
}

.showcase .sample-run li {
  align-items: center;
  justify-content: initial;
}

.showcase .sample-run li .result-status {
  margin-left: auto;
}

.showcase .sample-run li .result-status.status-ok {
  color: #b0eb9a;
}

.showcase .sample-run li .result-status.status-warning {
  color: #ffd08a;
}

.showcase .sample-run li small {
  flex-basis: 100%;
  color: var(--muted);
}

.video-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.video-heading h3 {
  margin: 0;
}

.video-heading span {
  color: var(--muted);
  white-space: nowrap;
  font-size: .86rem;
}

.showcase .download {
  border-color: #3d5236;
  border-radius: 18px;
  background: radial-gradient(ellipse at left bottom, #283b22, #141b16 75%);
}

@media (prefers-reduced-motion: no-preference) {
  .showcase .hero > :is(.eyebrow, h1, .intro, .actions, .hero-preview) {
    animation: enter 650ms cubic-bezier(.2,.65,.24,1) both;
  }

  .showcase .hero > h1 { animation-delay: 80ms; }
  .showcase .hero > .intro { animation-delay: 155ms; }
  .showcase .hero > .actions { animation-delay: 235ms; }
  .showcase .hero > .hero-preview { animation-delay: 330ms; }

  .preview-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(transparent 43%, #d6ff9e23 49%, #d6ff9e55 50%, transparent 51%);
    animation: scan 1.6s 750ms ease-out both;
  }

  [data-reveal][data-pending]:not(:focus-within) {
    opacity: 0;
    translate: 0 16px;
  }

  [data-reveal][data-shown] {
    animation: enter 540ms cubic-bezier(.2,.65,.24,1) both;
  }

  .cards [data-shown]:nth-child(3n+2) { animation-delay: 65ms; }
  .cards [data-shown]:nth-child(3n+3) { animation-delay: 130ms; }
  .preview-change { animation: change-screen 300ms ease-out; }
  #sample-results li { animation: enter 280ms ease-out both; }
}

@keyframes enter {
  from { opacity: 0; translate: 0 16px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes scan {
  from { opacity: 0; transform: translateY(-52%); }
  22% { opacity: 1; }
  to { opacity: 0; transform: translateY(52%); }
}

@keyframes change-screen {
  from { opacity: .34; scale: .995; }
  to { opacity: 1; scale: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .showcase .button, .showcase .steps button, #sample-progress::-webkit-progress-value {
    transition: none;
  }

  .showcase .button:hover:not(:disabled) {
    translate: 0 0;
  }
}

@media (max-width: 880px) {
  .demo-extra {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .showcase .section-title {
    grid-template-columns: 1fr;
  }

  .showcase .top nav {
    gap: 16px;
  }
}

@media (max-width: 520px) {
  .showcase .top nav a[href="#checks"],
  .showcase .top nav a[href="#screens"] {
    display: none;
  }

  .showcase .top nav {
    gap: 11px;
  }

  .preview-bar, .preview-summary {
    padding: 8px 10px;
    gap: 8px;
  }

  .preview-summary {
    flex-wrap: wrap;
  }

  .preview-summary .preview-statuses {
    justify-content: flex-start;
  }

  .showcase .product-frame {
    border-radius: 13px;
  }

  .showcase .steps {
    padding-inline: 8px;
  }
}
