:root {
  color-scheme: light;
  --blue: #0558d8;
  --deep: #102b50;
  --muted: #5a6c83;
  --line: #dde6f0;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans Thai", "Thonburi", "Segoe UI", sans-serif;
  color: var(--deep);
  background: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
a:focus-visible, summary:focus-visible { outline: 3px solid #edac2b; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { line-height: 1.85; }
h2 { font-size: clamp(29px, 3.3vw, 43px); line-height: 1.5; letter-spacing: -.035em; font-weight: 750; }
h3 { font-size: 21px; line-height: 1.6; }
section[id] { scroll-margin-top: 18px; }
.container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 20; background: white; padding: 16px; border: 2px solid var(--blue); }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 10; background: #ffffffed; border-bottom: 1px solid #ecf0f5; backdrop-filter: blur(16px); }
.navigation { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 36px; font-weight: 750; letter-spacing: -2px; }
.brand img { border-radius: 11px; }
.brand-dot { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; }
.nav-links a:hover, .text-link:hover, .site-footer a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; background: var(--blue); color: white; padding: 16px 24px; border-radius: 12px; font-weight: 650; font-size: 15px; line-height: 1.5; transition: background .2s, transform .2s; }
.button:hover { background: #0046b0; transform: translateY(-2px); }
.button-small { padding: 12px 18px; font-size: 14px; white-space: nowrap; }
.text-link { font-size: 15px; color: var(--blue); font-weight: 650; line-height: 1.6; }
.hero { display: grid; grid-template-columns: 1.13fr 1fr; align-items: center; gap: 30px; padding-block: 68px; min-height: 675px; }
.eyebrow { font-size: 12px; letter-spacing: .12em; font-weight: 750; color: var(--blue); margin-bottom: 20px; line-height: 1.7; }
.status-dot { display: inline-block; width: 7px; height: 7px; background: #30a28b; border-radius: 50%; margin-right: 8px; }
.hero h1 { font-size: clamp(45px, 5vw, 65px); letter-spacing: -.055em; line-height: 1.45; font-weight: 780; }
.hero h1 > span { color: var(--blue); }
.hero-description { font-size: 23px; font-weight: 650; margin-top: 22px; }
.lead { color: var(--muted); font-size: 16px; margin-top: 12px; max-width: 480px; }
.actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 29px; }
.release-note { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 12px; color: var(--muted); font-size: 11px; margin-top: 25px; line-height: 1.7; }
.release-label { color: #355477; background: #edf4fc; border-radius: 5px; padding: 4px 8px; font-size: 10px; font-weight: 750; letter-spacing: .04em; }
.hero-visual { position: relative; min-height: 480px; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at center, #d8edff 0%, #f0f8ff 45%, white 72%); isolation: isolate; }
.orbit { position: absolute; max-width: 100%; border: 1px solid #d0e5fa; border-radius: 50%; z-index: -1; }
.orbit-one { width: 350px; height: 350px; }
.orbit-two { width: 450px; height: 450px; border-style: dashed; }
.hero-app { display: flex; flex-direction: column; align-items: center; gap: 20px; transform: rotate(-7deg); }
.hero-app img { width: 215px; border-radius: 48px; box-shadow: 0 30px 60px #075bcc30; }
.hero-app > span { display: none; }
.floating-card { position: absolute; display: flex; align-items: center; gap: 12px; border: 1px solid #e2ebf5; background: #fffffff5; border-radius: 16px; padding: 17px 20px; box-shadow: 0 15px 45px #16477812; }
.floating-card strong { display: block; font-size: 14px; }
.floating-card div > span { display: block; font-size: 11px; color: var(--muted); margin-top: 5px; }
.mini-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #eaf3ff; color: var(--blue); font-size: 25px; }
.discover { top: 38px; left: 0; transform: rotate(-3deg); }
.booking { bottom: 57px; right: 0; transform: rotate(3deg); }
.booking .mini-icon { background: #e8f8f0; color: #148864; }
.visual-caption { position: absolute; bottom: 5px; font-size: 11px; color: var(--muted); }
.platform-strip { border-block: 1px solid var(--line); background: #fbfdff; }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 25px; }
.platform-grid > div { padding-left: 34px; border-left: 1px solid var(--line); }
.platform-grid > div:first-child { padding-left: 0; border: 0; }
.platform-grid span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.platform-grid strong { font-size: 16px; font-weight: 650; }
.section { padding-block: 88px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 35px; margin-bottom: 38px; }
.section-heading > p { font-size: 15px; color: var(--muted); padding-bottom: 8px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.feature { border-top: 2px solid #d7e8fd; padding: 24px 0; }
.feature-number, .resource-index { font-size: 10px; font-weight: 750; letter-spacing: .12em; color: var(--blue); }
.feature h3 { margin: 14px 0 10px; }
.feature p { font-size: 14px; color: var(--muted); }
.showcase-heading { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; margin: 35px 0 22px; }
.showcase-heading h3 { font-size: 18px; }
.showcase-heading span { font-size: 11px; color: var(--muted); }
.screenshot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 30px 42px 22px; background: #f1f7fe; border: 1px solid #e6eef7; border-radius: 25px; }
.screenshot-grid figure { min-width: 0; }
.screenshot-grid img { width: 100%; border-radius: 14px; border: 1px solid #e3ecf7; }
.screenshot-grid figcaption { font-size: 12px; text-align: center; padding-top: 16px; color: #446080; }
.journey-section { background: #f6f9fd; border-block: 1px solid #eaf0f7; }
.section-intro { max-width: 720px; color: var(--muted); margin-top: 18px; font-size: 15px; }
.journey { list-style: none; padding: 0; margin: 40px 0 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.journey li { position: relative; }
.journey li:not(:last-child)::after { content: ""; position: absolute; left: 60px; right: 0; top: 22px; height: 1px; background: #cbdcf1; }
.step { display: grid; place-items: center; width: 44px; height: 44px; background: white; border: 1px solid #cbdcf1; border-radius: 50%; color: var(--blue); font-size: 17px; font-weight: 700; margin-bottom: 22px; }
.journey h3 { font-size: 18px; margin-bottom: 10px; }
.journey p { font-size: 13px; color: var(--muted); }
.journey-note { padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.ai-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; align-items: center; }
.ai-panel > div > p:not(.eyebrow) { color: var(--muted); font-size: 15px; margin: 20px 0; }
.ai-explanation { background: #f1f7ff; border: 1px solid #e2ecf9; border-radius: 22px; padding: 34px; }
.outline-label { display: inline-block; font-size: 11px; color: var(--blue); border: 1px solid #bed6f5; padding: 5px 10px; border-radius: 6px; margin-bottom: 20px; }
.ai-explanation h3 { font-size: 21px; }
.medical-note { padding-top: 22px; border-top: 1px solid #cddff3; }
.medical-note strong { font-size: 14px; }
.medical-note p { font-size: 13px; color: var(--muted); margin-top: 8px; }
.clinic-section { background: #082b5b; color: white; }
.clinic-section .eyebrow { color: #91c5ff; }
.clinic-section h2 { color: white; }
.clinic-section .section-heading > p { color: #b7cbe4; }
.clinic-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: start; margin-top: 45px; }
.clinic-overview { background: #fff; border: 1px solid #cedff4; color: var(--deep); border-radius: 22px; padding: 27px; box-shadow: 0 30px 50px #001c4330; }
.clinic-overview-top { display: flex; gap: 12px; align-items: center; padding-bottom: 25px; }
.clinic-overview-top img { border-radius: 12px; }
.clinic-overview-top strong { font-size: 19px; display: block; }
.clinic-overview-top span { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
.workspace-map { display: grid; gap: 8px; }
.workspace-map > div { display: grid; grid-template-columns: 26px 74px 1fr; align-items: center; gap: 10px; padding: 17px 15px; background: #f3f7fc; border-radius: 10px; }
.workspace-map span { font-size: 10px; color: #7086a2; }
.workspace-map strong { font-size: 14px; }
.workspace-map small { font-size: 11px; color: var(--muted); }
.map-caption { font-size: 10px; color: var(--muted); text-align: center; margin-top: 20px; }
.clinic-features article { margin-bottom: 26px; padding-bottom: 24px; border-bottom: 1px solid #365478; }
.clinic-features h3 { font-size: 20px; margin-bottom: 9px; }
.clinic-features p { color: #b9cee8; font-size: 14px; }
.button-white { background: white; color: #064bad; }
.button-white:hover { background: #e0efff; }
.clinic-onboarding { display: flex; gap: 30px; align-items: center; border-top: 1px solid #365478; margin-top: 45px; padding-top: 28px; }
.clinic-onboarding strong { font-size: 14px; flex-shrink: 0; }
.clinic-onboarding p { color: #bfd1e8; font-size: 13px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.resource-card { padding: 26px; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, background .2s; }
.resource-card:hover { border-color: #91b9ee; background: #f8fbff; }
.resource-card h3 { font-size: 18px; margin-top: 17px; line-height: 1.6; }
.resource-card p { font-size: 13px; color: var(--muted); margin-top: 10px; }
.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 65px; border-top: 1px solid var(--line); padding-top: 72px; }
.faq-section > div > p:not(.eyebrow) { color: var(--muted); font-size: 14px; margin: 16px 0 22px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-size: 16px; font-weight: 600; padding: 23px 30px 23px 0; position: relative; list-style: none; line-height: 1.7; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 3px; color: var(--blue); font-size: 23px; top: 18px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { font-size: 14px; color: var(--muted); padding: 0 25px 23px 0; }
.faq-list details a { color: var(--blue); text-decoration: underline; }
.closing { background: #edf5ff; border: 1px solid #dfeafb; padding: 46px; border-radius: 24px; display: flex; align-items: center; gap: 30px; }
.closing > img { border-radius: 19px; flex-shrink: 0; align-self: flex-start; }
.closing .eyebrow { font-size: 10px; margin-bottom: 14px; }
.closing h2 { font-size: 32px; }
.closing p:not(.eyebrow) { font-size: 13px; color: var(--muted); margin-top: 14px; }
.closing .button { margin-left: auto; font-size: 13px; flex-shrink: 0; }
.emergency { padding-block: 35px; display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; font-size: 12px; color: var(--muted); line-height: 1.8; }
.emergency strong { font-weight: 600; }
.emergency a { color: var(--blue); text-decoration: underline; font-weight: 700; }
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 25px; background: #fbfdff; }
.footer-main { display: flex; justify-content: space-between; gap: 40px; }
.footer-main p { font-size: 12px; color: var(--muted); margin-top: 10px; }
.footer-main nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 35px; align-content: start; padding-top: 13px; font-size: 13px; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 40px; font-size: 10px; color: var(--muted); }
.footer-bottom p { max-width: 570px; }
.footer-bottom > span { white-space: nowrap; }
@media (min-width: 1500px) {
  .hero { padding-block: 88px; min-height: 730px; }
}
@media (max-width: 1050px) {
  .nav-links { gap: 16px; font-size: 12px; }
  .navigation { gap: 15px; }
  .hero h1 { font-size: 49px; }
  .hero-visual { min-height: 430px; }
  .orbit-two { width: 365px; height: 365px; }
  .orbit-one { width: 290px; height: 290px; }
  .hero-app img { width: 180px; border-radius: 40px; }
  .floating-card { padding: 13px; }
  .discover { top: 25px; }
  .booking { bottom: 30px; }
  .hero { gap: 12px; }
  .hero-description { font-size: 21px; }
  .clinic-layout, .ai-panel, .faq-section { gap: 35px; }
  .closing { padding: 32px; flex-wrap: wrap; }
  .closing .button { margin-left: 102px; }
  .screenshot-grid { padding: 24px; gap: 18px; }
}
@media (max-width: 780px) {
  html { scroll-padding-top: 120px; }
  .container { width: calc(100% - 40px); }
  .navigation { flex-wrap: wrap; padding-block: 14px; gap: 12px; }
  .brand { font-size: 30px; }
  .brand img { width: 34px; }
  .nav-links { order: 3; width: 100%; justify-content: space-between; gap: 8px; }
  .button-small { font-size: 12px; padding: 10px 13px; }
  .hero { grid-template-columns: 1fr; padding-block: 42px 25px; }
  .hero h1 { font-size: clamp(42px, 8.2vw, 60px); }
  .hero-visual { min-height: 390px; max-width: 460px; width: 100%; margin: auto; }
  .discover { top: 15px; left: 8px; }
  .booking { right: 8px; bottom: 32px; }
  .hero-copy { max-width: 600px; }
  .hero-description { font-size: 21px; margin-top: 15px; }
  .lead { font-size: 15px; }
  .release-note { font-size: 10px; }
  .actions { margin-top: 23px; gap: 18px; }
  .actions .button { font-size: 13px; padding: 14px 18px; }
  .actions .text-link { font-size: 13px; }
  .platform-grid { gap: 15px; padding-block: 20px; }
  .platform-grid > div { padding-left: 15px; }
  .platform-grid span { font-size: 10px; }
  .platform-grid strong { font-size: 12px; line-height: 1.8; display: block; }
  .section { padding-block: 55px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading > p { margin-top: 18px; font-size: 14px; }
  .eyebrow { font-size: 10px; margin-bottom: 15px; }
  .feature-grid { grid-template-columns: 1fr; gap: 0; }
  .feature { padding-block: 20px; }
  .feature h3 { margin: 10px 0 6px; }
  .showcase-heading { display: block; margin-top: 25px; }
  .showcase-heading span { display: block; margin-top: 8px; line-height: 1.7; }
  .screenshot-grid { gap: 12px; padding: 16px; }
  .screenshot-grid figcaption { font-size: 10px; line-height: 1.7; }
  .screenshot-grid img { border-radius: 8px; }
  .journey { grid-template-columns: 1fr 1fr; gap: 28px; }
  .journey li:nth-child(2)::after { display: none; }
  .ai-panel, .clinic-layout, .faq-section { grid-template-columns: 1fr; gap: 30px; }
  .ai-explanation { padding: 27px; }
  .clinic-layout { margin-top: 25px; }
  .clinic-onboarding { display: block; margin-top: 30px; }
  .clinic-onboarding p { margin-top: 12px; }
  .trust-grid { grid-template-columns: 1fr; gap: 14px; }
  .resource-card { padding: 23px; }
  .resource-card h3 { margin-top: 10px; }
  .faq-section { gap: 25px; }
  .closing { padding: 27px; gap: 22px; }
  .closing > img { width: 54px; height: 54px; border-radius: 15px; }
  .closing > div { flex: 1; min-width: 180px; }
  .closing h2 { font-size: 27px; }
  .closing .button { margin-left: 0; width: 100%; white-space: normal; }
  .emergency { display: block; text-align: center; font-size: 11px; }
  .emergency span { display: block; margin-top: 8px; }
  .footer-main { flex-direction: column; gap: 20px; }
  .footer-main nav { gap: 18px; font-size: 12px; }
  .footer-bottom { display: block; }
  .footer-bottom p { margin-top: 12px; }
  .section-intro { font-size: 14px; }
}
@media (max-width: 420px) {
  .container { width: calc(100% - 32px); }
  .hero h1 { font-size: 42px; }
  .nav-links { font-size: 11px; }
  .orbit-two { width: 310px; height: 310px; }
  .orbit-one { width: 240px; height: 240px; }
  .hero-visual { min-height: 365px; }
  .floating-card strong { font-size: 12px; }
  .floating-card div > span { font-size: 10px; }
  .discover { left: 0; }
  .booking { right: 0; }
  .hero-app img { width: 160px; border-radius: 34px; }
  .hero-app > span { font-size: 12px; }
  .platform-grid { gap: 9px; }
  .platform-grid > div { padding-left: 9px; }
  .platform-grid strong { font-size: 11px; }
  .screenshot-grid { grid-template-columns: 1fr; gap: 24px; padding: 24px 36px; }
  .screenshot-grid figcaption { font-size: 12px; }
  .workspace-map > div { grid-template-columns: 18px 65px 1fr; padding: 15px 10px; gap: 8px; }
  .workspace-map small { font-size: 10px; }
  .clinic-overview { padding: 20px; }
  .clinic-onboarding p { font-size: 12px; }
  .closing { padding: 23px; }
  .closing > img { display: none; }
}
@media (min-width: 421px) and (max-width: 600px) {
  .screenshot-grid { grid-template-columns: 1fr; padding: 28px 70px; gap: 28px; }
  .screenshot-grid figcaption { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
