:root {
  --ict-navy: #111a38;
  --ict-navy-soft: #203164;
  --ict-gold: #d2b962;
  --ict-ivory: #fbfaf6;
  --ict-text: #16203d;
  --ict-muted: #6e768f;
  --ict-line: #e3e6ee;
  --ict-shadow: 0 28px 80px rgba(17, 26, 56, .15);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #eef1f7; }
body.ieta-connector-theme {
  min-height: 100vh;
  margin: 0;
  color: var(--ict-text);
  background:
    radial-gradient(circle at 8% 7%, rgba(210,185,98,.18), transparent 26rem),
    radial-gradient(circle at 96% 92%, rgba(72,95,178,.13), transparent 30rem),
    linear-gradient(145deg, #eef1f8, #fbfaf6);
  font-family: Inter, "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.ieta-connector-theme-app { padding: 0; }
body.ieta-connector-theme-app > .ict-skip-link { display: none; }
a { color: var(--ict-navy); }
.ict-skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; border-radius: 8px; color: #fff; background: var(--ict-navy); transform: translateY(-160%); }
.ict-skip-link:focus { transform: none; }

.ict-site-header { position: relative; z-index: 30; border-bottom: 1px solid rgba(222,225,234,.9); background: rgba(255,255,255,.91); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 9px 28px rgba(17,26,56,.06); }
.ict-site-header-inner { width: min(100%,1180px); min-height: 78px; margin: 0 auto; padding: 11px 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ict-site-brand { display: flex; align-items: center; gap: 12px; color: var(--ict-navy); text-decoration: none; }
.ict-site-brand img { width: 50px; height: 50px; padding: 4px; border: 1px solid rgba(210,185,98,.75); border-radius: 16px; background: #fff; box-shadow: 0 9px 22px rgba(17,26,56,.12); }
.ict-site-brand span, .ict-site-brand strong, .ict-site-brand small { display: block; }
.ict-site-brand strong { font-size: 16px; letter-spacing: -.025em; }
.ict-site-brand small { margin-top: 3px; color: var(--ict-muted); font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ict-site-nav { display: flex; align-items: center; gap: 21px; }
.ict-site-nav a { color: #4c556b; font-size: 11px; font-weight: 850; text-decoration: none; }
.ict-site-nav a:hover { color: var(--ict-navy); }
.ict-site-nav .ict-site-login { min-height: 43px; padding: 0 17px; display: inline-flex; align-items: center; border-radius: 13px; background: var(--ict-navy); color: #fff; box-shadow: 0 10px 22px rgba(17,26,56,.17); }
.ict-site-nav .ict-site-login:hover { color: var(--ict-navy); background: var(--ict-gold); }
.ict-site-footer { min-height: 78px; padding: 17px max(20px,calc((100% - 1140px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #dfe2e9; background: rgba(255,255,255,.74); }
.ict-site-footer strong, .ict-site-footer span { display: block; }
.ict-site-footer strong { color: var(--ict-navy); font-size: 12px; }
.ict-site-footer span { margin-top: 4px; color: var(--ict-muted); font-size: 9px; }
.ict-site-footer nav { display: flex; gap: 17px; }
.ict-site-footer a { color: #5a6276; font-size: 10px; font-weight: 800; text-decoration: none; }

.ict-login-progress { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; }
.ict-login-progress[hidden] { display: none; }
.ict-login-progress-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(9,17,39,.72); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); }
.ict-login-progress-card { width: min(100%,450px); position: relative; z-index: 2; padding: 36px; border: 1px solid #d9ca95; border-radius: 25px; background: #fffdf8; box-shadow: 0 35px 100px rgba(0,0,0,.3); text-align: center; }
.ict-login-progress-close { position: absolute; top: 13px; right: 13px; width: 36px; height: 36px; border: 0; border-radius: 12px; background: #f0eee8; color: var(--ict-navy); font-size: 23px; cursor: pointer; }
.ict-login-progress-mark { width: 58px; height: 58px; margin: 0 auto 15px; display: grid; place-items: center; border-radius: 19px; background: var(--ict-navy); color: var(--ict-gold); font-size: 25px; font-weight: 950; }
.ict-login-progress-card .ict-kicker { margin: 14px 0 8px; }
.ict-login-progress-card h2 { margin: 0; color: var(--ict-navy); font: 500 30px/1.08 Georgia,"Times New Roman",serif; letter-spacing: -.035em; }
.ict-login-progress-card > p:not(.ict-kicker) { margin: 13px 0 18px; color: #69665f; font-size: 12px; line-height: 1.6; }
.ict-login-progress-card.is-success .ict-login-progress-mark { background: #177a55; color: #fff; }
.ict-login-progress-card.is-paused .ict-login-progress-mark { background: #8f6a19; color: #fff; }
body.ict-login-is-open { overflow: hidden; }

.ict-setup {
  min-height: 100vh;
  padding: 32px 18px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.ict-setup::before, .ict-setup::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.ict-setup::before { width: 380px; height: 380px; top: -190px; right: -150px; border: 70px solid rgba(210,185,98,.11); }
.ict-setup::after { width: 320px; height: 320px; left: -190px; bottom: -190px; border: 64px solid rgba(17,26,56,.05); }
.ict-setup-card {
  width: min(100%, 650px);
  padding: clamp(27px, 6vw, 48px);
  position: relative;
  z-index: 2;
  border: 1px solid rgba(223,226,235,.9);
  border-radius: 32px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--ict-shadow);
}
.ict-brand-lockup { display: flex; align-items: center; gap: 13px; }
.ict-brand-lockup img { display: block; border-radius: 17px; box-shadow: 0 12px 25px rgba(17,26,56,.15); }
.ict-brand-lockup strong, .ict-brand-lockup span { display: block; }
.ict-brand-lockup strong { color: var(--ict-navy); font-size: 15px; font-weight: 850; letter-spacing: -.02em; }
.ict-brand-lockup span { margin-top: 3px; color: var(--ict-muted); font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.ict-kicker { margin: 29px 0 9px; color: #9b7c12; font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.ict-setup-card h1 { margin: 0; color: var(--ict-navy); font-size: clamp(30px, 7vw, 46px); line-height: 1.03; letter-spacing: -.05em; }
.ict-intro { margin: 16px 0 25px; max-width: 550px; color: var(--ict-muted); font-size: 13px; line-height: 1.65; }
.ict-steps { display: grid; gap: 9px; margin-bottom: 23px; }
.ict-steps > div { padding: 13px; display: flex; align-items: center; gap: 12px; border: 1px solid #e8eaf0; border-radius: 15px; background: #f9fafc; }
.ict-steps b { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: var(--ict-navy); font-size: 11px; }
.ict-steps span, .ict-steps strong, .ict-steps small { display: block; }
.ict-steps strong { font-size: 12px; }
.ict-steps small { margin-top: 3px; color: var(--ict-muted); font-size: 10px; line-height: 1.4; }
.ict-button { display: inline-flex; min-height: 44px; padding: 0 18px; align-items: center; justify-content: center; border-radius: 13px; color: #fff; background: var(--ict-navy); box-shadow: 0 10px 23px rgba(17,26,56,.16); font-size: 12px; font-weight: 850; text-decoration: none; }
.ict-button:hover { color: var(--ict-navy); background: var(--ict-gold); }
.ict-help { padding: 12px; border-radius: 12px; background: #fff7dc; color: #755b06; font-size: 11px; }
.ict-powered { margin: 24px 0 0; color: #969bab; font-size: 9px; letter-spacing: .04em; }

.ict-content { min-height: 100vh; padding: 50px 20px; }
.ict-content-inner { width: min(100%, 900px); margin: 0 auto; }
.ict-entry { margin-top: 25px; padding: clamp(24px,5vw,42px); border: 1px solid var(--ict-line); border-radius: 25px; background: rgba(255,255,255,.94); box-shadow: 0 16px 50px rgba(17,26,56,.08); }
.ict-entry h1 { margin: 0 0 14px; color: var(--ict-navy); font-size: clamp(27px,5vw,42px); line-height: 1.1; letter-spacing: -.045em; }
.ict-entry h1 a { text-decoration: none; }
.ict-entry, .ict-entry-content { color: #505970; line-height: 1.7; }
.ict-entry img { max-width: 100%; height: auto; border-radius: 16px; }
.ict-error { display: grid; place-items: center; text-align: center; }
.ict-error .ict-content-inner { max-width: 560px; padding: 45px; border-radius: 30px; background: #fff; box-shadow: var(--ict-shadow); }
.ict-error .ict-kicker { margin-top: 20px; }
.ict-error h1 { margin: 0; color: var(--ict-navy); font-size: clamp(30px,7vw,46px); letter-spacing: -.05em; }
.ict-error p:not(.ict-kicker) { margin: 12px 0 22px; color: var(--ict-muted); }

.ict-legal { padding: clamp(30px,5vw,66px) 18px; }
.ict-legal-card { width: min(100%,960px); margin: 0 auto; overflow: hidden; border: 1px solid rgba(223,226,235,.94); border-radius: 32px; background: rgba(255,255,255,.96); box-shadow: var(--ict-shadow); }
.ict-legal-hero { padding: clamp(30px,6vw,62px); color: #fff; background: radial-gradient(circle at 92% 10%,rgba(210,185,98,.22),transparent 18rem),linear-gradient(140deg,#111a38,#23366d); }
.ict-legal-hero .ict-kicker { margin: 0 0 12px; color: #ead57c; }
.ict-legal-hero h1 { max-width: 760px; margin: 0; font: 500 clamp(38px,6vw,62px)/1 Georgia,"Times New Roman",serif; letter-spacing: -.05em; }
.ict-legal-hero > p:not(.ict-kicker) { max-width: 720px; margin: 18px 0 0; color: #d3d8e6; font-size: 14px; line-height: 1.7; }
.ict-legal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ict-legal-meta span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.07); color: #eef0f6; font-size: 9px; font-weight: 800; }
.ict-legal-summary { margin: clamp(26px,5vw,48px) clamp(24px,6vw,64px) 10px; padding: 20px; border: 1px solid #dfd5b5; border-radius: 18px; background: #fbf7ea; }
.ict-legal-summary strong { color: var(--ict-navy); font-size: 12px; }
.ict-legal-summary p { margin: 7px 0 0; color: #5d5f67; font-size: 12px; line-height: 1.65; }
.ict-legal-card > section { margin: 0 clamp(24px,6vw,64px); padding: 28px 0; border-bottom: 1px solid #e8e9ed; }
.ict-legal-card > section:last-child { border-bottom: 0; }
.ict-legal-card section h2 { margin: 0 0 12px; color: var(--ict-navy); font-size: clamp(20px,3vw,27px); line-height: 1.2; letter-spacing: -.035em; }
.ict-legal-card section p, .ict-legal-card section li { color: #565e70; font-size: 12px; line-height: 1.72; }
.ict-legal-card section p { margin: 0 0 11px; }
.ict-legal-card section ul { margin: 0; padding-left: 20px; }
.ict-legal-card section li + li { margin-top: 7px; }
.ict-legal-table-wrap { overflow-x: auto; border: 1px solid #e3e5eb; border-radius: 17px; }
.ict-legal-table { width: 100%; min-width: 700px; border-collapse: collapse; background: #fff; }
.ict-legal-table th, .ict-legal-table td { padding: 13px; border-bottom: 1px solid #e8e9ed; text-align: left; vertical-align: top; }
.ict-legal-table tr:last-child td { border-bottom: 0; }
.ict-legal-table th { color: var(--ict-navy); background: #f3f5f9; font-size: 10px; letter-spacing: .03em; }
.ict-legal-table td { color: #5b6272; font-size: 10.5px; line-height: 1.55; }
.ict-legal-table th:first-child, .ict-legal-table td:first-child { width: 22%; font-weight: 850; color: var(--ict-navy); }
.ict-legal-contact { margin: 26px clamp(24px,6vw,64px) 50px !important; padding: 24px !important; border: 1px solid #d9d1b8 !important; border-radius: 20px; background: #faf7ed; }

.ieta-connector-theme-app .ieta-connector-app,
.ieta-connector-theme-app .ic-login-page,
.ieta-connector-theme-app .ic-error-page { min-height: 100vh; }
.ieta-connector-theme-app .ieta-connector-app { isolation: isolate; }

@media (max-width: 520px) {
	.ict-site-header-inner { min-height: 67px; padding: 8px 12px; }
	.ict-site-brand img { width: 46px; height: 46px; }
	.ict-site-brand strong { font-size: 14px; }
	.ict-site-brand small, .ict-site-nav a:not(.ict-site-login) { display: none; }
	.ict-site-nav { gap: 7px; }
	.ict-site-nav .ict-site-login { min-height: 42px; padding: 0 13px; font-size: 10px; }
	.ict-site-footer { display: block; text-align: center; }
	.ict-site-footer nav { justify-content: center; margin-top: 13px; }
	.ict-login-progress-card { padding: 32px 20px 25px; border-radius: 22px; }
  .ict-setup { padding: 12px; }
  .ict-setup-card { border-radius: 24px; }
  .ict-content { padding: 25px 12px; }
  .ict-entry { border-radius: 20px; }
	.ict-legal { padding: 18px 10px; }
	.ict-legal-card { border-radius: 23px; }
	.ict-legal-hero { padding: 34px 22px; }
	.ict-legal-summary, .ict-legal-card > section { margin-left: 20px; margin-right: 20px; }
	.ict-legal-contact { margin-left: 20px !important; margin-right: 20px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
