:root {
  color-scheme: light;
  --page: #f4f8f7;
  --surface: #ffffff;
  --teal: #4d9b9b;
  --teal-strong: #286e6d;
  --teal-deep: #153f3e;
  --teal-soft: #e7f4f2;
  --cream: #fbf8f1;
  --text: #172c29;
  --muted: #687d79;
  --border: rgba(67, 123, 119, 0.2);
  --shadow: rgba(21, 63, 62, 0.18);
  --title-font: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --body-font: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

html {
  overflow-x: hidden;
  background: var(--page);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(81, 161, 157, 0.18), transparent 30rem),
    radial-gradient(circle at 82% 88%, rgba(228, 199, 131, 0.14), transparent 28rem),
    var(--page);
  font-family: var(--body-font);
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

.launch-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  overflow: hidden;
  padding: max(28px, env(safe-area-inset-top)) 18px max(34px, env(safe-area-inset-bottom));
  isolation: isolate;
}

.launch-page::before,
.launch-page::after {
  position: absolute;
  z-index: -2;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(77, 155, 155, 0.14);
  border-radius: 50%;
  content: "";
}

.launch-page::before {
  top: -190px;
  left: -100px;
}

.launch-page::after {
  right: -140px;
  bottom: -190px;
  width: 390px;
  height: 390px;
}

.app-preview {
  position: absolute;
  z-index: -3;
  inset: 22px auto;
  display: flex;
  width: min(100% - 30px, 460px);
  min-height: calc(100% - 44px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(61, 118, 118, 0.22);
  border-radius: 38px;
  background: rgba(252, 251, 247, 0.94);
  box-shadow: 0 34px 90px -44px rgba(18, 52, 50, 0.58);
  filter: blur(7px) saturate(0.88);
  opacity: 0.72;
  transform: scale(1.045);
  transform-origin: center;
  pointer-events: none;
  user-select: none;
}

.app-preview__notch {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 50%;
  width: 112px;
  height: 29px;
  border-radius: 999px;
  background: #0f1716;
  transform: translateX(-50%);
}

.app-header {
  display: flex;
  min-height: 106px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 48px 22px 17px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.84);
}

.brand-row,
.coming-card__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark,
.coming-card__logo {
  position: relative;
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 11px;
  background: linear-gradient(145deg, #63b5b2, #287c7b);
  box-shadow: 0 8px 18px -10px rgba(31, 100, 98, 0.8);
}

.brand-mark::before,
.coming-card__logo::before,
.brand-mark::after,
.coming-card__logo::after,
.brand-mark span,
.coming-card__logo span {
  position: absolute;
  width: 5px;
  height: 19px;
  border-radius: 999px;
  background: #fff;
  content: "";
  transform: rotate(-31deg);
}

.brand-mark::before,
.coming-card__logo::before {
  left: 9px;
  top: 8px;
}

.brand-mark span,
.coming-card__logo span {
  top: 12px;
  left: 16px;
  height: 14px;
}

.brand-mark::after,
.coming-card__logo::after {
  top: 7px;
  right: 8px;
  height: 20px;
}

.brand-row strong {
  display: block;
  font-family: var(--title-font);
  font-size: 17px;
}

.brand-row small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 11px;
}

.ghost-button {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #54716c;
  font-size: 11px;
  font-weight: 700;
}

.app-content {
  flex: 1;
  padding: 24px 18px 90px;
}

.welcome-copy span {
  color: var(--teal-strong);
  font-size: 11px;
  font-weight: 700;
}

.welcome-copy h2 {
  max-width: 330px;
  margin: 5px 0 20px;
  font-family: var(--title-font);
  font-size: 25px;
  line-height: 1.1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.service-card {
  display: flex;
  min-width: 0;
  min-height: 132px;
  flex-direction: column;
  align-items: flex-start;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 23px;
  background:
    radial-gradient(circle at 90% 0, rgba(98, 178, 174, 0.12), transparent 44%),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 32px -28px rgba(28, 81, 78, 0.74);
}

.service-card--wide {
  min-height: 86px;
  flex-direction: row;
  grid-column: 1 / -1;
  align-items: center;
  gap: 12px;
}

.service-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  margin-bottom: auto;
  place-items: center;
  border-radius: 13px;
  background: var(--teal-soft);
  color: var(--teal-strong);
}

.service-card--wide .service-icon {
  margin: 0;
}

.service-icon svg,
.app-nav svg,
.mail-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-card strong {
  display: block;
  max-width: 100%;
  margin-top: 12px;
  overflow: hidden;
  color: #203d39;
  font-family: var(--title-font);
  font-size: 14px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-card--wide strong {
  margin: 0;
}

.service-card small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.arrow {
  margin-left: auto;
  color: var(--teal-strong);
  font-size: 22px;
}

.status-pill {
  margin-left: auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff3dd;
  color: #9a6b22;
  font-size: 10px;
  font-weight: 700;
}

.app-nav {
  position: absolute;
  right: 12px;
  bottom: 11px;
  left: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 7px;
  border: 1px solid rgba(61, 118, 118, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 34px -28px rgba(24, 58, 58, 0.6);
}

.app-nav span {
  display: flex;
  min-height: 56px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 18px;
  color: #647a76;
  font-size: 9px;
  font-weight: 700;
}

.app-nav .is-active {
  background: var(--teal-soft);
  color: var(--teal-strong);
}

.app-nav svg {
  width: 19px;
  height: 19px;
}

.backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(245, 251, 250, 0.18), rgba(237, 245, 243, 0.52) 48%, rgba(232, 241, 239, 0.72));
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.coming-card {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  overflow: hidden;
  padding: clamp(27px, 5vw, 44px);
  border: 1px solid rgba(50, 124, 121, 0.26);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 251, 0.96) 55%, rgba(239, 248, 246, 0.98));
  box-shadow:
    0 38px 90px -42px rgba(14, 54, 52, 0.66),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.coming-card::after {
  position: absolute;
  right: -45px;
  bottom: -75px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(77, 155, 155, 0.13);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.coming-card__glow {
  position: absolute;
  top: -110px;
  right: -90px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 177, 172, 0.18), transparent 67%);
  pointer-events: none;
}

.coming-card__brand {
  position: relative;
  margin-bottom: 33px;
  color: var(--teal-deep);
  font-family: var(--title-font);
  font-size: 16px;
  font-weight: 700;
}

.coming-card__logo {
  width: 38px;
  height: 38px;
}

.coming-card h1 {
  position: relative;
  max-width: 440px;
  margin: 0 0 14px;
  color: #153330;
  font-family: var(--title-font);
  font-size: clamp(34px, 7vw, 52px);
  line-height: 0.99;
  letter-spacing: -0.035em;
}

.coming-card__lead {
  position: relative;
  max-width: 470px;
  margin: 0;
  color: #607672;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.58;
}

.build-status {
  position: relative;
  display: grid;
  gap: 13px;
  margin-top: 27px;
  padding: 16px 17px;
  border: 1px solid rgba(69, 136, 132, 0.15);
  border-radius: 21px;
  background: rgba(238, 247, 245, 0.7);
}

.build-status__copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.build-status__copy strong {
  color: #2b514d;
  font-size: 12px;
}

.build-status__copy small {
  flex: 0 0 auto;
  color: #69807c;
  font-size: 10px;
}

.build-status__track {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(69, 136, 132, 0.13);
}

.build-status__track i {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #62b4b0, #2e8481);
  box-shadow: 0 0 12px rgba(65, 150, 146, 0.34);
  animation: status-breathe 2.8s ease-in-out infinite;
}

.coming-card__footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 23px;
  padding-top: 21px;
  border-top: 1px solid rgba(64, 126, 122, 0.15);
}

.coming-card__footer span {
  display: block;
  margin-bottom: 3px;
  color: #7a8e8a;
  font-size: 10px;
}

.coming-card__footer a:not(.mail-button) {
  display: block;
  max-width: min(100%, 300px);
  overflow: hidden;
  color: #286e6d;
  font-size: clamp(12px, 3.1vw, 14px);
  font-weight: 700;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mail-button {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #58aaa7, #287c7a);
  box-shadow: 0 14px 24px -15px rgba(25, 88, 86, 0.85);
  color: #fff;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.mail-button:hover {
  box-shadow: 0 16px 28px -14px rgba(25, 88, 86, 0.92);
  transform: translateY(-1px);
}

.mail-button:focus-visible {
  outline: 2px solid #2c7774;
  outline-offset: 3px;
}

.page-note {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: 18px;
  margin: 0;
  color: rgba(54, 88, 84, 0.66);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
}

@keyframes status-breathe {
  0%,
  100% {
    opacity: 0.76;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 620px) {
  .launch-page {
    align-items: center;
    padding-inline: 14px;
  }

  .app-preview {
    inset: 0;
    width: 100%;
    min-height: 100%;
    border: 0;
    border-radius: 0;
    filter: blur(6px) saturate(0.88);
    transform: scale(1.06);
  }

  .coming-card {
    padding: 27px 23px 24px;
    border-radius: 29px;
  }

  .coming-card__brand {
    margin-bottom: 26px;
  }

  .coming-card h1 {
    max-width: 330px;
    font-size: clamp(34px, 11vw, 44px);
  }
}

@media (max-width: 360px) {
  .launch-page {
    padding-inline: 10px;
  }

  .coming-card {
    padding: 24px 19px 21px;
    border-radius: 26px;
  }

  .coming-card__brand {
    margin-bottom: 21px;
  }

  .coming-card h1 {
    font-size: 33px;
  }

  .coming-card__lead {
    font-size: 13px;
  }

  .build-status {
    margin-top: 21px;
  }

  .coming-card__footer {
    margin-top: 18px;
  }
}

@media (max-height: 690px) {
  .coming-card {
    padding-block: 23px;
  }

  .coming-card__brand {
    margin-bottom: 20px;
  }

  .coming-card h1 {
    font-size: clamp(31px, 8vh, 43px);
  }

  .build-status {
    margin-top: 19px;
  }

  .coming-card__footer {
    margin-top: 17px;
    padding-top: 17px;
  }
}

@media (max-width: 360px) and (max-height: 690px) {
  .launch-page {
    padding-block: 12px;
  }

  .coming-card {
    padding: 17px 18px 16px;
    border-radius: 24px;
  }

  .coming-card__brand {
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
  }

  .coming-card__logo {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    transform: scale(0.9);
  }

  .coming-card h1 {
    margin: 0 0 8px;
    font-size: 29px;
    line-height: 0.98;
  }

  .coming-card__lead {
    font-size: 11.5px;
    line-height: 1.43;
  }

  .build-status {
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 17px;
  }

  .build-status__copy strong {
    font-size: 10px;
  }

  .build-status__copy small {
    font-size: 8px;
  }

  .coming-card__footer {
    margin-top: 12px;
    padding-top: 12px;
  }

  .coming-card__footer span {
    font-size: 8px;
  }

  .coming-card__footer a:not(.mail-button) {
    font-size: 11px;
  }

  .mail-button {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .page-note {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
