/* tictacTalk content pages — shared violet/pink presentation */
:root {
  color-scheme: dark;
  --bg: #070A18;
  --panel: #0E1329;
  --panel2: #151B37;
  --line: rgba(190,199,235,.16);
  --txt: #F7F8FF;
  --muted: #AAB3CF;
  --accent: #A759F4;
  --brand-gradient: linear-gradient(90deg, #A759F4 0%, #F93E8C 100%);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--txt);
  background:
    radial-gradient(circle at 10% 5%, rgba(167,89,244,.17), transparent 32%),
    radial-gradient(circle at 92% 12%, rgba(249,62,140,.10), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(62,232,255,.06), transparent 35%),
    var(--bg);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .13;
  background-image:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 82%);
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}
::selection { background: rgba(167,89,244,.45); color: #fff; }
a, button, summary, [role="button"], label { touch-action: manipulation; }

.wrap {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 820px);
  margin: 0 auto;
  padding: 42px 0 84px;
}

.back {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-bottom: 30px;
  padding: 9px 15px;
  border: 1px solid rgba(167,89,244,.28);
  border-radius: 999px;
  background: rgba(14,19,41,.72);
  color: #E9DEFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.back:hover {
  color: #fff;
  border-color: rgba(249,62,140,.56);
  background: rgba(167,89,244,.11);
  transform: translateY(-1px);
}
.back-bottom { margin-top: 32px; margin-bottom: 0; }

h1 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}
h1::after {
  content: "";
  display: block;
  width: 86px;
  height: 5px;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--brand-gradient);
  box-shadow: 0 0 24px rgba(167,89,244,.28);
}
h2 {
  margin: 42px 0 12px;
  color: #fff;
  font-size: clamp(1.22rem, 3vw, 1.55rem);
  line-height: 1.25;
}
h2::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-inline-end: 10px;
  border-radius: 50%;
  background: var(--brand-gradient);
  box-shadow: 0 0 14px rgba(249,62,140,.36);
  vertical-align: .1em;
}
h3 { color: #F7F8FF; }

p, li, .sub, .updated, .meta { color: #C5CCE1; }
p, li { font-size: 15px; }
p { margin: 0 0 16px; }
ul, ol { padding-inline-start: 24px; }
li { margin-bottom: 7px; }
.lead { color: #EEF1FF; font-size: 1.08rem; }
.sub { margin-bottom: 36px; color: var(--muted); font-size: 15px; }
.updated { margin-bottom: 32px; color: var(--muted); font-size: 13px; }

body a:not(.cta):not(.action):not(.back):not(.post) {
  color: #D7B5FF;
  text-decoration-color: rgba(249,62,140,.55);
  text-underline-offset: 3px;
}
body a:not(.cta):not(.action):not(.back):not(.post):hover { color: #FF9DC6; }

.box, .card, .post, .cta-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(167,89,244,.24);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.008)),
    rgba(14,19,41,.90);
  box-shadow: 0 22px 55px rgba(0,0,0,.27);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
/* The accent stops before the curved corners. The top highlight sits on the
   card's real rounded edge and is clipped by the same radius, so it never
   reads as a second rectangular line inside the component. */
.box::before, .card::before, .post::before, .cta-box::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 12px auto 12px 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: var(--brand-gradient);
  opacity: .95;
  pointer-events: none;
}
.box::after, .card::after, .post::after, .cta-box::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  box-sizing: border-box;
  border-top: 1px solid rgba(255,255,255,.10);
  border-radius: inherit;
  pointer-events: none;
}
.box > *, .card > *, .post > *, .cta-box > * { position: relative; z-index: 1; }
.box, .card { padding: 20px 22px; margin: 16px 0; }
.box > :last-child, .card > :last-child { margin-bottom: 0; }

.post {
  display: block;
  padding: 23px 25px;
  margin: 16px 0;
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.post:hover {
  transform: translateY(-3px);
  border-color: rgba(249,62,140,.54);
  box-shadow: 0 28px 64px rgba(0,0,0,.34), 0 0 30px rgba(167,89,244,.08);
}
.post h2 { margin: 0 0 7px; color: #fff; }
.post h2::before { display: none; }
.post p { margin: 0; color: #C7CEE2; }
.post .meta { margin-top: 10px; font-size: 12px; }

.card h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
}
.list-number { color: #FF8CBC; font-weight: 850; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 10px;
  border: 1px solid rgba(249,62,140,.20);
  border-radius: 999px;
  background: rgba(167,89,244,.12);
  color: #E3CDFF;
  font-size: 12px;
  font-weight: 800;
}
.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.pros-cons > div {
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
  color: #C5CCE1;
  font-size: 14px;
}
.pros b { color: #5DDBAE; }
.cons b { color: #FF7D8B; }
.faq-q { margin: 22px 0 4px; color: #F7F8FF; font-weight: 800; }

.cta-box {
  padding: 30px 26px;
  margin: 38px 0;
  text-align: center;
  border-color: rgba(249,62,140,.30);
  background:
    radial-gradient(circle at 50% 0, rgba(167,89,244,.16), transparent 48%),
    rgba(14,19,41,.92);
}
.cta-box h3 { margin: 0 0 8px; color: #fff; font-size: 1.25rem; }
.cta-box p { margin: 0 0 16px; color: #C7CEE2; font-size: 14px; }
.cta, .action {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border: 0;
  border-radius: 14px;
  outline: 0;
  background: var(--brand-gradient);
  background-origin: border-box;
  background-clip: border-box;
  color: #fff;
  font-weight: 850;
  text-decoration: none;
  text-shadow: none;
  box-shadow: 0 14px 30px rgba(167,89,244,.26);
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}
.cta:hover, .action:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 17px 36px rgba(249,62,140,.24);
}
.cta:focus-visible, .action:focus-visible, .back:focus-visible, .post:focus-visible {
  outline: 3px solid rgba(62,232,255,.72);
  outline-offset: 3px;
}

.foot {
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid rgba(167,89,244,.18);
  color: var(--muted);
  font-size: 13px;
}
.foot p { margin: 0 0 8px; font-size: 13px; }
.foot a { color: #BFC7DE; }

@keyframes tttTapBounce {
  0% { transform: scale(1); }
  40% { transform: scale(.96); }
  100% { transform: scale(1); }
}
@media (hover: none) {
  a:active, button:active, [role="button"]:active {
    animation: tttTapBounce .26s cubic-bezier(.2,.7,.3,1);
  }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 24px, 820px); padding-top: 24px; }
  h1 { font-size: 2rem; }
  .box, .card, .post, .cta-box { border-radius: 16px; }
  .post, .box, .card { padding: 18px; }
  .cta-box { padding: 24px 18px; }
  .pros-cons { grid-template-columns: 1fr; }
}
