/**
 * GoToTask — shared marketing / legal / feature doc / compare / help layouts.
 * Navbar and footer remain global; this styles main content only.
 */

/* --- Feature & compare article shells --- */
.gtt-marketing-doc {
  max-width: 52rem;
  margin: 0 auto;
}

.gtt-marketing-doc article {
  padding-bottom: 3rem;
}

.gtt-marketing-doc article > header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.gtt-marketing-doc article h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.gtt-marketing-doc article > header p {
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.75;
  margin: 0;
}

.gtt-marketing-doc article section {
  margin-bottom: 2.25rem;
}

.gtt-marketing-doc article h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.75rem;
}

.gtt-marketing-doc article p,
.gtt-marketing-doc article li {
  line-height: 1.85;
  color: #334155;
}

.gtt-marketing-doc article ul {
  padding-left: 1.25rem;
}

.gtt-marketing-doc .gtt-doc-card {
  padding: 1.35rem 1.5rem;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  margin-bottom: 2rem;
}

.gtt-marketing-doc .gtt-doc-card h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.gtt-marketing-doc .gtt-doc-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.gtt-marketing-doc .gtt-doc-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* --- Icon strip (feature pages) --- */
.gtt-doc-icon-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.gtt-doc-icon-tile {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.gtt-doc-icon-tile svg {
  width: 2rem;
  height: 2rem;
  color: #6366f1;
  margin-bottom: 0.5rem;
}

.gtt-doc-icon-tile span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.35;
}

/* --- Analytics band (reporting page) --- */
.gtt-analytics-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.gtt-analytics-stat {
  background: linear-gradient(145deg, #1e1b4b 0%, #312e81 40%, #4338ca 100%);
  color: #fff;
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 12px 32px rgba(67, 56, 202, 0.25);
}

.gtt-analytics-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.gtt-analytics-stat span {
  font-size: 0.875rem;
  opacity: 0.88;
}

/* --- Comparison tables --- */
.gtt-compare-table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  background: #fff;
}

table.gtt-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 0.9375rem;
}

table.gtt-compare-table th,
table.gtt-compare-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}

table.gtt-compare-table thead th {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

table.gtt-compare-table tbody tr:last-child td {
  border-bottom: none;
}

table.gtt-compare-table td:first-child {
  font-weight: 600;
  color: #334155;
  width: 28%;
}

table.gtt-compare-table .gtt-yes {
  color: #047857;
  font-weight: 600;
}

table.gtt-compare-table .gtt-partial {
  color: #b45309;
  font-weight: 600;
}

table.gtt-compare-table .gtt-no {
  color: #64748b;
}

/* --- Help center --- */
.gtt-help-hero {
  padding: 3rem 0 2rem;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.gtt-help-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}

.gtt-help-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}

.gtt-help-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.gtt-help-hero p {
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.95;
  line-height: 1.65;
}

.gtt-help-grid {
  max-width: 56rem;
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .gtt-help-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gtt-help-card {
  display: block;
  padding: 1.25rem 1.35rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.gtt-help-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.12);
  transform: translateY(-2px);
}

.gtt-help-card small {
  display: block;
  margin-top: 0.35rem;
  font-weight: 500;
  color: #64748b;
  font-size: 0.875rem;
}

/* --- Watch demo --- */
.gtt-watch-layout {
  background: #f8fafc;
}

.gtt-watch-hero {
  padding: 3.5rem 0 2rem;
  text-align: center;
}

.gtt-watch-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.gtt-watch-hero p {
  color: #64748b;
  font-size: 1.0625rem;
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.65;
}

.gtt-watch-video-shell {
  max-width: 960px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.gtt-watch-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
  border: 1px solid #e2e8f0;
}

.gtt-watch-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gtt-watch-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  text-align: center;
  padding: 2rem;
}

.gtt-watch-cta-panel {
  max-width: 56rem;
  margin: 0 auto 4rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.gtt-watch-cta-panel h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.gtt-watch-cta-panel p {
  margin: 0 0 1.5rem;
  color: #64748b;
  line-height: 1.65;
}

.gtt-watch-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* --- Legal / policy documents --- */
.gtt-legal-page {
  background: #f1f5f9;
  padding: 2.5rem 0 4rem;
}

.gtt-legal-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.gtt-legal-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.gtt-legal-card-header {
  background: linear-gradient(135deg, #6366f1 0%, #7c3aed 45%, #9333ea 100%);
  color: #fff;
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.gtt-legal-card-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.gtt-legal-card-header p {
  margin: 0;
  font-size: 0.9375rem;
  opacity: 0.92;
}

.gtt-legal-body {
  padding: 2rem 1.5rem 2.5rem;
}

@media (min-width: 768px) {
  .gtt-legal-body {
    padding: 2.5rem 2.75rem 3rem;
  }
}

.gtt-legal-body section {
  margin-bottom: 2.25rem;
}

.gtt-legal-body section:last-child {
  margin-bottom: 0;
}

.gtt-legal-body h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #e0e7ff;
}

.gtt-legal-body p,
.gtt-legal-body li {
  color: #475569;
  line-height: 1.8;
  font-size: 1rem;
}

.gtt-legal-body ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.gtt-legal-body li + li {
  margin-top: 0.35rem;
}

.gtt-legal-contact {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem 1.35rem;
  margin-top: 2rem;
}

.gtt-legal-contact h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1rem;
}

.gtt-legal-contact p {
  margin: 0;
  font-size: 0.9375rem;
}

.gtt-legal-contact a {
  color: #4f46e5;
  font-weight: 500;
}

.gtt-legal-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.gtt-legal-social a {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  background: #4f46e5;
  color: #fff !important;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

.gtt-legal-social a:hover {
  filter: brightness(1.08);
}

/* --- Sitemap --- */
.gtt-sitemap-page {
  background: #f8fafc;
}

.gtt-sitemap-main {
  padding: 3rem 0 4.5rem;
}

.gtt-sitemap-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.gtt-sitemap-lead {
  text-align: center;
  color: #64748b;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.gtt-sitemap-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .gtt-sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gtt-sitemap-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gtt-sitemap-block {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.gtt-sitemap-block h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1rem;
}

.gtt-sitemap-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gtt-sitemap-block li + li {
  margin-top: 0.5rem;
}

.gtt-sitemap-block a {
  color: #4f46e5;
  font-weight: 500;
  text-decoration: none;
}

.gtt-sitemap-block a:hover {
  text-decoration: underline;
}

.gtt-sitemap-meta {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.gtt-sitemap-meta a {
  color: #6366f1;
  font-weight: 600;
}

/* --- Careers form --- */
.gtt-careers-layout {
  background: #f8fafc;
}

.gtt-careers-grid {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .gtt-careers-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.gtt-careers-intro h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.gtt-careers-intro p {
  color: #475569;
  line-height: 1.75;
  margin: 0 0 1rem;
}

.gtt-careers-values {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.gtt-careers-value {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.15rem;
}

.gtt-careers-value strong {
  display: block;
  color: #312e81;
  margin-bottom: 0.25rem;
}

.gtt-careers-value span {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.55;
}

.gtt-careers-form-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.gtt-careers-form-card h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.35rem;
}

.gtt-careers-form-card .gtt-careers-form-hint {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0 0 1.5rem;
}

.gtt-careers-form .form-row {
  margin-bottom: 1.15rem;
}

.gtt-careers-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.35rem;
}

.gtt-careers-form input[type="text"],
.gtt-careers-form input[type="email"],
.gtt-careers-form input[type="tel"],
.gtt-careers-form textarea,
.gtt-careers-form select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  background: #f8fafc;
  box-sizing: border-box;
}

.gtt-careers-form textarea {
  min-height: 120px;
  resize: vertical;
}

.gtt-careers-form input:focus,
.gtt-careers-form textarea:focus,
.gtt-careers-form select:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
  background: #fff;
}

.gtt-careers-form .btn-primary {
  margin-top: 0.5rem;
}

#gttCareersMsg {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.9375rem;
}

#gttCareersMsg.gtt-ok {
  display: block;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

#gttCareersMsg.gtt-err {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
