/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #0b0f19;
  background-image: 
    radial-gradient(at 0% 0%, hsla(222,47%,11%,1) 0, transparent 50%), 
    radial-gradient(at 100% 0%, hsla(190,95%,15%,0.6) 0, transparent 50%),
    radial-gradient(at 50% 100%, hsla(220,30%,10%,1) 0, transparent 50%);
  background-size: cover;
  background-attachment: fixed;
  color: #f8fafc;
  min-height: 100vh;
}

/* ==========================================================================
   Header and Navigation Styles
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(11, 15, 25, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 500;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  letter-spacing: -0.02em;
  transition: opacity 0.2s ease;
}

.site-logo:hover {
  opacity: 0.9;
}

.logo-accent {
  font-weight: 400;
  color: #06b6d4;
  margin-left: 0.15rem;
}

.site-nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #06b6d4;
}

/* ==========================================================================
   Auth Widget, Avatar, and Dropdown Styles
   ========================================================================== */

.auth-header-widget {
  position: relative;
}

.btn-login {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  padding: 0.45rem 1.1rem;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-login:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #06b6d4;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.2);
}

.user-avatar-btn {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
  user-select: none;
}

.user-avatar-btn:hover {
  border-color: #06b6d4;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.35);
}

.auth-dropdown {
  position: absolute;
  top: 2.8rem;
  right: 0;
  width: 13rem;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  z-index: 510;
  animation: slideDown 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
  from { transform: translateY(-8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.dropdown-user-info {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.5rem;
}

.dropdown-label {
  font-size: 0.7rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
  font-weight: 600;
}

.dropdown-username {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-link {
  text-decoration: none;
  font-size: 0.85rem;
  color: #e2e8f0;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.dropdown-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #06b6d4;
}

.btn-dropdown-logout {
  background: transparent;
  border: 0;
  color: #f87171;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}

.btn-dropdown-logout:hover {
  background: rgba(248, 113, 113, 0.08);
}

/* ==========================================================================
   Modal and Overlay Styles
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 26, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.auth {
  max-width: 24rem;
  width: 100%;
  margin: 1.5rem;
  padding: 2.5rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  position: relative;
  animation: modalSlideUp 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideUp {
  from { transform: translateY(15px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: 0;
  color: #94a3b8;
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  padding: 0.25rem;
}

.modal-close-btn:hover {
  color: #f8fafc;
}

/* ==========================================================================
   Landing Page Sections and Cards
   ========================================================================== */

.site-content {
  padding-top: 4.5rem;
}

.hero-section {
  padding: 7.5rem 2rem 5.5rem;
  text-align: center;
  position: relative;
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
  color: #ffffff;
}

.gradient-text {
  background: linear-gradient(135deg, #06b6d4 30%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 0 2.5rem;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 0;
}

.btn-primary {
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-accent {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5.5rem 2rem;
  scroll-margin-top: 5rem;
}

.card-gradient-border {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(16, 185, 129, 0.12));
  padding: 1px;
  border-radius: 20px;
}

.product-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 19px;
  padding: 3.5rem 3rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: #06b6d4;
  border-radius: 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.product-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

.accent-span {
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0 0 3rem;
  max-width: 780px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}

.feature-item {
  background: rgba(30, 41, 59, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 1.75rem;
  transition: all 0.2s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 182, 212, 0.2);
  background: rgba(30, 41, 59, 0.35);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #ffffff;
}

.feature-item p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #94a3b8;
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  background: rgba(15, 23, 42, 0.5);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: #10b981;
}

.service-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #ffffff;
}

.service-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
}

.vision-card {
  max-width: 880px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 4rem;
  text-align: center;
  position: relative;
}

.quote-mark {
  font-family: 'Outfit', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(6, 182, 212, 0.1);
  position: absolute;
  top: 1rem;
  left: 2rem;
}

.vision-quote {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.65;
  color: #f1f5f9;
  margin: 0 0 1.5rem;
  font-style: italic;
}

.vision-author {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #06b6d4;
  display: block;
}

.careers-card {
  max-width: 800px;
  margin: 0 auto;
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 60%), rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3.5rem;
  text-align: center;
}

.careers-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

.careers-card p {
  font-size: 1.02rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 0 2rem;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #07090f;
  padding: 2.2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-container p {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  text-decoration: none;
  font-size: 0.82rem;
  color: #64748b;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #94a3b8;
}

/* ==========================================================================
   Existing Auth Inner Form Rules
   ========================================================================== */

.auth-eyebrow {
  margin: 0 0 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: #38bdf8;
}

.auth h1 {
  margin: 0 0 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.auth-mark {
  margin-left: 0.3rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #06b6d4;
  vertical-align: 0.6rem;
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-sub {
  margin: 0 0 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #94a3b8;
}

.auth-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 2rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 0.25rem;
}

.auth-tab {
  flex: 1;
  padding: 0.6rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab:hover {
  color: #f1f5f9;
}

.auth-tab.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.auth label {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.auth input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #ffffff;
  transition: all 0.2s ease;
}

.auth input::placeholder {
  color: #64748b;
}

.auth input:focus {
  outline: none;
  background: rgba(30, 41, 59, 0.8);
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

.auth #submit-btn {
  width: 100%;
  padding: 0.8rem;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
  transition: all 0.2s ease;
}

.auth #submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(6, 182, 212, 0.4);
}

.auth #submit-btn:active {
  transform: translateY(0);
}

.auth #submit-btn:disabled {
  background: #475569;
  color: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.auth-message {
  min-height: 1.25rem;
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  text-align: center;
}

.auth-message.is-error {
  color: #f87171;
}

.auth-message.is-success {
  color: #34d399;
}

.auth-message.is-info {
  color: #38bdf8;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

/* Header Controls container */
.header-controls {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* Hamburger button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: #cbd5e1;
  border-radius: 2px;
  transition: all 0.25s ease-in-out;
}

/* Responsive navigation on mobile */
@media (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    font-size: 1.05rem;
    width: 100%;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

