:root {
  color-scheme: light dark;
  --bg: #f6f7fb;
  --surface: #fff;
  --text: #20283b;
  --muted: #526078;
  --line: #dbe1ec;
  --accent: #5143ec;
  --link: #5143ec;
  --accent-hover: #4133d6;
  --error: #ad253d;
  --focus: #6355fa;
  --soft: #eef0f7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070b16;
    --surface: #101726;
    --text: #e6eaf5;
    --muted: #a3b0c8;
    --line: #2c3850;
    --accent: #6258ed;
    --link: #b0aaff;
    --accent-hover: #746bf6;
    --error: #ffa6b5;
    --focus: #a69dff;
    --soft: #161f31;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.55 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
main {
  width: min(100%, 688px);
  margin: auto;
  padding: 32px 24px 48px;
}
header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
  font-size: 14px;
}
.brand {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  color: var(--text);
  text-decoration: none;
}
.brand img {
  display: block;
  object-fit: contain;
}
.webmail-link {
  justify-self: end;
  text-align: right;
}
#mail-app {
  margin-bottom: 4px;
}
.app-picker {
  position: relative;
  margin-bottom: 4px;
}
.app-picker-trigger {
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 48px;
  padding: 12px;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
}
.app-picker-trigger::after {
  content: '';
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  margin-right: 4px;
}
.app-picker-trigger[aria-expanded='true']::after {
  transform: translateY(2px) rotate(225deg);
}
.app-picker-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 10;
  max-height: 320px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.app-picker-options.opens-up {
  top: auto;
  bottom: calc(100% + 6px);
}
.app-picker-option {
  -webkit-tap-highlight-color: transparent;
  position: relative;
  min-height: 58px;
  padding: 8px 36px 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
}
.app-picker-option small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}
.app-picker-option:hover,
.app-picker-option.is-active {
  background: var(--soft);
}
.app-picker-option[aria-selected='true'] > span {
  color: var(--link);
  font-weight: 600;
}
.app-picker-option[aria-selected='true']::after {
  content: '';
  position: absolute;
  right: 15px;
  top: 21px;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--link);
  border-bottom: 2px solid var(--link);
  transform: rotate(45deg);
}
#app-steps {
  padding-left: 23px;
  margin: 16px 0;
}
#app-steps li {
  padding-left: 5px;
  margin: 12px 0;
}
#app-steps li::marker {
  color: var(--muted);
  font-weight: 600;
}
a {
  color: var(--link);
  text-underline-offset: 3px;
}
h1 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
}
h2 {
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 12px;
}
h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px;
}
p {
  margin: 10px 0;
}
.intro,
.muted {
  color: var(--muted);
}
.intro {
  margin-bottom: 36px;
}
.muted {
  font-size: 14px;
}
section {
  margin-top: 32px;
}
section + section {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.address-row {
  display: flex;
  gap: 10px;
}
input,
select {
  min-width: 0;
  flex: 1;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  min-height: 48px;
}
input::placeholder {
  color: var(--muted);
}
button {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
button:hover {
  background: var(--soft);
}
button.primary {
  background: var(--accent);
  border-color: var(--link);
  color: white;
  white-space: nowrap;
}
button.primary:hover {
  background: var(--accent-hover);
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.copy-list {
  margin: 20px 0;
}
.copy-list > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
dt {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 5px;
}
dd {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
dd span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 600;
}
dd button {
  flex-shrink: 0;
}
.ports {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0;
}
.ports p {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.ports strong {
  font-size: 25px;
  font-variant-numeric: tabular-nums;
}
.ports span {
  font-size: 14px;
  color: var(--muted);
}
.actions {
  margin: 24px 0;
}
.actions p {
  color: var(--muted);
  font-size: 14px;
}
details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  min-height: 28px;
}
details p {
  font-size: 14px;
  color: var(--muted);
}
#error {
  color: var(--error);
  font-size: 14px;
}
footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
footer p {
  margin: 0;
}
[hidden] {
  display: none !important;
}
@media (max-width: 480px) {
  main {
    padding: 24px 20px 36px;
  }
  header {
    margin-bottom: 36px;
  }
  .address-row {
    flex-direction: column;
  }
  .address-row button {
    width: 100%;
  }
  h1 {
    font-size: 27px;
  }
  .ports {
    gap: 16px;
  }
  .ports p {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
  .actions button {
    width: 100%;
  }
}
