@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@500;600;700&display=swap");

:root {
  color-scheme: light;
  --ink: #1f2421;
  --muted: #68716b;
  --paper: #f7f3ed;
  --line: rgba(31, 36, 33, 0.12);
  --white: rgba(255, 255, 255, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(31, 36, 33, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 36, 33, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  font-family: "DM Sans", system-ui, sans-serif;
}

a {
  color: inherit;
}

.ambient {
  position: fixed;
  z-index: 0;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.26;
  pointer-events: none;
}

.ambient-one {
  top: -20rem;
  right: -10rem;
  background: #e9a6b3;
}

.ambient-two {
  bottom: -24rem;
  left: -14rem;
  background: #91bdb3;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 0 28px;
  display: flex;
  flex-direction: column;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--ink);
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: var(--ink);
  font-size: 14px;
}

.hero-copy {
  margin-top: clamp(70px, 12vh, 128px);
}

.eyebrow {
  margin: 0 0 20px;
  color: #8e625f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(44px, 7vw, 82px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.intro {
  max-width: 480px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(54px, 9vh, 96px);
}

.app-card {
  position: relative;
  min-height: 360px;
  padding: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  box-shadow:
    0 18px 50px rgba(40, 43, 39, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  text-decoration: none;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.app-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transition: transform 300ms ease;
}

.maid-card {
  background: linear-gradient(145deg, #f6d9df, #edc0ca);
}

.inventory-card {
  background: linear-gradient(145deg, #d7e8e2, #b9d5cc);
}

.app-card:hover,
.app-card:focus-visible {
  transform: translateY(-6px);
  box-shadow:
    0 28px 65px rgba(40, 43, 39, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.app-card:hover::after,
.app-card:focus-visible::after {
  transform: scale(1.18);
}

.app-card:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.app-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.app-icon svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(31, 36, 33, 0.14);
  border-radius: 50%;
  font-size: 20px;
  transition:
    color 220ms ease,
    background 220ms ease,
    transform 220ms ease;
}

.app-card:hover .arrow {
  color: #fff;
  background: var(--ink);
  transform: rotate(5deg);
}

.card-copy {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.app-label {
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.58;
}

.card-copy strong {
  font-family: "Manrope", sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.app-description {
  max-width: 390px;
  margin-top: 11px;
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.68;
}

.domain {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(31, 36, 33, 0.12);
  font-size: 12px;
  letter-spacing: 0.025em;
  opacity: 0.55;
}

footer {
  margin-top: auto;
  padding-top: 48px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5e9b7f;
  box-shadow: 0 0 0 4px rgba(94, 155, 127, 0.13);
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 560px);
    padding-top: 22px;
  }

  .hero-copy {
    margin-top: 64px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .intro {
    font-size: 15px;
  }

  .app-grid {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .app-card {
    min-height: 330px;
    padding: 24px;
    border-radius: 24px;
  }

  footer {
    padding: 38px 2px 0;
  }
}

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