/* account.alpden.com. Tokens, fonts, header, buttons and footer follow the
   alpden.com website (alpden/website/src/styles/global.css); the fonts are
   the same @fontsource-variable files (OFL-1.1, see fonts/OFL-*.txt). */

@font-face {
  font-family: "DM Sans Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url(/static/dm-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url(/static/dm-sans-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/static/manrope-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/static/manrope-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #101c34;
  --blue: #1765df;
  --muted: #65738a;
  --line: #dde5ef;
  --soft: #eff5fb;
  --error: #b42318;
  --green: #268678;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: "DM Sans Variable", "DM Sans", Arial, sans-serif;
  background: linear-gradient(180deg, #f9fcff, #edf6ff 60%, #eff5fb);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* The header sits on the mountains, as on alpden.com. */
.sky {
  background: #d6e8f7 url(/static/alpine-background.webp) center 35% / cover no-repeat;
  padding-bottom: 190px;
}
nav {
  height: 88px;
  display: flex;
  align-items: center;
  max-width: 1080px;
  margin: auto;
  padding: 0 32px;
  gap: 18px;
}
.brand {
  font-family: "Manrope Variable", Manrope, Arial;
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -2px;
}
.brand span {
  color: var(--blue);
}
.area {
  font-size: 14px;
  font-weight: 600;
  color: #30445c;
  padding: 6px 12px;
  border-radius: 20px;
  background: #ffffffb8;
}
.navright {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.navright form {
  margin: 0;
}
.who {
  font-size: 14px;
  color: #30445c;
  padding: 6px 12px;
  border-radius: 20px;
  background: #ffffffb8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 260px;
}

/* The page: cards that rise into the mountains. */
.wrap {
  flex: 1;
  width: 100%;
  max-width: 640px;
  margin: -150px auto 0;
  padding: 0 20px 64px;
}
.heading {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 32px;
  margin-bottom: 16px;
  box-shadow: 0 20px 60px #10274618;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 20px 60px #10274618;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #6b7e98;
  text-transform: uppercase;
  display: flex;
  gap: 10px;
  align-items: center;
}
.dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: var(--green);
}
h1 {
  font-family: "Manrope Variable", Manrope, Arial;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.8px;
  margin: 14px 0 10px;
}
h2 {
  font-family: "Manrope Variable", Manrope, Arial;
  font-size: 24px;
  letter-spacing: -0.6px;
  margin: 0;
}
p {
  line-height: 1.7;
}
.lead {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  overflow-wrap: anywhere;
}
.note {
  font-size: 13px;
  color: var(--muted);
}
.welcome .note {
  margin: 22px 0 0;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  padding: 14px 23px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 5px 15px #1765df16;
}
.button:hover {
  background: #1258c6;
}
.button.secondary {
  background: #fff;
  color: var(--ink);
  border-color: #d6e0ee;
  box-shadow: none;
}
.button.secondary:hover {
  background: #f1f6fc;
}
.button.small {
  font-size: 13px;
  padding: 10px 16px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #f8ac39;
  outline-offset: 3px;
}

/* A service card. */
.service-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.ico {
  font-size: 22px;
  background: #eef5ff;
  color: #2364ca;
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}
.badge {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
}
.badge.waiting {
  background: #fff4e0;
  color: #8a5300;
}
.badge.active {
  background: #e5f4f1;
  color: #1d6b60;
}
.address {
  font-family: "Manrope Variable", Manrope, Arial;
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  margin: 18px 0 6px;
  overflow-wrap: anywhere;
}
.steps {
  padding-left: 22px;
  line-height: 1.8;
  margin: 10px 0 0;
}
.steps li {
  padding-left: 4px;
}
.rekey {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 8px;
}
.rekey p {
  color: var(--muted);
  font-size: 14px;
}

/* The address form. */
.choose {
  margin-top: 22px;
}
label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}
.address-field {
  display: flex;
  align-items: stretch;
  border: 1px solid #ccd7e6;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.address-field:focus-within {
  outline: 3px solid #f8ac39;
  outline-offset: 2px;
}
.address-field input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 16px;
  padding: 13px 14px;
  border: 0;
  color: var(--ink);
  background: transparent;
}
.address-field input:focus-visible {
  outline: none;
}
.suffix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: var(--soft);
  color: #30445c;
  border-left: 1px solid var(--line);
  font-size: 16px;
  white-space: nowrap;
}
.hint {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 18px;
}
.error {
  color: var(--error);
  font-weight: 600;
  margin: -6px 0 18px;
}

/* The setup page. */
.warning {
  background: #fff8ea;
  border: 1px solid #f3dcae;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  color: #5c4314;
}
.qr {
  margin: 26px 0;
  text-align: center;
}
.qr svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.qr figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
textarea {
  width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
  padding: 12px 14px;
  border: 1px solid #ccd7e6;
  border-radius: 10px;
  color: var(--ink);
  background: var(--soft);
  resize: vertical;
  word-break: break-all;
}
.copy-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}
[hidden] {
  display: none !important;
}

footer {
  border-top: 1px solid var(--line);
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  color: var(--muted);
}
footer .brand {
  font-size: 26px;
  color: var(--ink);
}
footer a:last-child {
  margin-left: auto;
}
footer a:last-child:hover {
  color: var(--blue);
}

@media (max-width: 600px) {
  nav {
    height: 72px;
    padding: 0 16px;
    gap: 10px;
  }
  .brand {
    font-size: 28px;
  }
  .area {
    font-size: 12px;
    padding: 4px 9px;
  }
  .who {
    display: none;
  }
  .sky {
    background-image:
      linear-gradient(90deg, #ffffffa6, #ffffff25), url(/static/alpine-background.webp);
    background-position: 65% center;
    padding-bottom: 120px;
  }
  .wrap {
    margin-top: -96px;
    padding: 0 16px 48px;
  }
  .card {
    padding: 26px 20px;
    border-radius: 15px;
  }
  .heading {
    padding: 22px 20px;
    border-radius: 15px;
  }
  h1 {
    font-size: 32px;
    letter-spacing: -1.2px;
  }
  .badge {
    margin-left: 0;
  }
  .button {
    width: 100%;
  }
  .navright .button {
    width: auto;
  }
  .suffix {
    padding: 0 10px;
  }
  footer {
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 24px 16px;
  }
  footer a:last-child {
    margin-left: 0;
  }
}
