:root {
  --bg: #f4f3ef;
  --bg-soft: #faf9f6;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #5e5e58;
  --line: rgba(17, 17, 17, 0.1);
  --brand: #0f172a;
  --brand-2: #1f2937;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 20px 46px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.topdf-page {
  font-family: "Plus Jakarta Sans", "Avenir Next", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 95% -10%, rgba(255, 225, 170, 0.24), transparent 55%),
    radial-gradient(700px 460px at -10% 18%, rgba(180, 210, 255, 0.22), transparent 58%),
    linear-gradient(180deg, #f9f8f4 0%, var(--bg) 55%, #f0efe9 100%);
  line-height: 1.6;
}

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

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

.tp-wrap {
  width: min(1180px, calc(100% - 2.2rem));
  margin-inline: auto;
}

.tp-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(249, 248, 244, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.tp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.tp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tp-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(17, 24, 39, 0.16);
}

.tp-nav-links {
  display: inline-flex;
  gap: 1.15rem;
  color: #3f3f3b;
  font-size: 0.94rem;
}

.tp-nav-links a {
  opacity: 0.86;
  transition: opacity 0.2s ease;
}

.tp-nav-links a:hover,
.tp-nav-links a:focus-visible {
  opacity: 1;
  outline: none;
}

.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.72rem 1.05rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.18s ease;
}

.tp-btn:hover,
.tp-btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.tp-btn-appstore {
  background: #111111;
  color: #ffffff;
}

.tp-btn-ghost {
  background: #ffffff;
  border-color: var(--line);
}

.tp-hero {
  padding: 3.2rem 0 1.5rem;
}

.tp-hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 2.1rem;
  align-items: center;
}

.tp-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.77rem;
  color: #696963;
  font-weight: 700;
}

.tp-title {
  margin: 0.7rem 0 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 5vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.tp-subtitle {
  margin: 1rem 0 0;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  color: #30302d;
  max-width: 57ch;
}

.tp-cta-row {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tp-hero-note {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.tp-hero-visual {
  min-height: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #f8fbff 0%, #f4f6fb 45%, #fff7ee 100%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.tp-hero-shot {
  margin: 0;
  width: min(350px, 70vw);
  margin-inline: auto;
  border-radius: 22px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: #fff;
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.tp-hero-shot img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  background: #f4f4f1;
}

.tp-hero-shot figcaption {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 0.65rem 0.8rem;
  font-size: 0.86rem;
  color: var(--muted);
  background: #fff;
}

.tp-statbar {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
}

.tp-stat {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.85rem;
}

.tp-stat strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.25;
}

.tp-stat span {
  font-size: 0.88rem;
  color: var(--muted);
}

.tp-section {
  margin-top: 1.35rem;
  padding: 1.45rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.tp-section h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.tp-section p {
  color: #4b4b45;
}

.tp-facts-wrap {
  margin-top: 0.95rem;
  overflow-x: auto;
}

.tp-facts {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  border: 1px solid #e7e7e1;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.tp-facts th,
.tp-facts td {
  text-align: left;
  padding: 0.72rem 0.82rem;
  border-bottom: 1px solid #ecece6;
  vertical-align: top;
}

.tp-facts th {
  width: 38%;
  font-weight: 700;
  color: #252522;
  background: #f8f8f5;
}

.tp-facts tr:last-child th,
.tp-facts tr:last-child td {
  border-bottom: none;
}

.tp-queries .tp-query-list {
  margin: 0.85rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.62rem;
  color: #4b4b45;
}

.tp-queries .tp-query-list li::marker {
  color: #131313;
}

.tp-feature-wrap {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 1.1rem;
  align-items: center;
}

.tp-feature-phone {
  width: min(330px, 70vw);
  margin-inline: auto;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
}

.tp-feature-phone img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  background: #f6f6f2;
}

.tp-feature-cards {
  display: grid;
  gap: 0.7rem;
}

.tp-feature-card {
  width: 100%;
  text-align: left;
  border: 1px solid #e4e4de;
  border-radius: 16px;
  background: #fff;
  padding: 1rem;
  cursor: pointer;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.tp-feature-card:hover,
.tp-feature-card:focus-visible {
  transform: translateY(-1px);
  border-color: #111;
  outline: none;
}

.tp-feature-card.is-active {
  border-color: #111;
  background: #f5f5f2;
}

.tp-feature-card h3 {
  margin: 0;
  font-size: 1.04rem;
}

.tp-feature-card p {
  margin: 0.45rem 0 0;
  color: #5f5e58;
}

.tp-dark {
  margin-top: 1.35rem;
  border-radius: var(--radius-xl);
  background: #161616;
  color: #fff;
  padding: 1.55rem;
}

.tp-dark h2 {
  margin: 0;
  text-align: center;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.tp-dark-sub {
  margin-top: 0.45rem;
  text-align: center;
  color: #bebeb6;
}

.tp-dark-grid {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.tp-dark-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: #232323;
  padding: 1rem;
}

.tp-dark-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.tp-dark-card p {
  margin: 0.45rem 0 0;
  color: #cecec7;
}

.tp-gallery {
  margin-top: 1.4rem;
}

.tp-gallery-head {
  text-align: center;
}

.tp-gallery-head h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.5rem, 2.9vw, 2.4rem);
}

.tp-gallery-head p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.tp-gallery-carousel {
  margin-top: 1rem;
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  padding: 0.2rem 0.2rem 0.45rem;
  scroll-snap-type: x mandatory;
}

.tp-gallery-slide {
  flex: 0 0 min(290px, 78vw);
  scroll-snap-align: start;
}

.tp-gallery-slide h3 {
  margin: 0.7rem 0 0;
  font-size: 1.02rem;
}

.tp-gallery-slide p {
  margin: 0.36rem 0 0;
  color: #575750;
  font-size: 0.94rem;
}

.tp-gallery-item {
  margin: 0;
  border-radius: 18px;
  border: 1px solid #e6e6df;
  padding: 0.46rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.tp-gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  object-position: top center;
  background: #f5f5f1;
}

.tp-faq {
  margin-top: 1rem;
  display: grid;
  gap: 0.68rem;
}

.tp-faq-item {
  border-radius: 14px;
  border: 1px solid #e4e4de;
  background: #fff;
  padding: 0.92rem;
}

.tp-faq-item h3 {
  margin: 0;
  font-size: 1rem;
}

.tp-faq-item p {
  margin: 0.4rem 0 0;
  color: #5f5e58;
}

.tp-cta-final {
  margin: 1.35rem 0 1rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, #0d1117 0%, #1d2430 58%, #2d3645 100%);
  color: #fff;
  padding: 1.55rem;
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.23);
}

.tp-cta-final h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.4rem, 2.7vw, 2.2rem);
}

.tp-cta-final p {
  margin: 0.75rem 0 1rem;
  color: #d7d8dd;
}

.tp-cta-final .tp-btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.tp-footer {
  padding: 0.3rem 0 1.5rem;
}

.tp-footer-row {
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
  color: #62625d;
  font-size: 0.9rem;
}

.tp-footer-links {
  display: inline-flex;
  gap: 0.82rem;
}

.tp-footer-links a {
  color: #343431;
}

@media (max-width: 1020px) {
  .tp-hero-grid,
  .tp-feature-wrap {
    grid-template-columns: 1fr;
  }

  .tp-statbar,
  .tp-dark-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .tp-wrap {
    width: min(1180px, calc(100% - 1.1rem));
  }

  .tp-nav-links {
    display: none;
  }

  .tp-hero {
    padding-top: 2rem;
  }

  .tp-header-inner {
    gap: 0.6rem;
  }

  .tp-btn {
    padding: 0.68rem 0.9rem;
  }

  .tp-statbar,
  .tp-dark-grid {
    grid-template-columns: 1fr;
  }

  .tp-section,
  .tp-dark,
  .tp-cta-final {
    padding: 1.1rem;
  }

  .tp-facts {
    min-width: 100%;
  }
}
