/* TJSIT LLC landing page */

:root {
  --navy: #085080;
  --cyan: #18b0e0;
  --cyan-light: #8ad8f4;
  --ink: #e8eef5;
  --muted: #b0c0d0;
  --paper: #ffffff;
  --page-start: #0b1626;
  --page-end: #0f2640;
  --card: rgba(12, 28, 48, 0.62);
  --card-border: rgba(138, 216, 244, 0.14);
  --shadow:
    0 22px 60px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(24, 176, 224, 0.1);
  --focus: 0 0 0 3px var(--page-end), 0 0 0 5px var(--cyan-light);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

html {
  color-scheme: dark;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 48% at 50% 32%, rgba(24, 176, 224, 0.18), transparent 62%),
    radial-gradient(ellipse 80% 50% at 50% 108%, rgba(8, 80, 128, 0.4), transparent 58%),
    linear-gradient(180deg, var(--page-start) 0%, var(--page-end) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.accent {
  height: 5px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 62%, var(--cyan) 100%);
}

main {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.card {
  width: 100%;
  max-width: 32rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  padding: 2.25rem 1.5rem 2rem;
  text-align: center;
}

.logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border-radius: 1rem;
  padding: 1.1rem 1.15rem 1rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.logo {
  display: block;
  width: min(20rem, 92%);
  height: auto;
  margin: 0 auto;
}

.rule {
  width: 4.5rem;
  height: 2px;
  margin: 1.4rem auto 1.6rem;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--navy), var(--cyan));
}

address,
.phone {
  margin: 0;
  font-style: normal;
}

.phone {
  margin-top: 1.25rem;
}

.contact-link {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.7rem;
  max-width: 100%;
  color: var(--ink);
  text-decoration: none;
  text-align: left;
  border-radius: 0.6rem;
  padding: 0.35rem 0.45rem;
  transition: color 0.15s ease;
}

.phone .contact-link {
  align-items: center;
  color: var(--cyan-light);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  min-height: 2.75rem;
  padding: 0.5rem 0.6rem;
}

.contact-link:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-link:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.icon {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  color: var(--cyan);
}

.phone .icon {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0;
  color: var(--cyan-light);
}

.icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

footer {
  flex-shrink: 0;
  padding: 0 1.25rem 1.5rem;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

@media (min-width: 640px) {
  main {
    padding: 2.5rem 2rem;
  }

  .card {
    padding: 3rem 3.25rem 2.5rem;
  }

  .logo-panel {
    padding: 1.35rem 1.5rem 1.2rem;
  }

  .logo {
    width: min(22rem, 100%);
  }

  .rule {
    margin: 1.75rem auto 2rem;
  }

  address {
    font-size: 1.0625rem;
    line-height: 1.65;
  }

  .phone .contact-link {
    font-size: 1.375rem;
  }

  footer {
    padding-bottom: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-link {
    transition: none;
  }
}
