:root {
  color-scheme: light;
  --blush-50: #fffaf8;
  --blush-100: #fbeeea;
  --blush-200: #f2d8d2;
  --blush-300: #e8c0b8;
  --rosewood: #6b443b;
  --rosewood-soft: #8b6258;
  --gold-deep: #986037;
  --gold: #c38a59;
  --gold-light: #f2d5a2;
  --paper: rgba(255, 253, 251, 0.9);
  --white: #ffffff;
  --shadow: 0 30px 90px rgba(100, 57, 46, 0.14);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--rosewood);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 13% 5%, rgba(255, 255, 255, 0.92), transparent 31rem),
    radial-gradient(circle at 91% 93%, rgba(233, 182, 172, 0.45), transparent 29rem),
    linear-gradient(145deg, #fff8f5 0%, #f8e7e2 55%, #f3dcd6 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.55;
  pointer-events: none;
}

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  overflow: hidden;
  padding: clamp(18px, 4vw, 48px);
}

.glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(184, 126, 81, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.glow::after {
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(184, 126, 81, 0.12);
  border-radius: inherit;
  content: "";
}

.glow-one {
  top: -168px;
  right: -96px;
}

.glow-two {
  bottom: -210px;
  left: -75px;
  width: 360px;
  height: 360px;
}

.profile-card {
  position: relative;
  width: min(100%, 470px);
  padding: clamp(20px, 6vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 36px;
  background: var(--paper);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.profile-card::before {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(186, 129, 86, 0.11);
  border-radius: 29px;
  content: "";
  pointer-events: none;
}

.brand-header,
.price-section,
.action-list,
footer {
  position: relative;
  z-index: 1;
}

.brand-header {
  display: grid;
  justify-items: center;
  margin-bottom: 27px;
}

.logo-frame {
  position: relative;
  width: clamp(132px, 39vw, 176px);
  aspect-ratio: 1;
  padding: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f9e4b8, #a76434 48%, #f7d797 75%, #804823);
  box-shadow: 0 17px 40px rgba(116, 71, 48, 0.2), 0 0 0 7px rgba(237, 204, 193, 0.52);
}

.logo-frame::after {
  position: absolute;
  inset: -13px;
  border: 1px solid rgba(174, 111, 66, 0.23);
  border-radius: inherit;
  content: "";
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.welcome {
  margin: 20px 0 0;
  color: var(--gold-deep);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 13px;
}

.section-kicker {
  margin: 0 0 3px;
  color: var(--rosewood-soft);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #58372f;
  font-family: "Italiana", Georgia, serif;
  font-size: clamp(2rem, 9vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.price-card,
.action-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 76px;
  border-radius: 22px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.price-card {
  position: relative;
  overflow: hidden;
  padding: 15px 17px;
  border: 1px solid rgba(158, 99, 55, 0.36);
  color: #fffaf6;
  background:
    radial-gradient(circle at 95% 0%, rgba(255, 235, 195, 0.35), transparent 46%),
    linear-gradient(135deg, #8d5535 0%, #be8458 50%, #9b613e 100%);
  box-shadow: 0 15px 32px rgba(137, 83, 48, 0.19);
}

.price-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 29%, rgba(255, 255, 255, 0.16) 48%, transparent 67%);
  content: "";
  transform: translateX(-110%);
  transition: transform 650ms ease;
}

.price-card:hover::after,
.price-card:focus-visible::after {
  transform: translateX(110%);
}

.price-card[aria-disabled="true"] {
  cursor: default;
}

.price-copy,
.action-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding-inline: 14px;
}

.price-copy strong,
.action-copy strong {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.price-copy small,
.action-copy small {
  overflow: hidden;
  font-size: 0.8rem;
  line-height: 1.35;
  opacity: 0.76;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.action-list {
  display: grid;
  gap: 10px;
  margin-top: 23px;
}

.action-card {
  padding: 12px 15px;
  border: 1px solid rgba(177, 127, 106, 0.2);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 7px 20px rgba(93, 54, 45, 0.06);
}

.action-card:hover,
.action-card:focus-visible {
  border-color: rgba(166, 106, 66, 0.48);
  box-shadow: 0 12px 26px rgba(93, 54, 45, 0.1);
  transform: translateY(-2px);
}

.action-card:active,
.price-card:active {
  transform: translateY(1px) scale(0.995);
}

.action-card:focus-visible,
.price-card:focus-visible {
  outline: 3px solid rgba(171, 103, 59, 0.28);
  outline-offset: 3px;
}

.icon-wrap {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(194, 137, 91, 0.25);
  border-radius: 15px;
  color: var(--gold-deep);
  background: linear-gradient(145deg, #fff8f3, #f7e2db);
}

.icon-wrap-gold {
  border-color: rgba(255, 245, 222, 0.34);
  color: #fff8eb;
  background: rgba(83, 42, 21, 0.18);
}

.icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.button-arrow {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.95rem;
  opacity: 0.55;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 27px;
  color: var(--rosewood-soft);
}

footer span {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(160, 103, 67, 0.36));
}

footer span:last-child {
  background: linear-gradient(to left, transparent, rgba(160, 103, 67, 0.36));
}

footer p {
  margin: 0;
  font-family: "Italiana", Georgia, serif;
  font-size: 0.77rem;
  letter-spacing: 0.18em;
}

.toast {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 10;
  width: max-content;
  max-width: calc(100vw - 40px);
  padding: 12px 17px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #fffaf8;
  font-size: 0.86rem;
  background: rgba(82, 49, 42, 0.92);
  box-shadow: 0 12px 32px rgba(56, 31, 25, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 390px) {
  .page-shell {
    padding: 12px;
  }

  .profile-card {
    padding: 20px 17px;
    border-radius: 29px;
  }

  .profile-card::before {
    border-radius: 23px;
  }

  .brand-header {
    margin-bottom: 22px;
  }

  .action-list {
    margin-top: 17px;
  }

  footer {
    margin-top: 20px;
  }
}

@media (min-width: 760px) {
  .profile-card {
    padding: 38px;
  }
}

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

@media (prefers-contrast: more) {
  .action-card {
    border-color: rgba(88, 55, 47, 0.55);
  }
}
