:root {
  --navy: #0b2545;
  --blue: #1565c0;
  --blue-soft: #e8f1fc;
  --ink: #13233a;
  --muted: #5b6b80;
  --line: #dbe5f1;
  --bg: #ffffff;
  --green: #2e9e5b;
  --yellow: #e0a800;
  --red: #d64545;
  --radius: 16px;
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; gap: 10px; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--navy); }
.brand:hover { text-decoration: none; }
nav.top { display: flex; align-items: center; }
nav.top a { color: var(--muted); font-size: 15px; margin-left: 22px; }
nav.top a:hover { color: var(--navy); text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--blue-soft) 0%, #ffffff 100%);
  padding: 72px 0 56px;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.hero h1 { font-size: 48px; line-height: 1.1; letter-spacing: -0.02em; color: var(--navy); margin-bottom: 18px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 520px; margin-bottom: 28px; }

.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; border-radius: 12px;
  padding: 10px 20px 10px 16px; min-height: 54px;
}
.store-btn:hover { text-decoration: none; opacity: .88; }
.store-btn svg { width: 26px; height: 26px; fill: #fff; }
.store-btn small { display: block; font-size: 11px; line-height: 1.1; opacity: .85; }
.store-btn strong { display: block; font-size: 20px; line-height: 1.15; font-weight: 600; }
.store-btn.soon { background: var(--navy); cursor: default; }
.store-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* Phone mock — light-mode recreation of the app, auto-sliding */
.phone {
  width: 300px; margin: 0 auto; background: #0d1b2e; border-radius: 46px; padding: 11px;
  box-shadow: 0 30px 60px rgba(11,37,69,.22), 0 8px 18px rgba(11,37,69,.12);
}
.screen { position: relative; background: #f2f4f8; border-radius: 36px; overflow: hidden; height: 600px; display: flex; flex-direction: column; font-size: 12px; color: #13233a; }
.app-top { background: #2f5fc9; color: #fff; padding: 12px 14px 12px; }
.sbar { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; padding: 0 8px 10px; }
.sbar svg { width: 54px; height: 12px; fill: #fff; }
.app-id { display: flex; align-items: center; gap: 9px; }
.app-id img { width: 38px; height: 38px; border-radius: 10px; border: 2px solid rgba(255,255,255,.85); }
.app-id .nm { flex: 1; min-width: 0; }
.app-id b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-id .nm > span { display: block; font-size: 11px; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-id span em { font-style: normal; color: #ffb4a8; }
.circ { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; flex: none; font-weight: 700; font-size: 13px; }
.circ svg { width: 15px; height: 15px; fill: #fff; }
.viewport { flex: 1; overflow: hidden; position: relative; }
.track { display: flex; height: 100%; transition: transform 1.1s cubic-bezier(.65,0,.35,1); will-change: transform; }
.slide { flex: 0 0 100%; padding: 12px 12px 80px; overflow: hidden; }
.slide h4 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin: 2px 2px 10px; color: #0b1a30; }
.box { background: #fff; border-radius: 16px; padding: 11px 12px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(15,35,70,.06); }
.hero-card { background: linear-gradient(135deg,#3b6fd8,#2552b8); color: #fff; border-radius: 18px; padding: 12px 13px; margin-bottom: 8px; position: relative; }
.hero-card .g { font-weight: 800; font-size: 14px; line-height: 1.2; margin-bottom: 6px; }
.hero-card .l { font-size: 11px; margin: 3px 0; display: flex; gap: 6px; align-items: center; }
.hero-card .pills { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.hero-card .pills span { background: rgba(10,30,80,.35); border-radius: 99px; padding: 2px 8px; font-size: 10px; font-weight: 600; }
.hero-card .v { font-size: 20px; font-weight: 900; margin-top: 8px; letter-spacing: -.01em; }
.row { display: flex; align-items: center; gap: 8px; }
.row .sp { flex: 1; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.c-eng { background: #c06a1f; } .c-deck { background: #2f5fc9; } .c-int { background: #8a4fd0; } .c-port { background: #3aa76d; } .c-grey { background: #9aa5b5; }
.t-eng { color: #c06a1f; } .t-deck { color: #2f5fc9; } .t-int { color: #8a4fd0; }
.muted { color: #7a8799; }
.chev { color: #9aa5b5; font-size: 11px; }
.prog { height: 4px; border-radius: 3px; background: #e3e8f0; margin: 8px 0 6px; overflow: hidden; }
.prog i { display: block; height: 100%; width: 28%; background: #2f5fc9; }
.link { color: #2f5fc9; font-weight: 600; }
.badge { display: inline-flex; align-items: center; gap: 4px; border-radius: 99px; padding: 2px 7px; font-size: 10px; font-weight: 700; flex: none; }
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.b-red { background: #fde8e6; color: #d23f31; } .b-yel { background: #fdf3d7; color: #b58300; } .b-grn { background: #e3f5ea; color: #23864f; }
.crit { position: relative; overflow: hidden; padding-top: 14px; }
.crit::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #e0503f; }
.cnt { background: #e0503f; color: #fff; border-radius: 99px; padding: 0 7px; font-size: 11px; font-weight: 700; }
.li { padding: 8px 0; border-bottom: 1px solid #edf0f5; }
.li:last-of-type { border-bottom: none; }
.li b { font-size: 12px; display: block; font-weight: 600; }
.li small { font-size: 10px; display: flex; align-items: center; gap: 4px; }
.li small .sq { width: 7px; height: 7px; border-radius: 2px; }
.qty { font-size: 11px; color: #5b6b80; white-space: nowrap; }
.cal-h { text-align: center; font-weight: 700; font-size: 14px; margin-bottom: 6px; display: flex; justify-content: space-between; color: #0b1a30; }
.cal-h span { color: #2f5fc9; }
.cal { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; text-align: center; }
.cal .w { font-size: 9px; color: #7a8799; padding-bottom: 2px; }
.cal .d { background: #f2f4f8; border-radius: 7px; height: 34px; font-size: 11px; font-weight: 600; padding-top: 3px; position: relative; }
.cal .d.e { background: transparent; }
.cal .d i { position: absolute; left: 50%; transform: translateX(-50%); bottom: 12px; width: 5px; height: 5px; border-radius: 50%; }
.cal .d small { position: absolute; left: 0; right: 0; bottom: 2px; font-size: 7.5px; font-weight: 700; color: #2f5fc9; }
.cal .d.today { background: #2f5fc9; color: #fff; } .cal .d.today small { color: #fff; }
.cal .d.k-man { background: #fbeee2; } .cal .d.k-port { background: #e4f4ea; } .cal .d.k-gst { background: #efe6fa; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 10px; color: #5b6b80; margin: 8px 2px; }
.legend span { display: inline-flex; align-items: center; gap: 4px; }
.ev { display: flex; gap: 8px; align-items: center; }
.ev .ico { width: 26px; height: 26px; border-radius: 8px; background: #2f5fc9; display: grid; place-items: center; color: #fff; font-size: 13px; }
.tabbar {
  position: absolute; left: 10px; right: 10px; bottom: 14px; height: 54px; border-radius: 28px;
  background: rgba(255,255,255,.96); box-shadow: 0 6px 20px rgba(15,35,70,.16); display: flex; align-items: center; padding: 0 4px; z-index: 2;
}
.tabbar div { flex: 1; text-align: center; font-size: 9px; color: #3a4658; font-weight: 600; border-radius: 22px; padding: 5px 0 4px; transition: background .5s, color .5s; }
.tabbar div svg { width: 18px; height: 18px; display: block; margin: 0 auto 2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tabbar div.on { background: #e6edfb; color: #2f5fc9; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.dots button { border: none; background: #c9d6ea; height: 8px; width: 8px; border-radius: 99px; cursor: pointer; padding: 0; transition: width .4s, background .4s; }
.dots button.on { width: 24px; background: var(--blue); }
.phone-cap { text-align: center; font-size: 13px; color: var(--muted); margin-top: 8px; min-height: 20px; }

/* Language switch */
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 2px; margin-left: 20px; background: #fff; }
.lang button { border: none; background: none; font: inherit; font-size: 12px; font-weight: 600; color: var(--muted); padding: 4px 9px; border-radius: 99px; cursor: pointer; }
.lang button.on { background: var(--navy); color: #fff; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
[hidden] { display: none !important; }

/* Sections */
section { padding: 72px 0; }
section h2 { font-size: 34px; letter-spacing: -0.015em; color: var(--navy); margin-bottom: 12px; }
section p.sub { color: var(--muted); font-size: 17px; max-width: 640px; margin-bottom: 40px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); display: grid; place-items: center; margin-bottom: 16px; }
.card .ic svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15px; }

.depts { background: var(--navy); color: #fff; }
.depts h2 { color: #fff; }
.depts p.sub { color: #b8c7dc; }
.depts .grid .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.depts .card h3 { color: #fff; }
.depts .card p { color: #b8c7dc; }
.depts .card .roles { margin-top: 12px; font-size: 13px; color: #8fb3e6; }

.cta { text-align: center; }
.cta p.sub { margin-left: auto; margin-right: auto; }

/* Legal / text pages */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: 38px; color: var(--navy); letter-spacing: -0.015em; margin-bottom: 6px; }
.doc .meta { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.doc h2 { font-size: 22px; color: var(--navy); margin: 36px 0 10px; }
.doc h3 { font-size: 17px; color: var(--navy); margin: 22px 0 6px; }
.doc p, .doc li { font-size: 16px; color: #2a3a50; }
.doc p { margin-bottom: 12px; }
.doc ul { padding-left: 22px; margin-bottom: 12px; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { background: var(--blue-soft); color: var(--navy); font-weight: 600; }
.callout { background: var(--blue-soft); border-radius: 12px; padding: 16px 18px; margin: 18px 0; font-size: 15px; }
.lang-switch { font-size: 14px; margin-bottom: 26px; }
.lang-switch a { margin-right: 14px; }

details.faq { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
details.faq summary { font-weight: 600; color: var(--navy); cursor: pointer; }
details.faq p { margin: 10px 0 0; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 30px 0; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer.site a { color: var(--muted); margin-left: 18px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .grid { grid-template-columns: 1fr; }
  nav.top a:not(.keep) { display: none; }
  .lang { margin-left: 10px; }
}

/* Wide "new feature" card */
.card.wide { grid-column: 1 / -1; display: flex; gap: 22px; align-items: flex-start; border-color: #b9cdee; background: #f6f9fe; }
.card.wide .ic { flex: none; margin-bottom: 0; }
.card.wide h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.new { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--blue); border-radius: 99px; padding: 3px 10px; }
.ticks { list-style: none; margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 20px; }
.ticks li { position: relative; padding-left: 24px; font-size: 14px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 8px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
@media (max-width: 860px) { .card.wide { flex-direction: column; } .ticks { grid-template-columns: 1fr; } }
.cards-row { display: flex; gap: 6px; margin: 0 0 8px; overflow: hidden; }
.cards-row span { font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: #fff; color: #3a4658; border: 1px solid #dbe5f1; white-space: nowrap; }
.cards-row span.on { background: #2f5fc9; color: #fff; border-color: #2f5fc9; }
