/* App submission page; the homepage preview keeps its existing site font. */
@font-face {
  font-family: "Phetsarath OT";
  src: url("/assets/fonts/phetsarath-ot.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.as-page { font-family: "Phetsarath OT", sans-serif; line-height: 1.85; }
.as-page h1, .as-page h2, .as-page h3 { line-height: 1.6; }
.as-page .container { max-width: 1140px; }
/* Use the existing service header dimensions, logo and site typography. */
.as-page .dm-header { font-family: "Noto Sans Lao", "Phetsarath OT", system-ui, sans-serif; line-height: 1.8; }
.as-page .dm-header .container { max-width: 1200px; }
.as-page .skip-link { color: var(--navy-950); top: 12px; transform: translateY(-150%); }
.as-page .skip-link:focus { transform: translateY(0); }
.as-hero { padding-block: 1.2rem 3.5rem; background: radial-gradient(ellipse at 95% 10%, #2e9be622, transparent 55%), var(--navy-950); }
.as-intro { margin-block: 1rem 2rem; }
.as-intro .dm-eyebrow { margin-bottom: .45rem; }
.as-intro h1 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.as-intro h1 span { display: block; color: #8bcfff; font-size: .82em; }
.as-intro > p:last-child { margin-top: .8rem; font-size: 1.05rem; }
.as-packages-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .4rem 1.5rem; margin-bottom: 1rem; }
.as-packages-heading h2 { font-size: 1.1rem; }
.as-download-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.as-packages-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.as-package { display: flex; flex-direction: column; min-width: 0; padding: clamp(1.2rem, 2.6vw, 1.8rem); border: 1px solid #d7e3f2; border-radius: 16px; background: #f6f9fe; color: #43566e; }
.as-package h3 { color: var(--navy-900); font-size: 1.4rem; margin-top: .65rem; }
.as-platform { display: flex; justify-content: space-between; align-items: center; gap: .5rem; min-height: 32px; color: #245899; font-size: .85rem; }
.as-platform svg { width: 28px; height: 28px; flex: none; }
.as-package .as-from { margin-top: 1.1rem; font-size: .85rem; }
.as-price { color: var(--navy-900); line-height: 1.35; }
.as-price data { font-size: clamp(2.1rem, 3.4vw, 2.85rem); font-weight: 700; white-space: nowrap; }
.as-price-unit { font-size: .85rem; margin-bottom: 1.4rem; }
.as-page .as-package .btn { width: 100%; margin-top: auto; padding-inline: .6rem; }
.as-page .as-btn-blue { color: #fff; background: var(--blue); border: 1px solid var(--blue); box-shadow: none; }
.as-page .as-btn-blue:hover { background: #153ba8; border-color: #153ba8; }
.as-page .as-package :focus-visible { outline-color: #1857bc; }
.as-package-featured { background: var(--navy-800); border-color: var(--cyan); box-shadow: inset 0 3px 0 var(--cyan); color: #ccdbef; }
.as-package-featured h3, .as-package-featured .as-price { color: #fff; }
.as-package-featured .as-platform { color: #9ed7ff; }
.as-page .as-package-featured :focus-visible { outline-color: var(--gold-300); }
.as-packages-note { font-size: .88rem; margin-top: 1.1rem; }
.as-packages-note strong { color: var(--ink); }
.as-section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.as-custom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.4rem; padding: 1.5rem 1.7rem; background: #e4effc; border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; }
.as-custom h2 { font-size: 1.4rem; }
.as-custom strong { display: block; color: #174d95; margin-block: .35rem; }
.as-custom p { font-size: .92rem; }
.as-page .as-custom .btn { color: var(--navy-900); border-color: #5076a1; }
.as-scope { margin-top: 2.4rem; }
.as-scope h2, .as-extras h2 { font-size: 1.55rem; margin-bottom: 1.2rem; }
.as-inclusions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.as-inclusions li { border-top: 1px solid #b6cee7; padding-top: 1rem; }
.as-inclusions span { display: block; color: #2055ac; font-size: .88rem; margin-bottom: .35rem; }
.as-inclusions h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.as-inclusions p { font-size: .95rem; }
.as-extras { margin-top: 2.3rem; padding-top: 2rem; border-top: 1px solid #becfe2; }
.as-extra-row { display: flex; justify-content: space-between; gap: .5rem 2rem; padding-block: .75rem; border-bottom: 1px solid #d7e1ed; }
.as-extra-row dt { color: #102b4c; }
.as-extra-row dd { color: #174d95; white-space: nowrap; font-weight: 700; }
.as-extra-note { font-size: .88rem; margin-top: .8rem; }
.as-page .dm-download { margin-top: 2.4rem; }
.as-page .dm-download p { font-size: .92rem; }
.as-page .dm-download .btn { color: var(--navy-900); }
.as-faq { padding-top: 0; }
.as-page .dm-faq-grid { grid-template-columns: .7fr 1.3fr; gap: 3rem; }
.as-page .dm-faq-grid h2 { font-size: 1.7rem; }
.as-page .dm-faq-list summary { font-size: 1rem; }
.as-page .dm-faq-list details p { font-size: .96rem; }
.as-contact-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; }
.as-contact-inner h2 { font-size: 1.8rem; margin-bottom: .5rem; }
.as-contact-inner p { max-width: 50ch; }
.as-contact-actions { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.as-contact-actions > a:last-child { display: inline-flex; align-items: center; min-height: 44px; }
.as-page .dm-footer a, .as-page .dm-footer p { font-size: .9rem; }

/* Compact entry after the developer account feature on the homepage. */
.alanh-home .as-preview { padding-block: 0 2.5rem; }
.as-preview-panel { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; padding: 1.5rem 1.8rem; border: 1px solid #426a96; border-left: 4px solid var(--cyan); border-radius: 12px; background: var(--navy-800); }
.as-preview h2 { font-size: 1.2rem; }
.as-preview p { font-size: .88rem; margin-top: .4rem; color: #c0cee1; }
.as-preview strong { color: #9ed7ff; }
.as-preview .btn { flex: none; min-height: 48px; color: var(--ink); border-color: #7b91b0; text-align: center; }
@media (max-width: 900px) {
  .as-custom { grid-template-columns: minmax(0, 1fr); }
  .as-custom .btn { justify-self: start; }
  .as-package { padding: 1.1rem; }
  .as-package h3 { font-size: 1.2rem; }
  .as-price data { font-size: 2.15rem; }
  .as-page .as-package .btn { font-size: .88rem; }
  .as-preview-panel { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .as-intro { margin-top: .7rem; }
  .as-hero { padding-bottom: 2.5rem; }
  .as-packages-grid, .as-inclusions, .as-page .dm-faq-grid { grid-template-columns: minmax(0, 1fr); }
  .as-package { padding: 1.4rem; }
  .as-package h3 { font-size: 1.4rem; margin-top: .2rem; }
  .as-package .as-from { margin-top: .7rem; }
  .as-price data { font-size: 2.65rem; }
  .as-price-unit { margin-bottom: 1rem; }
  .as-custom { padding: 1.25rem; }
  .as-inclusions { gap: 1.1rem; }
  .as-extra-row { flex-direction: column; }
  .as-extra-row dd { white-space: normal; }
  .as-page .dm-faq-grid { gap: 1.4rem; }
  .as-contact-actions, .as-contact-actions .btn { width: 100%; }
  .as-preview-panel { padding: 1.3rem; }
  .as-preview .btn { width: 100%; }
}
