@font-face {
  font-family: "STTK Display";
  src: url("media/sttk-display.woff") format("woff");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0020, U+002C, U+002D, U+002E, U+1D400-1D433, U+1D5D4-1D607;
}
@font-face {
  font-family: "STTK Myanmar";
  src: url("media/myanmar-Regular.woff") format("woff");
  font-weight: 400;
  unicode-range: U+1000-109F, U+A9E0-A9FF, U+AA60-AA7F, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "STTK Myanmar";
  src: url("media/myanmar-Bold.woff") format("woff");
  font-weight: 700;
  unicode-range: U+1000-109F, U+A9E0-A9FF, U+AA60-AA7F, U+200C-200D, U+25CC;
}
:root {
  font-family: Inter, "STTK Myanmar", system-ui, sans-serif;
  color: #142641;
  background: #f3f8fc;
  font-synthesis: none;
  --glass-rim: linear-gradient(132deg, #fff 1%, #acebfa 15%, #e6fbff 34%, #f6fcff 51%, #b8cbff 76%, #fff 99%);
  --glass-corners:
    radial-gradient(ellipse 86px 2px at 49px 1px, #fffffffb, transparent) padding-box,
    radial-gradient(ellipse 2px 58px at 1px 39px, #ffffffef, transparent) padding-box,
    radial-gradient(ellipse 130px 92px at left top, #b2eeffa8 6%, transparent 93%) padding-box,
    radial-gradient(ellipse 148px 94px at right bottom, #c1cfff96 7%, transparent 94%) padding-box;
  --glass-surface: linear-gradient(145deg, #fff, #f4f9ff);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #2357be; outline-offset: 4px; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse 790px 570px at 99% 13%, #dce9ff, transparent),
    radial-gradient(ellipse 730px 560px at 0% 44%, #e0f7ff, transparent),
    linear-gradient(173deg, #fbfdff, #f0f6fc 58%, #f7fbff);
}
h1, h2, h3, p, figure { margin: 0; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; }
img { display: block; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link { position: absolute; z-index: 2; top: 8px; left: 8px; padding: 8px 14px; border-radius: 8px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(1240px, calc(100% - 76px)); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 65px;
  margin-block: 17px 16px;
  padding: 8px 16px 8px 18px;
  border: 1px solid #fff;
  border-radius: 20px;
  --glass-surface: linear-gradient(153deg, #fff, #f8fbff);
  box-shadow: 0 10px 26px -15px #25589468, inset 0 0 0 1px #fffc;
}
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 19px; font-weight: 800; letter-spacing: -.025em; }
.brand img { border-radius: 10px; box-shadow: 0 3px 11px #246dcd41; }
.topbar nav { display: flex; gap: 26px; font-size: 14px; font-weight: 630; color: #465a75; }
.actions { display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 680; }
.languages { display: flex; align-items: center; padding: 3px; gap: 3px; border: 1px solid #dce8f7; border-radius: 11px; background: #eff4fa; color: #5a6d87; }
.languages > button { padding: 4px 8px; border: 0; border-radius: 8px; color: inherit; background: transparent; }
.languages button[aria-pressed="true"] { color: #2357be; background: #fff; box-shadow: 0 2px 4px #35578016; }
.login { white-space: nowrap; color: #344962; }
.topbar nav a:hover, .login:hover, .footer a:hover { color: #2357be; text-decoration: underline; text-underline-offset: 3px; }
.button { min-height: 47px; padding: 10px 17px; display: inline-flex; gap: 8px; align-items: center; justify-content: center; border-radius: 12px; font-size: 14px; font-weight: 720; white-space: nowrap; }
.button .icon { width: 16px; height: 16px; }
.topbar .button { min-height: 40px; font-size: 13px; padding-inline: 14px; }
.primary { color: #fff; border: 1px solid #2556c7; background: linear-gradient(135deg, #2867e4, #3d46c7); box-shadow: 0 7px 16px #335bdf35, inset 0 1px 1px #d6e5ff68; }
.secondary { color: #284972; border: 1px solid #e0eaf8; background: #ffffffc7; box-shadow: 0 3px 12px #5475a519, inset 0 1px 0 #fff; }
.primary:hover { background: linear-gradient(135deg, #1e57d5, #353bb4); }
.secondary:hover { background: #fff; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: clamp(21px, 2.6vw, 24px);
  padding: clamp(27px, 3.2vw, 37px) clamp(25px, 5vw, 66px) clamp(29px, 3.5vw, 45px);
  border: 1px solid #fffe;
  border-radius: 34px;
  --glass-surface: linear-gradient(150deg, #f5fcff, #e9f2ff);
  box-shadow: 0 28px 66px -40px #3a649a82, inset 0 0 0 1px #fff;
  overflow: hidden;
}
.hero::before {
  position: absolute;
  content: "";
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 230px 144px at 0% 0%, #adf0ffb5, transparent 90%),
    radial-gradient(ellipse 230px 170px at 100% 100%, #b9c6ff9e, transparent 88%),
    radial-gradient(ellipse 76% 56% at 50% 1%, #fff 10%, #f9fcffe0 47%, transparent),
    linear-gradient(180deg, #e7edff50, transparent 45%, #91d0ff18),
    url("media/water.webp") center 80% / cover;
}
.hero-ripple {
  position: absolute;
  z-index: -1;
  left: -20%;
  bottom: -24%;
  width: 142%;
  height: 54%;
  border-radius: 50% 47% 0 0;
  border-top: 2px solid #fff;
  background:
    radial-gradient(ellipse 34% 76% at 84% 0%, #a7a9f27a 5%, transparent 75%),
    radial-gradient(ellipse 41% 65% at 18% 0%, #a0ebf5b5 5%, transparent 80%),
    linear-gradient(171deg, #faffffbf, #91c4fa3b 45%, transparent 80%);
  box-shadow: 0 -7px 17px #f8feffcf, 0 -18px 40px #7baee934, inset 0 10px 23px #f8ffffa8;
  transform: translate3d(-6%, 5%, 0) rotate(-6deg);
  pointer-events: none;
  animation: hero-water-sweep 12s ease-in-out infinite;
}
.hero-ripple::before, .hero-ripple::after {
  position: absolute;
  content: "";
  inset: 21px 3% 0;
  border-top: 1px solid #f7ffffef;
  border-radius: inherit;
  box-shadow: 0 -5px 15px #c2e8ff83;
}
.hero-ripple::after { inset: 52px 7% 0; border-top-color: #ffffff9c; }
@keyframes hero-water-sweep {
  0%, 100% { transform: translate3d(-6%, 5%, 0) rotate(-6deg); opacity: .72; }
  50% { transform: translate3d(6%, -9%, 0) rotate(-1deg); opacity: 1; }
}
.hero-copy { min-width: 0; text-align: center; animation: hero-appear 540ms cubic-bezier(.19, 1, .26, 1) both; }
.hero h1 { color: #11243f; }
.hero-title-name, .hero-title-slogan {
  display: block;
  font: 400 clamp(41px, 6.4vw, 85px) / 1.04 "STTK Display", "STIX Two Text", Georgia, serif;
  letter-spacing: -.038em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.hero-title-slogan { margin-top: 7px; color: #2458b9; font-size: clamp(23px, 3.64vw, 47px); line-height: 1.14; letter-spacing: -.03em; }
@supports (background-clip: text) {
  .hero-title-slogan {
    background: linear-gradient(106deg, #143e9c, #1d61c7 54%, #5649b7);
    background-clip: text;
    color: transparent;
  }
}
.hero h1 small { display: block; margin: 13px auto 0; color: #385573; letter-spacing: .12em; font-size: 12px; line-height: 1.45; font-weight: 780; }
.hero-copy p { max-width: 845px; margin: 11px auto 0; font-size: 17px; line-height: 1.52; color: #344c6c; text-wrap: balance; }
.hero-subheadline-text { font-family: "STTK Display", Inter, "STTK Myanmar", system-ui, sans-serif; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; margin-top: 16px; }
@keyframes hero-appear {
  from { transform: translate3d(0, 12px, 0); opacity: .66; }
  to { transform: translate3d(0, 0, 0); opacity: 1; }
}
@keyframes showcase-appear {
  from { transform: translate3d(0, 23px, 0) scale(.982); opacity: .72; }
  to { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
}
.showcase {
  width: min(712px, 100%);
  min-width: 0;
  padding: 12px 12px 0;
  border: 1px solid #fff;
  border-radius: 27px;
  --glass-surface: linear-gradient(145deg, #fffffff1 8%, #f5fcffdd 47%, #e6f3ffda);
  box-shadow: 0 24px 48px -15px #2c528567, 0 6px 20px #4d6cab24,
    inset 0 0 0 1px #fff, inset 0 5px 15px #fffffff0;
  animation: showcase-appear 700ms cubic-bezier(.17, .83, .26, 1) 80ms both;
}
@supports (backdrop-filter: blur(8px)) {
  .showcase { backdrop-filter: blur(8px) saturate(116%); }
}
.showcase-greeting {
  display: flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 10px;
  padding: 3px 13px;
  border: 1px solid #fff;
  border-radius: 99px;
  background: linear-gradient(108deg, #fff, #f3f9ffbf 54%, #ebefffe3);
  box-shadow: inset 0 0 0 1px #d6e6f485;
}
.greeting-window { flex: 1 1 auto; min-width: 0; }
.greeting-track p { color: #294668; font-size: 13.5px; font-weight: 620; line-height: 1.65; }
.greeting-repeat { display: none; }
.showcase-greeting.is-running .greeting-window {
  overflow: hidden;
  mask-image: linear-gradient(to right, #000 calc(100% - 12px), transparent);
}
.showcase-greeting.is-running .greeting-track {
  display: flex;
  width: max-content;
  animation: greeting-scroll var(--greeting-duration, 32s) linear infinite;
}
.showcase-greeting.is-running .greeting-track p { flex: 0 0 auto; padding-inline-end: 44px; white-space: nowrap; }
.showcase-greeting.is-running .greeting-repeat { display: block; }
@keyframes greeting-scroll { to { transform: translate3d(-50%, 0, 0); } }
.showcase-greeting:not(.is-running) .greeting-track p {
  padding-block: 4px;
}
.showcase-image { position: relative; overflow: hidden; border-radius: 17px; border: 1px solid #f0f5ff; background: #1e2b35; aspect-ratio: 16 / 9; box-shadow: 0 4px 14px #1b325626; }
.showcase-image video { display: block; width: 100%; height: 100%; object-fit: contain; }
.play-button { position: absolute; display: grid; place-items: center; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; padding: 0; background: linear-gradient(145deg, #ffffffed, #d9edffda); color: #194da4; border: 1px solid #fff; border-radius: 50%; box-shadow: 0 7px 25px #020e226c, inset 0 2px 4px #fff; }
.play-button:hover { background: #fff; }
.play-button:active { transform: translate(-50%, -50%) scale(.94); }
.play-button:focus-visible { outline-color: #fff; }
.play-button::before, .play-button::after {
  position: absolute;
  content: "";
  inset: -2px;
  border: 2px solid #effbff;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  animation: play-ripple 2.35s cubic-bezier(.16, .7, .32, 1) .58s 3;
}
.play-button::after { animation-delay: .94s; border-width: 1px; }
@keyframes play-ripple {
  0% { transform: scale(1); opacity: .86; }
  80%, 100% { transform: scale(1.82); opacity: 0; }
}
.play-button .icon { width: 26px; height: 26px; margin-left: 3px; }
.play-path { fill: currentColor; }
.showcase figcaption { min-height: 49px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px; color: #1a365c; font-size: 14px; }
.showcase figcaption > span { display: flex; align-items: center; gap: 9px; }
.showcase figcaption .icon { color: #3168c7; width: 17px; height: 17px; }
.showcase time { color: #38587f; background: #f8fbffe3; border-radius: 8px; padding: 4px 8px; font-size: 12px; font-weight: 680; font-variant-numeric: tabular-nums; }
.showcase-error { padding: 0 11px 12px; color: #344962; font-size: 13px; }
.showcase-error a { color: #2357be; text-decoration: underline; }
.block { margin-top: clamp(39px, 5vw, 72px); scroll-margin-top: 20px; }
.block h2 { margin-bottom: 17px; font-size: clamp(29px, 3.5vw, 44px); line-height: 1.13; letter-spacing: -.052em; font-weight: 800; }
.tools-grid, .gallery { display: grid; gap: 14px; }
.tools-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tool-card {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  min-height: 162px;
  padding: 17px 18px 15px;
  border: 1px solid #fff;
  border-radius: 18px;
  --glass-surface: linear-gradient(145deg, #fff, #f6fbffed);
  box-shadow: 0 11px 26px -16px #37588969, inset 0 0 0 1px #fffd;
}
.tool-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid #fff; box-shadow: 0 2px 7px #30609614; }
.tool-icon .icon { width: 18px; height: 18px; }
.mint { background: #e2f9ee; color: #0c8061; }
.blue { background: #e5efff; color: #255fce; }
.teal { background: #e2f6fc; color: #1b7b9c; }
.orange { background: #fff0e3; color: #b3581f; }
.lilac { background: #eee9fe; color: #6347bb; }
.tool-card h3 { margin-top: 8px; color: #192f51; font-size: 16px; line-height: 1.25; font-weight: 780; letter-spacing: -.018em; }
.tool-card p { margin-top: 6px; color: #405875; font-size: 13.5px; line-height: 1.43; }
.tool-card .my-copy { margin-top: 6px; color: #426080; line-height: 1.66; }
html[lang="my"] .tool-card .en-copy { order: 1; }
.section-subtitle { margin: 0 0 14px; color: #365070; font-size: 19px; letter-spacing: -.018em; }
.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(14px, 2.2vw, 27px);
  padding: clamp(13px, 2.35vw, 28px);
  border: 1px solid #fff;
  border-radius: 28px;
  --glass-surface: linear-gradient(133deg, #fffffff0, #f0f8ff 55%, #edf2ff);
  box-shadow: 0 16px 35px -24px #31598d7a, inset 0 0 0 1px #ffffffe0;
}
.demo-viewer { min-width: 0; }
.demo-frame {
  overflow: hidden;
  aspect-ratio: 36 / 25;
  border: 1px solid #edf5ff;
  border-radius: 16px;
  background: #182532;
  box-shadow: 0 12px 26px -15px #223c69a8;
  scroll-margin-top: 16px;
}
.demo-frame.is-wide { aspect-ratio: 16 / 9; }
.demo-frame video { display: block; width: 100%; height: 100%; object-fit: contain; }
.demo-now { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 1px 3px; }
.demo-now-title { display: flex; align-items: center; gap: 9px; }
.demo-now-title .demo-choice-icon { width: 31px; height: 31px; border-radius: 9px; }
.demo-now-title .demo-choice-icon .icon { width: 17px; height: 17px; }
.demo-now h4 { margin: 0; color: #1a365c; font-size: 17px; }
.demo-now time, .demo-choice time { flex: 0 0 auto; color: #49617c; font-size: 12px; font-variant-numeric: tabular-nums; }
.demo-choices { position: relative; isolation: isolate; display: grid; gap: 8px; }
.demo-highlight {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: var(--highlight-height, 75px);
  transform: translate3d(0, var(--highlight-top, 0px), 0);
  border: 1px solid #91b6f5;
  border-radius: 14px;
  background: radial-gradient(ellipse 140px 96px at left top, #a8edffdf, transparent 94%), linear-gradient(106deg, #d4e6ff, #e0eaff 54%, #e8f9ff);
  box-shadow: inset 3px 0 #3277e8, inset 0 0 0 1px #fffd, 0 8px 19px -8px #3166bb83;
  pointer-events: none;
  transition: transform 480ms cubic-bezier(.18, .86, .23, 1), height 360ms ease-out;
}
.demo-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 75px;
  padding: 10px 13px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  --glass-surface: linear-gradient(145deg, #fff, #f6fbff);
}
.demo-choice:hover { --glass-surface: linear-gradient(132deg, #fafcff, #e9f6ff); }
.demo-choice[aria-current="true"] { --glass-surface: linear-gradient(132deg, #e4edff, #ecf9ff); }
.demo-choice[aria-current="true"] { box-shadow: inset 3px 0 #4981da; }
.demo-choices:has(.demo-highlight:not([hidden])) .demo-choice[aria-current="true"] {
  box-shadow: none;
}
.demo-choice > :is(span, time) { position: relative; z-index: 2; }
.demo-choice-icon { display: grid; flex: 0 0 auto; place-items: center; width: 43px; height: 43px; border-radius: 13px; border: 1px solid #fff; box-shadow: inset 0 2px 7px #ffffffc9, 0 4px 9px -5px #385d8c5c; }
.demo-choice-icon .icon { width: 22px; height: 22px; }
.demo-choice[aria-current="true"] .demo-choice-icon { border-color: #fffffff5; box-shadow: inset 0 2px 7px #fff, 0 0 0 1px #91bceb, 0 6px 14px -7px #2b60b0a3; }
.demo-choice-copy { flex: 1 1 auto; min-width: 0; }
.demo-choice-copy strong, .demo-choice-copy span { display: block; }
.demo-choice-copy strong { margin-bottom: 3px; color: #223d62; font-size: 15px; }
.demo-choice-copy span { color: #49617e; font-size: 13px; line-height: 1.45; }
.demo-chapters { display: flex; flex-wrap: wrap; gap: 5px 7px; margin: 8px 0 0; }
.demo-chapters button {
  display: flex;
  gap: 6px;
  padding: 6px 8px;
  color: #244b7b;
  font-size: 12px;
  font-weight: 650;
  border: 1px solid #c9dcf6;
  border-radius: 7px;
  background: #f7fbff;
}
.demo-chapters button:hover { background: #e4efff; }
.chapter-time { color: #516984; font-variant-numeric: tabular-nums; white-space: nowrap; }
.demo-error { margin-top: 9px; color: #344962; font-size: 13px; }
.demo-error a { color: #2357be; text-decoration: underline; }
.gallery-title { margin-top: clamp(30px, 4vw, 51px); }
.gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.shot-card { grid-column: span 2; border: 1px solid #fff; border-radius: 19px; --glass-surface: linear-gradient(142deg, #fff, #f4faff); box-shadow: 0 8px 24px -14px #37588968, inset 0 0 0 1px #fffe; }
.shot-card:nth-child(-n + 2) { grid-column: span 3; }
.shot-link { display: block; height: 100%; padding: 9px 9px 0; border-radius: 18px; }
.shot-link:hover { box-shadow: 0 6px 21px #2e4d8d26, inset 0 0 0 1px #acc7f4; }
.shot-viewport {
  display: grid;
  place-items: center;
  aspect-ratio: 2048 / 1160;
  background: linear-gradient(140deg, #eef4fc, #e8f3fc);
  border: 1px solid #dce8f5;
  border-radius: 12px;
  overflow: hidden;
}
.shot-viewport img { width: 100%; height: 100%; object-fit: contain; }
.shot-caption { display: flex; align-items: center; gap: 9px; min-height: 64px; padding: 10px 8px 12px; }
.shot-caption .demo-choice-icon { width: 34px; height: 34px; border-radius: 10px; }
.shot-caption .demo-choice-icon .icon { width: 17px; height: 17px; }
.shot-caption-copy { min-width: 0; }
.shot-card strong { color: #1b3456; display: block; font-size: 15px; }
.shot-caption-copy > span { display: block; margin-top: 2px; color: #4a6281; font-size: 12px; }
.about-card, .legal-main {
  min-width: 0;
  padding: clamp(21px, 3.4vw, 39px);
  border: 1px solid #fff;
  border-radius: 24px;
  --glass-surface: linear-gradient(141deg, #fff, #f0f8ff);
  box-shadow: 0 12px 29px -20px #385b8f70, inset 0 0 0 1px #fff;
}
.about-panel { display: grid; grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr); gap: clamp(13px, 2vw, 22px); }
.about-stack { display: grid; gap: clamp(13px, 2vw, 22px); }
.about-logo { border-radius: 14px; box-shadow: 0 9px 18px #315cd534, 0 0 0 1px #fff; margin-bottom: 19px; }
.about-panel h3 { margin-bottom: 9px; font-size: 21px; color: #172f51; }
.about-panel p, .legal-main p { color: #405875; line-height: 1.71; }
.about-panel p { max-width: 64ch; font-size: 15.5px; }
.about-story .about-detail { margin-top: 17px; }
.about-demo { margin-top: 21px; max-width: 100%; white-space: normal; }
.about-links { display: flex; flex-wrap: wrap; gap: 7px 18px; margin-top: 13px; }
#contact { scroll-margin-top: 20px; }
.contact-email, .legal-main a { color: #2357be; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact-email { font-weight: 660; }
.legal-main { min-height: 55vh; }
.legal-main h1 { margin: 14px 0 10px; font-size: 36px; letter-spacing: -.035em; }
.legal-main h2 { margin: 18px 0 5px; font-size: 21px; }
.legal-main p { max-width: 66ch; margin-top: 6px; }
.footer { display: flex; align-items: center; justify-content: space-between; margin-block: 35px 0; padding-block: 17px 23px; border-top: 1px solid #d3e2f4; font-size: 13px; color: #4d6482; }
.footer .brand { color: #253f64; font-size: 14px; }
.footer nav { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; }
.studio-dialog {
  width: min(1120px, calc(100% - 30px));
  max-height: 92vh;
  padding: 0 10px 10px;
  overflow: auto;
  border-radius: 23px;
  border: 1px solid #ffffffed;
  --glass-surface: linear-gradient(145deg, #f9fdff, #e3efff);
  color: #142641;
  box-shadow: 0 24px 63px #23446d47, 0 0 0 1px #b7d3f0, 0 0 25px #e4f5ff;
}
.studio-dialog::backdrop {
  background: #d5e4f5a6;
  backdrop-filter: blur(9px) saturate(90%);
  animation: studio-backdrop-in 350ms ease-out;
}
@keyframes studio-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
.studio-dialog header { display: flex; padding: 12px 16px; align-items: center; justify-content: space-between; gap: 10px; }
.studio-dialog h2 { font-size: 18px; }
.studio-dialog img { width: 100%; height: auto; aspect-ratio: 2048 / 1160; max-height: calc(92vh - 76px); object-fit: contain; border-radius: 12px; }
.close-button { display: grid; place-items: center; padding: 7px; border: 1px solid #c9daef; border-radius: 8px; background: #fff; color: #253f64; }
:is(.topbar, .hero, .showcase, .tool-card, .demo-layout, .demo-choice, .shot-card, .about-card, .legal-main, .studio-dialog) {
  border-color: transparent;
  background: var(--glass-corners), var(--glass-surface) padding-box, var(--glass-rim) border-box;
}
html[lang="my"] :is(.hero-copy p, .about-panel p, .legal-main p) { line-height: 1.85; }
html[lang="my"] :is(.block h2, .legal-main h1) { letter-spacing: 0; line-height: 1.45; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .shot-link { transition: box-shadow 200ms ease-out; }
}
@media (max-width: 1000px) {
  .shell { width: calc(100% - 44px); }
  .topbar nav { gap: 12px; }
  .actions { gap: 10px; }
  .hero { padding-inline: 30px; }
  .tools-grid, .gallery { gap: 11px; }
  .tool-card { padding: 14px; }
}
@media (max-width: 720px) {
  .greeting-track p { font-size: 12px; }
  .shell { width: calc(100% - 32px); }
  .topbar { display: grid; grid-template-columns: auto minmax(0, 1fr); padding: 10px 12px; gap: 9px; }
  .topbar nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; padding: 7px 2px 2px; border-top: 1px solid #e1ecf8; flex-wrap: wrap; }
  .topbar .actions { justify-content: flex-end; flex-wrap: wrap; }
  .hero { padding: 30px 20px 22px; border-radius: 26px; }
  .hero-title-name { font-size: clamp(37px, 8.1vw, 60px); }
  .hero-title-slogan { font-size: clamp(22px, 5vw, 34px); }
  .tools-grid, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .shot-card, .shot-card:nth-child(-n + 2) { grid-column: auto; }
  .demo-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .about-panel { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .shell { width: calc(100% - 26px); }
  .topbar { padding-inline: 10px; }
  .topbar .brand { font-size: 15px; gap: 5px; }
  .topbar .brand img { width: 30px; height: 30px; }
  .topbar .actions { gap: 6px; font-size: 12px; }
  .languages > button { padding-inline: 4px; }
  .topbar .button { min-height: 34px; padding-inline: 7px; font-size: 12px; }
  .topbar .button .icon { display: none; }
  .hero { padding: 25px 13px 17px; gap: 19px; }
  .hero-title-name { font-size: clamp(33px, 9.8vw, 43px); }
  .hero-title-slogan { font-size: clamp(21px, 5.9vw, 27px); }
  .hero h1 small { margin-top: 10px; font-size: 11px; }
  .hero-ripple { bottom: -19%; height: 43%; animation-duration: 16s; }
  .hero-ripple::after { inset-block-start: 34px; }
  .hero-copy p { margin-top: 12px; font-size: 15px; }
  .hero-actions { margin-top: 16px; }
  .showcase { padding: 7px 7px 0; border-radius: 18px; }
  .showcase-greeting { margin-bottom: 7px; padding-inline: 8px; }
  .showcase-image { border-radius: 11px; }
  .play-button { width: 53px; height: 53px; }
  .hero-actions .button { font-size: 13px; padding-inline: 10px; }
  .tool-card h3 { font-size: 15px; }
  .tool-card .en-copy, .tool-card .my-copy { font-size: 13px; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .demo-choice { min-height: 64px; padding: 9px 10px; gap: 9px; }
  .demo-choice-icon { width: 38px; height: 38px; border-radius: 11px; }
  .demo-choice-icon .icon { width: 20px; height: 20px; }
  .about-card { padding: 20px; border-radius: 20px; }
  .about-panel p { font-size: 15px; }
  .footer { align-items: flex-start; flex-direction: column; gap: 13px; }
}
@media (max-width: 380px) {
  .topbar { gap: 7px; padding-inline: 8px; }
  .topbar .brand { font-size: 14px; gap: 4px; }
  .topbar .brand img { width: 27px; height: 27px; }
  .topbar .actions { flex-wrap: nowrap; gap: 5px; font-size: 11px; }
  .topbar .button { min-height: 34px; padding-inline: 5px; font-size: 11px; }
  .topbar nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 5px; font-size: 12px; }
  .topbar nav a { min-width: 0; text-align: center; overflow-wrap: anywhere; }
  html[lang="my"] .topbar nav { font-size: 11.5px; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { min-height: 44px; padding-inline: 8px; gap: 5px; font-size: 12px; }
  .hero-actions .button .icon { width: 13px; height: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .showcase,
  .hero-ripple,
  .play-button::before,
  .play-button::after,
  .showcase-greeting.is-running .greeting-track,
  .studio-dialog::backdrop {
    animation: none;
  }
  .demo-highlight { transition: none; }
}
