/* /undangan-digital v2 — editorial showroom */

.ud2 {
  --ud-ink: #111110;
  --ud-muted: #6f6f6b;
  --ud-line: #e8e6df;
  --ud-paper: #fbfaf7;
  --ud-soft: #f5f3ef;
  background: #fff;
  color: var(--ud-ink);
}

.ud2-kicker {
  margin: 0 0 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ud-muted);
}

.ud2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.12s;
}

.ud2-btn--dark {
  background: var(--ud-ink);
  color: #fff;
  border-color: var(--ud-ink);
}

.ud2-btn--dark:hover {
  background: #000;
  transform: translateY(-1px);
}

.ud2-btn--ghost {
  background: #fff;
  color: var(--ud-ink);
  border-color: var(--ud-line);
}

.ud2-btn--ghost:hover {
  border-color: #b8b4a9;
}

/* hero */
.ud2-hero {
  padding: 3.5rem 1.25rem 0;
  border-bottom: 1px solid var(--ud-line);
  background:
    radial-gradient(120% 80% at 50% 0%, rgb(251 250 247) 0%, transparent 60%),
    #fff;
}

@media (min-width: 768px) {
  .ud2-hero {
    padding: 5rem 2rem 0;
  }
}

.ud2-hero__inner {
  max-width: 44rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.ud2-hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.ud2-hero__lead {
  margin: 0 auto 1.7rem;
  max-width: 36rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ud-muted);
  font-weight: 500;
}

.ud2-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.8rem;
  justify-content: center;
}

/* browser mock */
.ud2-browser {
  position: relative;
  max-width: 68rem;
  margin: 0 auto;
  border: 1px solid var(--ud-line);
  border-radius: 0.75rem 0.75rem 0 0;
  overflow: hidden;
  background: var(--ud-paper);
  box-shadow: 0 -1px 0 rgb(255 255 255) inset, 0 24px 80px rgb(0 0 0 / 0.08);
}

.ud2-browser__bar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--ud-line);
  background: #fffdfa;
}

.ud2-browser__dots {
  display: flex;
  gap: 0.35rem;
}

.ud2-browser__dots i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #e7e2d8;
  display: block;
}

.ud2-browser__dots i:nth-child(2) {
  background: #d8d2c5;
}

.ud2-browser__dots i:nth-child(1) {
  background: #c8c0ad;
}

.ud2-browser__url {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ud-muted);
  letter-spacing: 0.01em;
}

.ud2-browser img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .ud2-browser img {
    aspect-ratio: 21 / 9;
  }
}

.ud2-browser__float {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.96);
  border: 1px solid var(--ud-line);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ud-ink);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.06);
}

.ud2-float__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgb(22 163 74 / 0.15);
}

/* strip */
.ud2-strip {
  border-bottom: 1px solid var(--ud-line);
  background: var(--ud-paper);
  padding: 0.8rem 1.25rem;
}

@media (min-width: 768px) {
  .ud2-strip {
    padding: 0.85rem 2rem;
  }
}

.ud2-strip__inner {
  max-width: 68rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ud-muted);
  letter-spacing: 0.02em;
}

.ud2-strip__sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ud-line);
  align-self: center;
}

/* features grid */
.ud2-features {
  padding: 4rem 1.25rem 3.5rem;
}

@media (min-width: 768px) {
  .ud2-features {
    padding: 5rem 2rem;
  }
}

.ud2-head {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.ud2-head h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ud2-head p {
  margin: 0 auto;
  max-width: 28rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ud-muted);
  font-weight: 500;
}

.ud2-feat-grid {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--ud-line);
  border: 1px solid var(--ud-line);
  border-radius: 0.75rem;
  overflow: hidden;
}

@media (min-width: 720px) {
  .ud2-feat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .ud2-feat-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.ud2-feat {
  background: #fff;
  padding: 1.5rem 1.35rem 1.6rem;
}

@media (min-width: 768px) {
  .ud2-feat {
    padding: 1.75rem 1.6rem 1.85rem;
  }
}

.ud2-feat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.55rem;
  border: 1px solid var(--ud-line);
  color: var(--ud-ink);
  margin-bottom: 0.9rem;
  background: var(--ud-paper);
}

.ud2-feat h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
}

.ud2-feat p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ud-muted);
  font-weight: 500;
}

/* showcase */
.ud2-showcase {
  padding: 0 1.25rem 3.5rem;
}

@media (min-width: 768px) {
  .ud2-showcase {
    padding: 0 2rem 5rem;
  }
}

.ud2-showcase__grid {
  max-width: 68rem;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem 1.25rem;
  border: 1px solid var(--ud-line);
  border-radius: 0.85rem;
  background: var(--ud-paper);
}

@media (min-width: 900px) {
  .ud2-showcase__grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
    padding: 3rem;
  }
}

.ud2-showcase__media {
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid var(--ud-line);
  background: #fff;
  box-shadow: 0 18px 48px rgb(0 0 0 / 0.06);
}

.ud2-showcase__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.ud2-showcase__text h2 {
  margin: 0 0 0.8rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ud2-showcase__text > p {
  margin: 0 0 1.2rem;
  max-width: 28rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ud-muted);
  font-weight: 500;
}

.ud2-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ud2-bullets li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ud-ink);
  line-height: 1.5;
}

.ud2-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--ud-ink);
}

/* how */
.ud2-how {
  padding: 3.5rem 1.25rem;
  border-top: 1px solid var(--ud-line);
  border-bottom: 1px solid var(--ud-line);
  background: #fff;
}

@media (min-width: 768px) {
  .ud2-how {
    padding: 5rem 2rem;
  }
}

.ud2-how h2 {
  margin: 0 0 2.5rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
}

.ud2-steps {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .ud2-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.ud2-step {
  padding: 1.5rem 1.35rem 1.6rem;
  border: 1px solid var(--ud-line);
  border-radius: 0.7rem;
  background: var(--ud-paper);
}

.ud2-step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: var(--ud-ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}

.ud2-step h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.3;
}

.ud2-step p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ud-muted);
  font-weight: 500;
}

/* cta */
.ud2-cta {
  padding: 4rem 1.25rem 5rem;
}

@media (min-width: 768px) {
  .ud2-cta {
    padding: 5rem 2rem 5.5rem;
  }
}

.ud2-cta__box {
  max-width: 68rem;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
  border: 1px solid var(--ud-line);
  border-radius: 0.85rem;
  background:
    radial-gradient(80% 60% at 50% 0%, rgb(251 250 247) 0%, transparent 70%),
    #fff;
}

@media (min-width: 768px) {
  .ud2-cta__box {
    padding: 3.5rem 2.5rem 2.5rem;
  }
}

.ud2-cta__box h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ud2-cta__box > p {
  margin: 0 auto 1.6rem;
  max-width: 30rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ud-muted);
  font-weight: 500;
}

.ud2-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.8rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.ud2-cta__preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  max-width: 42rem;
  margin: 0 auto;
  opacity: 0.9;
}

.ud2-cta__preview img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid var(--ud-line);
  display: block;
  background: var(--ud-soft);
}
