:root {
  --smart-ink: #1e293b;
  --smart-navy: #1d4ed8;
  --smart-cyan: #2563eb;
  --smart-amber: #f2a33a;
  --smart-paper: #f4f6f9;
  --smart-line: #e2e8f0;
  --smart-muted: #64748b;
  --smart-danger: #b4233c;
}

* { box-sizing: border-box; }
body.smart-access {
  min-height: 100vh;
  margin: 0;
  color: var(--smart-ink);
  background:
    linear-gradient(rgba(20, 64, 94, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 64, 94, .055) 1px, transparent 1px),
    var(--smart-paper);
  background-size: 34px 34px;
  font-family: "Segoe UI", "Cairo", Tahoma, Arial, sans-serif;
}

.smart-access-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(18rem, .86fr) minmax(23rem, 1.14fr);
}
.smart-access-story {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 5.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background: var(--smart-ink);
}
.smart-access-story::before {
  content: "";
  position: absolute;
  width: 34rem;
  height: 34rem;
  inset-inline-end: -18rem;
  inset-block-start: -12rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(22,166,182,.07), 0 0 0 10rem rgba(242,163,58,.045);
}
.smart-wordmark { position: relative; display: inline-flex; align-items: stretch; width: max-content; direction:ltr; }
.smart-wordmark strong {
  padding: .45rem .65rem;
  color: var(--smart-ink);
  background: #fff;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 900;
  letter-spacing: .08em;
}
.smart-wordmark span {
  padding: .45rem .65rem;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--smart-cyan);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 900;
  letter-spacing: .08em;
}
.smart-access-thesis { position: relative; max-width: 34rem; margin: 4rem 0; }
.smart-access-eyebrow { margin: 0 0 .8rem; color: #8ee6ee; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.smart-access-thesis h1 { margin: 0; color: #fff; font-size: clamp(2.25rem, 5vw, 4.6rem); line-height: .98; letter-spacing: -.045em; }
.smart-access-thesis p { max-width: 30rem; margin: 1.4rem 0 0; color: #c9d8e5; font-size: 1rem; line-height: 1.8; }
.smart-access-signal { position: relative; display: flex; align-items: center; gap: .7rem; color: #c9d8e5; font-size: .78rem; }
.smart-access-signal::before { content: ""; width: 2.8rem; height: 3px; background: linear-gradient(90deg,var(--smart-amber),var(--smart-cyan)); }

.smart-access-main { padding: clamp(1.4rem, 6vw, 5.5rem); display: grid; place-items: center; }
.smart-access-card { width: min(100%, 29rem); }
.smart-access-card header { margin-bottom: 2rem; }
.smart-access-card h2 { margin: 0 0 .55rem; font-size: clamp(1.75rem, 3vw, 2.45rem); letter-spacing: -.035em; }
.smart-access-card header p { margin: 0; color: var(--smart-muted); line-height: 1.65; }
.smart-field { margin-bottom: 1.05rem; }
.smart-field label { margin-bottom: .42rem; display: block; color: #344c64; font-size: .82rem; font-weight: 750; }
.smart-field input, .smart-field select {
  width: 100%; min-height: 3.15rem; padding: .72rem .85rem;
  color: var(--smart-ink); background: #fff; border: 1px solid #bdccd6; border-radius: 4px;
  font: inherit; transition: border-color .16s, box-shadow .16s, background .16s;
}
.smart-field input:focus, .smart-field select:focus { outline: 0; border-color: var(--smart-cyan); box-shadow: 0 0 0 4px rgba(22,166,182,.14); }
.smart-access-message { margin: .9rem 0 1rem; padding: .72rem .85rem; color: #465e73; background: #eaf1f4; border-inline-start: 4px solid var(--smart-cyan); font-size: .84rem; line-height: 1.55; }
.smart-access-message .redfg { color: var(--smart-danger); font-weight: 750; }
.smart-access-submit, .smart-access-secondary {
  width: 100%; min-height: 3.2rem; padding: .75rem 1rem; border: 0; border-radius: 4px;
  cursor: pointer; font: inherit; font-weight: 850; transition: transform .1s, box-shadow .16s, background .16s;
}
.smart-access-submit { color: #fff; background: var(--smart-navy); box-shadow: 0 10px 24px rgba(23,58,99,.2); }
.smart-access-submit:hover { background: #0f2e50; box-shadow: 0 12px 28px rgba(23,58,99,.28); }
.smart-access-submit:active { transform: translateY(1px); }
.smart-access-submit:disabled { opacity: .55; cursor: wait; }
.smart-access-secondary { display: grid; place-items: center; color: var(--smart-navy); background: transparent; border: 1px solid #afc1cd; text-decoration: none; }
.smart-access-secondary:hover { color: #0f2e50; background: #edf3f6; text-decoration: none; }
.smart-access-actions { display: grid; gap: .75rem; }
.smart-access-meta { margin-top: 1.35rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; color: #718497; font-size: .76rem; }
.smart-access-meta a { color: var(--smart-navy); font-weight: 700; }
.smart-access-version { direction: ltr; unicode-bidi: embed; }
.smart-signed-out-mark { width: 3.4rem; height: 3.4rem; margin-bottom: 1.4rem; display: grid; place-items: center; color: #fff; background: var(--smart-cyan); border-radius: 50%; font-size: 1.45rem; font-weight: 900; }

[dir=rtl] .smart-access-thesis h1 { letter-spacing: 0; }
[dir=rtl] .smart-access-eyebrow { letter-spacing: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
@media (max-width: 800px) {
  .smart-access-shell { grid-template-columns: 1fr; }
  .smart-access-story { min-height: 16rem; padding: 1.6rem; }
  .smart-access-thesis { margin: 2.2rem 0 1rem; }
  .smart-access-thesis h1 { font-size: 2.15rem; }
  .smart-access-thesis p { display: none; }
  .smart-access-main { padding: 2.3rem 1.2rem 3rem; place-items: start center; }
}
@media (max-width: 420px) {
  .smart-access-story { min-height: 13rem; }
  .smart-access-card h2 { font-size: 1.8rem; }
  .smart-access-meta { display: grid; }
}
