body.tp-page { background: #fff; }

.tp-hero {
  padding: 190px 0 clamp(64px, 8vw, 110px);
  background: #5a00ff;
  color: #fff;
  overflow: hidden;
}
.tp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.tp-hero .gd-crumbs { color: rgba(255, 255, 255, 0.82); }
.tp-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.7rem, 5.6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.tp-hero h1 em { font-style: normal; color: #ffc93d; }
.tp-lead {
  max-width: 30em;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Hanken Grotesk', 'Poppins', system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
}
.tp-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 600;
}
.tp-note i { color: #d2e823; }
.tp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tp-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  background: #ffc93d;
  color: #13093f;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 14px 30px -14px rgba(19, 9, 63, 0.6);
  transition: transform 0.2s ease;
}
.tp-cta:hover { transform: translateY(-2px); }
.tp-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.tp-ghost:hover { box-shadow: inset 0 0 0 2px #fff; }
.tp-hero-swatches { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 24px 0 0; padding: 0; list-style: none; }
.tp-hero-swatches li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.85); font-size: 0.88rem; font-weight: 600; }
.tp-hero-swatches i { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8); }
.tp-hero-art { display: flex; justify-content: center; min-width: 0; }

.tp-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 2.6em 1.25em 1.25em;
  background: var(--tp-base);
  background: var(--tp-bg);
  color: var(--tp-ink);
  font-family: var(--tp-body);
  font-size: 13px;
  text-align: center;
  isolation: isolate;
}
@supports (font-size: 1cqi) {
  .tp-screen { font-size: 5.2cqi; }
}
.tp-ava {
  display: grid;
  place-items: center;
  flex: none;
  width: 4.4em;
  height: 4.4em;
  border-radius: 50%;
  background: var(--tp-accent);
  color: var(--tp-ava-ink);
  font-family: var(--tp-heading);
  font-size: 1em;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 0 0 0.2em color-mix(in srgb, var(--tp-ink) 20%, transparent);
}
.tp-name {
  margin-top: 0.15em;
  font-family: var(--tp-heading);
  font-size: 1.35em;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.tp-bio { margin-top: -0.3em; font-size: 0.8em; opacity: 0.78; }
.tp-social { display: flex; gap: 0.9em; margin: 0.1em 0 0.35em; font-size: 1em; }
.tp-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.9em;
  padding: 0 2.6em;
  border: 0.1em solid var(--tp-btn-border);
  border-radius: var(--tp-radius);
  background: var(--tp-btn-bg);
  box-shadow: var(--tp-btn-shadow);
  color: var(--tp-btn-ink);
  font-size: 0.86em;
  font-weight: 600;
  line-height: 1.15;
  flex: none;
}
.tp-btn i { position: absolute; left: 1.1em; font-size: 0.95em; opacity: 0.85; }
.tp-media {
  display: flex;
  align-items: center;
  gap: 0.7em;
  width: 100%;
  padding: 0.5em;
  border: 0.07em solid var(--tp-card-border);
  border-radius: 1.1em;
  background: var(--tp-card-bg);
  color: var(--tp-card-ink);
  text-align: left;
  flex: none;
}
.tp-media-img {
  display: grid;
  place-items: center;
  width: 4.2em;
  height: 2.8em;
  border-radius: 0.7em;
  background: linear-gradient(135deg, var(--tp-accent), color-mix(in srgb, var(--tp-accent) 35%, #13093f));
  color: #fff;
  font-size: 1em;
  flex: none;
}
.tp-media-img i { font-size: 0.8em; }
.tp-media-txt { display: flex; flex-direction: column; gap: 0.1em; min-width: 0; font-size: 0.82em; }
.tp-media-txt b { font-weight: 700; }
.tp-media-txt em { font-style: normal; opacity: 0.65; }
.tp-pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4em; width: 100%; flex: none; }
.tp-pics i { aspect-ratio: 1; border-radius: 0.7em; background: color-mix(in srgb, var(--tp-accent) 55%, var(--tp-base)); }
.tp-pics i:nth-child(2) { background: color-mix(in srgb, var(--tp-accent) 30%, var(--tp-base)); }
.tp-pics i:nth-child(3) { background: color-mix(in srgb, var(--tp-ink) 18%, var(--tp-base)); }

.tp-pat-aurora {
  background:
    radial-gradient(60% 40% at 20% 10%, rgba(116, 255, 199, 0.45), transparent 70%),
    radial-gradient(50% 35% at 85% 30%, rgba(170, 92, 255, 0.55), transparent 70%),
    radial-gradient(70% 40% at 50% 100%, rgba(56, 132, 255, 0.4), transparent 70%),
    var(--tp-base);
}
.tp-pat-grid {
  background:
    linear-gradient(rgba(17, 17, 17, 0.08) 1px, transparent 1px) 0 0 / 1.2em 1.2em,
    linear-gradient(90deg, rgba(17, 17, 17, 0.08) 1px, transparent 1px) 0 0 / 1.2em 1.2em,
    var(--tp-base);
}
.tp-pat-dots { background: radial-gradient(rgba(28, 25, 23, 0.16) 1.2px, transparent 1.4px) 0 0 / 0.95em 0.95em, var(--tp-base); }
.tp-pat-stripes { background: repeating-linear-gradient(135deg, rgba(210, 232, 35, 0.08) 0 0.7em, transparent 0.7em 1.5em), var(--tp-base); }
.tp-pat-blobs {
  background:
    radial-gradient(40% 30% at 15% 15%, rgba(255, 196, 228, 0.9), transparent 70%),
    radial-gradient(40% 30% at 90% 40%, rgba(196, 220, 255, 0.9), transparent 70%),
    radial-gradient(45% 30% at 30% 95%, rgba(214, 255, 222, 0.9), transparent 70%),
    var(--tp-base);
}

.tp-phone {
  position: relative;
  width: min(330px, 100%);
  aspect-ratio: 9 / 18.6;
  padding: 11px;
  border-radius: 52px;
  background: #0d0d12;
  box-shadow: 0 40px 80px -30px rgba(10, 5, 40, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  container-type: inline-size;
}
.tp-phone .tp-screen { border-radius: 42px; padding-top: 3.4em; }
.tp-island {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 50%;
  width: 30%;
  height: 24px;
  border-radius: 999px;
  background: #0d0d12;
  transform: translateX(-50%);
}
.tp-hero-stage { position: relative; display: flex; justify-content: center; width: 100%; padding: 10px 0; }
.tp-hero-stage::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(440px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--stage);
  opacity: 0.35;
  transform: translate(-50%, -50%);
}
.tp-hero-stage .tp-phone { z-index: 1; transform: rotate(3deg); }

.tp-stack { position: relative; display: flex; justify-content: center; align-items: center; width: 100%; height: clamp(380px, 38vw, 520px); }
.tp-stack-card {
  position: absolute;
  width: clamp(170px, 17vw, 240px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 30px 60px -24px rgba(10, 5, 40, 0.7);
  container-type: inline-size;
}
.tp-stack-card:nth-child(1) { transform: translateX(-62%) rotate(-9deg); }
.tp-stack-card:nth-child(2) { z-index: 2; width: clamp(190px, 19vw, 265px); }
.tp-stack-card:nth-child(3) { transform: translateX(62%) rotate(9deg); }

.tp-gallery { padding: clamp(64px, 8vw, 104px) 0; background: #f6f3ee; }
.tp-gallery-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 32px; }
.tp-gallery-head h2 { margin: 0; color: #13093f; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; }
.tp-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #13093f;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(19, 9, 63, 0.1);
}
.tp-filter b { color: #8a84a0; font-size: 0.8rem; font-weight: 700; }
.tp-filter.is-on { background: #13093f; color: #fff; box-shadow: none; }
.tp-filter.is-on b { color: #d2e823; }
.tp-all { display: inline-flex; align-items: center; gap: 8px; color: #5a00ff; font-weight: 800; }

.tp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 22px; }
.tp-tile { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tp-tile[hidden] { display: none; }
.tp-tile-frame {
  position: relative;
  display: block;
  aspect-ratio: 9 / 15;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 1px 0 rgba(19, 9, 63, 0.04), 0 18px 40px -26px rgba(19, 9, 63, 0.45);
  container-type: inline-size;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tp-tile-hover {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: center;
  padding: 16px;
  background: linear-gradient(to top, rgba(13, 9, 30, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.tp-tile-hover span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: #13093f;
  font-size: 0.88rem;
  font-weight: 800;
}
.tp-tile:hover .tp-tile-frame { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(19, 9, 63, 0.04), 0 28px 50px -26px rgba(19, 9, 63, 0.55); }
.tp-tile:hover .tp-tile-hover, .tp-tile:focus-visible .tp-tile-hover { opacity: 1; }
.tp-tile-meta { display: flex; flex-direction: column; gap: 3px; padding: 0 4px; }
.tp-tile-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tp-tile-name strong { color: #13093f; font-size: 1.08rem; font-weight: 800; letter-spacing: -0.02em; }
.tp-tile-mood { color: #6b6575; font-size: 0.86rem; font-weight: 500; }
.tp-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e9f5c4;
  color: #3f4a0b;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}
.tp-pill--plus { background: #ece4ff; color: #5a00ff; }

.tp-body { padding: clamp(56px, 7vw, 96px) 0; }
.tp-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: clamp(40px, 5vw, 64px); }
.tp-spec { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 22px; background: #f6f3ee; }
.tp-spec span { color: #8a84a0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.tp-spec strong { color: #13093f; font-size: 1.15rem; font-weight: 800; line-height: 1.2; }
.tp-spec small { color: #6b6575; font-size: 0.85rem; }
.tp-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.tp-info h2 { margin: 0 0 16px; color: #13093f; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.04em; }
.tp-info p { margin: 16px 0 0; color: #4a4553; font-size: 1.02rem; line-height: 1.6; }
.tp-info p a { color: #5a00ff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.tp-fits { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tp-fits li { padding: 9px 15px; border-radius: 999px; background: #ece4ff; color: #3b0aa6; font-size: 0.92rem; font-weight: 700; }
.tp-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.tp-steps li { display: flex; align-items: flex-start; gap: 14px; color: #2c2738; font-size: 1rem; line-height: 1.5; }
.tp-steps b { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #5a00ff; color: #fff; font-size: 0.9rem; }

@media (max-width: 1100px) {
  .tp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tp-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .tp-hero { padding-top: 160px; }
  .tp-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .tp-stack { height: 360px; }
  .tp-stack-card { width: 160px; }
  .tp-stack-card:nth-child(2) { width: 180px; }
  .tp-info { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .tp-hero { padding: 140px 0 56px; }
  .tp-lead { font-size: 1.08rem; }
  .tp-cta, .tp-ghost { width: 100%; justify-content: center; }
  .tp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .tp-tile-frame { border-radius: 20px; }
  .tp-tile-name { flex-direction: column; align-items: flex-start; gap: 4px; }
  .tp-tile-hover { display: none; }
  .tp-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 6px; scrollbar-width: none; }
  .tp-filters::-webkit-scrollbar { display: none; }
  .tp-filter { flex: none; }
  .tp-phone { width: min(290px, 100%); }
  .tp-stack { height: 320px; }
  .tp-stack-card { width: 140px; border-radius: 22px; }
  .tp-stack-card:nth-child(2) { width: 158px; }
  .tp-specs { gap: 10px; }
  .tp-spec { padding: 16px; }
}
