@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@400;500;600;700&display=swap');
:root {
  --ink: #0f2430;
  --muted: #4d6b78;
  --paper: #eef6f8;
  --panel: #ffffff;
  --line: rgba(15, 36, 48, 0.12);
  --cyan: #0e8a9a;
  --cyan-deep: #0a6673;
  --sky: #d7eef3;
  --mint: #b8e6d8;
  --font: 'Anuphan', sans-serif;
  --display: 'Kanit', 'Anuphan', sans-serif;
  --mono: 'IBM Plex Mono', 'Anuphan', monospace;
  --header-h: 4.1rem;
  --demo-h: 2.6rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 12%, rgba(14, 138, 154, 0.1), transparent 42%),
    linear-gradient(180deg, #e8f4f7 0%, #eef6f8 48%, #e6f3ef 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.wrap {
  width: min(100% - 2.5rem, 1120px);
  margin: 0 auto;
}

.demo-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.5rem 1.25rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.8rem;
}

.demo-bar strong {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7ed7e4;
  font-weight: 500;
}

.demo-bar__actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.demo-bar a {
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 0.76rem;
  font-weight: 500;
}

.demo-bar a.is-primary {
  background: var(--cyan);
  border-color: var(--cyan);
}

.site-header {
  position: sticky;
  top: var(--demo-h);
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}

.brand small {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 500;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
}

.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav a { font-size: 0.92rem; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--ink); }

.nav-cta {
  color: #fff !important;
  background: var(--cyan);
  padding: 0.45rem 0.9rem;
}

.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; }

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 36, 48, 0.28) 0%, rgba(15, 36, 48, 0.52) 45%, rgba(15, 36, 48, 0.9) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 1120px);
  margin: 0 auto;
  padding: 5rem 0 3.5rem;
  max-width: 38rem;
  animation: heroRise 0.9s ease both;
}

.hero__brand {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.hero__brand span {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ee7f0;
  font-weight: 500;
  margin-top: 0.35rem;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: normal;
  color: #b8f0f8;
}

.hero__lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.5rem;
  max-width: 32rem;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

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

.btn--primary {
  background: var(--cyan);
  color: #fff;
  border-color: var(--cyan);
}

.btn--primary:hover { background: var(--cyan-deep); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}

.btn--block { width: 100%; }

.section { padding: 4.5rem 0; }

.section__head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.55rem;
}

.section__head h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.55rem;
}

.section__head p { color: var(--muted); }

.wall-shell {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: 1.25rem;
  align-items: start;
}

.wall-meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.65rem 0.85rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7ed7e4;
}

.live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dd68c;
  animation: pulseDot 1.4s ease infinite;
}

.lens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  padding: 0.65rem;
  background: #0a1620;
  border: 1.5px solid var(--ink);
}

.cam {
  position: relative;
  border: 2px solid transparent;
  background: #111;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.cam img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.cam:hover img { transform: scale(1.04); opacity: 1; }

.cam.is-active {
  border-color: #7ed7e4;
  box-shadow: 0 0 0 1px #7ed7e4 inset;
}

.cam__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  background: linear-gradient(180deg, transparent, rgba(10, 22, 32, 0.92));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

.cam__label .mono {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: #7ed7e4;
}

.cam-panel {
  background: var(--panel);
  border: 1.5px solid var(--ink);
  padding: 1.35rem;
  min-height: 100%;
}

.cam-panel > div { display: none; }
.cam-panel > div.is-shown { display: block; animation: fadeIn 0.35s ease; }

.cam-panel .mono {
  color: var(--cyan);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.55rem;
}

.cam-panel h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
  line-height: 1.3;
}

.cam-panel p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.cam-panel ul {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.cam-panel li::before {
  content: '· ';
  color: var(--cyan);
  font-weight: 700;
}

.text-link {
  font-weight: 600;
  color: var(--cyan);
  font-size: 0.95rem;
}

.section--air {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--sky) 55%, white), var(--paper));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cam-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.cam-list a {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  background: var(--panel);
  border: 1.5px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.cam-list a:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.cam-list .mono {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.cam-list strong { font-size: 1.05rem; }
.cam-list small { color: var(--muted); }

.view-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.view-steps li {
  display: grid;
  gap: 0.65rem;
  padding: 1.25rem 1.1rem;
  background: var(--panel);
  border-top: 3px solid var(--cyan);
}

.view-steps .mono {
  color: var(--cyan);
  font-size: 0.85rem;
}

.view-steps h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.view-steps p { color: var(--muted); font-size: 0.9rem; }

.section--book {
  background: color-mix(in srgb, var(--sky) 40%, white);
}

.book {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.book h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.book > .reveal > p { color: var(--muted); }

.form {
  background: var(--panel);
  border: 1.5px solid var(--ink);
  padding: 1.5rem;
  display: grid;
  gap: 0.9rem;
  box-shadow: 5px 5px 0 var(--cyan);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.field { display: grid; gap: 0.35rem; }

.field label {
  font-size: 0.85rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--line);
  background: #fff;
  padding: 0.7rem 0.8rem;
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--cyan) 45%, transparent);
  border-color: var(--cyan);
}

.rate-table {
  border: 1.5px solid var(--ink);
  overflow: hidden;
  background: var(--panel);
}
.rate-table__row {
  display: grid;
  grid-template-columns: 1.1fr 1.55fr 8rem;
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--line);
}
.rate-table__row:last-child { border-bottom: 0; }
.rate-table__row--head {
  background: var(--ink);
  color: rgba(238, 246, 248, 0.92);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rate-table__row .mono,
.rate-table__row span:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-family: var(--mono);
  font-weight: 600;
  color: var(--cyan-deep);
}
.rate-table__row--head span:last-child { color: rgba(238, 246, 248, 0.92); }
.rate-table__row.is-accent {
  background: linear-gradient(90deg, rgba(14, 138, 154, 0.12), transparent 70%);
}
.rate-table__row.is-accent span:first-child { font-weight: 700; }
.include-list {
  list-style: none;
  margin: 1.15rem 0 0;
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.94rem;
}
.include-list li {
  padding-left: 1.1rem;
  position: relative;
}
.include-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--cyan);
}
.rate-note { margin-top: 0.85rem; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 720px) {
  .rate-table__row { grid-template-columns: 1fr auto; gap: 0.35rem 1rem; }
  .rate-table__row--head { display: none; }
  .rate-table__row span:nth-child(2) { grid-column: 1 / -1; color: var(--muted); font-size: 0.88rem; }
  .rate-table__row span:last-child { grid-column: 2; grid-row: 1; }
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  background: var(--paper);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
}

.mono { font-family: var(--mono); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .wall-shell { grid-template-columns: 1fr; }
  .lens-grid { grid-template-columns: repeat(2, 1fr); }
  .view-steps { grid-template-columns: 1fr 1fr; }
  .cam-list { grid-template-columns: 1fr 1fr; }
  .book { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: calc(var(--demo-h) + var(--header-h));
    left: 0;
    right: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.35rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.65rem 0.25rem; }
  .nav-cta { text-align: center; }
  .hero { min-height: min(88vh, 680px); }
  .lens-grid { grid-template-columns: 1fr 1fr; }
  .view-steps { grid-template-columns: 1fr; }
  .cam-list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero__inner, .cam-panel > div.is-shown { opacity: 1; transform: none; animation: none; transition: none; }
  .live i { animation: none; }
}
