:root {
  color-scheme: light;
  --ink: #142034;
  --navy: #101b2e;
  --muted: #46566b;
  --lime: #cbf66b;
  --paper: #f8f9f6;
  --line: #dce2df;
  --shell: 1180px;
  font-family: 'Noto Sans Thai', Tahoma, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { line-height: 1.8; }
h1,h2,h3,p { margin-top: 0; }
h2 { margin-bottom: 0; font-size: clamp(2rem, 4.3vw, 3.5rem); line-height: 1.22; letter-spacing: -.035em; }
h3 { margin-bottom: 10px; font-size: 1.32rem; line-height: 1.4; }
:focus-visible { outline: 3px solid #53772c; outline-offset: 5px; }
.hero :focus-visible, .contact :focus-visible, .footer :focus-visible { outline-color: var(--lime); }
.skip { position: fixed; left: 16px; top: 12px; z-index: 10; background: white; padding: 12px; transform: translateY(-160%); }
.skip:focus { transform: none; }
.shell { width: min(var(--shell), calc(100% - 96px)); margin-inline: auto; }
.header { background: var(--paper); position: sticky; z-index: 5; top: 0; border-bottom: 1px solid #dfe4e1; }
.header-inner, .footer-inner { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; font: 800 1.72rem/.88 'Instrument Sans', system-ui, sans-serif; letter-spacing: -.075em; white-space: nowrap; }
.brand small { display: block; margin-top: 7px; font: 800 .52rem/1 'Instrument Sans', system-ui, sans-serif; letter-spacing: .15em; }
.brand-accent { color: #436126; }
.brand-mark { display: grid; align-content: center; justify-items: start; gap: 3px; width: 40px; height: 40px; background: var(--lime); border-radius: 10px; }
.brand-mark i { display: block; height: 4px; width: 13px; background: var(--navy); margin-left: 12px; }
.brand-mark i:first-child { margin-left: 16px; }
.brand-mark i:last-child { margin-left: 8px; }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); font-weight: 700; font-size: .9rem; }
nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-contact { display: flex; gap: 15px; align-items: center; padding: 10px 17px; border-radius: 7px; border: 1px solid #c6cfcb; }
.menu { display: none; }
.hero { background: #0c1728; color: #fff; position: relative; isolation: isolate; overflow: hidden; }
.hero-photo { z-index: -1; position: absolute; inset: 0; background: linear-gradient(90deg,#0c1728 4%, rgba(12,23,40,.96) 28%,rgba(12,23,40,.36) 70%,rgba(12,23,40,.10)), linear-gradient(0deg,rgba(9,17,30,.65),transparent 62%), url('./hero.webp') right 48% / cover no-repeat; }
.hero-inner { min-height: 557px; display: flex; align-items: center; position: relative; padding-block: 75px 88px; }
.hero-copy { width: min(650px, 100%); }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #405733; font: 800 .73rem/1.5 'Instrument Sans', system-ui, sans-serif; letter-spacing: .14em; margin-bottom: 16px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 2px; background: #6f983f; display: inline-block; flex: none; }
.hero-eyebrow { color: var(--lime); }
.hero-eyebrow i,.contact .eyebrow i { background: var(--lime); }
.hero h1 { font-size: clamp(3.25rem, 6.15vw, 6.15rem); line-height: 1.12; margin-bottom: 22px; letter-spacing: -.07em; }
.hero h1 span, .hero h1 em { color: var(--lime); }
.hero h1 em { display: block; font-size: .76em; font-style: normal; margin-top: 8px; }
.hero-intro { font-size: clamp(.98rem, 1.5vw, 1.12rem); color: #e0e8f1; max-width: 470px; margin-bottom: 25px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 19px; min-height: 46px; border-radius: 7px; font-size: .91rem; font-weight: 800; padding: 9px 17px; cursor: pointer; white-space: nowrap; width: fit-content; }
.button.primary { background: var(--lime); color: var(--ink); }
.button.primary:hover { background: #dfff9d; }
.button.on-dark { background: #14203470; border-color: #ffffff65; color: white; }
.button.on-dark:hover { background: #26354c; }
.hero-app { position: absolute; right: 0; bottom: 32px; display: flex; align-items: center; gap: 13px; border: 1px solid #b9d1f348; border-radius: 9px; padding: 11px 15px; background: #0d182bdc; }
.hero-app:hover { border-color: var(--lime); }
.hero-app small, .hero-app strong { display: block; }
.hero-app small { font-size: .72rem; color: #d0d9e8; }
.hero-app strong { font: 800 .97rem/1.4 'Instrument Sans', system-ui, sans-serif; }
.hero-app > span:last-child { color: var(--lime); }
.pulse { display: block; height: 9px; width: 9px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 4px #cbf66b2c; }
.facts { background: #eef2eb; border-bottom: 1px solid var(--line); }
.facts-inner { display: grid; grid-template-columns: 1fr 1fr 1.1fr; }
.facts-inner > div { padding: 21px 24px; display: flex; align-items: center; gap: 13px; border-left: 1px solid #d8dfd6; }
.facts-inner > div:last-child { border-right: 1px solid #d8dfd6; }
.facts strong { font: 800 clamp(1rem, 2.2vw, 1.43rem)/1.1 'Instrument Sans', system-ui, sans-serif; white-space: nowrap; }
.facts strong span { color: #4d722f; }
.facts strong + span { font-size: .82rem; color: var(--muted); }
.section { padding-block: 83px; scroll-margin-top: 76px; }
.section-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: end; margin-bottom: 35px; }
.section-intro > p { margin: 0 0 2px; max-width: 390px; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.services-grid article, .members, .leader { border: 1px solid var(--line); border-radius: 13px; background: #fff; padding: 26px; }
.services-grid article { display: flex; flex-direction: column; align-items: flex-start; }
.service-icon { display: grid; place-items: center; background: #e6f1da; width: 43px; height: 43px; color: #294624; border-radius: 9px; font: 700 1.35rem/1 system-ui; margin-bottom: 19px; }
.services-grid p,.members p,.leader p,.about > div > p:last-child { color: var(--muted); margin-bottom: 19px; }
.services-grid a,.members a,.product-contact { display: inline-block; width: fit-content; margin-top: auto; font-weight: 800; font-size: .88rem; }
.services-grid a:hover,.members a:hover,.product-contact:hover { text-decoration: underline; text-underline-offset: 4px; }
.apps { background: #edf1ec; border-block: 1px solid var(--line); }
.apps-grid { display: grid; grid-template-columns: 2.15fr 1fr; gap: 16px; }
.product { min-width: 0; position: relative; overflow: hidden; border-radius: 14px; background: #14223a; color: #fff; display: grid; grid-template-columns: 1.05fr .95fr; scroll-margin-top: 93px; }
.product-copy { padding: 28px 0 28px 28px; position: relative; z-index: 1; }
.tag { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #c9f56466; border-radius: 999px; padding: 4px 10px; color: var(--lime); font-size: .72rem; font-weight: 800; margin-bottom: 14px; }
.tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.product h3 { font: 800 clamp(1.55rem,3vw,2.4rem)/1.1 'Instrument Sans', system-ui, sans-serif; letter-spacing: -.05em; }
.product p { color: #e0e8f0; font-size: .91rem; max-width: 280px; }
.product :focus-visible { outline-color: var(--lime); }
.product-contact { display: block; margin-top: 15px; color: #e0e8f0; }
.app-art { display: grid; align-items: center; padding: 30px 21px 22px; background: radial-gradient(ellipse at 80% 47%,#48765c80,transparent 70%); }
.mock { border: 1px solid #a8c1d36b; border-radius: 13px; padding: 12px; min-width: 0; background: #182941; transform: rotate(-5deg); box-shadow: 0 20px 40px #061225a0; font-size: .74rem; }
.mock-top { display: flex; align-items: center; gap: 8px; font-weight: 800; margin-bottom: 13px; }
.mock-top i { background: var(--lime); color: var(--ink); border-radius: 6px; font-style: normal; padding: 3px 7px; }
.mock-top small,.mock-item small { display: block; color: #c7d4df; font-size: .61rem; }
.mock-top b { margin-left: auto; font-size: .56rem; color: var(--lime); white-space: nowrap; }
.bubble { background: #33465e; padding: 6px 8px; border-radius: 8px 8px 8px 2px; width: fit-content; margin-bottom: 7px; }
.bubble.right { margin-left: auto; background: #dff1d4; color: #1b3928; border-radius: 8px 8px 2px 8px; }
.mock-item { display: flex; align-items: center; gap: 8px; border: 1px solid #536476; padding: 7px; border-radius: 8px; }
.mock-item > span { font-size: 1.2rem; }
.mock-item b { margin-left: auto; color: var(--lime); }
.members { display: flex; flex-direction: column; align-items: flex-start; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about h2 { margin-bottom: 17px; }
.about > div > p:last-child { margin-bottom: 0; max-width: 465px; }
.leader { display: flex; gap: 18px; }
.initials { display: grid; place-items: center; background: #eaf1df; color: #35502a; width: 61px; height: 61px; flex: 0 0 61px; border-radius: 50%; font: 800 1.18rem 'Instrument Sans', system-ui, sans-serif; }
.leader h3 { margin-bottom: 2px; font-family: 'Instrument Sans', system-ui, sans-serif; }
.leader .role { color: #436126; font-weight: 700; font-size: .83rem; margin-bottom: 12px; }
.skills { display: flex; gap: 6px; padding: 0; margin: 0; flex-wrap: wrap; list-style: none; }
.skills li { font-size: .7rem; font-weight: 800; padding: 4px 8px; background: #edf1e8; border-radius: 5px; }
.contact { background: var(--navy); color: white; scroll-margin-top: 76px; }
.contact-inner { min-height: 220px; display: flex; align-items: center; justify-content: space-between; gap: 26px; padding-block: 37px; }
.contact .eyebrow { color: var(--lime); }
.contact h2 { font-size: clamp(1.75rem,4vw,2.95rem); margin-bottom: 9px; }
.contact p:last-child { color: #d5dfed; margin: 0; }
.footer { background: #0b1424; color: #e1e8f3; }
.footer-inner { padding-block: 17px; }
.footer .brand-accent { color: var(--lime); }
.footer p, .footer-inner > a:last-child { font-size: .8rem; margin: 0; }
dialog { color: var(--ink); border: 1px solid var(--line); border-radius: 15px; padding: 25px; max-height: min(90dvh, 730px); width: min(480px, calc(100% - 26px)); }
dialog::backdrop { background: #0a1326b8; }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.dialog-head .eyebrow { margin-bottom: 7px; }
.dialog-head h2 { font: 800 2rem 'Instrument Sans', system-ui, sans-serif; }
.close, #cart button { cursor: pointer; border: 1px solid var(--line); background: var(--paper); border-radius: 6px; font-size: 1.1rem; min-width: 36px; min-height: 36px; }
.close:hover,#cart button:hover { background: #e9efde; }
.demo-note { color: var(--muted); font-size: .87rem; margin-block: 9px 15px; }
.demo-body h3 { font-size: 1rem; }
.demo-menu { display: grid; gap: 6px; margin-bottom: 18px; }
.demo-menu button { cursor: pointer; border: 1px solid var(--line); border-radius: 7px; padding: 9px 12px; background: #eef3e9; display: flex; justify-content: space-between; gap: 9px; font-size: .9rem; }
.demo-menu button:hover { background: #e0edce; }
#cart { margin: 0; padding: 0; list-style: none; }
#cart li, .demo-total { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
#cart li { border-bottom: 1px solid var(--line); padding: 5px 0; font-size: .9rem; }
.demo-total { margin-block: 12px; }
.button:disabled { opacity: .55; cursor: default; }
#demo-status { font-size: .88rem; font-weight: 700; color: #325323; margin: 10px 0 0; }
#demo-status:empty { margin: 0; }
@media (max-width: 1000px) {
  .shell { width: calc(100% - 64px); }
  .facts-inner > div { align-items: flex-start; flex-direction: column; gap: 5px; }
  .apps-grid { grid-template-columns: 1.85fr 1fr; }
  .services-grid article,.members,.leader { padding: 22px; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 64px; }
  .menu { display: grid; place-content: center; gap: 5px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 7px; background: white; cursor: pointer; }
  .menu span { width: 17px; height: 2px; background: var(--ink); }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 13px 18px 21px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .menu[aria-expanded='true'] + nav { display: grid; gap: 0; }
  nav a { padding: 11px 7px; }
  .nav-contact { border: 0; }
  .hero-inner { min-height: 540px; padding-block: 45px 104px; }
  .hero-photo { background-position: 62% center; }
  .hero h1 { letter-spacing: -.06em; }
  .hero-app { bottom: 21px; left: 0; right: auto; }
  .section { padding-block: 54px; scroll-margin-top: 64px; }
  .section-intro, .services-grid, .apps-grid, .about { grid-template-columns: 1fr; }
  .section-intro { gap: 10px; margin-bottom: 22px; }
  .about { gap: 24px; }
  .facts-inner > div { padding: 12px 8px; }
  .facts strong + span { font-size: .7rem; }
  .facts strong { font-size: .86rem; white-space: normal; }
  .contact-inner { display: grid; padding-block: 36px; }
  .footer-inner { flex-wrap: wrap; gap: 17px; }
}
@media (max-width: 400px) {
  .desktop { display: none; }
  .hero h1 { font-size: 3rem; }
  .product { grid-template-columns: 1fr; }
  .product-copy { padding: 22px 22px 0; }
  .app-art { padding: 20px 28px 25px; }
  .mock { transform: rotate(-3deg); }
  .leader { gap: 12px; }
  .initials { width: 42px; height: 42px; flex-basis: 42px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.arrow-up-right { position: relative; display: inline-block; width: 12px; height: 12px; flex: 0 0 12px; vertical-align: -.02em; }
.arrow-up-right::before { content: ''; position: absolute; right: 1px; top: 1px; width: 7px; height: 7px; border-top: 1.5px solid; border-right: 1.5px solid; }
.arrow-up-right::after { content: ''; position: absolute; top: 5px; left: 0; width: 12px; height: 1.5px; background: currentColor; transform: rotate(-45deg); }
.service-icon::before { content: ''; display: block; width: 22px; height: 22px; background: currentColor; mask-position: center; mask-repeat: no-repeat; }
.service-icon.ai::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.6 7.4L22 12l-7.4 2.6L12 22l-2.6-7.4L2 12l7.4-2.6z'/%3E%3C/svg%3E"); }
.service-icon.workflow::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7h16m-4-4 4 4-4 4M21 17H5m4-4-4 4 4 4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.service-icon.grid::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h7v7H3zm11 0h7v7h-7zM3 14h7v7H3zm11 0h7v7h-7z'/%3E%3C/svg%3E"); }
.service-icon.member::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='M6 16a3 3 0 0 1 6 0zm8-5h4v2h-4zm0 4h4v1h-4z'/%3E%3C/svg%3E"); }

.cincadi-product { background: #152d28; }
.cincadi-product .app-art { background: radial-gradient(ellipse at 78% 55%, #6d975680, transparent 70%); }
.app-access { display: block; margin-top: 6px; color: #d1e3d8; font-size: .74rem; }
.ledger-mock { background: #1c3932; border-color: #8ab79280; }
.ledger-mock > div:not(.mock-top) { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid #90b6a74d; }
.ledger-mock > div:last-child { color: var(--lime); }
#cincadi-demo { width: min(660px, calc(100% - 26px)); }
.ledger-filter { max-width: 280px; }
.ledger-filter, .ledger-fields label { display: grid; gap: 4px; font-size: .84rem; font-weight: 700; }
.ledger-filter select, .ledger-fields select, .ledger-fields input { min-width: 0; width: 100%; border: 1px solid #b7c4bd; background: white; border-radius: 7px; min-height: 42px; padding: 6px 8px; font: inherit; color: var(--ink); }
.ledger-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 13px 0 20px; }
.ledger-summary > div { background: #eef3e9; padding: 9px; border-radius: 8px; overflow-wrap: anywhere; }
.ledger-summary dt { font-size: .78rem; color: var(--muted); }
.ledger-summary dd { margin: 3px 0 0; font-weight: 800; }
.ledger-form h3 { font-size: 1.05rem; }
.ledger-fields { display: grid; grid-template-columns: 1fr 1fr .9fr; gap: 8px; margin-bottom: 10px; }
.closing-fields { grid-template-columns: 1fr 1fr; }
.ledger-status { margin: 8px 0 0; font-size: .86rem; color: #325323; font-weight: 700; }
.ledger-status:empty { margin: 0; }
.ledger-list { padding: 0; margin: 10px 0 18px; list-style: none; }
.ledger-list li { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); padding: 5px 0; font-size: .81rem; }
.ledger-secondary { background: #eef3e9; border-color: #b7c4bd; }
.ledger-secondary:hover { background: #e0edce; }
@media (min-width: 721px) {
  .apps-grid .members { grid-column: 2; grid-row: 1 / span 2; justify-content: center; }
  .apps-grid .members a { margin-top: 0; }
}
@media (max-width: 480px) {
  .ledger-fields { grid-template-columns: 1fr; }
}

.hero h1 em { font-style: italic; }
.detail-list { padding-inline-start: 20px; margin: 0 0 20px; color: var(--muted); font-size: .88rem; line-height: 1.65; }
.detail-list li + li { margin-top: 6px; }
.detail-list li::marker { color: #53772c; }
.use-case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.use-case-grid article { display: flex; flex-direction: column; border-top: 2px solid #adc993; padding-top: 18px; }
.use-case-grid h3 { font-size: 1.13rem; }
.use-case-grid p { color: var(--muted); font-size: .93rem; }
.use-case-grid a { width: fit-content; margin-top: auto; font-size: .87rem; font-weight: 800; }
.use-case-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.use-cases + .about { border-top: 1px solid var(--line); }
@media (max-width: 720px) {
  .use-case-grid { grid-template-columns: 1fr; }
}
