/* PRIMEINSU - Static site styles (v2 brand refresh)
   Theme matched to provided PRIMEINSU logo (navy/charcoal),
   white background, airy & trustworthy layout.
*/

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root{
  --bg:#ffffff;
  --surface:#ffffff;
  --surface2:#fbfbf6;
  --text:#0f172a;
  --text2:#1f2937;
  --muted:#64748b;
  --border: rgba(15, 23, 42, .10);
  --shadow: 0 12px 34px rgba(15, 23, 42, .08);
  --shadow2: 0 10px 26px rgba(15, 23, 42, .10);

  /* from logo palette */
  --brand:#0b2342;       /* deep navy */
  --brand2:#121e31;      /* darker navy */
  --charcoal:#454545;    /* charcoal */

  /* warm accent (non-blue) */
  --accent:#f59e0b;      /* amber */
  --accent2:#fbbf24;     /* light amber */
  --accentSoft: rgba(245,158,11,.14);

  --radius:18px;
  --radius2:26px;
  --container: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:Pretendard, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 520px at 80% -120px, rgba(245,158,11,.16), transparent 60%),
    radial-gradient(780px 520px at 10% -120px, rgba(16,185,129,.10), transparent 60%),
    var(--bg);
  line-height:1.6;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:none; }

.container{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
}

.skip{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  position:fixed; left:16px; top:16px; width:auto; height:auto;
  background:#fff; padding:10px 12px; border:1px solid var(--border); border-radius:12px;
  box-shadow:var(--shadow);
  z-index:9999;
}

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  border-bottom:1px solid var(--border);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
}
.brand__logo{
  height:46px; width:auto; display:block;
}
@media (max-width: 520px){
  .brand__logo{ height:40px; }
}
.nav{
  display:flex; gap:8px; align-items:center;
}
.nav a{
  font-weight:700;
  color:rgba(17,24,39,.78);
  padding:10px 12px;
  border-radius:14px;
}
.nav a:hover{ background:rgba(17,24,39,.04); }
.nav a.is-active{
  color:var(--brand);
  background: var(--accentSoft);
}

.header__cta{
  display:flex; gap:10px; align-items:center;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  font-weight:800;
  box-shadow: 0 1px 0 rgba(15,23,42,.03);
  cursor:pointer;
  user-select:none;
  transition: transform .06s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active{ transform: translateY(1px); }
.btn--primary{
  background: linear-gradient(180deg, var(--accent2), var(--accent));
  border-color: rgba(245,158,11,.55);
  color:#1f2937;
  box-shadow: 0 14px 30px rgba(245,158,11,.20);
}
.btn--primary:hover{ box-shadow: 0 18px 38px rgba(245,158,11,.26); }
.btn--ghost{
  background: rgba(255,255,255,.70);
}
.btn--link{
  border-color:transparent;
  background:transparent;
  box-shadow:none;
  padding:10px 8px;
  color:var(--accent);
}

.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  background: rgba(255,255,255,.76);
  color:rgba(31,41,55,.78);
  font-size:12px;
  font-weight:800;
}
.badge__dot{
  width:8px; height:8px; border-radius:999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,158,11,.16);
}
.small{ font-size:12px; color:var(--muted); font-weight:700; }

/* Mobile */
.burger{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.78);
  cursor:pointer;
  align-items:center; justify-content:center;
}
.burger svg{ width:20px; height:20px; }
.mobilePanel{
  display:none;
  border-top:1px solid var(--border);
  padding:10px 0 14px;
}
.mobilePanel a{
  display:block;
  padding:12px 10px;
  border-radius:14px;
  font-weight:800;
  color:rgba(31,41,55,.80);
}
.mobilePanel a.is-active{
  color:var(--brand);
  background: var(--accentSoft);
}
body.is-menu-open .mobilePanel{ display:block; }
@media (max-width: 980px){
  .nav, .header__cta .btn--ghost{ display:none; }
  .burger{ display:inline-flex; }
}

/* Hero */
.hero{
  padding:62px 0 10px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:28px;
  align-items:center;
}
.hero h1{
  margin:14px 0 12px;
  font-size: 46px;
  line-height:1.12;
  letter-spacing:-.04em;
}
.hero p{
  margin:0;
  color:rgba(31,41,55,.86);
  font-size:18px;
}
.hero__actions{
  margin-top:22px;
  display:flex; gap:12px; flex-wrap:wrap;
}

.heroCard{
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.78));
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding:18px 18px 14px;
}
.heroCard__top{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:10px;
}

.note{
  margin-top:14px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.72);
  color:rgba(31,41,55,.86);
}

/* Sections */
.section{
  padding:54px 0;
}
.section--tight{ padding:34px 0; }
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.section__head h2{
  margin:0 0 6px;
  font-size:26px;
  letter-spacing:-.02em;
}
.section__head p{
  margin:0;
  color:var(--muted);
  font-weight:600;
}

/* Cards & grids */
.grid2{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.grid3{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media (max-width: 980px){
  .hero__grid{ grid-template-columns:1fr; }
  .grid2{ grid-template-columns:1fr; }
  .grid3{ grid-template-columns:1fr; }
}

.card{
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.92);
  box-shadow: 0 1px 0 rgba(15,23,42,.03);
  padding:18px;
}
.card h3{ margin:10px 0 8px; font-size:18px; letter-spacing:-.01em; }
.card p{ margin:0; color:rgba(31,41,55,.82); font-weight:600; }

.icon{
  width:42px; height:42px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:14px;
  background: rgba(245,158,11,.12);
  border:1px solid rgba(245,158,11,.28);
}
.icon svg{ width:22px; height:22px; }


.card__thumb{
  width:100%;
  height:132px;
  border-radius:16px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.86);
  object-fit:contain;
  padding: 10px;
  box-sizing: border-box;
  display:block;
  margin-bottom:12px;
}

.media__img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.95;
}

/* Use for square step icons so they don't get cropped */
.media__img--contain{
  object-fit: contain;
  padding: 18px;
  box-sizing: border-box;
  opacity: 1;
}

.media__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.56));
  pointer-events:none;
}

.media__overlay--soft{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.18));
}

/* Media placeholder */
.media{
  width:100%;
  border-radius: 18px;
  border:1px solid var(--border);
  background:
    radial-gradient(520px 220px at 30% 20%, rgba(245,158,11,.20), transparent 60%),
    radial-gradient(520px 260px at 70% 40%, rgba(16,185,129,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(251,251,246,.94));
  min-height: 170px;
  position:relative;
  overflow:hidden;
}
.media__badge{
  position:absolute;
  left:16px; top:16px;
}
.media__icon{
  position:absolute;
  right:16px; bottom:14px;
  width:54px; height:54px;
  border-radius:20px;
  background:rgba(255,255,255,.84);
  border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow2);
}
.media__icon svg{ width:26px; height:26px; }

/* Steps (vertical on mobile) */
.steps{
  display:grid;
  gap:12px;
}
.step{
  display:grid;
  grid-template-columns:44px 1fr;
  gap:12px;
  align-items:flex-start;
  padding:14px;
  border-radius: 18px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.78);
}
.step__num{
  width:44px; height:44px;
  display:flex; align-items:center; justify-content:center;
  border-radius:16px;
  background: rgba(245,158,11,.14);
  border:1px solid rgba(245,158,11,.32);
  font-weight:900;
  color:var(--brand);
}
.step h4{ margin:0 0 4px; font-size:16px; }
.step p{ margin:0; color:rgba(31,41,55,.82); font-weight:600; }

/* Timeline */
.timeline{ display:grid; gap:12px; }
.tlItem{
  display:grid;
  grid-template-columns: 18px 1fr;
  gap:12px;
  padding:14px;
  border-radius: 18px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.86);
}
.tlDot{
  width:14px; height:14px;
  border-radius:999px;
  margin-top:6px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(245,158,11,.16);
}
.tlItem h4{ margin:0 0 6px; font-size:16px; }
.tlItem p{ margin:0; color:rgba(31,41,55,.82); font-weight:600; }

/* FAQ */
.faq{ display:grid; gap:10px; }
.faq details{
  border:1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.90);
  padding:14px 16px;
}
.faq summary{
  cursor:pointer;
  font-weight:900;
  color:rgba(15,23,42,.92);
}
.faq p{ margin:10px 0 0; color:rgba(31,41,55,.82); font-weight:600; }

/* Forms */
.formWrap{
  border:1px solid var(--border);
  border-radius: var(--radius2);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  padding:18px;
}
.formGrid{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
@media (max-width: 820px){ .formGrid{ grid-template-columns:1fr; } }
.field label{ display:block; font-weight:800; margin:0 0 6px; color:rgba(31,41,55,.86); }
.field input, .field select, .field textarea{
  width:100%;
  border:1px solid var(--border);
  border-radius: 14px;
  padding:12px 12px;
  font:inherit;
  background:#fff;
}
.field textarea{ min-height: 120px; resize:vertical; }
.formActions{ margin-top:12px; display:flex; justify-content:flex-end; }

/* Footer */
.footer{
  border-top:1px solid var(--border);
  background: rgba(255,255,255,.74);
  padding:26px 0;
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:20px;
}
.footer p{ margin:6px 0; color:rgba(31,41,55,.74); font-weight:650; }
.footer a{ color:rgba(31,41,55,.74); }
.footer a:hover{ color:var(--brand); }
@media (max-width: 980px){ .footer__grid{ grid-template-columns:1fr; } }

/* Toast */
.toast{
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(18px);
  opacity: 0;
  pointer-events: none;
  background: rgba(15,23,42,.92);
  color: #fff;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
  box-shadow: var(--shadow2);
  transition: opacity .15s ease, transform .15s ease;
  max-width: calc(100% - 28px);
  text-align:center;
}
.toast.is-on{ opacity: 1; transform: translateX(-50%) translateY(0); }
