/* Rental Flow landing, shared by the six language pages (generated by tools/build-pages.py).
   White SaaS surface, hairline borders, one brand green; screens are real app captures. */
:root {
  --bg: #FFFFFF;
  --soft: #F6F8F5;
  --ink: #0E1512;
  --ink-2: #34403A;
  --muted: #66726C;
  --line: #E5E9E4;
  --brand: #123D30;
  --brand-2: #1B6B50;
  --lime: #B9E26E;
  --red: #B42318;
  --blue: #2F5FC4;
  --shadow: 0 1px 2px rgb(14 21 18 / .04), 0 12px 32px -16px rgb(14 21 18 / .14);
  --font: "Pretendard Variable", Pretendard, "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.65; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
:lang(th) body, body:lang(th) { line-height: 1.8; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.025em; }
p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 12px 18px; border-radius: 10px; background: var(--brand); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 8px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 700; font-size: 16px; letter-spacing: -0.02em; text-decoration: none; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; margin-left: 20px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; color: var(--muted); font-size: 14.5px; font-weight: 500; text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.lang { position: relative; margin-left: auto; }
.lang summary { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 500; cursor: pointer; list-style: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: var(--soft); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.lang a { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 8px; font-size: 14.5px; text-decoration: none; }
.lang a:hover { background: var(--soft); }
.lang a[aria-current] { color: var(--brand-2); font-weight: 600; }
.btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .15s; }
.btn:hover { background: var(--brand); }

/* Hero */
.hero { position: relative; padding: 88px 0 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 760px; background: radial-gradient(60% 55% at 50% 0%, rgb(185 226 110 / .28), transparent 70%), linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: auto, 64px 64px, 64px 64px; mask-image: radial-gradient(70% 70% at 50% 20%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 50% 20%, #000 30%, transparent 75%); pointer-events: none; }
.hero-copy { position: relative; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: 13.5px; font-weight: 500; text-decoration: none; box-shadow: 0 1px 2px rgb(14 21 18 / .04); }
.pill:hover { border-color: #CBD3CC; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 3px rgb(27 107 80 / .15); }
.hero h1 { max-width: 15em; margin: 24px auto 0; font-size: clamp(38px, 6vw, 72px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.1; }
.hero h1 em { font-style: normal; color: var(--brand-2); }
.lede { max-width: 38em; margin: 24px auto 0; color: var(--muted); font-size: clamp(16.5px, 1.4vw, 19px); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.play { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 20px 6px 16px; border-radius: 12px; background: #000; color: #fff; text-align: left; text-decoration: none; transition: transform .15s, background .15s; }
.play:hover { background: #1b1b1b; transform: translateY(-1px); }
.play span { display: flex; flex-direction: column; font-size: 17px; font-weight: 600; line-height: 1.15; }
.play small { font-size: 11px; font-weight: 400; color: rgb(255 255 255 / .72); }
.ghost { display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; transition: border-color .15s; }
.ghost:hover { border-color: #C7CFC8; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: 13.5px; }

.stage { position: relative; margin-top: 64px; }
.phones { display: flex; justify-content: center; align-items: flex-end; height: 520px; padding-top: 24px; overflow: hidden; border-radius: 32px 32px 0 0; border: 1px solid var(--line); border-bottom: 0; background: linear-gradient(180deg, #EDF4EE 0%, #F7FAF7 100%); }
.device { padding: 6px; border-radius: 36px; background: #151B18; box-shadow: 0 30px 60px -30px rgb(14 21 18 / .45); }
.device img { width: 100%; border-radius: 30px; }
.phones .main { position: relative; z-index: 2; width: 300px; margin-bottom: -40px; }
.phones .side { width: 250px; margin-bottom: -150px; opacity: .96; }
.phones .side:first-child { margin-right: -24px; }
.phones .side:last-child { margin-left: -24px; }
.stage figcaption { padding: 14px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; text-align: center; }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-block: 1px solid var(--line); }
.metrics div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 28px 24px; }
.metrics div + div { border-left: 1px solid var(--line); }
.metrics dd { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; }
.metrics dt { color: var(--muted); font-size: 14px; }

/* Sections */
.section { padding: 120px 0; }
.soft { background: var(--soft); border-block: 1px solid var(--line); }
.head { max-width: 760px; margin: 0 auto; text-align: center; }
.eyebrow { color: var(--brand-2); font-size: 14px; font-weight: 600; }
.head h2, .faq-grid h2 { margin-top: 12px; font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.22; }
.head > p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 17.5px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 64px; }
.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgb(14 21 18 / .03); }
.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }
.span-2 { grid-column: span 2; }
.card-text { padding: 28px 28px 0; }
.card h3 { font-size: 18px; font-weight: 600; line-height: 1.4; }
.card-text p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.crop { display: flex; justify-content: center; height: 250px; margin-top: auto; padding: 28px 24px 0; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.crop img { width: 250px; height: auto; align-self: flex-start; border: 6px solid #151B18; border-bottom: 0; border-radius: 30px 30px 0 0; box-shadow: 0 20px 40px -24px rgb(14 21 18 / .5); }
.tall .crop { height: 340px; }
.tall .crop img { width: 320px; }

.clash { margin: 28px 28px 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.clash-head { display: grid; grid-template-columns: repeat(5, 1fr); color: var(--muted); font-size: 12px; text-align: center; }
.clash-row { position: relative; height: 76px; margin-top: 10px; border-radius: 10px; background: #fff; background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 20% 100%; }
.clash-row i { position: absolute; height: 26px; padding: 0 10px; display: flex; align-items: center; border-radius: 8px; font-size: 12px; font-style: normal; font-weight: 600; white-space: nowrap; }
.bar-a { left: 4%; width: 52%; top: 10px; background: var(--brand); color: #fff; }
.bar-b { left: 40%; width: 54%; top: 40px; border: 1.5px dashed var(--red); background: #FDECEA; color: var(--red); }
.clash-tag { display: flex; align-items: center; gap: 6px; margin: 14px 28px 28px; color: var(--red); font-size: 14px; font-weight: 600; }

.ticks { display: grid; gap: 10px; margin-top: auto; padding: 24px 28px 28px; }
.ticks li, .incl li, .excl li, .gains li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg, .incl svg, .gains svg { margin-top: 3px; color: var(--brand-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding: 24px 28px 28px; }
.chips li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); font-size: 14px; }

/* Industry cases (CSS-only tabs on radio buttons) */
.cases { margin-top: 48px; }
.case-tabs { display: flex; width: fit-content; max-width: 100%; margin: 0 auto; padding: 4px; overflow-x: auto; border: 1px solid var(--line); border-radius: 999px; background: #fff; scrollbar-width: none; }
.case-tabs::-webkit-scrollbar { display: none; }
.case-tabs label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background .15s, color .15s; }
.case-tabs label:hover { color: var(--ink); }
.case-panels { margin-top: 32px; }
.case { display: none; grid-template-columns: 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
#case-car:checked ~ .case-panels .case-car, #case-bike:checked ~ .case-panels .case-bike, #case-stay:checked ~ .case-panels .case-stay, #case-gear:checked ~ .case-panels .case-gear { display: grid; }
#case-car:checked ~ .case-tabs [for="case-car"], #case-bike:checked ~ .case-tabs [for="case-bike"], #case-stay:checked ~ .case-tabs [for="case-stay"], #case-gear:checked ~ .case-tabs [for="case-gear"] { background: var(--brand); color: #fff; }
#case-car:focus-visible ~ .case-tabs [for="case-car"], #case-bike:focus-visible ~ .case-tabs [for="case-bike"], #case-stay:focus-visible ~ .case-tabs [for="case-stay"], #case-gear:focus-visible ~ .case-tabs [for="case-gear"] { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.case-photo { aspect-ratio: 12 / 5; overflow: hidden; background: var(--soft); }
.case-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.case-gear .case-photo img { object-position: 50% 80%; }
.case-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; padding: 40px 44px; }
.tag { color: var(--brand-2); font-size: 13.5px; font-weight: 600; }
.case h3 { margin-top: 10px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; line-height: 1.3; letter-spacing: -0.03em; }
.case h4 { margin-top: 24px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.case-gains h4 { margin-top: 0; }
.case-main > p:last-child { margin-top: 8px; color: var(--ink-2); }
.gains { display: grid; gap: 12px; margin-top: 12px; color: var(--ink-2); }
.case-flow { border-top: 1px solid var(--line); background: #FAFBF9; }
.case-flow summary { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; min-height: 64px; padding: 16px 44px; font-weight: 600; cursor: pointer; list-style: none; }
.case-flow summary::-webkit-details-marker { display: none; }
.case-flow summary::after { content: ""; flex: none; width: 20px; height: 20px; margin-left: auto; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231B6B50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; transition: transform .2s; }
.case-flow[open] summary::after { transform: rotate(180deg); }
.case-flow summary:hover { color: var(--brand-2); }
.steps-hint { color: var(--muted); font-size: 14px; font-weight: 500; }
.case-flow[open] .steps-hint { display: none; }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0 44px 40px; counter-reset: step; }
.flow > li { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; counter-increment: step; }
.when { display: flex; align-items: center; gap: 8px; color: var(--brand-2); font-size: 13px; font-weight: 600; }
.when::before { content: counter(step); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; }
.flow b { display: block; margin-top: 10px; font-size: 16.5px; font-weight: 600; }
.flow ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.flow ul li { padding: 4px 10px; border-radius: 8px; background: var(--soft); color: var(--ink-2); font-size: 13.5px; }
.cases-note { margin-top: 16px; color: var(--muted); font-size: 13px; text-align: center; }

/* Pricing and data */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 72px; align-items: center; }
.pricing .head { margin: 0; text-align: left; }
.note { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.plan { padding: 36px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.plan-name { color: var(--brand-2); font-size: 15px; font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 24px; font-size: 56px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
.price span { color: var(--muted); font-size: 16px; font-weight: 500; letter-spacing: 0; }
.plan .play { width: 100%; justify-content: center; }
.incl { display: grid; gap: 12px; margin-top: 28px; }
.excl-title { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; }
.excl { display: grid; gap: 10px; margin-top: 12px; color: var(--muted); font-size: 15px; }
.excl svg { margin-top: 3px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; align-items: start; }
.faq-grid h2 { margin-top: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; font-size: 16.5px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%2366726C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brand-2); }
.faq details p { padding: 0 0 22px; max-width: 44em; color: var(--muted); }
.faq a { color: var(--brand-2); font-weight: 600; text-underline-offset: 3px; }

/* Final */
.final { padding: 120px 0; }
.final-card { position: relative; display: flex; flex-direction: column; align-items: center; padding: 80px 24px; overflow: hidden; border-radius: 32px; background: var(--brand); color: #fff; text-align: center; }
.final-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 50% 0%, rgb(185 226 110 / .22), transparent 70%); pointer-events: none; }
.final-card > * { position: relative; }
.final-card img { border-radius: 14px; }
.final h2 { margin-top: 24px; font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.035em; }
.final-card p { margin: 14px 0 32px; color: #B9CEC2; font-size: 17px; }
.final-card .play { box-shadow: 0 0 0 1px rgb(255 255 255 / .22); }
.final-card :focus-visible { outline-color: #fff; }

/* Footer */
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; padding: 24px 0 32px; }
.footer .brand { color: var(--ink); font-size: 15px; }
.footer-links, .footer-langs { display: flex; flex-wrap: wrap; }
.footer-links { margin-left: auto; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-langs { width: 100%; margin-left: -10px; font-size: 13px; }
.footer-langs a[aria-current] { color: var(--ink); font-weight: 600; }
.rights { width: 100%; font-size: 13px; }

/* Responsive */
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .span-4, .span-3 { grid-column: span 2; }
  .span-2 { grid-column: span 1; }
  .case-body { grid-template-columns: 1fr; gap: 0; }
  .case-gains h4 { margin-top: 24px; }
  .flow { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; gap: 48px; }
  .plan { max-width: 520px; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .lang summary span { display: none; }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .hero h1 br { display: none; }
  .hero h1 em { display: block; }
  .cta-row { flex-direction: column; align-items: center; }
  .stage { margin-top: 48px; }
  .phones { height: 400px; border-radius: 24px 24px 0 0; }
  .phones .side { display: none; }
  .phones .main { width: min(270px, 72vw); margin-bottom: -120px; }
  .metrics { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .metrics div { padding: 20px 16px; }
  .metrics div:nth-child(3) { border-left: 0; }
  .metrics div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .section, .final { padding: 80px 0; }
  .head > p:not(.eyebrow) { font-size: 16.5px; }
  .bento { grid-template-columns: 1fr; margin-top: 40px; }
  .span-4, .span-3, .span-2 { grid-column: auto; }
  .card-text { padding: 24px 24px 0; }
  .crop { height: 230px; }
  .tall .crop { height: 300px; }
  .tall .crop img { width: 270px; }
  .case-tabs { margin-inline: -20px; width: auto; max-width: none; border-radius: 0; border-inline: 0; justify-content: flex-start; }
  .case-body { padding: 28px 24px; }
  .case-flow summary { padding: 14px 24px; }
  .flow { padding: 0 24px 28px; }
  .case { border-radius: 20px; }
  .case-photo { aspect-ratio: 3 / 2; }
  .case-photo img { object-position: 50% 30%; }
  .plan { padding: 28px 24px; }
  .price { font-size: 48px; }
  .final-card { padding: 56px 20px; border-radius: 24px; }
  .footer-links { margin-left: -10px; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
