* {
  box-sizing: border-box;
}
:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fff;
  background: #071520;
  color-scheme: dark;
  font-synthesis: none;
}
body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: radial-gradient(
    ellipse at 50% 40%,
    #1b3949 0,
    #0a1a26 48%,
    #050d14 100%
  );
}
button,
input,
a {
  -webkit-tap-highlight-color: transparent;
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button {
  border: 0;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #b3f3ff;
  outline-offset: 5px;
}
button:active,
.app:active .tile {
  transform: scale(0.94);
}
button,
.tile {
  transition:
    transform 0.16s ease,
    background 0.16s ease;
}
svg {
  display: block;
}
.device {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100svh;
  height: 100dvh;
  min-height: 540px;
  overflow: hidden;
  background: #063048;
}
.wallpaper,
.lock:before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#031b355e, #031b355e),
    #062841 url("/wallpaper.svg") center/cover no-repeat;
  z-index: -1;
  content: "";
}
.home {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: max(12px, env(safe-area-inset-top)) 25px 0;
  transition:
    transform 0.48s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.35s;
  transform: scale(0.96);
  opacity: 0.5;
}
.device.unlocked .home {
  transform: none;
  opacity: 1;
}
.status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  margin-bottom: 24px;
  padding: 0 5px;
}
.small-time {
  font-size: 15px;
  font-weight: 650;
}
.quiet {
  background: none;
  width: 44px;
  height: 40px;
  display: grid;
  place-items: center;
  opacity: 0.9;
}
.quiet svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
}
.widgets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.widget {
  border-radius: 24px;
  min-width: 0;
  min-height: 160px;
  padding: 17px 16px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  text-align: left;
  box-shadow:
    0 7px 20px #001c3930,
    inset 0 1px 0 #ffffff26;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}
.weather {
  background: linear-gradient(145deg, #155580e6, #0c3356df);
  position: relative;
}
.widget-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.weather-symbol {
  width: 44px;
  height: 36px;
  margin-top: 9px;
  margin-bottom: 4px;
}
.weather strong {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.4px;
}
.weather.has-weather strong {
  font-size: 34px;
  margin: 5px 0;
}
.weather.has-weather .weather-symbol {
  position: absolute;
  right: 12px;
  top: 40px;
  width: 37px;
}
.weather > span:not(.widget-title) {
  font-size: 12px;
  line-height: 1.4;
  margin-top: 4px;
}
.widget small {
  font-size: 10px;
  line-height: 1.4;
  margin-top: auto;
  padding-top: 5px;
  opacity: 0.85;
}
.calendar {
  background: linear-gradient(130deg, #fffffff2, #eaf8fff0);
  color: #192630;
}
.calendar .widget-title {
  color: #b63830;
}
.calendar strong {
  font-size: 57px;
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -3px;
  margin: 3px 0;
}
.calendar > span:not(.widget-title) {
  font-size: 13px;
}
.calendar small {
  color: #53616c;
}
.identity {
  text-align: center;
  margin: 28px 0 25px;
  text-shadow: 0 2px 12px #002535;
}
.identity h1 {
  font-size: 18px;
  letter-spacing: -0.3px;
  font-weight: 600;
  margin: 0;
}
.identity p {
  font-size: 12px;
  color: #d8edf4;
  margin: 5px 0 0;
}
.apps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 15px;
  row-gap: 23px;
}
.app {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 7px;
  min-width: 0;
  font-size: 11px;
  text-shadow: 0 1px 5px #00162d;
  letter-spacing: 0.05px;
}
.tile {
  width: 62px;
  height: 62px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow:
    0 5px 12px #00182e33,
    inset 0 1px 0 #ffffff30;
}
.tile img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.tile.facebook {
  background: #1478f8;
}
.tile.linkedin {
  background: #086bb5;
}
.tile.instagram {
  background: radial-gradient(
    circle at 25% 105%,
    #ffe76d 0,
    #ff9c36 26%,
    #f42f65 53%,
    #ad24bf 75%,
    #5268df 100%
  );
}
.tile.x,
.tile.threads {
  background: #101010;
}
.tile.facebook img,
.tile.linkedin img,
.tile.instagram img,
.tile.x img,
.tile.threads img {
  filter: brightness(0) invert(1);
}
.tile.dappr {
  background: #bb303a;
}
.tile.dappr img {
  width: 100%;
  height: 100%;
}
.tile.website {
  background: linear-gradient(#fff, #e0f5ff);
}
.tile.website img {
  width: 49px;
  height: 49px;
}
.tile.phone,
.tile.messages {
  background: linear-gradient(#60e881, #12bd44);
}
.tile.mail {
  background: linear-gradient(#399bff, #0761e5);
}
.tile.phone img,
.tile.messages img,
.tile.mail img {
  width: 38px;
  height: 38px;
}
.home-bottom {
  margin-top: auto;
  padding-top: 25px;
}
.contact-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #073046a6;
  border: 1px solid #d9faff23;
  backdrop-filter: blur(16px);
  border-radius: 30px;
  min-height: 34px;
  padding: 6px 13px;
  margin: 0 auto 22px;
  font-size: 11px;
}
.contact-pill svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.dock {
  display: flex;
  justify-content: space-evenly;
  gap: 15px;
  background: linear-gradient(130deg, #c6e8f33b, #91cddd26);
  border: 1px solid #e8ffff36;
  border-radius: 30px;
  padding: 15px 10px 11px;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 6px 22px #00172630;
}
.dock .app {
  font-size: 10px;
  gap: 6px;
}
.home-indicator {
  width: 115px;
  height: 4px;
  background: #fff;
  border-radius: 10px;
  margin: 14px auto max(9px, env(safe-area-inset-bottom));
  opacity: 0.9;
}
.lock {
  position: absolute;
  inset: 0;
  isolation: isolate;
  display: flex;
  align-items: center;
  flex-direction: column;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.4s;
  will-change: transform;
}
.lock.dragging {
  transition: none;
}
.lock.is-open {
  transform: translateY(-105%);
  opacity: 0;
  pointer-events: none;
}
.lock-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: max(50px, calc(env(safe-area-inset-top) + 25px));
  width: 100%;
}
.lock-symbol {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: #e8fbff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin: 0 0 28px;
}
.lock-top p {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.3px;
  margin: 0 0 2px;
}
.lock-top time {
  font-size: clamp(76px, 23vw, 101px);
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: -5px;
  color: #d9f7ff;
  font-variant-numeric: tabular-nums;
}
.lock-identity {
  text-align: center;
  margin-top: 42px;
  text-shadow: 0 2px 15px #003449;
}
.lock-identity p {
  font-size: 22px;
  letter-spacing: -0.5px;
  font-weight: 600;
  margin: 0 0 7px;
}
.lock-identity span {
  font-size: 15px;
  color: #daeff8;
}
.lock-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-bottom: 5px;
}
.chevron {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.lock-bottom p {
  font-size: 13px;
  margin: 6px 0 16px;
}
.lock-bottom button {
  border-radius: 30px;
  border: 1px solid #ffffff35;
  background: #e4faff1c;
  backdrop-filter: blur(18px);
  font-size: 13px;
  min-height: 44px;
  padding: 0 25px;
  margin-bottom: 15px;
}
.lock-bottom button span {
  padding-left: 12px;
}
.lock-bottom .home-indicator {
  margin-top: 12px;
}
dialog {
  position: fixed;
  inset: auto 12px 16px;
  margin: 0 auto;
  width: calc(100% - 24px);
  max-width: 390px;
  max-height: 85dvh;
  overflow: auto;
  background: #edf5f8f7;
  color: #172d3c;
  border: 1px solid #fff8;
  border-radius: 30px;
  padding: 10px 24px 25px;
  box-shadow: 0 25px 100px #0007;
  backdrop-filter: blur(30px);
  color-scheme: light;
}
dialog[open] {
  animation: sheet-in 0.23s ease-out;
}
dialog::backdrop {
  background: #03162670;
  backdrop-filter: blur(5px);
}
.sheet-handle {
  height: 4px;
  width: 35px;
  border-radius: 3px;
  background: #b9c8d0;
  margin: 0 auto 13px;
}
dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
dialog h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
  margin: 0;
}
dialog header button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d8e4ea;
  font-size: 25px;
  line-height: 1;
}
dialog button:focus-visible,
dialog a:focus-visible,
dialog input:focus-visible {
  outline-color: #087294;
}
dialog p {
  font-size: 14px;
  line-height: 1.5;
}
.primary,
.secondary,
.city-result {
  min-height: 44px;
  border-radius: 13px;
  padding: 11px 14px;
  background: #0e536e;
  color: #fff;
  font-size: 14px;
}
.secondary {
  background: #dce8ed;
  color: #183d50;
}
.wide {
  width: 100%;
}
.sheet-row {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin: 15px 0;
}
.contact-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
}
.contact-profile img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
}
.contact-profile p {
  margin: 0;
}
.contact-download {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  width: 100%;
  min-height: 48px;
}
.contact-download svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-value {
  display: block;
  font-size: 15px;
  text-decoration: none;
  margin: 8px 0;
}
.caption {
  color: #516675;
  font-size: 12px !important;
}
.contact-block {
  padding: 15px 0;
  border-bottom: 1px solid #cedce3;
}
.contact-block small {
  color: #526c7b;
}
.contact-block button {
  float: right;
}
.month-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 17px;
}
.month-controls button {
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: #dce8ed;
}
.month-controls strong {
  font-size: 15px;
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  gap: 5px 0;
  font-size: 14px;
}
.month-grid span {
  display: grid;
  place-items: center;
  min-height: 36px;
}
.month-grid .weekday {
  font-size: 11px;
  color: #58707c;
}
.month-grid .today {
  background: #0d5f7b;
  border-radius: 50%;
  color: #fff;
  font-weight: 650;
}
.month-grid .empty {
  visibility: hidden;
}
.weather-form {
  display: flex;
  gap: 8px;
  margin: 15px 0;
}
.weather-form input {
  width: 100%;
  min-width: 0;
  border: 1px solid #b8ccd5;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  color: #193748;
  font-size: 16px;
}
.city-result {
  display: block;
  width: 100%;
  text-align: left;
  background: #dce8ed;
  color: #183d50;
  margin-bottom: 7px;
}
.weather-summary {
  font-size: 17px !important;
}
.weather-state {
  min-height: 22px;
}
.units {
  display: flex;
  gap: 5px;
}
.units button {
  border-radius: 9px;
  min-height: 40px;
  min-width: 44px;
  background: #dce8ed;
  color: #183d50;
}
.units button[aria-pressed="true"] {
  background: #0e536e;
  color: white;
}
.attribution {
  font-size: 11px !important;
  color: #516675;
  line-height: 1.6 !important;
}
.no-js {
  position: fixed;
  inset: auto 15px 20px;
  background: #fff;
  color: #123;
  padding: 20px;
  z-index: 4;
  border-radius: 20px;
}
.hardware {
  display: none;
}
@keyframes sheet-in {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@media (min-width: 600px) {
  body {
    padding: 28px;
  }
  .device {
    width: 390px;
    height: min(820px, calc(100dvh - 56px));
    min-height: 660px;
    border: 7px solid #152029;
    border-radius: 53px;
    box-shadow:
      0 0 0 1px #64717a,
      0 0 0 3px #060b10,
      0 35px 100px #0009,
      inset 0 0 0 1px #000;
  }
  .hardware {
    display: block;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 27px;
    background: #060b10;
    border-radius: 30px;
    z-index: 4;
    pointer-events: none;
  }
  .home {
    padding-top: 14px;
    padding-left: 22px;
    padding-right: 22px;
  }
  .status {
    margin-bottom: 25px;
  }
  .tile {
    width: 59px;
    height: 59px;
  }
  .apps {
    gap: 23px 13px;
  }
  .lock-top {
    padding-top: 63px;
  }
  .lock-top time {
    font-size: 98px;
  }
  .lock-symbol {
    margin-bottom: 20px;
  }
  dialog {
    bottom: max(40px, calc((100dvh - 790px) / 2));
    max-width: 348px;
  }
  .home-indicator {
    margin-bottom: 10px;
  }
}
@media (max-height: 720px) {
  .status {
    margin-bottom: 12px;
  }
  .widget {
    min-height: 140px;
    padding: 13px;
  }
  .identity {
    margin: 18px 0;
  }
  .apps {
    row-gap: 15px;
  }
  .home-bottom {
    padding-top: 14px;
  }
  .contact-pill {
    margin-bottom: 12px;
  }
  .dock {
    padding-top: 11px;
    padding-bottom: 8px;
  }
  .lock-identity {
    margin-top: 28px;
  }
}
@media (max-width: 350px) {
  .home {
    padding-left: 17px;
    padding-right: 17px;
  }
  .widgets {
    gap: 12px;
  }
  .apps {
    column-gap: 8px;
  }
  .tile {
    width: 56px;
    height: 56px;
  }
  .app {
    font-size: 10px;
  }
}
@media (max-height: 600px) {
  .device {
    min-height: 540px;
  }
  .home {
    padding-top: 4px;
  }
  .status {
    min-height: 34px;
    margin-bottom: 5px;
  }
  .widget {
    min-height: 122px;
    padding: 11px;
  }
  .calendar strong {
    font-size: 43px;
  }
  .widget small {
    font-size: 9px;
  }
  .weather-symbol {
    width: 30px;
    height: 25px;
  }
  .identity {
    margin: 12px 0;
  }
  .identity p {
    display: none;
  }
  .tile {
    width: 51px;
    height: 51px;
    border-radius: 13px;
  }
  .apps {
    row-gap: 13px;
  }
  .home-bottom {
    padding-top: 10px;
  }
  .contact-pill {
    margin-bottom: 9px;
    min-height: 30px;
  }
  .dock {
    border-radius: 24px;
  }
  .home-indicator {
    margin-top: 9px;
  }
  .lock-top {
    padding-top: 35px;
  }
  .lock-top time {
    font-size: 80px;
  }
  .lock-symbol {
    margin-bottom: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .home {
    transform: none;
  }
  .lock {
    will-change: auto;
  }
}
