:root { font-family: Arial, Helvetica, sans-serif; color: #101e42; background: #edf2f7; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
body { margin: 0; padding: 24px; }
.portal { width: min(100%, 1190px); min-height: calc(100vh - 48px); margin: 0 auto; padding: 30px 49px 34px; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.85); border-radius: 25px; background: linear-gradient(145deg, #fff 0%, #f8fbff 61%, #f3f8fc 100%); box-shadow: 0 20px 55px rgba(30,57,88,.12); }
.site-header { position: relative; min-height: 198px; display: flex; justify-content: center; align-items: flex-start; }
.brand-logo { display: block; width: min(400px, 100%); height: auto; }
.portal-id { position: absolute; top: 9px; right: 0; display: flex; align-items: center; gap: 14px; }
.portal-id strong, .portal-id small { display: block; }
.portal-id strong { font-size: 1rem; }
.portal-id small { margin-top: 3px; color: #586c8f; font-size: .82rem; }
.dot-grid { width: 32px; display: grid; grid-template-columns: repeat(3, 6px); gap: 5px; }
.dot-grid i { width: 6px; height: 6px; border-radius: 50%; background: #52678e; }
main { flex: 1; }
.hero { text-align: center; padding: 53px 0 0; }
.hero h1 { margin: 0 auto; max-width: 970px; font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.16; letter-spacing: -.04em; font-weight: 750; }
.hero h1 span { display: block; color: #087fda; }
.brand-rule { display: inline-flex; width: 116px; height: 6px; margin-top: 25px; border-radius: 8px; background: linear-gradient(90deg, #f52c38 0 50%, #0b81df 50% 100%); }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tool-card { min-height: 180px; padding: 25px 26px; display: flex; align-items: center; gap: 23px; border: 1px solid rgba(49,83,131,.07); border-radius: 22px; box-shadow: 0 9px 19px rgba(45,68,102,.08); color: #101e42; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.tool-card:hover { transform: translateY(-3px); box-shadow: 0 15px 26px rgba(45,68,102,.13); }
.tool-card:focus-visible { outline: 3px solid #0b81df; outline-offset: 3px; }
.tool-card.blue { background: linear-gradient(115deg, #edf7ff, #f5faff); }
.tool-card.orange { background: linear-gradient(115deg, #fff9f0, #fffaf5); }
.tool-card.green { background: linear-gradient(115deg, #ebfbf6, #f2fcf8); }
.tool-card.purple { background: linear-gradient(115deg, #f3f0ff, #f8f6ff); }
.icon-box { flex: 0 0 104px; height: 104px; display: grid; place-items: center; border-radius: 19px; color: #fff; box-shadow: inset 0 1px 1px rgba(255,255,255,.25); }
.icon-box svg { width: 64px; height: 64px; }
.blue .icon-box { background: linear-gradient(150deg, #239bfa, #0076dc); }
.orange .icon-box { background: linear-gradient(150deg, #ffb226, #ff8b00); }
.green .icon-box { background: linear-gradient(150deg, #0fbf81, #009f67); }
.purple .icon-box { background: linear-gradient(150deg, #8e59ec, #6338d8); }
.card-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.card-copy strong { font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.12; letter-spacing: -.035em; }
.card-copy > span { color: #52688e; font-size: 1rem; line-height: 1.37; }
.card-arrow { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.78); box-shadow: 0 4px 12px rgba(40,64,102,.08); font-size: 2.45rem; line-height: .7; padding-bottom: 6px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 46px; padding-top: 27px; border-top: 1px solid #d5dfec; }
.site-footer strong, .site-footer small { display: block; }
.site-footer strong { font-size: 1.04rem; }
.site-footer small { margin-top: 5px; color: #596e94; font-size: .89rem; }
.footer-mark { width: 198px; height: 29px; flex: 0 0 198px; background: url('assets/eisen-logo.png') center -52px / 198px auto no-repeat; }
@media (max-width: 850px) {
  .portal { padding-inline: 28px; }
  .site-header { min-height: 165px; }
  .brand-logo { width: 310px; }
  .portal-id { top: 5px; }
  .portal-id .dot-grid { display: none; }
  .card-grid { grid-template-columns: 1fr; gap: 16px; max-width: 610px; margin-inline: auto; }
  .tool-card { padding: 18px; gap: 15px; min-height: 150px; }
  .icon-box { flex-basis: 76px; height: 76px; border-radius: 16px; }
  .icon-box svg { width: 50px; height: 50px; }
  .card-arrow { flex-basis: 38px; width: 38px; height: 38px; font-size: 2rem; }
}
@media (max-width: 680px) {
  body { padding: 0; background: #f7faff; }
  .portal { min-height: 100vh; padding: 27px 18px 24px; border: 0; border-radius: 0; box-shadow: none; }
  .site-header { min-height: 175px; align-items: flex-start; }
  .brand-logo { width: min(260px, 72vw); }
  .portal-id { display: none; }
  .hero { padding: 40px 0 0; }
  .hero h1 { max-width: 440px; font-size: clamp(1.55rem, 6vw, 2.15rem); line-height: 1.15; }
  .brand-rule { margin-top: 20px; width: 94px; height: 5px; }
  .card-grid { grid-template-columns: 1fr; gap: 12px; }
  .tool-card { min-height: 122px; padding: 15px; border-radius: 17px; gap: 15px; }
  .icon-box { flex-basis: 76px; height: 76px; border-radius: 14px; }
  .card-copy { gap: 5px; }
  .card-copy strong { font-size: clamp(1.03rem, 4.7vw, 1.28rem); }
  .card-copy > span { font-size: .83rem; line-height: 1.28; }
  .card-arrow { flex-basis: 35px; width: 35px; height: 35px; font-size: 1.9rem; }
  .site-footer { margin-top: 37px; padding-top: 20px; }
  .site-footer strong { font-size: .9rem; }
  .site-footer small { font-size: .75rem; }
  .footer-mark { width: 100px; height: 18px; flex-basis: 100px; background-size: 100px auto; background-position: center -26px; }
}
@media (max-width: 360px) {
  .tool-card { gap: 10px; padding: 12px; }
  .icon-box { flex-basis: 65px; height: 65px; }
  .icon-box svg { width: 43px; height: 43px; }
  .card-copy > span { font-size: .76rem; }
  .card-arrow { flex-basis: 29px; width: 29px; height: 29px; font-size: 1.65rem; }
}
@media (prefers-reduced-motion: reduce) { .tool-card { transition: none; } .tool-card:hover { transform: none; } }
