@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700&display=swap');
:root{--ink:#102b37;--muted:#526b75;--brand:#087f79;--brand-dark:#116f69;--line:#d7e6e3;--surface:#f4f9f8;--focus:#087f79}
html{font-family:'Noto Sans Thai',Tahoma,system-ui,sans-serif}
body,button,input,textarea,select{font-family:'Noto Sans Thai',Tahoma,system-ui,sans-serif;letter-spacing:normal}
body{color:var(--ink)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.brand-logo{display:block;position:relative;width:180px;height:45px;overflow:hidden;flex:none;background:white;border-radius:7px}
.brand-logo img{position:absolute;display:block;width:194px;max-width:none;height:auto;left:-7px;top:-69px;mix-blend-mode:multiply}
@media(max-width:760px){.brand-logo{width:150px;height:38px}.brand-logo img{width:162px;left:-6px;top:-58px}}

/* The public pages and the working preview share type, colors, and actions. */
header.site-header{max-width:1200px;margin:auto;padding:18px 28px;min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.site-header nav{display:flex;align-items:center;gap:22px;font-size:14px;font-weight:600}
.site-header nav a:not(.pill):hover{color:var(--brand)}
.pill,.site-button{border-radius:999px;background:var(--ink);color:white;padding:11px 20px;font-weight:600;white-space:nowrap;display:inline-block;text-decoration:none}
.pill:hover,.site-button:hover{background:var(--brand-dark);color:white}
.text-link,.secondary-link{color:var(--brand-dark);font-weight:700;text-decoration:underline;text-underline-offset:5px;border:0}
@media(max-width:800px){header.site-header{padding:14px 20px;min-height:72px}.site-header nav a:not(.pill){display:none}.site-header nav{gap:8px}.site-header .pill{padding:9px 14px;font-size:13px}}

/* Entry page */
.start-page header.site-header{max-width:1100px}
.start-page header.site-header .brand{letter-spacing:normal}
.start-page .step{background:var(--surface);border-color:var(--line)}
.start-page .button{border-radius:999px;background:var(--ink)}
.start-page .button:hover{background:var(--brand-dark)}

/* Preview: retain the rail on desktop and present the same brand clearly. */
.workspace-preview .rail .brand-logo{width:180px;height:45px}
.workspace-preview .rail .brand-logo img{width:194px;left:-7px;top:-69px}
.workspace-preview .rail .logo{padding:0 12px 20px}
.workspace-preview .rail-bottom a{display:inline-block;margin-top:14px;color:white;text-decoration:underline;text-underline-offset:4px}
.workspace-preview .top .site-cta{display:inline-block;border-radius:999px;background:var(--ink);color:white;padding:8px 14px;text-decoration:none;font-size:14px}
.workspace-preview .top .site-cta:hover{background:var(--brand-dark)}
.workspace-preview .mobile-nav{font-size:14px}
@media(max-width:760px){.workspace-preview .top .site-cta{font-size:12px;padding:7px 11px}.workspace-preview .top strong{font-size:15px}.workspace-preview .mobile-nav button{font-size:13px}}

/* A short, labelled example fills the open space at the foot of the hero. */
.site-home .hero{flex-direction:column;align-items:stretch;justify-content:space-between;gap:36px;padding-bottom:32px;min-height:720px}
.site-home .hero>div:first-child{width:min(54%,590px)}
.hero-stories{width:min(100%,1200px);margin:auto;position:relative;z-index:1}
.hero-stories-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}
.hero-stories-head strong{font-size:14px;color:#245b5b}
.hero-stories-controls{display:flex;align-items:center;gap:8px}
.story-control{display:grid;place-items:center;min-width:36px;height:36px;border:1px solid #bdd8d4;background:#ffffffdf;color:#16494c;border-radius:50%;font-size:17px;line-height:1;cursor:pointer}
.story-control:hover{background:#e8f5f2}
.story-toggle{border-radius:18px;min-width:68px;font-size:13px;padding:0 8px;font-weight:600}
.hero-stories-window{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;border-radius:18px}
.hero-stories-window::-webkit-scrollbar{display:none}
.hero-stories-track{display:flex;gap:12px}
.story-card{flex:0 0 min(48%,440px);min-width:0;min-height:170px;scroll-snap-align:start;border:1px solid #d7e6e3;border-radius:18px;background:rgba(255,255,255,.94);box-shadow:0 12px 30px #102b3714;padding:13px;backdrop-filter:blur(10px);display:grid;grid-template-columns:118px minmax(0,1fr);align-items:center;gap:14px}
.story-card img{display:block;width:118px;height:118px;object-fit:cover;border-radius:13px;background:#e9f7f7}
.story-copy{min-width:0}
.story-card small{display:block;color:#087f79;font-size:13px;font-weight:700;margin-bottom:8px}
.story-card strong{display:block;font-size:17px;line-height:1.5}
.story-card p{font-size:14px!important;color:#526b75;line-height:1.55!important;margin:7px 0 0}
@media(max-width:800px){.site-home .hero{min-height:760px;padding:64px 22px 24px;gap:48px}.site-home .hero>div:first-child{width:100%}.story-card{flex-basis:min(82vw,325px);min-height:166px;grid-template-columns:94px minmax(0,1fr);gap:10px;padding:10px}.story-card img{width:94px;height:128px}.story-card strong{font-size:15px}.story-card p{font-size:12px!important}.hero-stories{margin-top:auto}.hero-stories-head{margin-bottom:8px}}
@media(max-width:390px){.site-home .hero{min-height:750px}.story-card{flex-basis:84vw}}
@media(prefers-reduced-motion:reduce){.hero-stories-window{scroll-behavior:auto!important}}

/* Finished picture cards contain their own copy. No duplicate text beside them. */
.site-home .story-card{display:block;flex:0 0 min(48%,520px);min-height:0;padding:0;border:0;overflow:hidden;aspect-ratio:1200/760;background:transparent}
.site-home .story-card img{display:block;width:100%;height:100%;object-fit:cover;border-radius:18px}
@media(max-width:800px){.site-home .story-card{flex-basis:min(82vw,420px)}.site-home .hero{min-height:780px}}

/* The supplied illustrations fill each picture card; copy sits inside the picture. */
.site-home .story-card{position:relative;aspect-ratio:4/3;flex-basis:min(48%,480px);background:#fff}
.site-home .story-card img{width:100%;height:100%;object-fit:cover}
.story-overlay{position:absolute;inset:auto 0 0;background:rgba(255,255,255,.95);padding:12px 18px 15px;border-top:1px solid #d8e7e8;backdrop-filter:blur(8px);color:#102b37}
.story-overlay small{display:block;font-size:12px;font-weight:700;color:#087f79;line-height:1.45;margin-bottom:3px}
.story-overlay strong{display:block;font-size:17px;line-height:1.4}
@media(max-width:800px){.site-home .story-card{flex-basis:min(82vw,420px)}.site-home .hero{min-height:820px}.story-overlay{padding:9px 13px 12px}.story-overlay strong{font-size:15px}}

/* Product hierarchy on the corporate landing page. */
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:36px}
.product-card{background:white;border:1px solid var(--line);border-radius:22px;padding:26px;min-height:248px}
.product-card.active{border-color:#6dc6ba;box-shadow:0 12px 32px #0b6e6720}
.product-card h3{font-size:24px;line-height:1.4;margin:15px 0 8px}
.product-card p{color:var(--muted);line-height:1.7;margin:0}
.product-card a{display:inline-block;margin-top:18px;color:var(--brand-dark);font-weight:700;text-decoration:underline;text-underline-offset:4px}
.product-status{display:inline-block;background:#e1f4ee;color:#126b5e;border-radius:999px;padding:5px 12px;font-size:13px;font-weight:700}
.product-status.planned{background:#edf2f5;color:#536d78}
@media(max-width:800px){.product-grid{grid-template-columns:1fr;gap:12px;margin-top:28px}.product-card{min-height:0;padding:23px}.product-card h3{font-size:22px}}

/* Show the full-colour product marks from the supplied brand sheets. */
.product-logo{width:100%;aspect-ratio:3.7;overflow:hidden;border-radius:12px;background:#fff;margin:18px 0 5px}
.product-logo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 29%}
.product-card h3{margin-top:8px}
@media(max-width:800px){.product-logo{max-width:430px}}

/* A guided view of the three SaaS work areas. */
.saas-experience{background:#f1f8f7;padding:86px 28px}
.saas-experience h2{font-size:clamp(30px,3.4vw,46px);line-height:1.35;margin:12px 0 16px}
.saas-shell{display:grid;grid-template-columns:minmax(235px,330px) minmax(0,1fr);gap:18px;margin-top:34px}
.saas-picker{display:grid;align-content:start;gap:10px}
.saas-picker button{border:1px solid #d4e4e2;border-radius:16px;text-align:left;background:#fff;color:#23414b;padding:16px 18px;display:grid;grid-template-columns:30px 1fr;column-gap:12px;min-height:93px}
.saas-picker button[aria-selected=true]{border-color:#148f86;box-shadow:0 0 0 2px #148f8622;background:#fbfefd}
.saas-picker button span{grid-row:span 2;color:#148f86;font-size:14px;font-weight:700}
.saas-picker button strong{font-size:17px;line-height:1.35}
.saas-picker button small{font-size:14px;color:#637a80}
.saas-view{background:white;border:1px solid #d4e4e2;border-radius:22px;min-height:350px;overflow:hidden}
.saas-view-top{border-bottom:1px solid #e2eeeb;display:flex;justify-content:space-between;gap:12px;padding:15px 24px;color:#60777e;font-size:14px}
.saas-view-mark{font-weight:700;color:#087f79}
.saas-panel{padding:28px 30px}.saas-panel[hidden]{display:none}.saas-panel-kicker{color:#087f79;font-size:14px;font-weight:700}.saas-panel h3{font-size:clamp(23px,2.5vw,32px);line-height:1.35;margin:8px 0 25px}.saas-panel p{color:#526b75}.saas-panel a{display:inline-block;margin-top:18px;color:#116f69;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.saas-sample{padding:13px 17px;border-radius:14px;margin:10px 0;max-width:520px;line-height:1.55}.saas-sample-question{background:#e8f2f0;margin-left:auto;width:fit-content}.saas-sample-answer{background:#f1f7f6}
.saas-next{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:25px}.saas-next strong{font-size:19px}.saas-next p{margin:2px 0;color:#526b75}.saas-next .pill{display:inline-block}
@media(max-width:800px){.saas-experience{padding:64px 22px}.saas-shell{grid-template-columns:1fr}.saas-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.saas-picker button{display:block;min-height:100px;padding:12px}.saas-picker button span,.saas-picker button strong,.saas-picker button small{display:block}.saas-picker button small{display:none}.saas-picker button strong{font-size:14px;margin-top:5px}.saas-view{min-height:320px}.saas-panel{padding:24px 20px}.saas-next{align-items:flex-start;flex-direction:column}}
@media(max-width:410px){.saas-picker button{min-height:89px;padding:9px}.saas-picker button strong{font-size:13px}}

/* Compact landscape picture cards in the hero carousel. */
.site-home .story-card{flex:0 0 min(35%,360px);aspect-ratio:8/5;border-radius:16px}
.site-home .story-card img{object-position:center 46%;border-radius:16px}
.site-home .story-overlay{padding:9px 14px 11px}
.site-home .story-overlay strong{font-size:15px;line-height:1.35}
@media(max-width:800px){.site-home .story-card{flex-basis:min(72vw,320px)}.site-home .hero{min-height:730px}}
@media(max-width:390px){.site-home .story-card{flex-basis:76vw}.site-home .hero{min-height:720px}}

/* Keep carousel controls without a decorative heading above the cards. */
.hero-stories-head{justify-content:flex-end;margin-bottom:8px}

/* Bring out the blue and teal in the supplied hero while keeping copy legible. */
.site-home .hero{position:relative;isolation:isolate;background:#eaf6f9;overflow:hidden}
.site-home .hero::before{content:"";position:absolute;inset:0;z-index:-2;background:url('/andamindai-hero.png') center right/cover no-repeat;filter:saturate(1.4) contrast(1.13)}
.site-home .hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(255,255,255,.82),rgba(255,255,255,.25) 65%,rgba(255,255,255,.06))}
@media(max-width:800px){.site-home .hero::before{background-position:60% center}.site-home .hero::after{background:linear-gradient(180deg,rgba(255,255,255,.83) 0%,rgba(255,255,255,.57) 44%,rgba(255,255,255,.12) 88%)}}

/* AndaMindAI entry: a branded handoff to the platform's existing LINE login. */
.site-login{margin:0;background:#f7faf9;color:#102b37}
.login-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.88fr);min-height:100svh}
.login-visual{position:relative;isolation:isolate;overflow:hidden;min-height:100svh;background:#073f48;color:#fff;padding:clamp(30px,4vw,64px);display:flex;flex-direction:column;justify-content:space-between;gap:72px}
.login-visual::before{content:"";position:absolute;inset:0;z-index:-2;background:url('/andamindai-hero.png') center/cover no-repeat;filter:saturate(1.45) contrast(1.12) brightness(.72)}
.login-visual::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#06384199 0%,#06384144 42%,#052d3bdf 100%)}
.login-brand{width:max-content;display:inline-block;padding:6px 10px;background:#fffffff5;border-radius:13px}
.login-visual-copy{max-width:590px}
.login-kicker{display:block;color:#8de5dc;font-weight:700;font-size:14px;margin-bottom:14px}
.login-visual h1{font-size:clamp(38px,4vw,60px);font-weight:700;line-height:1.25;margin:0 0 20px}
.login-visual p{color:#e6f6f3;font-size:clamp(16px,1.4vw,19px);line-height:1.75;max-width:510px;margin:0}
.login-entry{display:flex;align-items:center;justify-content:center;padding:42px}
.login-entry-content{width:100%;max-width:430px}
.login-eyebrow{color:#0c8178;font-size:14px;font-weight:700;margin:0 0 9px}
.login-entry h2{font-size:clamp(32px,3vw,42px);line-height:1.3;margin:0 0 14px}
.login-lead{color:#536b70;font-size:17px;line-height:1.75;margin:0 0 30px}
.login-primary{display:flex;align-items:center;justify-content:center;gap:16px;min-height:58px;padding:12px 20px;border-radius:17px;background:#123440;color:white;text-decoration:none;font-size:17px;font-weight:700}
.login-primary:hover{background:#0d5860}
.login-note{color:#62787d;font-size:14px;line-height:1.6;margin:17px 0 0}
.login-more{display:flex;flex-wrap:wrap;gap:7px 18px;align-items:center;border-top:1px solid #dce8e6;margin-top:38px;padding-top:23px;font-size:14px;color:#62787d}
.login-more a{color:#086e68;text-decoration:underline;text-underline-offset:4px;font-weight:700}
@media(max-width:900px){.login-layout{grid-template-columns:1fr}.login-visual{min-height:295px;gap:40px;padding:28px 30px}.login-visual h1{font-size:38px}.login-entry{padding:40px 30px 75px}.login-entry-content{max-width:550px}}
@media(max-width:720px){.login-visual{min-height:260px;gap:29px;padding:23px 24px}.login-visual .brand-logo{width:150px;height:38px}.login-visual h1{font-size:29px;line-height:1.25;margin-bottom:9px}.login-kicker{font-size:12px;margin-bottom:8px}.login-visual p{font-size:14px;line-height:1.55}.login-entry{padding:38px 24px 65px}.login-entry h2{font-size:32px}.login-lead{font-size:16px}.login-primary{font-size:16px}.login-more{margin-top:28px}}
@media(max-width:360px){.login-visual{min-height:280px}.login-visual h1{font-size:26px}}

/* Explain the situations AndaSales is designed to help with. */
.audience-section{padding:84px 28px;background:#fff}
.audience-section h2{font-size:clamp(30px,3.4vw,46px);line-height:1.35;margin:12px 0 14px}
.audience-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:32px}
.audience-grid article{border:1px solid #d7e6e3;border-radius:20px;padding:26px;background:#fbfefd}
.audience-grid span{color:#087f79;font-size:14px;font-weight:700}
.audience-grid h3{font-size:20px;line-height:1.45;margin:14px 0 9px}
.audience-grid p{color:#526b75;line-height:1.75;margin:0}
@media(max-width:800px){.audience-section{padding:64px 22px}.audience-grid{grid-template-columns:1fr;gap:12px;margin-top:24px}.audience-grid article{padding:22px}.audience-grid h3{font-size:19px}}

/* Use the same supplied AndaSales AI artwork as the workspace. */
.product-logo.product-logo-sales{aspect-ratio:4/3;max-width:280px;margin:18px auto 5px}
.product-logo.product-logo-sales img{object-fit:cover;object-position:center 54%}
