/* ===== Fonts ===== */
@font-face {
  font-family: 'Clash Grotesk';
  src: url('../fonts/ClashGrotesk-Extralight.woff2') format('woff2');
  font-weight: 200;
  font-display: swap;
}
@font-face {
  font-family: 'Clash Grotesk';
  src: url('../fonts/ClashGrotesk-Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Clash Grotesk';
  src: url('../fonts/ClashGrotesk-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Clash Grotesk';
  src: url('../fonts/ClashGrotesk-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Clash Grotesk';
  src: url('../fonts/ClashGrotesk-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Clash Grotesk';
  src: url('../fonts/ClashGrotesk-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter18pt-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter18pt-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter18pt-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter18pt-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter18pt-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

/* ===== Tokens ===== */
:root {
  --orange-color: #f7421f;
  --red-color: #b92609;

  --soft-cream-color: #f0eee3;
  --feta-color: #f0eee3;
  --light-taupe-color: #e6e3d0;
  --light-gray-color: #e2e0d6;
  --greenish-grey-color: #dbdac8;

  --dark-color: #191919;
  --soft-black-color: #1b1b1b;
  --eerie-black: #282828;

  --gray-color: #4a4a4a;
  --soft-amber-border: #dacfc3;

  --white: #ffffff;
  --black: #000000;

  --sage-green-start: #8a9a7e;
  --sage-green-end: #3d4d38;

  --radius-pill: 30px;
  --radius-icon: 100px;
  --radius-card: 12px;
  --radius-sm: 4px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-tap-highlight-color: transparent;
}

body {
  background: var(--soft-cream-color);
  color: var(--dark-color);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
}

/* ===== Background decor ===== */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  width: 480px;
  height: 480px;
  filter: blur(30px);
}

.blob-1 {
  top: -140px;
  right: -160px;
}

.blob-2 {
  bottom: -180px;
  left: -180px;
}

.dots {
  position: absolute;
  top: 18%;
  left: 5%;
  opacity: 0.7;
}

@media (max-width: 640px) {
  .dots { display: none; }
}

/* ===== Card / container ===== */
.card {
  width: 100%;
  max-width: 480px;
  padding: 28px 24px 60px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ===== Top icons ===== */
.top-icons {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.icon-btn-sm {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-icon);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, background 0.3s ease;
}

.icon-btn-sm:hover {
  transform: translateY(-2px);
  background: var(--orange-color);
}

.icon-btn-sm:hover svg path {
  stroke: var(--white);
}

/* ===== Avatar ===== */
.avatar-wrap {
  margin-bottom: 20px;
}

.avatar-ring {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1.5px solid var(--orange-color);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--white);
  overflow: hidden;
}

.avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
}

/* ===== Eyebrow ===== */
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--orange-color);
  margin-bottom: 10px;
}

/* ===== Headline ===== */
.headline {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 9vw, 52px);
  letter-spacing: -1.4px;
  line-height: 105%;
  color: var(--dark-color);
  margin-bottom: 16px;
}

.headline .char {
  display: inline-block;
  will-change: transform, opacity;
}

/* ===== Divider ===== */
.divider {
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: var(--orange-color);
  margin-bottom: 18px;
}

/* ===== Lede ===== */
.lede {
  font-size: 15px;
  line-height: 150%;
  color: var(--gray-color);
  max-width: 360px;
  margin-bottom: 28px;
  text-wrap: balance;
}

/* ===== Social row ===== */
.social-row {
  display: flex;
  gap: 14px;
  margin-bottom: 32px;
}

.social-btn {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-icon);
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--sage-green-start), var(--sage-green-end));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.social-btn svg {
  width: 22px;
  height: 22px;
}

.social-btn svg path,
.social-btn svg rect,
.social-btn svg circle {
  stroke: var(--white);
}

.social-btn:hover {
  background: var(--orange-color);
  border-color: var(--orange-color);
  transform: translateY(-3px);
}

.social-btn:hover svg path,
.social-btn:hover svg rect,
.social-btn:hover svg circle {
  stroke: var(--white);
}

/* ===== Link list ===== */
.link-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-card);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  position: relative;
}

.link-item:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.link-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
}

.link-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  flex: 1;
}

.link-title {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 600;
  font-size: 17px;
}

.link-subtitle {
  font-size: 12.5px;
  opacity: 0.75;
}

.link-arrow,
.link-dots {
  font-size: 18px;
  transition: transform 0.35s ease;
}

.link-item:hover .link-arrow {
  transform: translate(3px, -3px);
}

.link-item:hover .link-dots {
  transform: rotate(90deg);
}

/* variants */
.variant-dark {
  background: var(--soft-black-color);
  color: var(--white);
}

.variant-dark .link-icon {
  color: var(--orange-color);
  background: rgba(255, 255, 255, 0.1);
}

.variant-cream {
  background: var(--soft-cream-color);
  border: 1px solid var(--soft-amber-border);
  color: var(--dark-color);
}

.variant-cream .link-icon {
  color: var(--dark-color);
  background: var(--white);
}

.variant-tint {
  background: rgba(247, 66, 31, 0.1);
  color: var(--dark-color);
}

.variant-tint .link-icon {
  color: var(--orange-color);
  background: var(--white);
}

/* ===== Footer / quote ===== */
.quote-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}

.quote-text {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 16px;
  line-height: 150%;
  color: var(--gray-color);
  max-width: 340px;
}

.quote-text span {
  color: var(--orange-color);
  font-weight: 600;
}

/* ===== Responsive ===== */
@media (min-width: 641px) {
  body {
    align-items: center;
  }

  .card {
    padding: 40px 32px 72px;
  }
}

@media (max-width: 380px) {
  .avatar-ring {
    width: 150px;
    height: 150px;
  }

  .headline {
    font-size: clamp(32px, 10vw, 42px);
  }
}
