:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
}

#app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.5em;
  margin-bottom: 0.5rem;
  color: #ff6b35;
}

.card {
  padding: 2em;
  margin: 1rem 0;
  border-radius: 8px;
  border: 1px solid #1a1a1a;
  background-color: #1a1a1a;
  text-align: left;
}

.card ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.card li {
  margin: 0.25rem 0;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  color: #ffffff;
  cursor: pointer;
  transition: border-color 0.25s;
}

button:hover {
  border-color: #646cff;
}

button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

#status {
  font-weight: bold;
  font-size: 1.1em;
  margin: 1rem 0;
}

#tunnel-url {
  font-family: 'Courier New', monospace;
  background-color: #2a2a2a;
  padding: 0.2em 0.4em;
  border-radius: 4px;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  
  button {
    background-color: #f9f9f9;
    color: #213547;
  }
  
  .card {
    background-color: #f9f9f9;
    border-color: #e1e1e1;
  }
  
  #tunnel-url {
    background-color: #e1e1e1;
  }
}