:root {
  --accent: #00adef;
  --accent-deep: #008fc5;
  --ink: #132430;
  --muted: #4d6270;
  --paper: #fff8ee;
  --paper-strong: #f6e5cd;
  --paper-soft: #fffdf8;
  --panel: rgba(255, 255, 255, 0.74);
  --line: rgba(19, 36, 48, 0.12);
  --warm: #b85d37;
  --warm-soft: #eed2ba;
  --pistachio: #cdd7aa;
  --shadow: 0 18px 48px rgba(19, 36, 48, 0.1);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Gill Sans", "Avenir Next", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(0, 173, 239, 0.15), transparent 28%),
    radial-gradient(circle at bottom right, rgba(184, 93, 55, 0.12), transparent 30%),
    linear-gradient(180deg, #fffdf8 0%, #fff5e8 48%, #f7ede0 100%);
  line-height: 1.65;
}

a {
  color: inherit;
}

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

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 243, 0.88);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
}

.brand-mark::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 0 0 5px rgba(0, 173, 239, 0.14);
}

.brand h1,
.brand span.brand-title {
  margin: 4px 0 0;
  font-family: "Baskerville", "Georgia", serif;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-toggle {
  margin-left: auto;
  display: none;
  border: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #06202c;
  padding: 11px 14px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.active {
  background: rgba(0, 173, 239, 0.12);
  color: var(--ink);
  transform: translateY(-1px);
}

.page-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 26px 20px 60px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 38px;
  padding: clamp(28px, 5vw, 68px);
  background:
    radial-gradient(circle at top right, rgba(0, 173, 239, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(184, 93, 55, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(255, 252, 246, 0.96), rgba(246, 229, 205, 0.95));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 28px;
  border: 1px solid rgba(19, 36, 48, 0.06);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 26px;
  align-items: stretch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  margin: 0;
  font-family: "Baskerville", "Georgia", serif;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p.lead {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions,
.quick-links,
.mini-grid,
.card-grid,
.fact-grid,
.brand-grid,
.article-grid,
.dictionary-grid,
.detail-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}

.hero-actions {
  margin-top: 26px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-actions:empty {
  display: none;
}

.button,
.cta-card,
.quick-card,
.mini-card,
.topic-card,
.brand-card,
.article-card,
.detail-card,
.dictionary-card {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 999px;
  font-family: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #06202c;
  box-shadow: 0 16px 30px rgba(0, 173, 239, 0.18);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  border: 1px solid rgba(19, 36, 48, 0.1);
}

.hero-aside {
  display: grid;
  gap: 18px;
}

.image-slot {
  position: relative;
  isolation: isolate;
  min-height: 250px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(0, 173, 239, 0.08), rgba(184, 93, 55, 0.06)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 248, 238, 0.74));
  border: 1px dashed rgba(19, 36, 48, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.image-slot::before,
.image-slot::after {
  content: "";
  position: absolute;
  border-radius: inherit;
}

.image-slot::before {
  inset: 20px;
  background:
    radial-gradient(circle at 22% 24%, rgba(0, 173, 239, 0.24), transparent 28%),
    radial-gradient(circle at 78% 30%, rgba(184, 93, 55, 0.2), transparent 24%),
    radial-gradient(circle at 52% 72%, rgba(205, 215, 170, 0.34), transparent 30%);
  filter: blur(4px);
}

.image-slot::after {
  inset: 14px;
  border: 1px solid rgba(19, 36, 48, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(
      135deg,
      rgba(19, 36, 48, 0.03) 0,
      rgba(19, 36, 48, 0.03) 8px,
      transparent 8px,
      transparent 18px
    );
}

.image-slot.image-slot-photo {
  border-style: solid;
  border-color: rgba(19, 36, 48, 0.1);
  background: rgba(255, 255, 255, 0.88);
  overflow: hidden;
}

.image-slot.image-slot-photo::before,
.image-slot.image-slot-photo::after {
  display: none;
}

.image-slot.image-slot-photo img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.info-box,
.stat-box {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(19, 36, 48, 0.08);
  box-shadow: var(--shadow);
}

.info-box h3,
.section h2,
.section h3,
.topic-card h3,
.detail-card h3,
.article-card h3,
.brand-card h3,
.dictionary-card h3,
.quick-card h3,
.mini-card h3 {
  font-family: "Baskerville", "Georgia", serif;
}

.info-box h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.info-box p:last-child,
.topic-card p:last-child,
.detail-card p:last-child,
.article-card p:last-child,
.brand-card p:last-child,
.dictionary-card p:last-child,
.rich-text p:last-child {
  margin-bottom: 0;
}

.section {
  margin-top: 34px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
}

.section.compact {
  padding-top: 24px;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
}

.section-header p {
  margin: 8px 0 0;
  max-width: 65ch;
  color: var(--muted);
}

.section-badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 173, 239, 0.12);
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.quick-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lokum-feature-grid {
  margin-top: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.quick-card,
.mini-card,
.topic-card,
.brand-card,
.article-card,
.detail-card,
.dictionary-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 22px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 238, 0.86));
  border: 1px solid rgba(19, 36, 48, 0.08);
  box-shadow: 0 16px 34px rgba(19, 36, 48, 0.08);
  position: relative;
  overflow: hidden;
}

.quick-card::before,
.mini-card::before,
.topic-card::before,
.brand-card::before,
.article-card::before,
.detail-card::before,
.dictionary-card::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.75;
}

.quick-card span.kicker,
.mini-card span.kicker,
.topic-card span.kicker,
.article-card span.kicker,
.detail-card span.kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.quick-card h3,
.mini-card h3,
.topic-card h3,
.brand-card h3,
.article-card h3,
.detail-card h3,
.dictionary-card h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  line-height: 1.16;
}

.quick-card h3,
.mini-card h3 {
  font-size: clamp(1.12rem, 1.48vw, 1.3rem);
  line-height: 1.2;
}

.quick-card p,
.mini-card p,
.topic-card p,
.brand-card p,
.article-card p,
.detail-card p,
.dictionary-card p {
  margin: 0;
  color: var(--muted);
}

.lokum-feature-card {
  min-height: 220px;
  padding: 24px;
}

.lokum-feature-card h3 {
  font-size: clamp(1.18rem, 1.34vw, 1.34rem);
}

.mini-grid,
.brand-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid,
.fact-grid,
.detail-grid,
.article-grid,
.dictionary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.mega-item {
  display: block;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(19, 36, 48, 0.08);
  color: var(--ink);
  font-size: 0.94rem;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.mega-item:hover,
.mega-item:focus-visible {
  background: rgba(0, 173, 239, 0.1);
  border-color: rgba(0, 173, 239, 0.34);
  transform: translateY(-1px);
}

.layout-split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
  align-items: start;
}

.rich-text {
  display: grid;
  gap: 14px;
}

.rich-text h3 {
  margin: 10px 0 0;
  font-size: 1.45rem;
}

.rich-text p {
  margin: 0;
}

.rich-text ul {
  margin: 0;
  padding-left: 1.1rem;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.info-list li {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(0, 173, 239, 0.08);
  border: 1px solid rgba(0, 173, 239, 0.14);
}

.info-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.pill-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-list li {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(19, 36, 48, 0.06);
  color: var(--ink);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 0 0 1px rgba(19, 36, 48, 0.08);
}

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(19, 36, 48, 0.08);
}

.comparison-table th {
  width: 22%;
  background: rgba(0, 173, 239, 0.08);
}

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

.callout {
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(205, 215, 170, 0.32), rgba(255, 255, 255, 0.8));
  border: 1px solid rgba(105, 125, 76, 0.15);
}

.button.is-current-link,
.quick-card.is-current-link,
.mini-card.is-current-link,
.topic-card.is-current-link,
.brand-card.is-current-link,
.article-card.is-current-link,
.detail-card.is-current-link,
.dictionary-card.is-current-link {
  cursor: default;
  pointer-events: none;
}

.button.is-current-link {
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  border: 1px solid rgba(19, 36, 48, 0.1);
  box-shadow: none;
}

.quick-card.is-current-link::before,
.mini-card.is-current-link::before,
.topic-card.is-current-link::before,
.brand-card.is-current-link::before,
.article-card.is-current-link::before,
.detail-card.is-current-link::before,
.dictionary-card.is-current-link::before {
  opacity: 0.3;
}

.short-clip {
  margin: 20px auto 0;
  max-width: 360px;
}

.short-clip-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(19, 36, 48, 0.12);
  box-shadow: var(--shadow);
  background: rgba(19, 36, 48, 0.12);
}

.short-clip-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.short-clip figcaption {
  margin-top: 10px;
  text-align: center;
  color: var(--muted);
}

.footer {
  margin-top: 44px;
  padding: 26px 0 10px;
}

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

.footer-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(19, 36, 48, 0.92);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.footer-card h3 {
  margin-top: 0;
  font-family: "Baskerville", "Georgia", serif;
  font-size: 1.4rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.footer-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.footer-sitemap {
  margin: 30px auto 34px;
  max-width: 1080px;
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  font-size: 0.92rem;
  color: var(--muted);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(19, 36, 48, 0.1);
  box-shadow: 0 12px 26px rgba(19, 36, 48, 0.08);
}

.footer-sitemap a {
  color: inherit;
  text-decoration: none;
}

.footer-sitemap a:hover,
.footer-sitemap a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

.breadcrumbs {
  margin-bottom: 18px;
  font-size: 0.92rem;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--accent-deep);
  text-decoration: none;
}

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.jump-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(19, 36, 48, 0.08);
}

.anchor-section {
  scroll-margin-top: 112px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .layout-split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quick-links,
  .card-grid,
  .fact-grid,
  .detail-grid,
  .article-grid,
  .dictionary-grid,
  .mega-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-grid,
  .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .topbar-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .nav {
    width: 100%;
    display: none;
    margin-left: 0;
    padding-top: 8px;
  }

  .nav.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-actions,
  .quick-links,
  .mini-grid,
  .brand-grid,
  .card-grid,
  .fact-grid,
  .detail-grid,
  .article-grid,
  .dictionary-grid,
  .mega-menu-grid,
  .footer-nav {
    grid-template-columns: 1fr;
  }

  .section-header {
    display: block;
  }
}

@media (max-width: 520px) {
  .page-wrap {
    padding-inline: 14px;
  }

  .topbar-inner {
    padding-inline: 14px;
  }

  .hero,
  .section {
    border-radius: 24px;
  }

  .quick-card,
  .mini-card,
  .topic-card,
  .brand-card,
  .article-card,
  .detail-card,
  .dictionary-card,
  .info-box,
  .footer-card {
    padding: 18px;
  }
}
