/* ===== Design Tokens ===== */
:root {
  --brand:        #00938c;
  --brand-light:  #00b5ad;
  --brand-dark:   #1f7488;
  --accent:       #E8954A;
  --accent-dark:  #d4783a;
  --cream:        #f8f5ef;
  --warm:         #f0ede6;
  --warm-alt:     #eeefe8;
  --charcoal:     #1e2329;
  --text:         #252c30;
  --text-muted:   #4b5563;
  --border:       #dedad4;
  --surface:      #ffffff;
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 18px rgba(0,0,0,0.09);
  --shadow-lg:    0 12px 36px rgba(0,0,0,0.13);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  color: var(--text);
  background-color: var(--cream);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 2px 0px;
  font-family: "Syne", sans-serif;
}

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

.container {
  width: 90%;
  max-width: 100%;
  margin: 0 auto;
}

/* ===== Header ===== */

.site-header {
  border-top: 3px solid var(--brand);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: var(--surface);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo a {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--text);
}

.main-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
}

.main-nav > ul > li > a {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: color 0.15s ease-out;
}

.main-nav > ul > li > a:hover {
  color: var(--brand);
}

.main-nav li {
  position: relative;
}

.main-nav li.active > a {
  color: var(--brand);
}

.submenu {
  display: block;
  position: absolute;
  top: 130%;
  left: 0;
  min-width: 220px;
  background-color: var(--surface);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.18s ease-out;
  padding: 12px 0;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.submenu li {
  display: block;
  padding: 0;
}

.submenu a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  transition: color 0.12s ease-out;
}

.submenu a:hover {
  color: var(--brand);
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-wrapper {
  min-height: 130vh;
  padding-bottom: 60px;
}

/* ===== Hero ===== */

.hero {
  padding: 120px 0 90px;
  background-color: #e5e0d8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23ac9e92' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

.hero--primary {
  background: linear-gradient(135deg, var(--surface) 0%, #f6fbff 40%, #f8f9fa 100%);
}

.hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-headline {
  color: #fffcf5;
  font-size: clamp(40px, 8vw, 80px);
  line-height: 1.1;
  margin: 0;
  text-align: right;
  flex: 1;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
  font-family: "Inter", sans-serif;
  font-weight: 800;
}

@media (max-width: 768px) {
  .hero-row {
    flex-direction: column;
    align-items: center;
  }
  .hero-headline {
    text-align: center;
    margin-top: 16px;
  }
}

.hero-content {
  max-width: 800px;
}

.hero-content h1 {
  font-size: xx-large;
}

.hero-step {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.hero-title {
  font-size: 40px;
  line-height: 1.2;
  margin: 0 0 20px;
  overflow-wrap: break-word;
  font-family: "Syne", sans-serif;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 16px;
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease-out;
  font-family: "DM Sans", sans-serif;
}

.btn-primary {
  background-color: var(--brand-dark);
  color: var(--surface);
  border-color: var(--brand-dark);
}

.btn-primary:hover {
  background-color: #006560;
  border-color: #006560;
}

.btn-outline {
  border-color: var(--text);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--text);
  color: var(--surface);
}

/* ===== Feature Strip ===== */

.strip-features {
  padding: 60px 0;
}

.strip-grid {
  display: grid;
  gap: 30px;
}

@media (min-width: 768px) {
  .strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.strip-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.strip-item p {
  font-size: 14px;
  color: var(--text-muted);
}

.section-alt {
  padding: 80px 0;
  background-color: var(--surface);
}

.two-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 900px) {
  .two-column {
    flex-direction: row;
    align-items: center;
  }
}

.placeholder-box {
  background-color: #f1f3f5;
  border-radius: 4px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  transition: color 0.15s ease-out;
}

.text-link:hover {
  color: var(--brand-dark);
}

/* ===== Footer ===== */

.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  background-color: var(--warm-alt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23a5a091' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

.footer-widgets {
  display: grid;
  gap: 30px;
  padding-bottom: 30px;
}

@media (min-width: 900px) {
  .footer-widgets {
    grid-template-columns: 2fr 1.2fr 1.2fr;
  }
}

.footer-column h4 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  color: var(--text);
}

.footer-column p,
.footer-column li {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-column a:hover {
  color: var(--brand);
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li {
  margin-bottom: 6px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 0 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Form ===== */

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 3px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-family: inherit;
  background-color: var(--surface);
  color: var(--text);
  transition: border-color 0.15s ease-out;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--brand);
}

.team-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.team-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

/* ===== App List ===== */

.price {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: "Syne", sans-serif;
}

.app-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.app-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.app-item-image {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: #f1f3f5;
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-image {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: #f1f3f5;
}

/* ===== Page Hero ===== */

.page-hero {
  padding: 80px 0 40px;
  background-color: #f8f9fa;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-size: 32px;
  font-family: "Syne", sans-serif;
}

.page-hero p {
  margin-top: 10px;
  color: var(--text-muted);
}

/* ===== Content Sections ===== */

.content-section {
  padding: 40px 0;
}

.content-section h2 {
  margin-top: 0;
}

.cards-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ===== Cards ===== */

.card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease-out, transform 0.2s ease-out;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-badge-red {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 24px;
  color: var(--accent);
  font-family: 'Caveat', cursive;
  font-weight: 700;
  line-height: 1;
}

.card-badge-green {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 24px;
  color: var(--brand);
  font-family: 'Caveat', cursive;
  font-weight: 700;
  line-height: 1;
}

.card-badge-yellow {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 24px;
  color: #f58b00;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  line-height: 1;
}

.card-icon {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 55px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.card-has-action {
  padding-bottom: 60px;
}

.card-action {
  position: absolute;
  bottom: 22px;
  left: 22px;
  padding: 6px 16px;
  font-size: 12px;
}

.card h3 {
  margin-top: 0;
}

/* ===== Utilities ===== */

.text-center {
  text-align: center;
}

.form-status {
  margin-top: 12px;
  font-size: 14px;
}

.form-status--success {
  color: #0a7b38;
}

.form-status--error {
  color: #b00020;
}

/* ===== Mobile Nav ===== */

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  transition: transform 0.18s ease-out, opacity 0.18s ease-out;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .main-nav > ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
  }

  .main-nav > ul > li {
    padding: 8px 0;
  }

  body.nav-open .main-nav {
    display: block;
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

/* ===== Grid System ===== */

.row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  width: 100%;
}

.row-cols-1 > * { grid-column: span 12; }
.row-cols-2 > * { grid-column: span 6; }
.row-cols-3 > * { grid-column: span 4; }
.row-cols-4 > * { grid-column: span 3; }
.row-cols-6 > * { grid-column: span 2; }

.col-12 { grid-column: span 12; }
.col-11 { grid-column: span 11; }
.col-10 { grid-column: span 10; }
.col-9  { grid-column: span 9; }
.col-8  { grid-column: span 8; }
.col-7  { grid-column: span 7; }
.col-6  { grid-column: span 6; }
.col-5  { grid-column: span 5; }
.col-4  { grid-column: span 4; }
.col-3  { grid-column: span 3; }
.col-2  { grid-column: span 2; }
.col-1  { grid-column: span 1; }

@media (min-width: 768px) {
  .row-cols-md-1 > * { grid-column: span 12; }
  .row-cols-md-2 > * { grid-column: span 6; }
  .row-cols-md-3 > * { grid-column: span 4; }
  .row-cols-md-4 > * { grid-column: span 3; }
  .row-cols-md-6 > * { grid-column: span 2; }

  .col-md-12 { grid-column: span 12; }
  .col-md-11 { grid-column: span 11; }
  .col-md-10 { grid-column: span 10; }
  .col-md-9  { grid-column: span 9; }
  .col-md-8  { grid-column: span 8; }
  .col-md-7  { grid-column: span 7; }
  .col-md-6  { grid-column: span 6; }
  .col-md-5  { grid-column: span 5; }
  .col-md-4  { grid-column: span 4; }
  .col-md-3  { grid-column: span 3; }
  .col-md-2  { grid-column: span 2; }
  .col-md-1  { grid-column: span 1; }
}

@media (min-width: 900px) {
  .row-cols-lg-1 > * { grid-column: span 12; }
  .row-cols-lg-2 > * { grid-column: span 6; }
  .row-cols-lg-3 > * { grid-column: span 4; }
  .row-cols-lg-4 > * { grid-column: span 3; }

  .col-lg-12 { grid-column: span 12; }
  .col-lg-6  { grid-column: span 6; }
  .col-lg-4  { grid-column: span 4; }
  .col-lg-3  { grid-column: span 3; }
}

/* Row Spans */
.row-span-2 { grid-row: span 2; }

@media (min-width: 768px) {
  .row-span-md-2 { grid-row: span 2; }
}

/* ===== Blog Cards ===== */

.blog-card-link {
  text-decoration: none;
  color: inherit;
}

.blog-card-link:hover .card {
  border-color: var(--brand-light);
  box-shadow: var(--shadow-md);
}

.blog-card-image {
  margin: -22px -22px 16px -22px;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
}

.blog-card-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease-out;
}

.blog-card-link:hover .blog-card-image img {
  transform: scale(1.03);
}

.blog-card-date {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ===== Tag Filter Pills ===== */

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.tag-pill {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.15s ease-out;
}

.tag-pill:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.tag-pill--active {
  background-color: var(--brand);
  border-color: var(--brand);
  color: var(--surface);
}

/* ===== Pagination ===== */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.pagination-info {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Blog Post Content ===== */

.blog-breadcrumb {
  font-size: 13px;
  margin-bottom: 8px;
}

.blog-breadcrumb a {
  color: var(--brand);
  text-decoration: none;
}

.blog-post-content {
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.75;
  font-size: 16px;
}

.blog-post-content h2 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.blog-post-content h3 {
  margin-top: 24px;
  margin-bottom: 8px;
}

.blog-post-content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-post-content a:hover {
  color: var(--brand-dark);
}

.blog-post-content p {
  margin-bottom: 16px;
}

.blog-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 16px 0;
}

.blog-post-content blockquote {
  border-left: 3px solid var(--brand);
  margin: 16px 0;
  padding: 8px 20px;
  color: #555;
  background-color: #f8f9fa;
}

.blog-post-content code {
  background-color: #f1f3f5;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 14px;
}

.blog-post-content pre {
  background-color: #f1f3f5;
  padding: 16px;
  border-radius: 4px;
  overflow-x: auto;
}

.blog-post-content pre code {
  background: none;
  padding: 0;
}

.blog-post-content ul,
.blog-post-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.blog-post-hero-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 24px;
}

.blog-post-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.blog-post-meta a {
  color: var(--brand);
  text-decoration: none;
}

/* ===== Admin Table ===== */

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.admin-table th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-family: "Syne", sans-serif;
}

/* ===== App Hero ===== */

.app-hero {
  text-align: center;
  padding: 60px 0 40px;
}

.app-hero-icon {
  width: 88px;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 147, 140, 0.2);
}

.app-hero h1 {
  font-size: 36px;
  margin-bottom: 8px;
  font-family: "Syne", sans-serif;
}

.app-hero .app-tagline {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.app-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Scroll Animations ===== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
}

.fade-up.is-visible {
  animation: fadeUp 0.6s ease forwards;
}

.fade-up:nth-child(2).is-visible { animation-delay: 0.1s; }
.fade-up:nth-child(3).is-visible { animation-delay: 0.2s; }

/* ===== Bento Grid ===== */

.bento-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  padding: 40px 0;
}

.bento-large {
  grid-row: 1 / 3;
  position: relative;
  background: var(--warm);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}

.bento-large:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.bento-large h2 {
  font-size: 22px;
  margin-bottom: 16px;
  font-family: "Syne", sans-serif;
}

.bento-large-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
}

.bento-large-img img {
  max-width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 12px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
  transition: transform 0.3s ease;
}

.bento-large:hover .bento-large-img img {
  transform: scale(1.02);
}

.bento-overlay {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 24px 28px;
  margin-top: auto;
  max-width: 70%;
  border: 1px solid rgba(255,255,255,0.6);
}

.bento-overlay h3 {
  font-size: 17px;
  margin-bottom: 6px;
  font-family: "Syne", sans-serif;
}

.bento-overlay p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.bento-small {
  background: var(--warm);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}

.bento-small:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.bento-small-img {
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8e4dc;
  padding: 12px;
}

.bento-small-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.bento-small:hover .bento-small-img img {
  transform: scale(1.03);
}

.bento-small-text {
  padding: 20px 24px;
}

.bento-small-text h3 {
  font-size: 17px;
  margin-bottom: 6px;
  font-family: "Syne", sans-serif;
}

.bento-small-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.bento-small--dark {
  background: #0f2622;
  color: #fff;
  border-color: #0f2622;
}

.bento-small--dark .bento-small-img {
  background: #142e2b;
}

.bento-small--dark .bento-small-img img {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.bento-small--dark .bento-small-text p {
  color: #9aa3b2;
}

.bento-small--dark .bento-small-text h3 {
  color: #fff;
}

/* ===== Video Embed ===== */

.video-embed {
  position: relative;
  width: 70%;
  padding-bottom: 39.375%;
  margin: 40px auto 0;
  border-radius: 20px;
  overflow: hidden;
  background: #1a1f2e;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 767px) {
  .video-embed {
    width: 100%;
    padding-bottom: 56.25%;
  }
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 767px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .bento-large {
    grid-row: auto;
    min-height: 400px;
  }

  .bento-overlay {
    max-width: 100%;
  }
}

/* ===== Admin Buttons ===== */

.admin-delete-btn {
  border: none;
  background: none;
  cursor: pointer;
  color: #b00020;
  font-size: 14px;
  padding: 0;
}

.admin-delete-btn:hover {
  text-decoration: underline;
}

/* ===== Admin Form ===== */

.admin-markdown-editor {
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
}

.admin-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.form-grid label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: block;
}

/* ===== Teal Trust Strip ===== */

.section-teal {
  background-color: var(--brand-dark);
  padding: 52px 0;
}

.teal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

@media (max-width: 767px) {
  .teal-strip {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.teal-stat__number {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.teal-stat__label {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.03em;
  line-height: 1.5;
}

/* ===== Coming Soon Card ===== */

.card--coming-soon {
  opacity: 0.62;
  background-color: #faf9f7;
  border-color: #ccc9c3;
  transform: none !important;
  box-shadow: var(--shadow-sm) !important;
}

.card--coming-soon .card-action {
  pointer-events: none;
  border-color: #aaa;
  color: #aaa;
}
