:root {
  --ink: #17212b;
  --muted: #5d6976;
  --paper: #fffdf9;
  --surface: #ffffff;
  --soft: #f6f1ec;
  --rose: #e64f72;
  --rose-dark: #bd2e51;
  --peach: #ffb785;
  --teal: #167c74;
  --line: #e8e0d9;
  --shadow: 0 18px 50px rgba(55, 31, 38, 0.1);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 85% 8%, rgba(255, 183, 133, 0.2), transparent 28rem),
    radial-gradient(circle at 10% 30%, rgba(230, 79, 114, 0.08), transparent 30rem);
  pointer-events: none;
}

a {
  color: inherit;
}

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

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(232, 224, 217, 0.85);
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--peach));
  box-shadow: 0 8px 20px rgba(230, 79, 114, 0.24);
}

.brand span span {
  color: var(--rose);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--rose-dark);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.15rem;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  box-shadow: 0 10px 24px rgba(189, 46, 81, 0.2);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.nav-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(189, 46, 81, 0.26);
}

.button.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
}

.button.small {
  min-height: 42px;
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
}

.hero {
  padding: clamp(3.5rem, 8vw, 7.5rem) 0 3rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--rose-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  content: "";
  background: currentColor;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 780px;
  margin: 0 0 1.25rem;
  font-size: clamp(2.65rem, 6vw, 5.6rem);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.45rem);
}

h3 {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
}

.lead {
  max-width: 720px;
  margin: 0 0 1.7rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 650;
}

.trust-row span::before {
  margin-right: 0.45rem;
  color: var(--teal);
  content: "✓";
  font-weight: 900;
}

.hero-card {
  position: relative;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.hero-card::before,
.hero-card::after {
  position: absolute;
  z-index: -1;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  content: "";
  filter: blur(4px);
}

.hero-card::before {
  top: -35px;
  right: -35px;
  background: rgba(255, 183, 133, 0.55);
}

.hero-card::after {
  bottom: -50px;
  left: -30px;
  background: rgba(230, 79, 114, 0.25);
}

.phone {
  min-height: 520px;
  padding: 1rem;
  border: 8px solid var(--ink);
  border-radius: 36px;
  background: linear-gradient(160deg, #fff 0%, #fff6f2 100%);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 850;
}

.match-photo {
  min-height: 325px;
  display: flex;
  align-items: end;
  padding: 1.3rem;
  border-radius: 26px;
  color: #fff;
  background:
    linear-gradient(0deg, rgba(23, 33, 43, 0.85), transparent 65%),
    linear-gradient(135deg, #d69c8b 0%, #733f54 48%, #21394b 100%);
}

.match-photo p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.match-photo small {
  display: block;
  opacity: 0.8;
}

.match-controls {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.1rem 0 0.5rem;
}

.match-controls span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--rose);
  background: #fff;
  box-shadow: 0 10px 30px rgba(55, 31, 38, 0.12);
  font-size: 1.4rem;
}

.match-controls span:last-child {
  color: #fff;
  background: var(--rose);
}

.notice {
  padding: 1rem 1.1rem;
  border: 1px solid #f1d8bc;
  border-radius: 16px;
  color: #66431f;
  background: #fff8e9;
  font-size: 0.9rem;
}

.notice strong {
  color: #432b13;
}

.section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.section.soft {
  background: var(--soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--muted);
}

.quick-picks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: -1rem;
}

.pick-card,
.article-card,
.feature-card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(55, 31, 38, 0.05);
}

.pick-card .label,
.tag {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  color: var(--rose-dark);
  background: #fff0f4;
  font-size: 0.75rem;
  font-weight: 850;
}

.pick-card p,
.feature-card p,
.article-card p {
  color: var(--muted);
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.comparison-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.comparison-table th {
  color: var(--muted);
  background: #fbf8f5;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table tr.featured {
  background: #fff7f9;
}

.rank {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: var(--muted);
  background: var(--soft);
  font-weight: 850;
}

.featured .rank {
  color: #fff;
  background: var(--rose);
}

.app-name {
  min-width: 150px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 850;
}

.app-icon {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--ink);
}

.app-icon.tiamoo {
  background: linear-gradient(135deg, var(--rose), var(--peach));
}

.fit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
}

.fit.good {
  color: var(--teal);
}

.fit.mid {
  color: #9a6817;
}

.disclosure {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.spotlight {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.spotlight-visual {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 2rem;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.85), transparent 8rem),
    linear-gradient(145deg, #ffd5c1, #f47791 55%, #792c4f);
  box-shadow: var(--shadow);
}

.spotlight-logo {
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  border: 8px solid rgba(255, 255, 255, 0.45);
  border-radius: 50px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.16);
  font-size: 6rem;
  transform: rotate(-5deg);
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.4rem 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 0.7rem;
}

.check-list li::before {
  color: var(--teal);
  content: "✓";
  font-weight: 900;
}

.method-grid,
.article-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.method-number {
  width: 44px;
  height: 44px;
  display: grid;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}

.article-card a {
  color: var(--rose-dark);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.faq {
  max-width: 850px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 1.2rem 2.3rem 1.2rem 0;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 1.15rem;
  right: 0;
  color: var(--rose);
  content: "+";
  font-size: 1.4rem;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin-top: 0;
  padding-bottom: 1rem;
  color: var(--muted);
}

.cta-band {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 32px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(23, 33, 43, 0.15), rgba(23, 33, 43, 0.5)),
    linear-gradient(135deg, var(--rose), #7a294d);
  box-shadow: var(--shadow);
}

.cta-band p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.82);
}

.cta-band .button {
  color: var(--ink);
  background: #fff;
}

.site-footer {
  margin-top: 5rem;
  padding: 3rem 0 2rem;
  color: #dce3e8;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}

.footer-grid p,
.footer-grid a {
  color: #aebac3;
}

.footer-grid a {
  display: block;
  margin: 0.35rem 0;
  text-decoration: none;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8c9aa5;
  font-size: 0.82rem;
}

.breadcrumb {
  padding-top: 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--rose-dark);
}

.article-hero {
  padding: 3.5rem 0 2.5rem;
}

.article-hero h1 {
  max-width: 900px;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3rem;
  align-items: start;
}

.prose {
  max-width: 780px;
}

.prose h2 {
  margin-top: 3rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.prose h3 {
  margin-top: 2rem;
}

.prose p,
.prose li {
  color: #40505d;
}

.prose a {
  color: var(--rose-dark);
  font-weight: 750;
}

.prose table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
}

.prose th,
.prose td {
  padding: 0.8rem;
  border: 1px solid var(--line);
  text-align: left;
}

.prose th {
  background: var(--soft);
}

.toc {
  position: sticky;
  top: 95px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.toc strong {
  display: block;
  margin-bottom: 0.65rem;
}

.toc a {
  display: block;
  padding: 0.3rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.toc a:hover {
  color: var(--rose-dark);
}

.callout {
  margin: 2rem 0;
  padding: 1.25rem;
  border-left: 4px solid var(--rose);
  border-radius: 0 16px 16px 0;
  background: #fff2f5;
}

.byline {
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.4rem;
  color: var(--muted);
}

.byline small {
  display: block;
}

.author-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-size: 0.8rem;
  font-weight: 900;
}

.app-profile-heading {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.app-profile-heading h1 {
  margin-bottom: 0.6rem;
}

.app-profile-icon {
  width: 90px;
  height: 90px;
  display: grid;
  flex: 0 0 90px;
  place-items: center;
  border-radius: 26px;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow);
  font-size: 2.7rem;
  font-weight: 900;
}

.app-profile-icon.tiamoo {
  background: linear-gradient(135deg, var(--rose), var(--peach));
}

.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
}

.facts-grid div {
  padding: 1rem;
  background: #fff;
}

.facts-grid small,
.facts-grid strong {
  display: block;
}

.facts-grid small {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.verdict-box,
.source-box {
  margin: 1.5rem 0;
  padding: 1.3rem;
  border: 1px solid #cce2df;
  border-radius: 18px;
  background: #f2fbf9;
}

.verdict-box p,
.source-box p {
  margin-bottom: 0.4rem;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.pros,
.cons {
  padding: 1.2rem;
  border-radius: 18px;
}

.pros {
  border: 1px solid #cce2df;
  background: #f2fbf9;
}

.cons {
  border: 1px solid #f1d8bc;
  background: #fff8e9;
}

.pros h3,
.cons h3 {
  font-size: 1.1rem;
}

.mini-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.2rem 0 2rem;
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink) !important;
  background: #fff;
  text-decoration: none;
}

.mini-card:hover {
  border-color: var(--rose);
}

.mini-card small {
  display: block;
  color: var(--muted);
  font-weight: 500;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.directory-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(55, 31, 38, 0.05);
}

.directory-card.featured-card {
  border-color: #efafbd;
  background: #fff7f9;
}

.directory-card h2,
.guide-directory h2 {
  margin-top: 1rem;
  font-size: 1.65rem;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.directory-card dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.4rem 0.8rem;
  margin: 1rem 0;
}

.directory-card dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.directory-card dd {
  margin: 0;
}

.text-link {
  color: var(--rose-dark);
  font-weight: 850;
}

.guide-directory {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.editorial-checklist {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.toc hr {
  margin: 0.8rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.footer-grid-wide {
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

.ranking-list {
  display: grid;
  gap: 1rem;
}

.ranking-card {
  display: grid;
  grid-template-columns: 48px 90px 1fr;
  gap: 1.2rem;
  align-items: start;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(55, 31, 38, 0.05);
}

.ranking-card.featured-card {
  border-color: #efafbd;
  background: #fff7f9;
}

.ranking-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.ranking-title h2 {
  margin: 0;
  font-size: 1.7rem;
}

.ranking-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.menu-button {
  display: none;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 1.5rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .spotlight,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 560px;
    margin-inline: auto;
  }

  .quick-picks,
  .method-grid,
  .article-grid,
  .feature-grid,
  .guide-directory {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid-wide {
    grid-template-columns: 1fr 1fr;
  }

  .toc {
    position: static;
    order: -1;
  }
}

@media (max-width: 720px) {
  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    right: 1rem;
    left: 1rem;
    display: none;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    align-items: stretch;
    background: #fff;
    box-shadow: var(--shadow);
    flex-direction: column;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .nav-cta {
    width: 100%;
  }

  .quick-picks,
  .method-grid,
  .article-grid,
  .feature-grid,
  .footer-grid,
  .guide-directory,
  .directory-grid,
  .pros-cons,
  .mini-card-grid,
  .facts-grid {
    grid-template-columns: 1fr;
  }

  .app-profile-heading {
    align-items: flex-start;
  }

  .app-profile-icon {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    border-radius: 20px;
    font-size: 2rem;
  }

  .ranking-card {
    grid-template-columns: 38px 64px 1fr;
    gap: 0.7rem;
  }

  .ranking-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .ranking-card {
    grid-template-columns: 38px 1fr;
  }

  .ranking-card .app-profile-icon {
    grid-column: 2;
    grid-row: 1;
  }

  .ranking-card .ranking-content {
    grid-column: 1 / -1;
  }

  .phone {
    min-height: 440px;
  }

  .match-photo {
    min-height: 260px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
