:root {
  color-scheme: light dark;
  --page: light-dark(#f5f7f1, #121917);
  --surface: light-dark(#fff, #182521);
  --soft: light-dark(#edf5ef, #21352e);
  --ink: light-dark(#193c35, #e7f0ec);
  --muted: light-dark(#5e7469, #afc1b8);
  --border: light-dark(#dce6dc, #344b42);
  --accent: light-dark(#21644e, #8fdbbc);
  --on-accent: light-dark(#fff, #12362a);
  --danger: light-dark(#9b342b, #ffb0a5);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--page);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  max-width: 820px;
  margin: auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -1px;
  color: inherit;
  text-decoration: none;
}
.brand::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 9px;
}
main {
  max-width: 820px;
  margin: 8px auto 64px;
  padding: 0 24px;
}
.card,
.technical {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}
.card {
  margin: 16px 0;
}
.technical {
  margin-top: 26px;
  padding: 22px 26px;
}
.technical section {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.technical section:last-child {
  border: 0;
  padding-bottom: 0;
}
.technical details section:first-child {
  padding-top: 12px;
}
h1 {
  font-size: clamp(30px, 5vw, 40px);
  letter-spacing: -1.5px;
  line-height: 1.13;
  margin: 16px 0 18px;
  font-weight: 650;
}
h2 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.3px;
  margin: 0 0 12px;
}
h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
p {
  line-height: 1.6;
  margin: 12px 0;
}
.eyebrow,
.step {
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
}
.intro {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 26px;
}
.muted,
.small {
  color: var(--muted);
}
.number-box {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  margin: 26px 0;
}
.number-box p {
  margin-top: 0;
}
.phone-number {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(23px, 5vw, 32px);
  font-weight: 650;
  letter-spacing: 1px;
  overflow-wrap: anywhere;
}
.number-box a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.box {
  border-radius: 13px;
  padding: 18px;
  background: var(--soft);
  margin: 22px 0;
}
.box p:last-child {
  margin-bottom: 0;
}
.box p:first-child {
  margin-top: 0;
}
.status-line {
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
}
.status-dot {
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
  flex: none;
}
.badge {
  display: inline-block;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
  background: var(--soft);
  color: var(--accent);
}
.setup-card {
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.setup-card h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.step-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 6px 0 26px;
}
.step-nav button {
  text-align: left;
  padding: 12px 0 0;
  border: 0;
  border-top: 4px solid var(--border);
  border-radius: 2px;
  font-size: 12px;
  background: transparent;
  color: var(--muted);
  margin: 0;
  min-height: 48px;
  font-weight: 500;
}
.step-nav button.complete {
  border-color: var(--accent);
}
.step-nav button[aria-current] {
  color: var(--accent);
  font-weight: 700;
}
.step-nav button:hover:enabled {
  background: transparent;
  color: var(--accent);
}
button,
.button {
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 10px;
  color: var(--on-accent);
  padding: 13px 18px;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  cursor: pointer;
  margin: 6px 8px 6px 0;
  line-height: 1.4;
}
button:hover:enabled,
.button:hover {
  filter: brightness(0.94);
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.primary {
  display: flex;
  width: 100%;
  margin-top: 26px;
}
.quiet {
  background: transparent;
  color: var(--accent);
  border-color: var(--border);
}
.link-button {
  background: transparent;
  border-color: transparent;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding-left: 0;
  padding-right: 0;
}
.text-button {
  background: transparent;
  border: 0;
  color: var(--muted);
}
.actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
label {
  display: block;
  margin: 16px 0 7px;
  font-size: 13px;
  font-weight: 550;
}
input,
textarea,
select {
  width: 100%;
  min-width: 0;
  font: inherit;
  font-size: 16px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: inherit;
}
input[readonly] {
  background: var(--soft);
  color: var(--muted);
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.fields .wide {
  grid-column: 1 / -1;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  line-height: 1.6;
}
.check-label input {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  accent-color: var(--accent);
}
input[type='file'] {
  font-size: 13px;
}
a {
  color: var(--accent);
}
summary {
  cursor: pointer;
  line-height: 1.5;
  font-weight: 600;
}
details > .small {
  margin-top: 14px;
}
.guide {
  padding: 16px 18px;
  margin-top: 8px;
  border-radius: 12px;
  background: var(--soft);
}
.guide ol {
  padding-left: 20px;
}
li {
  line-height: 1.7;
  padding: 3px 0;
}
output {
  display: block;
  padding: 16px;
  background: var(--soft);
  overflow-wrap: anywhere;
  font-family: monospace;
  border-radius: 8px;
}
#message {
  position: relative;
}
#message:not(:empty) {
  padding: 14px 18px;
  background: var(--soft);
  border-radius: 10px;
}
#message[data-error='true'] {
  color: var(--danger);
}
#invite-output,
#candidate,
#observed-sender,
#calendar-status {
  overflow-wrap: anywhere;
}
.error {
  color: var(--danger);
}
footer {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  padding: 24px;
  border-top: 1px solid var(--border);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 480px) {
  header {
    padding: 22px 18px 12px;
  }
  main {
    padding: 0 12px;
  }
  .card {
    padding: 24px 20px;
    border-radius: 16px;
  }
  .technical {
    padding: 20px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .step-nav {
    gap: 8px;
  }
  .step-nav button {
    font-size: 11px;
  }
  .number-box {
    padding: 18px;
  }
}
