:root {
  --navy: #0c1c2c;
  --text: #152c40;
  --muted: #495f6e;
  --line: #cfdbe3;
  --gold: #f0cd85;
  --gold-deep: #775523;
  --surface: #fff;
  --light: #f7faff;
  --paper: #f7f8f7;
  --band: #eaf0f3;
  font: 16px "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  color: var(--text); background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
h1,h2,h3,p { margin: 0; }
h1,h2,h3 { line-height: 1.2; letter-spacing: -.045em; }
p { word-break: keep-all; overflow-wrap: anywhere; }
ul { list-style: none; padding: 0; margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible,summary:focus-visible { outline: 3px solid #997026; outline-offset: 3px; }
img { display: block; max-width: 100%; }
.shell { width: 88%; margin-inline: auto; }
.section { padding-block: clamp(1.5rem, 2.6vw, 2.85rem); }
.section h2 { font-size: clamp(1.55rem, 2.12vw, 2.4rem); }
.skip { position: fixed; z-index: 10; top: .5rem; left: .5rem; padding: .7rem 1rem; background: #fff; transform: translateY(-180%); }
.skip:focus { transform: none; }
.masthead { position: relative; z-index: 2; background: #0b1927; color: #f7f9fd; border-bottom: 1px solid #ffffff22; }
.header-inner,.brand,.main-navigation,.header-actions,.hero-actions,.footer-inner,.footer-inner nav { display: flex; align-items: center; }
.header-inner { justify-content: space-between; gap: clamp(.85rem, 1.7vw, 2rem); min-height: 72px; }
.brand { flex: 0 0 auto; gap: .47rem; font-family: system-ui,sans-serif; font-weight: 760; font-size: 1.36rem; letter-spacing: -.035em; text-decoration: none; }
.brand img { width: 35px; height: 35px; }
.main-navigation { gap: clamp(.85rem, 1.85vw, 2.2rem); }
.main-navigation a,.header-actions a,.mobile-nav a { text-decoration: none; white-space: nowrap; font-size: 1rem; font-weight: 650; }
.main-navigation a,.header-actions a { min-height: 44px; display: inline-flex; align-items: center; }
.main-navigation a:hover,.footer-inner a:hover { color: var(--gold); text-decoration: underline; }
.header-actions { gap: .85rem; }
.header-actions a:hover,.mobile-nav a:hover { color: var(--gold); }
.readiness { color: #ead4a6; padding: .12rem .42rem; background: #ffffff0b; border: 1px solid #85714c; border-radius: .35rem; white-space: nowrap; font-size: .8125rem; }
.header-actions a:last-child { padding: .44rem .95rem; gap: .6rem; border: 1px solid #a18755; border-radius: .5rem; color: #ffe0a4; }
.header-actions a:last-child:hover { background: #ffffff0d; }
.mobile-nav { display: none; }
.masthead :focus-visible,.portal-hero :focus-visible,.site-footer :focus-visible { outline-color: var(--gold); }

.portal-hero {
  isolation: isolate; position: relative; overflow: hidden; color: #f7fafe;
  background: radial-gradient(ellipse at 81% 55%, #28474c 0%, #193340 32%, transparent 63%), linear-gradient(115deg, #0d1d2b 12%, #132734 62%, #192e38);
}
.portal-hero::before,.portal-hero::after {
  content: ""; pointer-events: none; position: absolute; z-index: -1; width: 74%; aspect-ratio: 2.1;
  border: 1px solid #d4b16a29; border-radius: 50%; transform: rotate(-22deg);
}
.portal-hero::before { right: -12%; top: -30%; box-shadow: 0 0 0 18px #ead09505, 0 0 0 19px #ead09510; }
.portal-hero::after { right: -21%; bottom: -52%; }
.hero-inner { display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr); align-items: center;
  gap: clamp(1.6rem,4.3vw,5rem); padding-block: clamp(1.1rem,1.37vw,1.7rem); }
.hero-copy h1 { font-size: clamp(2.75rem,4vw,4.65rem); line-height: 1.07; font-weight: 760; letter-spacing: -.065em; word-break: keep-all; }
.hero-copy em { color: #f3d392; font-style: normal; }
.hero-description { max-width: 30rem; margin-top: 1.15rem; font-size: clamp(1rem,1.15vw,1.2rem); line-height: 1.64; color: #d8e5eb; }
.hero-actions { flex-wrap: wrap; gap: .65rem; margin-top: 1.45rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .85rem; min-height: 46px; padding: .62rem 1rem; border-radius: .5rem;
  border: 1px solid transparent; font-size: 1rem; font-weight: 720; text-decoration: none; line-height: 1.25; }
.button-gold { background: var(--gold); color: #241d11; }
.button-gold:hover { background: #ffdda1; }
.button-outline { color: #eff5fa; border-color: #78919c; }
.button-outline:hover { background: #ffffff12; }

.product-preview {
  --phone: clamp(94px,22%,161px); --overlap: 10px;
  position: relative; width: 100%; max-width: 760px; min-width: 0; margin: 0 0 0 auto;
  padding: 0 0 0; color: #132d40;
}
.desktop-demo { position: relative; width: calc(100% - var(--phone) + var(--overlap)); min-width: 0; overflow: hidden;
  border: 1px solid #91a5aa; border-radius: 14px; background: #edf1f2; box-shadow: 0 16px 40px #05132166; }
.demo-title { display: flex; align-items: center; gap: .5rem; min-height: 36px; padding: .36rem 1.1rem .36rem .8rem;
  color: #f4f5f5; background: #1c3041; font: 700 .78rem system-ui,sans-serif; letter-spacing: .02em; }
.demo-title img { width: 17px; height: 17px; }
.demo-title span { margin-left: auto; color: #d7e4e9; font: 500 .8rem "Malgun Gothic",sans-serif; letter-spacing: 0; }
.demo-body { display: grid; grid-template-columns: minmax(82px,22%) minmax(0,1fr); }
.demo-sidebar { display: grid; align-content: start; gap: .3rem; padding: 1rem .55rem; color: #cbd9e3; background: #203748; font-size: .83rem; }
.demo-sidebar span { padding: .45rem .55rem; border-left: 2px solid transparent; white-space: nowrap; }
.demo-sidebar span:first-child { color: #ffe4aa; border-left-color: var(--gold); background: #ffffff0e; }
.demo-main { min-width: 0; padding: 1rem 1.2rem 1rem 1.05rem; background: linear-gradient(120deg,#fbfcfb,#eff4f3); }
.demo-label { font-size: .8rem; color: #486472; }
.demo-heading { font-weight: 790; font-size: clamp(1.28rem,1.62vw,1.7rem); line-height: 1.25; letter-spacing: -.045em; }
.demo-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; margin: .8rem 0 .65rem; }
.demo-metrics > div { padding: .5rem .72rem .55rem; border: 1px solid #c7d8dc; border-radius: .45rem; background: #fff; }
.demo-metrics dt { font-size: .83rem; color: #4a6170; }
.demo-metrics dd { display: flex; align-items: center; gap: .36rem; margin: .12rem 0 0; color: #1b5b5a; font-size: 1rem; font-weight: 750; }
.demo-metrics dd::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.demo-metrics div:last-child dd { color: #84601f; }
.demo-list { border-top: 1px solid #cedbdd; }
.demo-list p { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .18rem .5rem; padding: .42rem 0; border-bottom: 1px solid #d6e0e1; font-size: .83rem; color: #304956; }
.demo-list span { color: #795521; font-weight: 680; }
.mobile-demo { position: absolute; width: var(--phone); top: 8%; right: 0; padding: 4px; border: 1px solid #7c9098;
  border-radius: 17px; background: #071a25; box-shadow: 0 14px 32px #0613217a; }
.mobile-demo img { width: 100%; height: auto; border-radius: 12px; }
.product-preview figcaption { padding-top: .65rem; padding-right: var(--phone); text-align: right; color: #cedae2; font-size: .875rem; }
@media (min-width: 1250px) {
  .product-preview { --phone: clamp(120px,20%,145px); }
}

.site-footer { background: var(--navy); color: #ebf2f6; }
.footer-inner { min-height: 70px; flex-wrap: wrap; justify-content: space-between; gap: .8rem 1.1rem; padding-block: .85rem; }
.footer-brand { text-decoration: none; font-weight: 780; font-size: 1.13rem; }
.footer-inner nav { flex-wrap: wrap; gap: .5rem 1.2rem; }
.details { max-width: 1090px; min-height: 55vh; padding-block: 2rem 2.8rem; }
.details .back { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.details h1 { margin-block: .5rem .7rem; font-size: clamp(1.9rem,4vw,2.8rem); }
.details h2 { margin-block: 0 .55rem; font-size: 1.2rem; }
.detail-intro { color: var(--muted); }
.detail-card { margin-top: .85rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: .75rem; background: #fff; overflow-wrap: anywhere; }
.detail-card ul { list-style: disc; padding-inline-start: 1.2rem; margin-top: .4rem; }
.detail-card ol { padding-inline-start: 1.2rem; margin: 0; }
.detail-card li { margin-top: .3rem; }
.detail-card .tile-status { margin-bottom: .45rem; }
.detail-card > a,.detail-links { color: var(--gold-deep); }
.detail-card > a { display: inline-block; margin-top: .65rem; }
.detail-links { display: flex; flex-wrap: wrap; gap: .65rem 1rem; margin-top: 1rem; }

@media (max-width: 1120px) {
  .shell { width: calc(100% - 64px); }
  .header-inner { gap: 1rem; }
  .main-navigation,.header-actions { gap: .72rem; }
}
@media (min-width: 1200px) and (max-width: 1320px) {
  .header-inner { width: calc(100% - 64px); gap: .75rem; }
  .main-navigation { gap: clamp(.65rem, 1vw, 1rem); }
  .header-actions { gap: .65rem; }
}
@media (max-width: 1199px) {
  .main-navigation,.header-actions { display: none; }
  .header-inner { min-height: 62px; display: grid; grid-template-columns: auto minmax(0,1fr); }
  .mobile-nav { display: block; justify-self: end; }
  .mobile-nav summary { display: flex; align-items: center; gap: .58rem; min-height: 44px; cursor: pointer; list-style: none; font-weight: 670; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .menu-icon { display: block; width: 19px; height: 12px; border-block: 2px solid var(--gold); }
  .menu-panel { position: absolute; inset: 100% 0 auto; display: grid; gap: 1rem; padding: 1rem max(24px,6%); background: #132936; border-bottom: 1px solid #7c8d91; box-shadow: 0 14px 24px #0b172929; }
  .menu-panel nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .35rem .6rem; }
  .menu-panel a { display: inline-flex; min-height: 44px; align-items: center; padding-inline: .6rem; border-radius: .4rem; color: #f5f8fb; }
  .menu-panel nav a { background: #ffffff0c; }
  .mobile-actions { border-top: 1px solid #52656d; padding-top: .7rem; }
  .mobile-actions p { color: #f2d395; margin-bottom: .2rem; }
}
@media (max-width: 920px) {
  .shell { width: calc(100% - 48px); }
  .hero-inner { gap: 1.6rem; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); }
  .demo-sidebar { display: none; }
  .demo-body { display: block; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { min-height: 57px; }
  .brand { font-size: 1.18rem; }
  .brand img { width: 29px; height: 29px; }
  .hero-inner { grid-template-columns: minmax(0,1fr); gap: 1rem; padding-block: 1rem .85rem; }
  .hero-copy h1 { font-size: clamp(2.45rem,8vw,3.1rem); line-height: 1.08; }
  .hero-description { margin-top: .65rem; font-size: 1rem; line-height: 1.55; }
  .hero-description br { display: none; }
  .hero-actions { gap: .35rem; margin-top: .75rem; }
  .button { gap: .35rem; padding-inline: .5rem; }
  .product-preview { --phone: clamp(88px,26%,114px); max-width: 480px; }
  .demo-main { padding: .56rem .9rem .55rem .65rem; }
  .demo-title { min-height: 29px; }
  .demo-metrics { gap: .35rem; margin-block: .5rem; }
  .demo-metrics > div { padding: .29rem .45rem; }
  .demo-list p { padding-block: .28rem; }
  .product-preview figcaption { padding-right: 0; text-align: left; }
  .portal-hero::before { width: 160%; top: 40%; right: -65%; }
  .footer-inner nav { gap: .5rem .8rem; }
}
@media (max-width: 430px) {
  .hero-inner { gap: .85rem; padding-block: .85rem .8rem; }
  .demo-main { padding-block: .43rem; }
  .demo-metrics { margin-block: .28rem .26rem; }
  .demo-metrics > div { padding-block: .2rem; }
  .demo-list p { padding-block: .16rem; }
  .product-preview figcaption { padding-top: .32rem; }
}

