:root {
  --rose-50: #fff7f3;
  --rose-100: #f5dcdd;
  --rose-200: #e7c6c8;
  --sage-100: #d9dfc8;
  --sage-400: #8fa96f;
  --sage-600: #5f7d3d;
  --sage-700: #3f5d28;
  --wine-600: #9b1f2b;
  --wine-800: #66111b;
  --ink: #241d1c;
  --muted: rgba(36, 29, 28, .66);
  --cream: #fff9ef;
  --gold-300: #f0d18a;
  --gold-500: #c49542;
  --white-soft: rgba(255, 255, 255, .72);
  --border: rgba(255, 255, 255, .46);
  --shadow: 0 34px 90px rgba(72, 39, 39, .27);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: #ead2d4;
}

body {
  min-height: 100svh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, .72), transparent 34%),
    radial-gradient(circle at 26% 78%, rgba(120, 151, 83, .28), transparent 34%),
    radial-gradient(circle at 84% 52%, rgba(155, 31, 43, .16), transparent 32%),
    linear-gradient(145deg, #f1d6d8 0%, #f9ebdf 48%, #cbd4b9 100%);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.phone-shell {
  position: relative;
  isolation: isolate;
  width: min(100%, 430px);
  min-height: 840px;
  overflow: hidden;
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, .64);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .34)),
    url('../images/bg-magda.webp') center / cover no-repeat;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .65);
}

.phone-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .6), transparent 23%, rgba(68, 34, 37, .18) 100%),
    radial-gradient(circle at 50% -8%, rgba(255, 255, 255, .75), transparent 30%);
  pointer-events: none;
}

.phone-shell::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 28px;
  pointer-events: none;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  opacity: .78;
  pointer-events: none;
}

.ambient-one {
  width: 230px;
  height: 230px;
  top: -92px;
  left: -96px;
  background: rgba(255, 255, 255, .62);
}

.ambient-two {
  width: 260px;
  height: 260px;
  right: -116px;
  bottom: 110px;
  background: rgba(112, 146, 74, .22);
}

.ambient-three {
  width: 180px;
  height: 180px;
  left: -72px;
  bottom: 255px;
  background: rgba(155, 31, 43, .15);
}

.brand-watermark {
  position: absolute;
  top: 348px;
  left: 50%;
  transform: translateX(-50%) rotate(-90deg);
  z-index: -1;
  color: rgba(105, 70, 70, .07);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 94px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 18px;
  white-space: nowrap;
  pointer-events: none;
}

.content-card {
  position: relative;
  z-index: 1;
  padding: 10px 2px 0;
}

.hero { text-align: center; }

.brand-card {
  width: min(100%, 314px);
  min-height: 88px;
  margin: 0 auto 21px;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 13px;
  padding: 12px 16px 12px 14px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 25px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .58), rgba(255, 247, 243, .32));
  box-shadow: 0 20px 44px rgba(88, 44, 48, .14), inset 0 1px 0 rgba(255, 255, 255, .75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand-leaf {
  width: 66px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  color: var(--sage-700);
  background: linear-gradient(145deg, rgba(217, 223, 200, .9), rgba(255, 249, 239, .62));
  border: 1px solid rgba(95, 125, 61, .18);
}

.brand-leaf svg {
  width: 52px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-copy {
  display: grid;
  justify-items: start;
  text-align: left;
  gap: 1px;
}

.brand-copy small {
  color: var(--sage-700);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  line-height: .88;
  font-style: italic;
  letter-spacing: -.055em;
}

.brand-copy strong {
  color: rgba(36, 29, 28, .73);
  font-size: 12px;
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 14px;
  padding: 8px 14px;
  border: 1px solid rgba(95, 125, 61, .28);
  border-radius: 999px;
  color: rgba(63, 93, 40, .92);
  background: rgba(255, 249, 239, .46);
  box-shadow: 0 10px 24px rgba(90, 53, 56, .1);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .105em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

h1 {
  margin: 0;
  color: var(--wine-800);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(35px, 10vw, 48px);
  line-height: .92;
  letter-spacing: -.055em;
  font-weight: 700;
  text-wrap: balance;
  text-shadow: 0 14px 26px rgba(255, 255, 255, .55);
}

.intro {
  max-width: 354px;
  margin: 15px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 650;
  letter-spacing: .01em;
}

.avatar-ring {
  position: relative;
  width: 166px;
  height: 166px;
  margin: 25px auto 24px;
  padding: 5px;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .96), var(--rose-200) 28%, var(--sage-400) 66%, var(--wine-600));
  box-shadow: 0 22px 44px rgba(83, 42, 45, .22), 0 0 42px rgba(156, 30, 43, .12);
}

.avatar-glow {
  position: absolute;
  inset: -14px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(255, 255, 255, .58), transparent 61%), radial-gradient(circle, rgba(155, 31, 43, .16), transparent 72%);
  filter: blur(7px);
}

.avatar-photo {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center center;
  background: linear-gradient(180deg, rgba(255, 247, 243, .95), rgba(217, 223, 200, .95));
  border: 4px solid rgba(255, 249, 239, .94);
}

.link-list {
  display: grid;
  gap: 12px;
}

.link-button {
  min-height: 72px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 12px 15px 12px 12px;
  border: 1px solid rgba(255, 255, 255, .54);
  border-radius: 18px;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 249, 239, .43));
  box-shadow: 0 14px 30px rgba(89, 48, 51, .13), inset 0 1px 0 rgba(255, 255, 255, .78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.link-button-featured {
  border-color: rgba(72, 131, 62, .38);
  background:
    linear-gradient(135deg, rgba(106, 143, 68, .24), rgba(255, 255, 255, .62)),
    linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 249, 239, .43));
  box-shadow: 0 18px 38px rgba(87, 51, 48, .17), 0 0 34px rgba(95, 125, 61, .13), inset 0 1px 0 rgba(255, 255, 255, .82);
}

.link-button:hover {
  transform: translateY(-2px);
  border-color: rgba(155, 31, 43, .28);
  background: linear-gradient(135deg, rgba(255, 255, 255, .82), rgba(255, 249, 239, .52));
  box-shadow: 0 21px 40px rgba(89, 48, 51, .18), inset 0 1px 0 rgba(255, 255, 255, .86);
}

.link-button:focus-visible {
  outline: 3px solid rgba(196, 149, 66, .7);
  outline-offset: 3px;
}

.icon-box {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 249, 239, .85), rgba(217, 223, 200, .48));
  border: 1px solid rgba(95, 125, 61, .16);
  color: var(--sage-700);
}

.link-button-featured .icon-box {
  color: #fff;
  background: linear-gradient(145deg, var(--sage-600), var(--sage-700));
  border-color: rgba(255, 255, 255, .26);
}

.icon-box svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.button-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.button-copy strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: -.01em;
}

.button-copy small {
  display: block;
  color: rgba(36, 29, 28, .58);
  font-size: 12px;
  line-height: 1.1;
  font-weight: 650;
}

.arrow {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: rgba(36, 29, 28, .66);
  border-radius: 999px;
  background: rgba(255, 255, 255, .48);
  font-size: 17px;
  line-height: 1;
}

.signature {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 22px;
  padding: 16px 6px 4px;
  color: rgba(36, 29, 28, .54);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.signature a {
  color: var(--gold-500);
  font-weight: 900;
  text-decoration: none;
}

.signature a:hover { color: #a66e1f; }

@media (max-width: 520px) {
  body {
    display: block;
    padding: 0;
    background: #ead2d4;
  }

  .phone-shell {
    width: 100%;
    min-height: 100svh;
    border: 0;
    border-radius: 0;
    padding: 22px 20px max(18px, env(safe-area-inset-bottom));
    box-shadow: none;
  }

  .phone-shell::after {
    inset: 0;
    border: 0;
    border-radius: 0;
  }

  .content-card { padding-top: 6px; }

  .brand-card {
    width: min(100%, 292px);
    min-height: 78px;
    margin-bottom: 20px;
    grid-template-columns: 62px 1fr;
    border-radius: 22px;
  }

  .brand-leaf {
    width: 58px;
    height: 52px;
    border-radius: 17px;
  }

  .brand-leaf svg {
    width: 46px;
    height: 32px;
  }

  .brand-copy small { font-size: 26px; }
  .brand-copy strong { font-size: 10.5px; letter-spacing: .14em; }

  .eyebrow {
    font-size: 9.8px;
    padding: 7px 12px;
    letter-spacing: .085em;
  }

  .intro {
    max-width: 330px;
    font-size: 12.5px;
    line-height: 1.48;
  }

  .avatar-ring {
    width: 154px;
    height: 154px;
    margin: 22px auto 22px;
  }

  .link-list { gap: 11px; }

  .link-button {
    min-height: 66px;
    grid-template-columns: 44px 1fr auto;
    border-radius: 17px;
    gap: 11px;
    padding: 10px 13px 10px 10px;
  }

  .icon-box {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .icon-box svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 360px) {
  .phone-shell { padding-left: 16px; padding-right: 16px; }
  .brand-card { min-height: 74px; grid-template-columns: 56px 1fr; gap: 10px; }
  .brand-leaf { width: 52px; height: 48px; }
  .brand-copy small { font-size: 23px; }
  h1 { font-size: 33px; }
  .intro { font-size: 11.8px; }
  .avatar-ring {
    width: 136px;
    height: 136px;
    margin-top: 18px;
    margin-bottom: 18px;
  }
  .link-button {
    min-height: 64px;
    grid-template-columns: 41px 1fr auto;
    gap: 10px;
  }
  .icon-box {
    width: 41px;
    height: 41px;
  }
  .button-copy strong { font-size: 15px; }
  .button-copy small { font-size: 11px; }
}

.link-button.is-pressed {
  transform: translateY(1px) scale(.992);
}
