@font-face {
  font-family: Inter;
  src: url('/assets/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('/assets/inter-vietnamese-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9;
}
:root {
  color-scheme: light;
  --base: #e0e5ec;
  --panel: #e5eaf0;
  --text: #243c38;
  --muted: #485d60;
  --accent: #044f3e;
  --gold: #f1d5a4;
  --focus: #006b59;
  --edge: #fff9;
  --raised: 7px 8px 19px #bec6d1, -7px -7px 16px #f7fbff;
  --button: 3px 4px 8px #c3cbd5, -3px -3px 8px #f7fbff;
  --inset: inset 3px 3px 8px #c6cfd8, inset -3px -3px 8px #f7fbff;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --base: #232b30;
  --panel: #2c363a;
  --text: #edf2ed;
  --muted: #b4c3c3;
  --accent: #a3e5cd;
  --focus: #99e6c9;
  --edge: #ffffff1c;
  --raised: 8px 9px 20px #172023, -6px -6px 15px #39454c;
  --button: 4px 4px 8px #1c2528, -3px -3px 9px #3e4a4f;
  --inset: inset 3px 3px 8px #1a2426, inset -3px -3px 8px #3a484f;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-width: 0;
  background: var(--base);
  color: var(--text);
  font: 400 1rem/1.5 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
svg {
  width: 1.2em;
  height: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}
.shell {
  margin-inline: auto;
  width: min(100%, 1420px);
  padding: max(17px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}
.top, .footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.top { margin-bottom: clamp(17px, 3.2vw, 40px); }
.brand { display: flex; align-items: center; min-width: 0; gap: 12px; }
.brand img { width: 50px; height: 50px; border-radius: 15px; box-shadow: var(--button); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.22rem; letter-spacing: -.035em; line-height: 1.25; }
.brand small { color: var(--muted); font-size: .76rem; margin-top: 3px; }
.toolbar { display: flex; align-items: center; gap: 10px; flex: none; }
.tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 14px;
  border: 1px solid var(--edge);
  background: var(--panel);
  box-shadow: var(--button);
}
.tool:hover { color: var(--accent); }
.tool:active { box-shadow: var(--inset); }
.install { width: auto; gap: 8px; padding-inline: 13px; font-size: .82rem; font-weight: 690; color: var(--accent); }
.sun, [data-theme="dark"] .moon { display: none; }
[data-theme="dark"] .sun { display: block; }
.experiences { display: grid; grid-template-columns: minmax(0, 1.66fr) minmax(0, 1fr); gap: clamp(15px, 2vw, 28px); }
.feature, .entry { position: relative; box-shadow: var(--raised); isolation: isolate; overflow: hidden; }
.feature {
  min-height: clamp(435px, 44vw, 660px);
  display: flex;
  align-items: flex-end;
  border-radius: 30px;
  background: #15352e;
  color: #fff;
}
.feature-image, .feature::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature-image { object-fit: cover; object-position: 52% center; }
.feature::after {
  content: "";
  background: linear-gradient(0deg, #0b211cf5 1%, #0b211cca 30%, #0b211c00 74%);
  pointer-events: none;
}
.feature-copy { z-index: 1; padding: clamp(22px, 4.2vw, 60px); max-width: 570px; }
.feature h1 { font-size: clamp(43px, 6.3vw, 92px); font-weight: 790; letter-spacing: -.056em; line-height: 1.03; }
.feature p { max-width: 36ch; color: #f1f4ec; margin-top: 14px; font-size: clamp(.9rem, 1.4vw, 1.06rem); }
.side { min-width: 0; display: grid; grid-template-rows: repeat(3, 1fr); gap: clamp(15px, 2vw, 28px); }
.entry {
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: start;
  align-content: start;
  gap: clamp(8px, 1vw, 14px);
  border: 1px solid var(--edge);
  border-radius: 26px;
  background: var(--panel);
  padding: clamp(16px, 2vw, 28px);
}
.entry-copy { min-width: 0; align-self: end; }
.entry h2 { font-size: clamp(20px, 2.4vw, 34px); font-weight: 750; letter-spacing: -.045em; line-height: 1.12; }
.entry p { color: var(--muted); max-width: 35ch; font-size: clamp(.83rem, 1.25vw, .97rem); margin-top: 8px; line-height: 1.55; }
.entry-icon, .entry-arrow { display: grid; place-items: center; flex: none; color: var(--accent); }
.entry-icon { width: 50px; height: 50px; font-size: 1.25rem; border-radius: 15px; box-shadow: var(--inset); background: var(--base); }
.entry-arrow { position: absolute; right: clamp(16px, 2vw, 28px); top: clamp(16px, 2vw, 28px); width: 42px; height: 42px; border-radius: 13px; box-shadow: var(--button); background: var(--panel); }
.model-preview { position: absolute; right: 24%; top: clamp(16px, 2vw, 28px); width: min(34%, 140px); height: 50px; object-fit: cover; object-position: 57% 37%; border-radius: 11px; opacity: .95; }
.entry-finance { background: linear-gradient(135deg, var(--panel), var(--base)); }
.entry:hover .entry-arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: no-preference) {
  .entry-arrow { transition: transform .16s ease-out; }
}
.footer { margin-top: clamp(23px, 4vw, 48px); padding-block: 2px; gap: 12px 24px; }
.footer img { width: 168px; height: auto; }
.footer p { color: var(--muted); font-size: .82rem; text-align: right; }
.notice { padding: 10px 13px; margin-bottom: 16px; color: var(--text); border-radius: 12px; box-shadow: var(--inset); font-size: .86rem; }
.toast { position: fixed; z-index: 2; bottom: max(18px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); background: #123c33; color: #fff; padding: 10px 16px; border-radius: 13px; width: max-content; max-width: calc(100% - 32px); text-align: center; font-size: .85rem; }
dialog { background: var(--panel); color: var(--text); width: min(430px, calc(100% - 34px)); border: 1px solid var(--edge); border-radius: 20px; padding: 20px; }
dialog::backdrop { background: #0b1e2394; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.dialog-head h2 { font-size: 1.22rem; }
dialog p, dialog label { color: var(--muted); font-size: .92rem; }
dialog label { display: block; margin-top: 14px; }
dialog input { display: block; width: 100%; margin-top: 6px; padding: 8px; font: inherit; }
@media (max-width: 919px) {
  .experiences { grid-template-columns: minmax(0, 1fr); }
  .feature { min-height: clamp(347px, 58vw, 480px); }
  .feature h1 { font-size: clamp(46px, 9vw, 75px); }
  .side { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; }
  .model-preview { display: none; }
}
@media (max-width: 560px) {
  .top { gap: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 43px; height: 43px; border-radius: 12px; }
  .brand strong { font-size: 1.1rem; }
  .brand small { font-size: .69rem; }
  .toolbar { gap: 7px; }
  .tool, .install { width: 44px; padding: 0; }
  .install span { display: none; }
  .feature { min-height: clamp(301px, 81vw, 390px); border-radius: 23px; }
  .feature-image { object-position: 46% center; }
  .feature h1 { font-size: clamp(40px, 11vw, 62px); }
  .feature p { margin-top: 9px; font-size: .86rem; }
  .feature-copy { padding: 19px; }
  .side { grid-template-columns: minmax(0, 1fr); }
  .entry { grid-template-columns: 44px minmax(0, 1fr) 34px; grid-template-rows: auto; align-items: center; border-radius: 21px; padding: 14px 12px; gap: 11px; min-height: 100px; }
  .entry-copy { align-self: center; }
  .entry-icon { width: 44px; height: 44px; border-radius: 12px; font-size: 1.05rem; }
  .entry-arrow { position: static; width: 34px; height: 34px; border-radius: 10px; }
  .entry h2 { font-size: 1.1rem; letter-spacing: -.025em; }
  .entry p { font-size: .77rem; margin-top: 4px; line-height: 1.45; }
  .footer { gap: 12px; flex-wrap: wrap; }
  .footer img { width: 142px; }
  .footer p { text-align: left; font-size: .75rem; }
}
@media (max-width: 375px) {
  .shell { padding-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right)); }
  .brand small { font-size: .63rem; }
  .toolbar { gap: 5px; }
}
